Help me on - Rate push

Discussion in 'Tally Developer' started by mutharasan, Jan 15, 2020.

    
  1. mutharasan

    mutharasan Member


    Dear All TDL Experts,

    Happy Pongal wishes,

    I Want to alter a rate for all items for already entered Purchase vouchers.

    I have written following code for achieve this, But it is not working.

    Please help me.

    Thanks in Advance

    [Collection:Asspurchasevchcoll]

    Type: vouchers : vouchertype
    Child Of: $$VchTypePurchase
    Belongs To: Yes



    [#Menu: GatewayofTally]

    Item: My Rate Push : Call: MyRatepush


    [Function : MyRatepush]


    100 : Walk Collection :Asspurchasevchcoll

    101 : SET : SVViewName : $$SysName:InvVchView

    105 : New Object: Voucher

    110 : Insert Collection Object: InventoryEntries

    115 : Set Value: Rate : ($$TgtObject:($$AsRate:"100"))

    125 : Set Target..

    140 : SET VALUE : PersistedView : ##SVViewName

    145 : ACCEPT ALTER

    150 : End Walk


    160 : MSGBox : "Status": "Process Done!!!"
     


Share This Page