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, ...
Unanswered

X++ if else statement

(0) ShareShare
ReportReport
Posted on by 70

Hello there,

how should I type the x++ code to be able to fill a list page from salary 1 to salary 2 to salary 3 etc...

what meant is the first expected salary will be placed under salary 1, if the salary is not accepted by the applicant and the user added a new salary , the new salary will be placed under salary 2 and if not accepted will be moved to the third salary box and etc...

thanks in advance,

Akl

I have the same question (0)
  • Community Member Profile Picture
    on at

    Use if.. elseif statement that should help here

  • AklG Profile Picture
    70 on at

    thank youu.

    but for the first else , if I use the else if statement what would be the condition?

  • Community Member Profile Picture
    on at

    you could try in the following way

    if (salary1 condition)
    	logic here
    else if (salary2 condition)
    	logic here
    else if (salary3 condition)
    	logic here
    .
    .
    else
    	default logic here

  • Martin Dráb Profile Picture
    239,087 Most Valuable Professional on at

    Can you give us more information about the logic, please?

    By the way, the category of your question should be Development / Customization / SDK. Let me change it.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 308 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans