Help needed in tdl

Discussion in 'Tally Developer' started by S k singh, Mar 11, 2022.

    
  1. S k singh

    S k singh New Member


    ; unable to get party Name as exported file name
    ; Please rectify the code

    [Form : Ledger Vouchers]
    Add : Button : LedgerPDF
    [Button : LedgerPDF]
    Title : "Export PDF"
    Key : Alt + T
    Action : call : sendPDF
    [Function : send PDF]
    10: set : SVExportlocation:"D\Export"
    20: set : SVExportformat: $$sysName:pDF
    30: Set : SVPrintFileName :$$String:$PartyLedgerName + "-" + "Statement"
    40: SET : SVPrintFileName : $$MakeExportName:##SVPrintFileName:##SVExportFormat

    50: Set : SVPrintFileName :##SVExportLocation+"\"+#SVPrintFileName

    60: EXPORT REPORT : . : TRUE
     


  2. mahbu

    mahbu Member


    Use Variable ##Ledgername instead $PartyLedgerName
     


  3. S k singh

    S k singh New Member




    Thank you so much. :)
     


Share This Page