Reputation: 1239
Is there an easy way to identify a Sales order where the invoice was created from?
I have a suitescript is execute every time an invoice is created, I want to identify which sales order the invoice was originated from because I need a field's value inside the sales order which determine the next step in the invoice process.
Thanks for you help.
Upvotes: 1
Views: 834
Reputation: 11
There is a salesInvoiced table that has Transaction =id of CustInv and uniquekey = transactionLine.uniquekey
Upvotes: 0