Dear Sir, My below function is not working in Job Out Order Voucher after passes the parameters. [#Menu: gateway of tally] Add: Item: Yes: Call: tstfun:"ID:3979":"123":"000000000000CFC001" [Function: tstfun] Parameter : sMasterid : String Parameter : LastVchNumber : String Parameter : PStkItem : String 03aa: New Object: Voucher : ##sMasterid: Yes 04aa: Set Object 05aa: Set Target 06aa: Walk : InventoryEntries 09aa: Set Target:InventoryEntries[$$LoopIndex] 07aa: If: $StockItemName=$StkItem 08a: Walk : batchallocations 08b:Set Target:batchallocations[1] 08C: Set Target 08BB: Log:$BatchName ; 08c: If: $batchname="4202101/JB4" 09BB: Set Value: JobworkerLiabilities2: Yes 10aa: Set Value: PBillCreation1: ##LastVchNumber 10cc: Log:$PBillCreation1 10dd: Log:$JobworkerLiabilities2 ; 10bb: Set Value: JobworkerLiabilities2 : "No" ; 11aa: End If 11cc: End Walk 11bb: End If ; 12aa: Set Target: .. 13aa: End Walk 14aa: Alter Target ;15aa: End Walk 16aa: Msg Box:"Updated":"Successfully"