Get your business online with free website builder (en)

How To Modify Triggers of Existing Report in BC D365

Modify Triggers of Existing Report in BC D365:

(1) In this blog, we get to know about the modification or adding logic in the existing triggers. For this open the VS editor and create a report extension object and follow the steps as shown below.

(2) In this example, I want to do changes in the “Purchase Header” DataItem onAfterGetRecord trigger. For this use the “Modify” syntax and do the changes as shown in the figure.

Modify Report Trigger in D365 BC
Modify Trigger of report in d365 bc

(3) After doing the above step, publish the object and see the result. You can modify any trigger of DataItem, as per the business requirement.


Creation of Released Production Order in D365 BC
Use of SETAUTOCALCFIELDS Function in D365 BC
How to Setup Tax Accounting Period for GST in D365 BC
Make Lookup Field by using OnAssistEdit Trigger in D365 BC
How to Generate Barcode in Business Central
How to Create Purchase Order in Business Central
Setting Up Inventory– Microsoft Docs

Leave a Reply