Thanks Chuck, from what I read in this
thread this is a use case on GL Journal, doesn't sound common on
other documents.
I'm finding this very similar to what
we did in IDEMPIERE-918 for Invoice<->CreditNote, and indeed
I understand Nicolas solved it in a similar way.
Summary of what we did in
IDEMPIERE-918:
* created a process
org.idempiere.process.InvoiceCreateCreditMemo
* this button works on completed
invoices with the following parameters:
** Document Type
** Credit Note Date
** Accounting Date
** Document Action
** Create Allocation?
* the process simply creates an exact
document (negative) in the desired date/type and executes the
desired action (prepare/complete)
* we also created a column
C_Invoice.RelatedInvoice_ID to keep the relationship between the
original invoice and the credit note
I guess this can be easily solved here
same way:
* process to create a reverse journal
with parameters:
** Journal Date
** Accounting Date
** Document Action
* add column
GL_Journal.RelatedJournal_ID to keep the relationship between
those two
As Chuck suggested we can also add
columns to register the future reversal date/note - with that the
process can even be scheduled (we can add for automate this
another parameter to reverse all the "due" reverse dates).
WDYT?
Regards,
Carlos Ruiz
El 13/09/20 a las 3:02 p. m., Chuck
Boecking escribió: