COC for Class in D365 F&O
☰Fullscreen
Table of Content:
COC for Class
[ExtensionOf(classStr(SalesFormLetter))] final class TM_SalesFormLetter_Extension { public static void main(Args args) { RefRecId record = args.record().RecId; DocumentStatus parmEnum = args.parmEnum(); Object callerForm = args.caller(); MenuItemNameAction callerMenuItem = args.menuItemName(); SalesTable salesTable = SalesTable::findRecId(record); } } [ExtensionOf(classStr(SalesFormLetter))] final class TM_SalesFormLetter_Extension { public boolean validate(Object _calledFrom) { DocumentStatus doc; salesTable salesTablelocal; boolean result,processstatus,checkvalidate,deliverytermcheck; processstatus=true; Dialogbutton db; checkvalidate= next validate(_calledFrom); } }