Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Restrict Reverse Transaction

(0) ShareShare
ReportReport
Posted on by

i need to restrict reverse transaction entry in General Ledger Entries.

Thanks for support

*This post is locked for comments

  • Verified answer
    Amol Salvi Profile Picture
    18,696 on at
    RE: Restrict Reverse Transaction

    You can achieve this by doing small customization

    In User Setup add field 'Allow Reverse Transaction' as boolean datatype.

    Write a code on reverse transaction action if above field in true then allow for reverse or give error

    UserSetup.SETFILTER(UserSetup."User ID",'=%1',USERID);

    IF UserSetup.FindFirst then begin

     IF NOT "Allow Reverse Transaction" THEN

       ERROR('You are not authorized to perform reverse transaction')

     ELSE BEGIN  

        CLEAR(ReversalEntry);

       IF Reversed THEN

         ReversalEntry.AlreadyReversedEntry(TABLECAPTION,"Entry No.");

       IF "Journal Batch Name" = '' THEN

         ReversalEntry.TestFieldError;

       TESTFIELD("Transaction No.");

        ReversalEntry.ReverseTransaction("Transaction No.")

     END;  

    END;

    Hope this helps

  • Suggested answer
    Maneesha Profile Picture
    5,891 on at
    RE: Restrict Reverse Transaction

    Dear Nav User123 ,

    Its Simple , You have 2 ways to do it Security , Permission Set

    check relevant users and make security or remove those permission for the user who wants to remove(from those user's permission set)  

  • Verified answer
    Rashed Profile Picture
    3,765 on at
    RE: Restrict Reverse Transaction

    You can do that through security.  When you do a reverse transaction,  NAV creates a record in Reversal Entry. Table 179.     Change the permission for the user so that they cannot insert into this table.  

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans