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 :
Microsoft Dynamics NAV (Archived)

User Setup

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  I have field on Request Page . In properties on Table Relation i have given below code

"Dimension Value".Code WHERE (Dimension Code=CONST(CostCENTER)) . In Dimension Value Table there is field Shortcut Dimension 1 Code.

In User Table Setup i have fields Location1,Location2,Location3,Location4,Location5. User may have access to 1 or more Locations.

I want only those records from Dimension Value which have Shortcut Dimension1 Code = Locations from User Setup
. If User has Location2 , Location3 then only those records are displayed from Dimension Value which have ShortCut Dimension 1 Code = Location2 & Location3

Thanks

*This post is locked for comments

I have the same question (0)
  • mmv Profile Picture
    11,471 on at

    You cannot use the table relation property.

    you need to write the code in the "Shortcut Dimension 1 Code" OnLookup trigger on the RequestPage.

    The filter should contain:-

    "Dimension Value".SETFILTER(Code,'%1|%2',UserSetup.Location2,UserSetup.Location3);

    In the last post, I have explained to you how to code in the OnLookup trigger.

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 > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans