Skip to main content

Notifications

Announcements

No record found.

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

Change to Manual

Posted on by 95

Hello Dynamics Community, 

I have added an action on the customer list called 'Change to Manual Application'

This action will normally change the application method from 'Apply to Oldest' to Manual under the payments tab in the customer card.

The problem is that all customers' application method are set as 'APPLY TO OLDEST'.

How can I achieve it through code that whenever I click on it it changes all the records application method to Manual. 

Thanks for helping me. 

  • Verified answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Change to Manual

    hello

    run a rec.modifyall(Manual,TRUE)

    or instantiate another instance of the table giving it the same filters as the rec and then run the

    modifyall(Manual,TRUE)

    DAniele

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Change to Manual

    You have to use the OnAction trigger for this.

    You can read more about that trigger here:

    learn.microsoft.com/.../devenv-onaction-action-trigger

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans