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 :
Finance | Project Operations, Human Resources, ...
Unanswered

How is NOTEINDX field generated?

(0) ShareShare
ReportReport
Posted on by 10

I'm developing a software that would allow users to add orders rapidly. I call the taSopHdrIvcInsert stored procedure to add a record in the SOP10100 table.

Testing my code, I realized that the stored procedure generates a record with a NOTEINDX value that already exists. An old note is shown on my newly added order. How is that value assigned to the new row in the stored procedure?

I thought that it was because I was using a test company, but ran a query against the production database and there are multiple duplicate NOTEINDX (110 000 duplicates), both in SOP10100 and SOP 30200 table. We currently have comments/notes that are shown on multiple orders/invoices. How is that possible?

Categories:
  • Richard Wheeler Profile Picture
    75,854 Moderator on at
  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,157 Most Valuable Professional on at

    The Next Note Index is stored in the SY_Company_MSTR (SY01500) table.

    If you restore the DYNAMICS database you need to recalculate the next note index for each company.

    Regards

    David 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 213

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans