Does anyone knows a good way to match IC PO Lines ...
# suitescript
a
Does anyone knows a good way to match IC PO Lines to IC SO Lines? The IC SO is created via native netsuite : Manage Intercompany Sales Orders, each line on the IC SO represents a line in the IC PO it was crated from. What would be a good way to match those lines when you have the same item and quantities in multiple lines? The IC PO and IC SO are paired via the native field Paired Intercompany Transaction
c
Does line 1 of the PO map to line 1 of the SO? If so you can use that. Just a thought there.
i can't imagine they jumble the lines up if they are created from one another. netsuite
y
My suggestion would be to create a custom live item field called unique ID and maintain it using script in IC Po and whenever IC SO created from IC PO this field will value the same. In this way you can take care it
☝🏻 1
a
@creece Thanks; the only real and reliable relationship I found was that Line ID {line} from the IC PO matches the Line ID {line} of the IC SO in all the tests I ran. @yagyakumarnag Sadly, custom lines field values on the IC PO lines are not carried over to the lines of the IC SO.