Stock Journal Import Error

Discussion in 'Tally & TDL Learning HUB' started by rrpvansan, Feb 22, 2023.

    
  1. rrpvansan

    rrpvansan New Member


    Dear Sir,

    I have written a TDL for Tally Prime to import Stock Journal From Excel. When i execute the same from the Menu it gives an error "No Entries In Voucher". But if Just open any existing Stock Journal not even saving the same just opened the existing voucher and pressed Escape Key and then went to Import Stock Journal My TDL Works Fine.
    Request you to kindly advise why this is happening any coding error please advise.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    when you open and exit a "stock journal" that becomes the latest and current Vouchertype ..........

    So in your code, you must SET the Vouchertype as Stock Journal.
     


  3. rrpvansan

    rrpvansan New Member


    Dear Sir,

    Thank you very much for your immediate response Mr.AmitK sir i have given the following:

    50044 : Set Value : VoucherTypeName : $$VchTypeStockJrnl
    50045 : Set Value : PersistedView : $$LocaleString:"Consumption Voucher View"
    50046 : Set Value : VchEntryMode : $$LocaleString:"Use for Stock Journal"

    still I am getting that error. Request you to kindly advise.
     


  4. rrpvansan

    rrpvansan New Member


    Thank You Very Much Mr.Amith K Sir, the issue was resolved, i have given $$SysName:ConsVchView for Persisted View the issue was cleared. Thank you so much sir.
     


Share This Page