The item receipt has an `orderline` field which re...
# suitescript
m
The item receipt has an
orderline
field which relates to the
line
on the PO
r
Thanks! That's very interesting, and would solved the mapping from item receipt line to po line. Any idea if there is a similar way to map the vendor bill line with either the PO line or the item receipt line?
I see that the Vendor Bill also has an
orderline
. Does that one relates to the PO? I am going to try to determined that through testing.
@battk do you think this mapping would achieve the same as the custom column solution?
b
depends on what your needs are, i wouldnt expect it to work on longer transaction chains, but if you only need to support transaction that are one level away from the parent, it should work fine
👍 1
m
This field is not documented by NetSuite and only points from item receipt to purchase order line or from item fulfillment to sales order line. The field it points to is the {line} field -- I have a function ready that finds the related line - let me know and I can share it with you.
👍 1