Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Creating new vendor Error is Coming

(0) ShareShare
ReportReport
Posted on by 1,737

I am Trying to Create a New  Vendor I am Getting the Below Error.

"Cannot create a record in Tax Information of Vendor (TaxInformationVendTable_IN).
The record already exists."

Number Sequence for vendor is Set as Manual and Synchronize the TaxinformationVendTable_IN Table.

Still It is Throwing Error.

I am Trying to Debug  Call stack Shows the Form-VendTable/DataSources/Vendtable/LeaveRecord Method.

How To solve this Please Help Me.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Creating new vendor Error is Coming

    Hi Srinivas,

    Have you completed entire database sync (NOT only single TABLE) in TEST Environment?

    Regards,

    Vishal Salot

  • srinivas pamidi Profile Picture
    srinivas pamidi 1,737 on at
    RE: Creating new vendor Error is Coming

    Ya,

    It is Working Previously,

    I am Trying in all the Ways what you are Suggested.

    Even i am Unable to find the Problem.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Creating new vendor Error is Coming

    Hi,

    Was it working before?

    Try to check with continuous number sequence for vendor and see if it resolve your issue.

    If this doesn't work, try to have database synch and restart your AOS. This should resolve your issue.

    Pl. check this in TEST Environment and see the results.

    Regards,

    Vishal Salot

  • srinivas pamidi Profile Picture
    srinivas pamidi 1,737 on at
    RE: Creating new vendor Error is Coming

    Hai Iulian,

    I am Created the New Vendor With new name in address table and New Vendor Id.

    But again it is throwing error.

    Please tell me the Solution For this.

  • srinivas pamidi Profile Picture
    srinivas pamidi 1,737 on at
    RE: Creating new vendor Error is Coming

    Hai Sohaib,

    I understand your Scenario, i am Unable to Debug the write method.

    Please tell me the Solution  for that problem.

  • Suggested answer
    Iulian Cordobin Profile Picture
    Iulian Cordobin 8,201 on at
    RE: Creating new vendor Error is Coming

    I believe you are trying to create o new vendor using another existing (or deleted) VendorId. Try to create one with a different Id and see if that works.

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Creating new vendor Error is Coming

    Although I am not aware of Indian localization, but you are debugging at incorrect location.

    you should focus on \Forms\VendTable\Data Sources\VendTable\Methods\write

    below piece of code seems culprit

    if (countryRegionIN)

       {

           taxInformationVendTable_IN.VendTable = vendTable.AccountNum;

           taxInformationVendTable_IN.write();

       }

    on table taxInformationVendTable_IN the primary key is not allowing the same vendiD, in case if that exists already

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,820 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans