Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Manage form data based on session and user Id in ax 2012

(0) ShareShare
ReportReport
Posted on by 145

Hi All,

I have a requirement where user has open 1st session of Ax and open a form which has two grids, and select some records from upper grid which then added to lower grid by a AddLines button.

He is working with this form, in between another user open the another Ax instance and he also used the same form.

 

Issue: The problem is when the  2nd instance is opened the lines selected on the previous session of the form in the lower Grid are visible here in the new session also, the requirement is the when the user opens a new session, he should see the bottom grid as blank and he can operate the records independently of the other open session.

Can someone guide me, I am trying to manipulate the records of the same form based on the session of AX.

Best Regards

Pranav

*This post is locked for comments

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Manage form data based on session and user Id in ax 2012

    This really depends on what your data model is. And of course what is the business requirement.

    If user in session 1 is adding or editing physical records, they will be updated "for everybody" for sure. The same record can't be in two different states at the same time.

    If you want to show different records to different users, you might want to add userId in your table and filter it so that everyone sees only records that are associated with their user. Or you could use temp tables for temporarily storing some data - temp tables are specific to the session.

    Maybe you could share more details on what the users are actually doing on this form? What do these records represent? If we don't know that, it's impossible to give correct advice.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans