Experts need help regarding Last Voucher Date of Particular Voucher Type

Discussion in 'Free Source Codes' started by Aslan Iglesias, Nov 25, 2020.

    
  1. Aslan Iglesias

    Aslan Iglesias New Member


    Dear Experts,



    I need to fetch date of last voucher entered of Purchase Voucher, how do I do it???
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Make a collection of Purchase Vouchers.
    Sort it on reverse Date ....so latest date voucher is on top.
    Then extract the first date from that.
     


  3. Murari Bajaj

    Murari Bajaj Member


    [Collection: PurchaseLastDate]
    Type : Vouchers : VoucherType
    Child Of : $$VchTypePurchase
    Belongs To : Yes
    Fetch : Date
    Sort : @@Default : -$Date

    Please try this also as Amitji has said. I tried to make the Collection for you.
     
    Amit Kamdar likes this.


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Now use CollectionField to extract your date.
     


  5. Aslan Iglesias

    Aslan Iglesias New Member


    Thank you sir....for your help...I am able to solve it with all your prior helps.....
     


Share This Page