How to import all types of voucher from excel using tdl

Discussion in 'Free Source Codes' started by mayur sancheti12, Nov 11, 2021.

    
  1. Sai Vineeth

    Sai Vineeth Active Member


    I am not running the code ,I am telling by logic
    You need add both debit and credit amount in excel
    and make changes in TestColl to include them
    and use them in Function Create
     




  2. i have made changes but still not solve
     

    Attached Files:



  3. Sai Vineeth

    Sai Vineeth Active Member


    What error you are getting?
     



  4. my error is in attached image, please check
     

    Attached Files:

    Last edited: Nov 18, 2021


  5. Sai Vineeth

    Sai Vineeth Active Member


    Add condition if amount <o Deemed positve yes else no
     



  6. not understand , is it work , where should i add this condition
     


  7. Himanshu-2002

    Himanshu-2002 Active Member


    It won't work, You aren't passing mandatory parameters... I will update the code, If I get time today.
     


  8. Sai Vineeth

    Sai Vineeth Active Member


    190 : SET VALUE : IsDeemedPositive : Yes
    You need to add this line after ledger name and amount depending on amount
     



  9. where should i add this line, can you check and correct my code
     



  10. which parameter are not in this code, receipt and contra importing properly, all other voucher NOT importing, waiting your code
     


  11. Sai Vineeth

    Sai Vineeth Active Member


    I already said add after ledger name and amount code in tdl
     



  12. OK sir i checked
     



  13. suppose ledger not exist , then while import voucher, how can i add functionality to create ledger also
     


  14. Sai Vineeth

    Sai Vineeth Active Member




  15. voucher is imported, but both list receipt and payment voucher showing debit amount , credit amount column empty. how can i remove this.
     


  16. Sai Vineeth

    Sai Vineeth Active Member


    If you are getting any error kindly post your error screenshot with tdl + source excel data
    Without seeing those it is not possible know why error occured
     


Share This Page