One moment please...
 
Untitled Document

Not allowed: Variable excvhange rate in financial entries created by the Entity service of Exact Globe(SOAP REST API)

When creating header/line data(financial entries, sales orders and production orders), the lines will at first undergo only minimal validation and are then buffered until the header record is created. Only then are all lines validated against the full business logic before the entry is created. This, along with the fact that with the Entity service lines are entered before the header means that for line data default values often can't anticipate the resulting entry as well as this is the case with data created by the SDK API.

One such issue is with entries in foreign currency. If no currency code is supplied at line level, the default currency will be assumed even if at header level another currency is entered. This will then result in the exchange rate being incorrectly determined, or getting an error if variable exchange rates have been disabled for that journal or currency code.

To resolve this, make sure that the currency code of the entry is always provided explicitly for both the line as well as the header data.

 

 

Document Number: 28.328.197

Disclaimer
Despite the continued efforts of Exact to ensure that the information in this document is as complete and up-to-date as possible, Exact can not be held accountable for the correctness and/or completeness and/or specific applicability of the published and/or requested information in this document. Exact shall not be liable for any direct, indirect, incidental, special or consequential damages, lost profits or for business interruption arising out of the use of this document. The extraction and use of information from this document remains at all times completely within the user's own risk.