Updating Receipt Voucher On saving Sales Voucher - Bank allocations not working

Discussion in 'Tally Developer' started by Varadha, Jun 18, 2019.

    
  1. Varadha

    Varadha Member


    Dear TDL experts I wrote a code which enables auto creation of receipt voucher on saving sales voucher. However bank allocations is not working and i am not able to insert Instrument number, Bank Name etc please advise me. I am uploading full code for your observation and demo company data also
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    In your function... you are referring to $NilaChequeNo .... but where is the UDF Storage??
     


  3. Varadha

    Varadha Member


    at line No 187 just above the function code
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Instrument is a string, then why trying to put is as NUMBER in your function??

    As a R&D... try putting manual in your function e.g. 324343 and see...........
     


  5. Varadha

    Varadha Member


    sure sir is there any other modifications in the code i need to do is Bank allocations code part is fine
     


  6. Varadha

    Varadha Member


    How to set off against foreign currency in function in my code amount is taking in Indian currency but still party account is showing a debit balance when i entered sales in foreign currency
     


  7. anandmzp

    anandmzp New Member


    Have u solve your problem. Can u share your code with me anandmzp@gmail.com
     


Share This Page