How to display on explode only all entries which ledger name contains "xyz"

Discussion in 'Free Source Codes' started by ABDUL AZIZ, Jul 31, 2019.

    
  1. ABDUL AZIZ

    ABDUL AZIZ Member


    Dear Experts,

    $LedgerEntries[1,@@DebitNoteLedgerEntriesName].Amount

    [System:Formulae]
    DebitNoteLedgerEntriesName : ($LedgerName contains "xyz")


    I want to display all the ledger entries of a voucher which ledger name contains "xyz" and want to sum their amount.

    Above code gives only first entries amount, that is Ok but facing problem where in a single voucher there are multiple entries of same ledger.

    I can do like below, but this is not the solution:
    $LedgerEntries[2,@@DebitNoteLedgerEntriesName].Amount
    $LedgerEntries[3,@@DebitNoteLedgerEntriesName].Amount


    Please help....

    Thanks
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Compute it in the collection..........

    Aggr Compute : myamt : Sum : If ledger contains "xyz" then amount else 0
     


  3. NSA

    NSA Member


    Dear Sir,

    Anyone Please provide me the Parts Name of a Ledger Vocher?
     


  4. Himanshu-2002

    Himanshu-2002 Active Member


    Report Name -- Ledger Vouchers


    You can find Everything using Report Name
     


  5. NSA

    NSA Member


    How Sir?
     


  6. Himanshu-2002

    Himanshu-2002 Active Member


    Sir Learn How to create a Report...You will understand automatically
     


Share This Page