Skip to main content

Notifications

Microsoft Dynamics NAV forum
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,217 Moderator 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,744 Moderator 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

Dynamics 365 Community Update – Sep 16th

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…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans