Current Voucher Balance in Purchase voucher

Discussion in 'Tally Developer' started by Murali.R, Aug 27, 2021.

    
  1. Murali.R

    Murali.R Member


    [#Line: EI PartyLimit]
    Option: MriEi Partylimit : @@IsPurchase and Not $$InCreateMode

    [!Line:MriEi Partylimit]
    Add : Field : At End: EICurrentBillBalance
    [Field: EICurrentBillBalance]
    Invisible : NOT ##CurBalanceFlag
    Fields : Simple Prompt, mri_Amount_Field
    Local : Field : Simple Prompt : Info : $$LocaleString:"Current Bill balance:"
    ;Local : Field : Simple Prompt : Width : 14
    Local : Field : mri_Amount_Field : set as : $$CollAmtTotal:Coll_MRI_Ledger_Current_Bill_Balance:$CLosingBalance
    Local : Field : mri_Amount_Field : Format : "Symbol,DrCr"
    [Field: mri_Amount_Field]
    Use : Amount Field
    [Collection: Coll_MRI_Ledger_Current_Bill_Balance]

    Type : Bills
    Child of : #LedgerName
    ; belongs to : yes
    compute : name : $$name

    switch : remotebills : remotebills : $$isremotecompany
    ;parmvar : pvsparentname : string : ##ledgername
    Sort : @@Default : $BillDate
    Sort : @@DateIncr : $BillDate
    Sort : @@DateDecr : -$Date
    Sort : @@RefNoIncr : $$Name
    Sort : @@RefNoDecr : -$$Name
    Sort : @@AmtIncr : $$Abs:$ClosingBalance
    Sort : @@AmtDecr : -$$Abs:$ClosingBalance
    Sort : @@DueDateIncr : @@CreditPeriod, $BillDate
    Sort : @@DueDateDecr : -@@CreditPeriod, -$BillDate
    Sort : @@CurrencyIncr : $$Currency:$OpeningBalance
    Sort : @@CurrencyDecr : -$$Currency:$OpeningBalance
    Filter : FLtr_MRI_Ledger_Current_Bill_Balance

    [System: Formula]
    FLtr_MRI_Ledger_Current_Bill_Balance : $Name=$$ReqObject:$Vouchernumber
     


Share This Page