In the current shopify netsuite integration app, the shopify refund to netsuite refund flow can have the refund location mapping. This flow creates credit memo if the parent transaction was sales order else it creates cash refund it the parent transaction was cash sale. Following are the requirements that I need to accommodate:
1. If parent transaction was sales order and refund transaction to be created is credit memo then we have to use a hard coded location at header level in credit memo. This location is same as parent sales order header level location (which is also hardcoded). I believe using a dynamic lookup to find the parent transaction and use its header location will work in this case as well.
2. If parent transaction was cash sale and refund transaction to be created is cash refund then we have to use a dynamic lookup such that the cash refund can import the header level location from parent cash sale by looking up the shopify order id.
Does anyone know how to accommodate both of these requirements in one flow?
Please sign in to leave a comment.