Hi, I'm developing a script that allows certain users to void a payment by generating a reversal journal entry and then updating the posting period of that journal entry to match the payment's transaction date.
When the payment and the journal entry are in the same month, there is no issue.
However, when the payment date falls in a different month than the journal entry date, the system displays an error stating that the posting period of a voided transaction cannot be modified.