Explanatory Question
Edit Method in D365
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.
Indicates that the methods return type is to be use to provide information for a field that is used in a form only
We can create edit method on the
Take the new method in the table, and then drag that method into the grid and set data source properties. In that field is user can edit it and accept the values to the user and save it CustTable.
Edit Name name(boolean _set , Name _name) { Name name = _name; CustTable custTable; ; if(_set) { if(name) { ttsbegin; custTable = CustTable::find(this.CustAccount,true); custTable.Name = name; custTable.update(); ttscommit; } } else { name = CustTable::find(this.CustAccount).Name; } return name; }
First read the answer fully, then try to explain it in your own words. After that, open a few related questions and compare the concepts. This method helps you remember the topic for a longer time and improves exam preparation.