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 :
Small and medium business | Business Central, N...
Suggested Answer

Populate a dropdown with an array in a request page of a report

(0) ShareShare
ReportReport
Posted on by 980

Hi All,

I want to create a dropdown that would populate the job numbers for a user who have filled their timesheet in a specified time frame .

This I want to do in a request page of a report. Any idea how this could be achieved?

pastedimage1655403693608v1.png

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    So once the dates are filled in you want a procedure to determine what jobs have had timesheets posted to for that user? Procedure to return a filter string? Does it make sense to have it on the request page? If they want to override maybe have that as an option instead and then let the report otherwise calculate the filter when the user doesn’t override.

  • Indira88 Profile Picture
    980 on at

    Hi ,

    Thank you for the reply. Actually there are many jobs in our organisation.Hence for the ease of the user if the dropdown populates only those that is relevant to him would make it easier for him to choose the job number which in turn would generate a excel template based report.

    Regards,

    Indira

  • Suggested answer
    JAngle Profile Picture
    133 on at

    Gotcha. Perhaps the report needs to be based on a temporary table of the jobs table. OnInitReport trigger you then populate the table based on looping through timesheets for a chosen period of time with job numbers. You’ll need to do a IF GET with each loop to skip repeated jobs

  • Indira88 Profile Picture
    980 on at

    Cud you share an example Please

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans