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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Suggest Vendor Payments - Checking vendor due date

(6) ShareShare
ReportReport
Posted on by 192
Hi all,
 
Before making an experience idea I'd like to see whether anyone has any experience with getting the Suggest Vendor Payments report to check due dates on vendors, when Vendor Priority is set to TRUE and an Available Amount is set and where the vendor card has no priority e.g is 0. 
  
From looking at the AL code it appears as though there are 2 chunks that check whether to include or exclude a vendor. 
 
Code 1:
 
if UsePriority then begin
    SetCurrentKey(Priority);
    SetRange(Priority, 1, 2147483647);
    UsePriority := true;
end;
 
 
This block - If UsePriority is checking whether the vendor has a priority of 1..2147483647 which in this scenario would exclude vendors. 
 
 
 
Code 2:
 
if UsePriority and not StopPayments then begin
    Reset();
    CopyFilters(Vend2);
    SetCurrentKey(Priority);
    SetRange(Priority, 0);
    if FindSet() then
        repeat
            ...
        until (Next() = 0) or StopPayments;
end;
 
 
This block is doing the default to ensure that a vendor payment is included where the priority is 0. However, if you have a list of outstanding vendor entries that look something like the below:
 
Vendor No. Amount Due Date
V01 5000.00 31/03/25
V02 2500.00 28/02/25
V03 2500.00 28/02/25
 
When the suggest vendor payment is run and you set a Last Payment Date of 31/03/25 and have Vendor priority to TRUE and an Available Amount of 5000.00 the document that will be inserted is V01 rather than V02 and V03, despite these having an earlier due date. 
 
My expectation is that the Vendor No is irrelevant and that if the vendor card has no priority that Due date on the vendor ledger entry is considered rather than the order of the vendor no. Wondering if anyone has any experience in considering due dates during the suggest vendor payment and/or whether this is even currently possible?
 
Thanks!
I have the same question (0)
  • Suggested answer
    RockwithNav Profile Picture
    8,941 Super User 2026 Season 1 on at

    Honestly, I’ve never faced any issues when executing the Suggest Vendor Payments function. Date entered in the Last Payment Date field, the system still brings in any pending entries. If Priority is selected, it will override other criteria.

     

    My suggestion is: if the function isn’t bringing the expected entries, why not go to the Vendor Ledger Entries page, select the vendors you want to process, choose the relevant entries, and then click Pay Vendor. This will bring all selected entries into the Payment Journal using the information you provided in the dialog box.

     
     
     
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
  • Verified answer
    Jeffrey Bulanadi Profile Picture
    9,112 Super User 2026 Season 1 on at

    Hi Jacob,

    This seems to be standard Business Central functionality, and your analysis is spot on—the current setup doesn’t prioritize due dates for Priority 0 vendors as expected.

    To achieve your desired outcome, you could:

    • Assign priorities to all vendors to explicitly control the payment order.
    • Customize the Suggest Vendor Payments report to sort Priority 0 vendors by due date.

     

    If you find this helpful, feel free to mark it as the suggested answer!

    Cheers
    Jeffrey Bulanadi

  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,128 Super User 2026 Season 1 on at
  • Ladjecamis Profile Picture
    8 on at
    I have often seen this in Suggest Vendor Payments. It seems that priorities are sometimes processed differently than expected, especially when there are mixed records with Priority = TRUE and Priority = 0. It helped me to review the sorting order in the AL code and pay attention to the vendor date — sometimes it is what determines which records are included in the payment proposal first. I also noticed that payment terms can affect the selection logic. Different discount periods create unexpected results in some cases. When I need to understand bonus structures better, I find detailed reviews at PokiesLAB NZ quite helpful for comparing different offers. Clear descriptions make it easier to evaluate options. The same applies to Dynamics configuration - good documentation saves hours of testing. I always document my findings to help others avoid similar issues.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans