Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Prepayment status update only daily

(0) ShareShare
ReportReport
Posted on by 2,518

Hi All,

When creating prepayments - say purchase order, status changes to pending prepayment.  Once the actual payment is made status does not update till next day, by a scheduler.  Is it possible to get the system to change status immediately?

Thanks

  • Samantha73 Profile Picture
    Samantha73 2,518 on at
    RE: Prepayment status update only daily

    Awesome..this is the easiest solution without any coding. I cannot seem to figure out why anyone doesn't want to instantaneously update prepayment status so cannot explain the logic around default system settings but for now its fixed

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Prepayment status update only daily

    Samantha,

    Adding to the replies above, in the Job Queue you can add one related too Codeunit 384 and set the run time to every minute or so. See my setup below:

    pastedimage1614951045446v1.png pastedimage1614951109297v2.png

    Hope this helps.

    Thanks,

    Steve

  • RE: Prepayment status update only daily

    You are right, so to achieve this, then a new event sub could also be required via GitHub.

    Or ask Microsoft via IDEAS to add this possibility.

    Thanks :)

  • Suggested answer
    RE: Prepayment status update only daily

    Hello Samantha73,

    There is a field in Purchases & Payables Setup (same for Sales) to control this: "Prepmt. Auto Update Frequency", but unfortunately it contains fixed values to: Never, Daily, Weekly

    pastedimage1614926930096v1.png

    I guess this could be achieved with a customization by adding a new option to that field in setup and checking the function UpdateFrequencyToNoOfMinutes in Codeunit 441 Prepayment Mgt., and all the references to UpdateFrequency in other functions like CreateAndStartJobQueueEntry, etc.

    pastedimage1614927470696v2.png

    I hope it helps,

  • Suggested answer
    JAngle Profile Picture
    JAngle 48 on at
    RE: Prepayment status update only daily

    The prepayment mgt. codeunit just creates a job queue entry for codeunit Upd. Pending Prepmt. Purchase so you could have an entry on the job queue recurring. The function in the prepayment mgt. codeunit is a global but not event sub exists.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans