Hello experts,
I'm working on an add-on for SAP Business One 9.1 (Hana), that was developped by using the SDK. One of the feature is about generating journal entries.
After noticing some inconsistencies with journal entries using foreign currencies (the daily exchange rate was used, not the invoice's one), I managed to assign the right amount for Debit and Credit by using the exchange rate from the invoice.
Because the same happens with DebitSys and CreditSys, I would like to assign a value based on the system exchange rate. However, I get the following error message :
"You cannot calculate global total amounts with system currency [JTD1.SysCred]"
Is there any way to assign a value to DebitSys and CreditSys in the SDK, like the option "Block Editing of Totals in System Currency"?
Thank you in advance for your help and suggestion.
Best regards,
Frédéric D. Hoffert