help needed in correcting this code

Discussion in 'Tally Developer' started by Manoj Anandan, Jan 1, 2023.

    
  1. Manoj Anandan

    Manoj Anandan Member


    [Collection : CmpColl]
    ;;Title:"List of Ledgers"
    Collection : Myvch : MyComp

    ;;Sort : @@DateIncr : $BillDate
    Sort : default:$ventrydt
    Filter: iscj
    [Collection : Myvch]
    Type : vouchers
    Fetch : date,amount,Narration,ventrydt
    Compute : FirstLedger : $$GetDSPName:##DSPNameStyle:mad:@IsVchInvVch:mad:@IsPOSAttdVch:mad:@IsJobMaterialTransferInVch
    Compute : cmpnm: $$LoopCollObj:$Name
    ;;Fetch:*.*

    ;;Sort : @@DateIncr : $$Date:$ventrydt
    [Collection : MyComp]
    Type : Company
    Fetch : Name, IsAggregate
    Filter : SimpleCompany
    [System:Formula]
    iscj:$vouchertypename="Cross journal"


    "ventrydt" is a voucher level udf which stores the system date of entering the voucher but not able to sort it based on that value please help
     


Share This Page