Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

job queue

Posted on by 39
 

Hi guys i want to schedule the job to create reminders for customers with outstanding balances and issue the reminders daily. I also need to set the document date to the current date.


    procedure CreateCustomerReminders()
    var
        CustomerRec: Record Customer;
    begin
        CustomerRec.RESET;
        if CustomerRec.FINDSET then
            repeat
                if CustomerRec./Outstanding Balance/ > 0 then
                begin
                    // Create a reminder document for the customer
                    // Set the document date to the current date
                    // Send the reminder to the customer (e.g., via email)
                end;
            until CustomerRec.NEXT = 0;
    end;
 

 
Categories:

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,339 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,177 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans