Symptom
The following error occurs during the replication of the Purchase Order to Sales Order when the Inventory UoM is set to Yes at the line level of the Purchase Order:
Variable '$doclineItemCode' has not been bound to a value
Reproducing the issue
Prerequisites
You are using Integration Solution version 51.0 or 51.5.
Scenario:
The following error is encountered while replicating a Purchase Order to a Sales Order, specifically when the Inventory UoM is set to Yes at the line level of the Purchase Order:
Variable '$doclineItemCode' has not been bound to a value
Expected Result:
The Sales Order is successfully replicated based on the Purchase Order, even when the Inventory UoM is set to Yes at the line level of the Purchase Order.
Actual Result:
Unable to replicate the Purchase Order to Sales Order when the Inventory UoM is set to Yes .
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:
- Login into Integration Framework 2.0.
- Goto Tools -->Control Center --> Maintenance -->BizStore Export.
- In the Exporting Content from BizStore, In the selection critera. Select the Dataset button.
- In the Choose Dataset, Choose Value "com.sap.b1i.dev.scenarios.design", Choose Group "CXS.IC" and then press Submit button.
- Save the file in the relevant folder.
2. Perform the following steps to import the Package file:
- Login into Integration Framework 2.0.
- Goto Control Center --> Maintenance -->BizStore Import.
- In the Importing Content to BizStore, In the selection critera. In the Choose Archive, select the Choose File button.
- Select the package file "com.sap.b1i.dev.scenarios.design.zip".
- Select the checkbox Assume File System-Friendly Naming and then Submit.
Solution
The issue described above has been fixed in the Intercompany Integration Solutions version 55 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