Cancel Incoming Payment with system date in SDK
In SAP B1 Client, user cancel an incoming payment, they should choose the cancellation date of
transaction by current system date or original document date.
but in SAP business One SDK, I found that when I use cancel method to cancel thepayment by SDK, I
can't found the parameter to choose the cancellation date by current system date.
the main point is when I cancel the payment by DI, system choose the original document date to
posting. but user need cancellation date as Current System Date.
is it available to cancel incoming payment by current system date?
Currently, it is not possible to set the cancellation date of the payments object, it will always be set to the original document date.
The possible workaround is to cancel the document through the UI instead, as using the UI you can take any action you can normally take in the Business One GUI.