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

loop through records method

(0) ShareShare
ReportReport
Posted on by 105

Hi,

I am new to ax and I am currently working on a project.

The request is in a run base batch class to see if a customer field is selected. If the field is not selected the logic should be implemented for all customers. If its selected the logic should be implemented just for that one customer.

The logic i should implement is : when OK is clicked on the dialog, this class should loop through all reservations in the selected time  frame, find all reservation lines that are not paid and update the relevant customer with the reservation id and amount that needs to be paid. How do I implement this?

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi sjov,

    Can you explain what exactly you mean with 'a customer field is selected'? What reservations and what time frame are you referring to? Is this related to inventory reservations or other functionality?

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
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans