Symptom #
When posting orders within the SAP Business One connector tool the following error message is received:
-5002 10000156 Posting Date deviates from the defined range. To complete the operation, define the posting period to match the entered Posting Date.
Cause #
A new posting period has been created but the changes made have not been properly implemented by the SAP Business One integration layer.
This means that when a new order is to be posted, the software does not recognise it as being in the new posting period and the above error is produced.
Resolution #
Restart the SAP DI Server service.
This will ensure that the changes made to the posting period are reflected and further orders are posted as normal.
BPA Platform for SAP Business One
BPA Platform is a SAP Certified integration solution for SAP Business One. BPA Platform supports the central creation and management of an Integration Platform as a Service (iPaaS).
It is designed specifically for SAP channel partners and customers who wish to connect SAP databases to third-party solutions and accelerate the automation of business processes.
Deploy BPA Platform in a Cloud, Hybrid or On-premises environment and get the integration and process automation tools you need when you need it.