The Refund data flow picks up refunds created as cash refunds/credit memos in NetSuite and exports them as credit memos in Magento 2.
When a Magento 2 order is refunded in NetSuite by creating a credit memo transaction generated through Returns flow, the connector exports this data and creates a corresponding refund record in Magento 2. This flow also handles adjustments made on Magento credit memo transaction. These 'adjustment' fields are provided on credit memo & cash refund records in NetSuite to sync to Magento 2 Adjustment fields.
The flow supports the following scenarios:
- Flow syncs full refunds created as Cash Refunds/Credit Memos in NetSuite
- Flow syncs partial line refunds created as Cash Refunds/Credit Memos in NetSuite
- Flow syncs partial quantity refunds within a single line created as Cash Refunds/Credit Memos in NetSuite
- Order status in Magento 2 reflects as Closed in case of full refunds
From your connector, access the Refund data flow from the Settings section. Select and Save the appropriate Saved Search from the Advanced Settings section and then Run the flow (click the 'Play' button).
The status of the data flow is visible in the dashboard.
After successful data export, go to Magento 2 and validate that the record is exported successfully from NetSuite.