This message was deleted.
# suitescript
s
This message was deleted.
b
First, the line id is already copied automatically to the invoice as "orderline"
but if you really wanted to connect, you would use "orderline" on the invoice to find the original line on the sales order
v
Hello, as per checking do not see the "orderline" on the xml of the invoice. the <line> between the SO and invoices are different
b
load the record in suitescript and inspect it instead
that xml view does not show everything suitescript has access to
also keep in mind that there is a difference between the id of the line and the sequence number of the line