I wanted to pass on some work/correction I did in my Salesforce / NetSuite IO IA to map Shipping & Billing Address correctly on SF Orders to NS Sales Orders.
The IA only provides the intermediate fields "ShippingAddress1 / ShippingAddress2 / BillingAddress1 / BillingAddress2" On Contacts and Accounts SF -> NS flows.
This is noted on https://docs.celigo.com/hc/en-us/articles/360039704672-Map-address-between-Salesforce-and-NetSuite but is easy to miss.
Unfortunately this exceptionally helpful mapping is missing from Orders.
I wanted to provide a work around for those in the same position I was in (without doing some lifting in Salesforce). You can use regexReplace handlebars to break up the Salesforce values in a similar fashion.
The following multi-field mappings should be valuable to you.
For NS Sales Order Billing Address 1
{{#if BillingStreet}}{{regexReplace BillingStreet "" "[\r\n][\s\S]*" "g"}}{{/if}}
For NS Sales Order Billing Address 2
{{#if BillingStreet}}{{regexReplace BillingStreet "" "^.*[\r\n]*\s*"}}{{/if}}
For NS Sales Order Shipping Address 1
{{#if ShippingStreet}}{{regexReplace ShippingStreet "" "[\r\n][\s\S]*" "g"}}{{/if}}
For NS Sales Order Shipping Address 2
{{#if ShippingStreet}}{{regexReplace ShippingStreet "" "^.*[\r\n]*\s*"}}{{/if}}
Hopefully this will save you the time I lost. Celigo, you should provide the same breakdown that is available on Contact/Account from Salesforce to the Order record as part of the IA.
Edit: Small correction to only process logic if ShippingStreet/BillingStreet is populated, as not everyone may have rules in SF enforcing these fields to be populated before activation.