application successfully posted, no entries applied

vanrofivanrofi Member Posts: 272
Hi all,


I have a strange issue when applying manually the vendor ledger entries, the system gives me the error :
The application was successfully posted though no entries have been applied.

On several retries with the same entries the system finally succeeds in applying the entries correctly.

The application is done in form 233, in a 5.0 database on SQL server.

Answers

  • vanrofivanrofi Member Posts: 272
    aha!

    I think it is solved, but I leave the posting as is, for other members it could be usefull.

    Apparently the applies-to ID is different (some entries get an applies to ID automatically when payment entries comes in) and if the user does not change it, it cannot be applied as CU227 filters on that logically.
  • AsallaiAsallai Member Posts: 141
    dear vanrofi,

    we are in a same situation and thanks your comment below :wink:
  • cheesycheesy Member Posts: 2
    Hi all,

    i think the Solution for this post is following:

    Show the column "Remaing Amount" in the "Ledger Entry"-Forms (Form 25 and Form 29). Then the error doesn't appear, because the field will be calculated.
  • Big_DBig_D Member Posts: 207
    Hi Vanrofi

    Brilliant – I thought I’d a long afternoon on this on but checking the applies-to-id resolved this issue as unbeknown to me it was set to the customer’s and setting the Applying Entry wasn’t clearing it – so I started again and then noticed a wrong applies-to-id!
    Another way this error occurs is if the applying entries have the same signs i.e., both Positive = True or False!
    Big thanks Vanrofi =D>
    Big D signing off!
  • mrc_hanmrc_han Member Posts: 11
    Spent the afternoon on this issue trying multiple suggestions for 2009 SP1 classic. ](*,)
    Show the column "Remaing Amount" in the "Ledger Entry"-Forms

    Cheesy was on the right track. If the "Remaining Amount" is not shown, the CALCFIELDS never happens on Remaining Amount and then "Amount to Apply" is never filled in for the entry being applied to.

    Below should fix it if you want to keep "Remaining Amount" hidden.

    CU227 ApplyVendEntryformEntry(...)
    ApplyingVendLedgEntry."Applying Entry" := TRUE;
    ApplyingVendLedgEntry."Applies-to ID" := VendEntryApplID;
    ApplyingVendLedgEntry.CALCFIELDS("Remaining Amount");//ADDED
  • gemini31gemini31 Member Posts: 1
    sir,
    above problem not resolved by solutions recommended.. pls help on this regard..
    facing error still.. "application successfully posted, though no entries have been applied."
    1) positive , negative found ok, but same error
    2) applies-to-id shows user name
    3) remaining amount already in customer ledger entry form 25.

    pls suggest
  • mrc_hanmrc_han Member Posts: 11
    Gem,

    When you open the application form, is the applies-to ID already filled in with the user ID?
    If so, click set-applies to ID twice to clear it and re apply it.
  • annann Member Posts: 7
    Hi

    experience same problem, but only on one single user...
    NAV2009 R2 - classic client.
    Superuser.
    Have checked Applies-to ID, and it is the same on both entries.

    Suggestions?
  • annann Member Posts: 7
    Found this code, and it works!!
    Codeunit 226 + 227
    Fct. ApplyVendEntryformEntry / ApplyCustEntryformEntry:
    ....
    ERROR(Text018)
    ELSE BEGIN
    CustEntryApplID := USERID;
    IF CustEntryApplID = '' THEN
    CustEntryApplID := '***';

    // Add the following lines.
    IF ApplyingCustLedgEntry."Remaining Amount" = 0 THEN
    ApplyingCustLedgEntry.CALCFIELDS("Remaining Amount");
    // End of the lines.

    ApplyingCustLedgEntry."Applying Entry" := TRUE;
    ApplyingCustLedgEntry."Applies-to ID" := CustEntryApplID;
    ApplyingCustLedgEntry."Amount to Apply" := ApplyingCustLedgEntry."Remaining Amount";
    CODEUNIT.RUN(CODEUNIT::"Cust. Entry-Edit",ApplyingCustLedgEntry);

    :D
  • sumantbansalsumantbansal Member Posts: 2
    Hi

    Even after showing "Remaining Amount" on page 29 error is still coming on nav 2013 r2

    Please suggest.
  • sumantbansalsumantbansal Member Posts: 2
    HI All
    I am struggling with this error while applying Vendor Entry. When click on Post application button error showing Application posted successfully though no ledger entry have been applied. :s>:)
Sign In or Register to comment.