Hi All,
I am currently working in AX2012.When I am trying to rename the user id through "Rename primary key" button I am getting the below error message.
"The value that you are trying to add or subtract creates an invalid utcdatetime.
Cannot edit a record in User to person relationship (DirPersonUser).
Update must be performed inside a transaction.
(S)\Classes\xRecord\Update
(S)\Data Dictionary\Tables\DirPersonUser\Methods\Update - line 3
(S)\Classes\xRecord\Update
(S)\Classes\xRecord\renamePrimaryKey
(C)\Forms\SysRecordInfo\Methods\renamePrimaryKey - line 48
(C)\Forms\SysRecordInfo\Designs\DesignList\SysRenameKey\Methods\Clicked - line 3".
Note there is neither customization in "SysRecordInfo" form or "DirPersonUser" table. Still I am facing this issue.
Please let me know if anybody has faced similar issue and solved this issue.
Thanks in advance.
Error Message (11:50:18 pm) The value that you are trying to add or subtract creates an invalid utcdatetime.
Error Message (11:50:18 pm) Cannot edit a record in User to person relationship (DirPersonUser).
Update must be performed inside a transaction.
Info Message (11:50:18 pm) (S)\Classes\xRecord\Update
(S)\Data Dictionary\Tables\DirPersonUser\Methods\Update - line 3
(S)\Classes\xRecord\Update
(S)\Classes\xRecord\renamePrimaryKey
(C)\Forms\SysRecordInfo\Methods\renamePrimaryKey - line 48
(C)\Forms\SysRecordInfo\Designs\DesignList\SysRenameKey\Methods\Clicked - line 3
Info Message (11:50:18 pm) Update must be performed inside a transaction. [W-0122]