Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

When reverse entry from sales journal it give me error before you can unapply this entry

Posted on by 4,548

Hi guys i have problem 

when i go to make reverse to wrong entry in sales journal as following 

How i solve this problem

My error before you can post this entry you must first unapply all application entries that were posted after this entry

unaaply-1.JPG

1563.unapply-entry.JPG

*This post is locked for comments

  • Suggested answer
    Jens Glathe Profile Picture
    Jens Glathe 6,092 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    Hi Ahmed, to follow up on the available fixes: There is one in CU226/227. This is the code for CU226:


    Document section:

    OS004     26.09.2014    os.jgl  SIOI    BUG-41: Integration of KB2525776 - Unapply adjusted entries, also for G/L entries

    Function FindLastTransactionNo:

    FindLastTransactionNo(CustLedgEntryNo : Integer) : Integer
    //OS004s os.jgl  KB2525776
    WITH DtldCustLedgEntry DO BEGIN
      SETCURRENTKEY("Cust. Ledger Entry No.","Entry Type");
      SETRANGE("Cust. Ledger Entry No.",CustLedgEntryNo);
      SETRANGE(Unapplied,FALSE);
      SETFILTER("Entry Type",'<>%1&<>%2',"Entry Type"::"Unrealized Loss","Entry Type"::"Unrealized Gain");
      LastTransactionNo := 0;
      IF FINDSET THEN
        REPEAT
          IF LastTransactionNo < "Transaction No." THEN
            LastTransactionNo := "Transaction No.";
        UNTIL NEXT = 0;
    END;
    EXIT(LastTransactionNo);
    //OS004e os.jgl

    The same code (with vendor tables) needs to be added in CU227. I would recommend that you test it in a copy of your database.

    with best regards

    Jens

  • mmv Profile Picture
    mmv 11,465 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    You may go the Customer Ledger Entry and check whether there are other application to the "Cust. Ledger Entry No." = 100711256 (apart from the one you are trying to unapply).  If yes, please try to unapply those first and later the above.

  • ahmed barbary Profile Picture
    ahmed barbary 4,548 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    Thank you for reply

    what i do to solve problem

    are there are any way to remove these entries 

    or what i do

  • mmv Profile Picture
    mmv 11,465 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    Hi,

    This is what I have found:

    ----------------------------------------------------------

    This problem occurs because the balancing accounts are specified in separate journal lines. Microsoft Dynamics NAV cannot confirm which balancing bank account must be linked with the specific invoice when you run the Unapply function. If an invoice is applied with multiple balancing accounts, this problem occurs. If multiple bank accounts exist in the same journal batch, the Unapply function cannot work as expected.

    Additionally, you can post payment entries that contain balancing accounts that are specified in separate journal lines. However, Microsoft Dynamics NAV cannot determine which balancing account to be mapped.

    ----------------------------------------------------------

    Best Regards,

    MMV

  • Jens Glathe Profile Picture
    Jens Glathe 6,092 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    Hi Ahmed,

    I tried to explain in the link ;) But you are right; your postings aren't in currency. There are other bugs in the unapply function of NAV2009R2, too, that can lead to this error message. I'll have a look (no 2009R2 system available on this computer) and can give the source for it.


    with best regards

    Jens

  • ahmed barbary Profile Picture
    ahmed barbary 4,548 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    Thank you for reply

    but  i don't know why this problem happen

    if possible can any one help me 

  • Suggested answer
    Jens Glathe Profile Picture
    Jens Glathe 6,092 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    Hi MMV,

    a working link is here.

    with best regards

    Jens

  • mmv Profile Picture
    mmv 11,465 on at
    RE: When reverse entry from sales journal it give me error before you can unapply this entry

    Hi,

    The below is for the Vendor Ledger Entry, the same thing applies for Cust. Ledger Entry also

    www.mibuso.com/.../viewtopic.php;t=57240&view=previous

    Best Regards,

    MMV

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans