Error Message: "Failed to save record because This transaction has duplicate accounts. The main line of the transaction and the line labeled '' both use the account named 'Checking - WF"."
Reason: This error occurs when some of the customer deposits/cash sales/refunds are already under 'Checking - WF' Account (see NS Account to confirm).
Resolution: Make sure that Shopify orders that are imported as cash sales in NetSuite have the account set to Undeposited Funds.
To fix the error, you will need to make sure all charges and refunds for your payout are in Undeposited Funds so when the Payout flow runs, it will create a Deposit and add all from UndepFunds to the Main Checking - WF Account.
- Go to integrator.io and navigate to the Shopify Integration App tile.
- Go to Settings > Order > Order tab.
- Set the NetSuite account to credit cash sales setting to Undeposited Funds.
This does not apply to Checking WF only but also to other accounts. Any transaction in other accounts instead of Undeposited Funds will result in an error.