Hii,
In CustInvoiceJour table I have a custom field name CollectionStatus of type base enum. This enum has three values 1. Not Collected, 2. Collected, 3. Partially Connected
I have developed a new Form with CustInvoiceJour table a datasource and name it Collection Status Form. Please see the pic of this form.
Whenever there is settlement/collection of amount for an invoice of a customer is done, a user opens this form, and select that invoice and update CollectionStatus value.
We do invoice settlement in both AR -> Payment journal and GL -> General journal.
Requirement: In which table/class method etc should I do customization that, whenever doing invoice settlement either in AR or GL, CollectionStatus field of CustInvoiceJour should auto update based on invoice fully or partially paid.
Thanks