Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : kVMetzBwTqSpSc4r3pOEks
Finance | Project Operations, Human Resources, ...
Answered

Need to display multiple legal entities records in purchase order form.

Like (0) ShareShare
ReportReport
Posted on 6 Apr 2023 05:47:57 by 55
  • My requirement is needed to create a PO summary form generated based on fields given by the user.
  • The fields are a legal entity(multi-select lookup), from date, to date, and PO status.

Facing problem:

  •        I created a dialog class to capture the values given by the user. while I selected multiple companies in that legal entity dialog field. I need to display the multiple legal entity records in PO form. i.e., I selected a DAT and USMF in a legal entity dialog field both companies' records have to display in PO form.
  • Verified answer
    Shawnsauve Profile Picture
    1,093 on 06 Apr 2023 at 05:55:54
    RE: Need to display multiple legal entities records in purchase order form.

    To display multiple legal entity records in the PO form based on the values selected by the user, you can follow these steps:

    1. After capturing the values given by the user in the dialog class, create a query that filters the Purchase Orders based on the legal entities selected by the user. You can use the multi-select lookup field to create the filter condition in the query.

    2. Use the "from date" and "to date" values provided by the user to further filter the Purchase Orders in the query.

    3. Use the "PO status" field to further filter the Purchase Orders in the query.

    4. Once the query is ready, use it to fetch the relevant Purchase Orders from the system.

    5. Create a PO summary form that displays the required fields for the Purchase Orders fetched by the query.

    6. Use a data grid or a similar UI control to display the Purchase Orders in the PO summary form.

    7. For each Purchase Order, display the relevant legal entity information along with the other fields.

    By following these steps, you can create a PO summary form that displays the relevant Purchase Orders based on the legal entities, date range, and PO status selected by the user in the dialog class.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete