Error while importing transactions into Tally Prime using the "SVOverwriteImpVch" voucher in the XML

Discussion in 'Tally Integration' started by Researcher1, Feb 28, 2024.

    
  1. Researcher1

    Researcher1 Member


    I am attempting to import transactions into Tally Prime using GUI by including the following lines in the XML request:

    Code:
    <STATICVARIABLES>
      <SVOverwriteImpVch>Yes</SVOverwriteImpVch>
    </STATICVARIABLES>
    This is intended to override the settings in the Tally Prime GUI. For example, if the GUI setting for "Overwrite voucher when a voucher with the same GUID exists" is 'no', specifying 'yes' in the XML request (SVOverwriteImpVch) should ideally change the GUI setting to 'yes'.

    While this functionality works as expected in Tally Prime 3.0.1, it seems to be causing following errors in version 4.0.
    Code:
    Can't import! Check tally.imp for details
    Line:XXXX :Voucher number 'YYYY' already exists!
    Could you please help me understand the reason behind this discrepancy in Tally Prime 4.0?
     
    Last edited: Feb 28, 2024


  2. Sai Vineeth

    Sai Vineeth Active Member


    what error you are getting prime 4.0?
     


  3. Researcher1

    Researcher1 Member


    Code:
    Can't import! Check tally.imp for details
    Line:XXXX :Voucher number 'YYYY' already exists!
     


  4. Sai Vineeth

    Sai Vineeth Active Member


    this error is coming because of settings in VoucherType
    if you disable that you can import voucher with same number, but it's not recommended.
    upload_2024-2-28_11-41-16.png
     


  5. Researcher1

    Researcher1 Member


    This setting is already 'no' in our case.
    Please note that 'method of voucher numbering' is 'Automatic(manual override)' in our Tally prime.
     
    Last edited: Feb 28, 2024


  6. Sai Vineeth

    Sai Vineeth Active Member


    try changing the voucher number and check
    and post the xml you are using
     


  7. Researcher1

    Researcher1 Member


    I want to Alter the details in particular Voucher , If I change the voucher number ,it might create new voucher . which is not my requirement
     


  8. Sai Vineeth

    Sai Vineeth Active Member



  9. Researcher1

    Researcher1 Member



Share This Page