web
You’re offline. This is a read only version of the page.
close
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

"You cannot change the value of the SystemId field" error on sales order line in BC15

(0) ShareShare
ReportReport
Posted on by 15

Hi,

I'm working on BC15.

When I select new item and new variant on already existing sales order line I get the error "You cannot change the value of the SystemId field. Table: Sales Line Identification fields and values:...".

Any idea how to fix this error?

pastedimage1665151561949v1.png

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    First you should check if you have any customization in your system that might cause this.

    And is the order open and have there been any shipment or invoicing on this order?

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Hi,

    It seems that there is a customization done in the system, please debug

  • Suggested answer
    Amit Profile Picture
    2,559 on at

    HI,

    Pls check code on ITEM NO validation. Is there any customization.

    Also troubleshoot with debugger, you will get the actual answere.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • CU30051138-1 Profile Picture
    15 on at

    Thank you so much for the reply.

    I have removed all the extension from BC 15 but still this error exists. Now there are no customization on "sales order subform" page or "sales line" table

    Yes I have done some debugging, error is shown at currPage.saverecord. 

    pastedimage1665386626212v1.png

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, will uninstalling all extensions and recreating the order also have this problem?
    I think this could also be the problem with this order.

    Hope this helps as well

    Thanks.

    ZHU

  • CU30051138-1 Profile Picture
    15 on at

    Yes I have uninstalled all extension created new order but till I get this error.

    If the create new order I don't get any error but I revisit this order and edit existing sales order line the error is generated.

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Are you changing the location in the sales order line?

    Thank you.

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, Please use the Copy Document function to copy that problematic order and then try again.

    pastedimage1665451659172v1.png

    Hope this helps.

    Thanks.

    ZHU

  • CU30051138-1 Profile Picture
    15 on at

    Thank you so much for the suggestions.

    I have compared the field "No." onValidate code with BC 21 and found that CurrPage.update was missing.

    So I added it and now issue is fixed.

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Thanks for the update.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,362

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans