web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at

    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

  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    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.

  • srinivas pamidi Profile Picture
    1,737 on at

    Hai Sohaib,

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

    Please tell me the Solution  for that problem.

  • srinivas pamidi Profile Picture
    1,737 on at

    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.

  • Suggested answer
    Community Member Profile Picture
    on at

    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
    1,737 on at

    Ya,

    It is Working Previously,

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

    Even i am Unable to find the Problem.

  • Community Member Profile Picture
    on at

    Hi Srinivas,

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

    Regards,

    Vishal Salot

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans