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 :
Supply chain | Supply Chain Management, Commerce
Answered

Production order pool filtering based on Finished Goods

(2) ShareShare
ReportReport
Posted on by 2,382
Hi Experts,
 
Customer requirement to filter pool lookup based on Production order finished goods ItemId. Like if Finished itemId group is "301" then only pool shows PET in lookup.
 
 Should I have to create Table include field PoolId,ItemGroup extended data type. How to filter pool lookup based on Finished goods itemid selection while creating Production order.
 
 
 
Thanks,
Faiz
 
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,248 Super User 2025 Season 2 on at
    Hi Faiz,

    Firstly, indeed you need a table with a relation between item groups and production pools. Then you can create an override for the lookup. You can probably get some help on how to do this by reading the next blog: AX / D365FO – How to: Add a Lookup Form to a Control in X++ – AX / Dynamics 365 For Finance and Operations blog
  • faiz7049 Profile Picture
    2,382 on at
    Hi Andre,
     
    I have created a table with fields ItemGroup and Pool. Now I need to know how to pass queryBuildRange.value('FGPET') when corresponding ItemId selected in production control.
     
    Thanks,
    Faiz
     
     
  • faiz7049 Profile Picture
    2,382 on at
    Hi Experts,
     
    I want to filter in lookup from Table SFA_Production_Pool based on field Identification_ItemId on form ProdTableCreate.
    Problem is how to get itemgroupid from field Identification_ItemId.
     
    Thanks,
    Faiz
  • faiz7049 Profile Picture
    2,382 on at
    Hi Experts,
     
    The Form is ProdTableCreate and Control Name is Identification_ItemId . I am trying to get ItemId from Control Name Identification_ItemId.

    Could you please help me.



     
    Thanks,
    Faiz
  • Verified answer
    faiz7049 Profile Picture
    2,382 on at
    Thank you Working with below code.
     
    FormDataSource prodFormDataSource = formRun.dataSource(tableStr(ProdTable));
     

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 286 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans