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

Announcements

No record found.

News and Announcements icon
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,833 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 470

#3
Adis Profile Picture

Adis 270 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans