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,090

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

  • Verified answer
    Shabir Ahmad Profile Picture
    Shabir Ahmad 3,090 on at
    RE: Global Class in AOT

    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

  • Verified answer
    Jie G Profile Picture
    Jie G on at
    RE: Global Class in AOT

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans