web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Modify trigger OnAction() in CopyDocument

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

    The field is on which table?

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

  • Ana Cerric Profile Picture
    60 on at

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

  • Ana Cerric Profile Picture
    60 on at

    Can I use onbeforeaction?

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    Yes you can

    Please refer the below link

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

  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

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

  • Ana Cerric Profile Picture
    60 on at

    OnAfterAction & OnBeforeAction.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans