web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

CoC ChainofCommand example in Microsoft Dynamics 365 Finance and Operations apps

Rahul Mohta Profile Picture Rahul Mohta 21,032

CoC ChainofCommand example in Microsoft Dynamics 365 Finance and Operations apps

class TestMethExtnCoCBase

{

public static void main(Args _args)

    {

        info("Hello from base class main method");

    }

 

}

 

 

[ExtensionOf(classstr(TestMethExtnCoCBase))]

final class TestCoC_Extension

{

public static void main(Args _args)

    {

        info("From CoC class using method extensions");

        next main(_args);

}

 

}

 

//- First method wrapper is called and then using next the cursor executes the logic from original class.

Comments

*This post is locked for comments