COC for Class in D365 F&O

Rumman Ansari   Software Engineer   2023-10-25 00:00:00   344  Share
Subject Syllabus DetailsSubject Details 1 Questions
☰ TContent
☰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);    
    } 
}


MCQ Available

There are 3 MCQs available for this topic.

3 MCQ