WDF 2530031 - A "Not Valid Number" error may occur on the A/R Invoice when modifying and saving the draft A/P invoice in the receiver company

WDF 2530031 - A "Not Valid Number" error may occur on the A/R Invoice when modifying and saving the draft A/P invoice in the receiver company

Symptom

The following error may occur on the A/R Invoice when modifying and saving the draft A/P invoice in the receiver company:
Invoke of: DoQuery Source: SAPbobsCOM.Recordset.100.0 Description: 1). [SAP AG][LIBODBCHDB DLL][HDBODBC] General error;339 invalid number: not a valid number string '' -The di call #1 did fail.

Reproducing the issue
Prerequisites

You are using Integration Solution version 53.0 or lower.

Scenario:

The following error may occur on the A/R Invoice when modifying and saving the draft A/P invoice in the receiver company:
Invoke of: DoQuery Source: SAPbobsCOM.Recordset.100.0 Description: 1). [SAP AG][LIBODBCHDB DLL][HDBODBC] General error;339 invalid number: not a valid number string '' -The di call #1 did fail.

Expected Result:

The Draft A/P invoice is successfully modified and saved in the Receiver company.

Actual Result:

A "Not Valid Number" error may occur on the A/R Invoice when modifying and saving the draft A/P invoice in the receiver company

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 "CXS.IC"  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 enhancement described above has been incorporated in the Intercompany Integration Solutions version 54 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

This document refers to : 
WDF 2540001 - Overview Note for Intercompany integration solution Version 54 for SAP Business One