Shopify B2B - NetSuite template - Shopify Variance

We’re going through the Shopify B2B - NetSuite template, trying to make sure we can account for all of the behaviors that are currently controlled by Settings in the Shopify - NetSuite IA. Map Ship Methods will be a lookup in the mapping, we’ve found the post response map hook we can edit to control discount line behavior, etc.

The only piece that seems to be missing is the order variance. Currently it seems in the IA that is handled by a post submit SuiteScript hook after the order creation step. But we can only see the function name, not the file name or ID. We’d like to leverage the same existing script if possible, as we need the same behavior to happen. If the order total is different in NetSuite than Shopify, add the variance item for the calculated difference and re-save the order.

Is this possible? Can you share what we need to set for our post submit SuiteScript hook to use the existing Celigo-built script used by the IA?

3 Likes

Hi Steph,

Apologies for the late response. I had to check this with our Product Team first. Here is their response:

”We will not be in a position to share the hook code. Further this is template and any customization need an involvement of experts from Celigo consulting or Celigo Partner.

We can ask the customer to reach Partner (Hairball) or our PS team for further help. Hairball originally helped in developing the Shopify B2B NetSuite template, hence they can help for further customization as well.”

We have the scripts in Netsuite already from the IA integration, we just don’t know the id of the script that is triggered to handle the variance. Is that information that can be shared so we can trigger that post submit Suite Script?