1: [ExtensionOf(tableStr(Table1))]
2: final class Table1_Extension
3: {
4: public void insert()
5: {
6: this.fieldName = “to insert”; //update field before insert method is executed
7: next insert();
8: this.fieldName = “to insert”; //update field after insert method is executed
9: }
10: public void delete()
11: {
12: //logic before delete method is executed
13: next delete();
14: //logic before after method is executed
15: }
16: public void update(anytype _parameters)
17: {
18: //logic before update method is executed
19: next update(_parameters);
20: //logic after update method is executed
21: }
22: }
Friday, May 22, 2020
Code for insert, update and delete using Chain of Commands in D365 Finance & Operations
Subscribe to:
Post Comments (Atom)
How to loop selected records on grid for form in dynamics ax?
To loop/iterate selected records from grid on form you can use following code, this can be done on clicked method of button control : Invent...
-
Calling Display MenuItem: new MenuFunction(menuItemDisplayStr(MyDisplayMenuItem), MenuItemType::Display).run(); Calling Output MenuItem: new...
-
To loop/iterate selected records from grid on form you can use following code, this can be done on clicked method of button control : Invent...
No comments:
Post a Comment