Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

ModifiedBy and ModifiedDateTime fields of User record(userinfoTable).

$
0
0

Hi

I was developing a report with User, user permissions, its corresponding worker and assigned position details. For this report I need to add Modified By and Modified DateTime fields of User record.

I enabled Modified Date Time and Modified fields on SysUserInfoTable.

In DP class I tried two scenarios

1) Getting sysuserinfo ModifiedDateTime and ModifiedBy fields

when I change username in User form its not updating in ModifiedDatetime field, the field value is remaining same as createdDateTime field. I changed the user relation on user then sysuserinfo ModifiedDatetime field is updated with latest value.

1) Getting Userinfo ModifiedDateTime and ModifiedBy fields

I was able to get the right  ModifiedDatetime, ModifiedBy fields when I change values like user name and email etc but the issue here is its displaying ModifiedDatetime, ModifiedBy values only from today, the user information that I changed yesterday is displaying changed name but ModifiedDatetime, ModifiedBy values were showing blank ideally they should display yesterday date and time and Modified by user Id. 

Am I missing any step here or is there a better way of getting USER record created by, createddateTime, ModifiedDatetime and  ModifiedBy values.

I am using AX 2012 R3 and the report purpose is for User permissions and worker records auditing.

Thanks


Viewing all articles
Browse latest Browse all 72043

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>