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

Best way to shortcut a user from a Purchase Order to Apply Vendor Entries page?

(0) ShareShare
ReportReport
Posted on by

I am trying to add an action to Purchase Orders to allow our accountant to quickly access the Apply Vendor Entries page.

By default, we access this page by navigating from the Purchase Order to the related Vendor > Vendor Statistics > Balance > Apply Entries, where we are presented the below view.

ApplyEntries_5F00_Success.png

This works fine, but is very clunky to navigate too. I'm attempting to add the following action:

    actions
    {
        addlast(processing)
        {
            action(ApplyVendorEntries)
            {
                Caption = 'Apply Entries';
                ApplicationArea = All;
                Image = Receipt;
                RunObject = page "Apply Vendor Entries";
                RunPageLink = "Vendor No." = field("Pay-to Vendor No."), Open = const(true);
            }
        }
    }

This loads the correct page, and seems to be filtered correctly, however as you can see from the below the header information is missing.

ApplyEntries_5F00_Fail.png

Once rendered, I am unable to leave the page and receive the error The Vendor Ledger Entry does not exist. Identification fields and values: Entry No.='0'

Can anyone offer insight into why this is happening? Is there a better way to open the Apply Vendor Entries page from the Purchase Order record? Or is there additional information I need to pass to RunObject() to ensure the header is populated?

Thanks!

I have the same question (0)
  • Suggested answer
    Dallefeld Profile Picture
    211 User Group Leader on at

    My concern about opening Vendor Ledger from the Purchase Order is that purchase orders may no longer exist for some vendor ledger entries.

    The Apply Entries screen is designed for you to choose one vendor ledger entry, then choose Apply Entries to pick the entries you want to apply to the one vendor ledger originally chosen.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    In addition to what Kim already wrote i wonder what business case that requires to be able to apply a vendor ledger entry to an unposted purchaser order?

    If we are talking about pre-payments there are designed processes for that case.

  • Community Member Profile Picture
    on at

    Inge - Yes, the need is to prepay an invoice before items are received. We were told that the solution is to use the payment journal, then later when the purchase order has been completely received to use the Apply Vendor Entries page to reconcile the previous payment with the open invoice.

    Do you have an alternate solution?

  • Community Member Profile Picture
    on at

    Hi Kim -

    That makes sense, however we need to prepay an invoice before items are received. We were told that the solution is to use the payment journal, then later when the purchase order has been completely received to use the Apply Vendor Entries page to reconcile the previous payment with the open invoice.

    Do you have an alternate solution?

  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    We always used the following process and had no issue so far. Maybe you can test this.

    dynamics.tensoft.com/.../

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    Here is the Microsoft documentation on prepayments.

    docs.microsoft.com/.../finance-invoice-prepayments

    You should configure your system according to that.  And issue an prepayment invoice when you pay your vendor up front. Not post it directly to your payment journal.

  • Community Member Profile Picture
    on at

    Thanks Inge - We have avoided this in the past because of this issue:

    "We recommend that you do not use a prepayment percentage of 100 in the following cases:

    If you are located in North America. Due to how taxes are calculated, a prepayment percentage of 100 can lead to issues with prepayment invoices."

    But we will investigate again.

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,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans