web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Cannot post because you did not specify which entry to apply. AL issue

(1) ShareShare
ReportReport
Posted on by 173
Hi all,
Am getting this eeror in AL code when posting a document after which I expect the application process to happen after 
Codeunit.Run(Codeunit::"Gen. Jnl.-Post Batch", GenJnLine);
has been called.
I've two types of custom payment documents that have the similar process, once is posting and applying without errors but the other is showing the error message.
Below is the error
 
Cannot post because you did not specify which entry to apply. You must
specify an entry in the Applies-to ID field for one or more open
entries.
 
kindly assist
I have the same question (0)
  • Verified answer
    KAYKAY Profile Picture
    173 on at
    Hi all, 
    I've realized that I was using different customers on the both documents that I was settling against each other. What day and half wasted.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans