Skip to main content

Notifications

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

Modify trigger OnAction() in CopyDocument

Posted on by 60

Heelo, 
I have a Task to modify a Field On CopyDocument Action, 

Could Anyone tell me how to modify  trigger OnAction() in BC.

Thanks

  • Ana Cerric Profile Picture
    Ana Cerric 60 on at
    RE: Modify trigger OnAction() in CopyDocument

    OnAfterAction & OnBeforeAction.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,114 Super User 2024 Season 2 on at
    RE: Modify trigger OnAction() in CopyDocument

    You can give it a try and let us know if it didn't work with your code.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Modify trigger OnAction() in CopyDocument

    Yes you can

    Please refer the below link

    community.dynamics.com/.../can-i-modify-action-in-business-central-extension

  • Ana Cerric Profile Picture
    Ana Cerric 60 on at
    RE: Modify trigger OnAction() in CopyDocument

    Can I use onbeforeaction?

  • Ana Cerric Profile Picture
    Ana Cerric 60 on at
    RE: Modify trigger OnAction() in CopyDocument

    This action is in Sales Return Order page and in Sales Credit memo.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,114 Super User 2024 Season 2 on at
    RE: Modify trigger OnAction() in CopyDocument

    The field is on which table?

    there will be many events in the CopyDocument process and you have to decide based on the table

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans