on 2023 Feb 13 4:08 PM
Hi experts
I'd like to update existing BOM without any stages and i'm facing a wired error.
I've managed to add some a stages and update existing BOM Lines with a "default" stage ID.
I'd like to set the correct stage ID for each BOM Line but i get this error message " Visual order on lines is not in sync with Sequence number on stages [ITT1.VisOrder][line: x]
Since VIsualOrder Info is read only, how can i set the right visual order ???
best regards
Hi antoinetessier,
The mentioned behavior is a limitation in DI API.
When you select a Route Stage in Production Order row and you add a new row to the existing Production Order via DI API, it is always added after the last existing row. The newly added row belongs under the last existing Route Sequence in Production Order, so the number should be set according to it.
The proposed solution would be to set the Stage ID number (oProduction.Lines.StageID) according to the last Route Sequence number and the update will be successful.
This limitation applies to Service Layer also.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
112 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.