WDF 2530027 - The discount amount is getting synced to the Freight field in the SAP B1 order in WooCommerce Connector

WDF 2530027 - The discount amount is getting synced to the Freight field in the SAP B1 order in WooCommerce Connector

Symptom

The discount amount is being adjusted with the freight amount and synced to the header freight field in the SAP B1 order if the discount amount in a WooCommerce order is less than the freight amount.

Reproducing the issue
Prerequisites

You are using Intercompany Integration Solution version 53 or lower.
 
Scenario:

In the WooCommerce Connector, if the discount amount in a WooCommerce order is less than the freight amount, the discount amount is adjusted with the freight amount and synced to the header freight field in the SAP B1 order.

Expected Result:

The discount amount is synced to the discount field in the SAP B1 order in WooCommerce Connector.

Actual Result:

The discount amount is getting synced to the Freight field in the SAP B1 order in WooCommerce Connector.

Workaround:
Attached zip file is to be imported via BizStore Import of Control Center.

1. From your existing environment take the backup of "com.sap.b1i.dev.scenarios.design" file as per the backup process below:
To take the backup of the package file, perform the following steps:
  1. Login into Integration Framework 2.0.
  2. Goto Tools -->Control Center --> Maintenance -->BizStore Export.
  3. In the Exporting Content from BizStore, In the selection critera. Select the Dataset button.
  4. In the Choose Dataset, Choose Value "com.sap.b1i.dev.scenarios.design", Choose Group "OE.HUB.WOOCOMMERCE"  and then press Submit button.
  5. Save the file in the relevant folder.
2. Perform the following steps to import the Package file:
  1. Login into Integration Framework 2.0.
  2. Goto Control Center --> Maintenance -->BizStore Import.
  3. In the Importing Content to BizStore, In the selection critera. In the Choose Archive, select the Choose File button. 
  4. Select the package file "com.sap.b1i.dev.scenarios.design.zip".
  5. Select the checkbox Assume File System-Friendly Naming and then Submit.

Solution

The issue described above will be fixed in the Intercompany integration solution version 54 for SAP Business One, and higher versions.

Product
Product or Product Version
B1 INTERCOMPANY INTEGRATION
SAP B1 10.0 FOR SAP HANA
SAP B1 9.3 FOR SAP HANA
SAP BUSINESS ONE 10.0
SAP BUSINESS ONE 9.3