Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Allow edit of the posted records in Payment Journal

(0) ShareShare
ReportReport
Posted on by 51

Hey everyone,

i'm trying to to allow edit of the posted records on payment journal 

pastedimage1682441975209v2.png

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;
        
    }

  • Anton Venter Profile Picture
    Anton Venter 19,493 Super User 2025 Season 1 on at
    RE: Allow edit of the posted records in Payment Journal

    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.

  • wassim.77 Profile Picture
    wassim.77 51 on at
    RE: Allow edit of the posted records in Payment Journal

    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.

    pastedimage1682452047141v1.png

  • Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: Allow edit of the posted records in Payment Journal

    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.

  • Suggested answer
    BillurSamdancioglu Profile Picture
    BillurSamdancioglu 16,455 Most Valuable Professional on at
    RE: Allow edit of the posted records in Payment Journal

    You can not edit posted journals.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 on at
    RE: Allow edit of the posted records in Payment Journal

    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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans