Hi, We are running into issues with the Sales order line sequence when created with the API. NetSuite is creating the lines its own way. No way to pass and create them in the right order. What is the standard behavior. Is there any documentation available?
b
battk
01/06/2024, 12:58 AM
dont expect the line field to represent the sequence/index of the item sublist
battk
01/06/2024, 12:59 AM
it actually the line id, which really only reliably serves to uniquely identify the line in the sales order
n
NS User
01/06/2024, 1:27 AM
Thank you for a quick response. Is there standard documentation on this? What is the standard behavior? Is there a way to sequence it correctly? What would be the advantage if we do it?
b
battk
01/06/2024, 1:35 AM
the approach differs depending on if you are using standard or dynamic mode while creating the salesorder
battk
01/06/2024, 1:35 AM
but usually you end up adding the items you want in the order you want them