Hey everyone,
i'm trying to to allow edit of the posted records on payment journal
i used this code with the allowcreate(true) and allowdelete(rue) both working fine unlike the allowedit(true) that did'nt change anything .
what am i doing wrong?
[ExtensionOf(formDataSourceStr(LedgerJournalTransCustPaym,LedgerJournalTrans))] final class LedgerJournalTransCustPaym_Extension { public int active() { int ret; FormRun fr = this.formRun(); FormDataSource fds = fr.dataSource(formDataSourceStr(LedgerJournalTransCustPaym,LedgerJournalTrans)); ret = next active(); fds.allowEdit(true); fds.allowCreate(true); fds.allowDelete(true); return ret; }
One of the fundamentals of ERP is posted transactions remain as is and are not edited as mentioned by the other community members above. What you have been asked should not be done, period. Find another solution.
Thank you all for the quick responses.
i was asked to find a solution to modify/edit the existing records on the Payment Journal history.
i know it's not supposed to be edited but that's what i have been asked to do.
Just like it mentioned above, if you are able to edit posted transactions, the system is flawed.
Tell us the problem you are trying to solve here.
You can not edit posted journals.
Hi As,
As per design, it is not allowed to make changes after the journal got posted. What exact business problem are you trying to solve?
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156