Show only specific debtors

Discussion in 'Free Source Codes' started by Partha Mondal, Apr 16, 2020.

    
  1. Partha Mondal

    Partha Mondal Member


    Dear all,
    I am new in TDL. Can anyone can help me.

    in this line I want to show only specific ledger "Direct Booking" under sundry debtors.

    [Line : PMS DB Earning Direct]
    Fields :Medium Prompt
    RightFields: Amount Field
    Local : Field : Medium Prompt : Setas :"Earning from Direct :"
    Local : Field : Amount Field : Setas : $$IsLedOfGrp:$$GroupSundryDebtors:$$String:"Direct Booking":mad:@DirectBookingValue

    Local : Field : Default : Style : Tiny

    [System : Formula]

    VchT : $VoucherTypeName = "Tax-Invoice"

    PMS DB Direct Exp Amt : $ClosingBalance:Group:$$GroupDirectExpenses
    PMS DB Indirect Exp Amt : $ClosingBalance:Group:$$GroupIndirectExpenses


    PMS DB Exp Nett Amt : $NettAmount:mad:@PMSDBDirectExpAmt:mad:@PMSDBIndirectExpAmt

    OYOCommTotal : $$CollAmtTotal:OYOColl:$OyoComm
    HotelEarningsTotalOYO : $$CollAmtTotal:OYOColl:$Earnings
    OYOBookingValue : $$CollAmtTotal:OYOColl:$TSPLBookAmt
    DirectBookingValue : $$CollAmtTotal:OYOColl:$TSPLBookAmt
     


  2. Partha Mondal

    Partha Mondal Member


    can anyone can help me.
    Amit sir can you help me?
     


  3. Partha Mondal

    Partha Mondal Member


    [Line : PMS DB Earning Direct]
    Fields :Medium Prompt
    RightFields: Amount Field
    Local : Field : Medium Prompt : Setas :"Earning from Direct :"
    Local : Field : Amount Field : Setas : @@DirectBookingValue


    [System : Formula]
    DirectBookingValue : $$CollAmtTotal:OYOColl:$TSPLBookAmt



    in this line I want show only the ledger "Direct Booking" which is under Sundry Debtors and total value of my UDF
    UDF name $TSPLBookAmt

    TSPLBookAmt is UDF of sales voucher. But i want to calculate only "Direct Booking" ledger filter.



    Amit sir please help me.




     


  4. haejosh

    haejosh New Member


    Voucher Class may be help you.
    see its related video.
     


Share This Page