Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

conditional lookup

Posted on by 1,534

Hi Everyone,

i have simple question , i need to filter inventory location on purchtable form by following condition

1. if user A is login then at PO creation time inventory dimension should showing in drop down list invent-1 & invent-2.

2. if user B is login then  at PO creation time inventory dimension should showing in drop down list invent-3 & invent-4.

  • munsif Profile Picture
    munsif 1,534 on at
    RE: conditional lookup

    I want to filter on inventlocationid when user creating PO.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: conditional lookup

    Hi Munsif,

    On which field are you trying to add the range for filtering based on user Id?

  • munsif Profile Picture
    munsif 1,534 on at
    RE: conditional lookup

    Thanks for your reply, but in override method we can add only one range like for user A invent-1 showing, but we need for user A two ranges for same fields. secondly there is no user id in main table because i think you are talking about version Ax 2012 R3, and we are using 2012 R2, not advance WMS.

  • Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    RE: conditional lookup

    Implementing such a logic possible, but consider if it's not work for data security. The answer depends on your actual requirements.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: conditional lookup

    Hi Munsif,

    You can override the lookup method for inventory location to filter based current logged in user. Do you have user id records saved in the Inventory location main table, based on which you want to filter the records?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans