want tdl to open ledger from any screen in tally

Discussion in 'Free Source Codes' started by vakul, Sep 26, 2018.

    
  1. vakul

    vakul Member


    kindly share a tdl to open ledger in any vouchers in tally
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Please search the forum..... this TDL already exists here...........
     


  3. Jenny

    Jenny Active Member


    Code:
    
    :::::;Display Ledger
    
    [#Form: Balance Sheet]
    Add: Button:before:add voucher:Ledger
    [#Form: Default]
        Add: Bottom Button:Ledger
    
       [Button:Ledger]
       Key:alt + l
       action: Display Collection    : Ledger Vouchers
        Title       : $$LocaleString:"Ledger"
    
    ::::;Add Voucher
    
    [#Form: Balance Sheet]
    Add: Button:before:future:voucher add
    
    [#Form: Default]
        Add: Bottom Button:voucher add
    
       [Button:voucher add]
       Key:alt + v
       action: Create Collection    : Company AccVouchers
        Title      : $$LocaleString:"Add Voucher"
    
     


  4. vakul

    vakul Member


    thanks
     
    Jenny likes this.


  5. sathiyaraj

    sathiyaraj Member


    How to fetch CGST,SGST,IGST Amount in outstanding report....
    Kindly help me...
     

    Attached Files:

    • tdl1.jpg
      tdl1.jpg
      File size:
      233.4 KB
      Views:
      72


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    GSTClassFnIGSTRate, GSTClassFnCGSTRate, GSTClassFnSGSTRate,
     


  7. sathiyaraj

    sathiyaraj Member


    Thanks for your reply...
    Sorry sir I can't Understand How to use this in tdl code...
    Thanks in advance
     


  8. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    make ur 3 fields........in O/s report.......
    in those 3 fields ...Set as ........<above three> in their respective fields to get the data u want..........

    Above three are for rates.....similarly u need to find the one for AMOUNT.
     


  9. sathiyaraj

    sathiyaraj Member


    Sir its not working... sir...
     


  10. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    That is usually what happens when trying to make an illogical TDL for whatever reasons.

    Mind explaining me why there is need for CGST/IGST/SGST amount in an OUTSTANDING report........??? In Sales / Purchase register it is understandable.

    Outstanding report would be having Functions and Collections related to pending bills, duedates etc and not the internals details of a Vocuher entry.

    If you want the CGST/IGST/SGST amount then you will have to make a FUNTION call ...a function that walks the Ledger Entries and Bill Allocations, then equate BillName or BillRef to that particular LedgerName and retrieve the amount from various ledgers connected to that Voucher.
     


Share This Page