Extension of a form- Chain of command- D365 F&O - X++ Code
☰Fullscreen
Table of Content:
Extension of a form- Chain of command- D365 F&O - X++ Code
[ExtensionOf(formStr(SalesTable))] final class TM_SalesTable_Form_Extension { public void init() { FormRun formRun = this as FormRun; FormDataSource SalesTable_DS =formRun.datasource(FormDatasourceStr(SalesTable,SalesTable)); SalesTable _salestable = SalesTable_DS.Cursor(); FormControl custAccount = formRun.design().ControlName(FormControlStr(SalesTable,SalesLine_itemid)); next init(); } }