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 :
Finance | Project Operations, Human Resources, ...
Answered

Create method in AOT View to return the absolute value of a field

(0) ShareShare
ReportReport
Posted on by 469

Hi,

I need  your help tp create method in AOT View to return the absolute value of a field; exampel settlementcurrency amount in the query datasource; CustTrans  of the view.

I was not able to find references online

I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi Hossam,

    I assume that you are referring to computed column in a view.

    Refer to the standard view CustTransSettleHistView for understanding how to create computed column in a view and creating a method for computed column.

    To get absolute value I found one method available in the class SysComputedColumn.

    Method name is abs.

    SysComputedColumn::abs("expression");

    Try using that method and check.

    Thanks,

    Girish S.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 471 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 423 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans