Create line and Replace all lines for items in Netsuite co-exist?

I’m trying add or update the Netsuite Sales orders coming from the EDI. Currently I have the mapping for Netsuite it has items: create lines, now if I add replace all lines for items at the bottom of mapping the fields will it update. Say I created a SO with 3 items, now I include add or update option and add the mapping replace all lines and sent EDI message with 2 items will it replace all items and update the SO with only 2 items?

Hi Ajay,

yes, when you use the replace all lines for item mapping then all the existing lines in the order will be removed and the order will create with lines which are present in the current data.

If you use the "Use as a key field to find existing lines" option within a sublist mapping, then it will use that field as the key to determine if a new line should be created or an existing line should be updated.

If you use the "Replace All Lines" mapping, then all lines on the current sublist will be removed and replaced by what you've just sent to it.