my auto stock journal is not working

Discussion in 'Tally Developer' started by mutharasan, Aug 9, 2021.

    
  1. mutharasan

    mutharasan Member


    Dear Admin Sir,

    The following function does not create voucher, I don't Know the reason, please explain.

    Thanks in advance sir


    [#Menu: Gatewayof Tally]

    Item: My stock Journal : Call: My Auto stock Jrnl


    [Function:My Auto stock Jrnl]


    10 : New Object: Voucher
    20 : Set Value: VouchertypeName : "stock Journal"
    ;;30 : Set Value: VoucherNumber : 100
    40 : Set Value: Date : $$Date:"1.5.21"
    50 : Insert Collection Object: InventoryEntriesOUt
    60 : Set Value: stockitemName :"Item A"
    65 : Set Value: ActualQty:$$TgtObject:($$Asqty:10)
    70 : SET VALUE :BilledQty:$$TgtObject:($$Asqty:10)
    75 : Set Value: Rate : $$TgtObject:($$Asrate:100)
    80 : Set Value: persistedview :##SVViewName
    81 : Set Target:..
    90 : Create Target
    100 : Log:$$String:"Voucher created"
    110 : Return
     


Share This Page