how to sort collection by $parent or group name

Discussion in 'Free Source Codes' started by bikash agarwal, Jun 8, 2021.

    

  1. hello sir,

    how to sort collection by $parent or group name


    ;----------------code

    [#Collection : VLedTable]

    Use : Ledger Collection
    Title : $$LocaleString:"List of Ledger Accounts"
    Delete : Format
    Add : Format : $Name,26

    Add : SubTitle : $$LocaleString:"LEDGER NAME", "GROoUP", "GSTIN"

    Add : Format : $parent
    Fetch : parent

    Add : Format : $PartyGSTIN
    Fetch : PartyGSTIN

    Sort : Default : $parent
     


  2. VISHNU RATHI

    VISHNU RATHI Member


    I think

    Sort : 0 : $Parent

    in the collection would work.

    Regards
    Vishnu
     


Share This Page