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 948

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

  • Indira88 Profile Picture
    948 on at
    RE: Populate a dropdown with an array in a request page of a report

    Cud you share an example Please

  • Suggested answer
    JAngle Profile Picture
    95 on at
    RE: Populate a dropdown with an array in a request page of a report

    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
    948 on at
    RE: Populate a dropdown with an array in a request page of a report

    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
    95 on at
    RE: Populate a dropdown with an array in a request page of a report

    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.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans