NetSuite mapped fields missing and line items missing

As you can see in the screenshot below, I am mapping Memo and PO # and it does show the fields in the Output. Can anyone tell me why it is not setting the field value for otherrefnum (and other fields) while it sets it for memo? Also, why is it only setting one line? I am using “replace all lines” as well as a lineid unique identifier, yet line : 0 for all lines? Thanks for the help.

Try data.orders.edges[0].node.poNumber. What you've currently done is map a value of many to a header level field and you need to just map a singular value.

@tylerlamparter Ah, yes of course. That did the trick. What am I missing on the line items though? Those should be [*] for the array, correct?

Correction. Got it figured out! Line item needs [0] on the first edges and [*] on the lineItems. Thannks for steering me in the right direction.*

data.orders.edges[0].node.lineItems.edges[*].node.sku

1 Like