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 :
Microsoft Dynamics AX (Archived)

Global Class in AOT

(0) ShareShare
ReportReport
Posted on by 3,110

GLOBALCLASS.png

Dear Experts,

In AOT , there is a class called "Global" Why it is used, where it will be used, please tell me what is the purpose of this class, screenshot of the class is above thanks in advance.

Thanks and Regards,

Shabir Ahmad

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Jie G Profile Picture
    on at

    Hi Shabir Ahmad,

    In the AOT under System Documentation > Classes you can see a list of the kernel or system classes. System classes are not written in X++, and you cannot see their source code. You cannot add any system classes.

    Some system classes are extended by an application class of nearly the same name.  In such cases you should call the substitute application classes instead of calling the system classes that they extend.

    For more information, please refer to: docs.microsoft.com/.../substitute-application-classes-for-system-classes

  • Verified answer
    Shabir Ahmad Profile Picture
    3,110 on at

    Thanks dear for your prompt reply,

    I got what i was looking for ,some of points are here below,please check here:

    The global class is the class that holds the standard functions used in the

    X++ development environment. If you want to add or change methods to

    the global scope of dynamics ax you can do this in the global class.

    The Global class has several methods prefixed with date used for date

    operations. To calculate next and previous date for week, month, quarter and

    year.

    Thanks and Regards,

    Shabir Ahmad

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans