Hello. I need help regarding the Cancel method of the ServiceLayer.
I've been able to cancel an specified JournalEntry (among other documents) by invoking the https://saphana:50000/b1s/v1/JournalEntries(Id)/Cancel method. This correctly marks the JE as cancelled and generates a reverse document.
The issue is that this reversed document has a Posting Date of the day which the operation is performed and I can't find any way to specify such posting date, which is an issue for my customer, specially if the cancellation is done in different years.
How could this be achieved ? The alternative I have right now is to generate manually a reverse document and manually concile them, but this is a bit tedious. It would be much easier to use the /Cancel but with a desired posting date.
Thanks in advance.