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.
0
Answers
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.
we are in a same situation and thanks your comment below
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.
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>
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
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
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.
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?
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);
Even after showing "Remaining Amount" on page 29 error is still coming on nav 2013 r2
Please suggest.
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.