Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Sales Order Line ID / GUID Is Changing

(0) ShareShare
ReportReport
Posted on by
Our app is creating sales order lines via the Rest API and we want to track which ones the app created vs ones that were created directly in business central.  We're storing the sales order line id (guid) in our database.  Problem is it doesn't always match when we make later REST api calls to get the lines for the sales order.  We can make 3 calls to the api to get the sales order lines and each time the set of lines will contain different line ids.  I cannot find any documentation to explain this behaviour.  What is the correct way to store references to sales order lines in our database?
 
Note... we saw similar behaviour with Acumatica.  Line ids changing unexpectedly.  So it must be some kind of ERP concept that I don't understand.
  • Suggested answer
    YUN ZHU Profile Picture
    85,918 Super User 2025 Season 1 on at
    Sales Order Line ID / GUID Is Changing
    This is a bit strange. I checked the standard code and the SystemID will be updated when the Type and "No." are validated. If there are no modifications, there should be no changes.
     
    You can try recording the primary key of Sales Line to see if this problem still occurs.
     
    Thanks
    ZHU

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans