public int active()
{
int ret;
boolean bModifyEnabled;
ret = super();
bModifyEnabled = (
CIEB_OOPP_Requirements_ds.cursor().createdBy == curUserId() ||
UserInfoHelp::userInUserGroup( curUserId(), 'OOPP_ADMIN' ) ||
Global::isSystemAdministrator()
);
CIEB_OOPP_Requirements_ds.allowEdit( bModifyEnabled );
CIEB_OOPP_Requirements_ds.allowDelete( bModifyEnabled );
return ret;
}
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Thursday, September 3, 2026
ax - How enable change on the row only to the user who created
On the DataSource override this method:
Subscribe to:
Posts (Atom)