Sunday, July 3, 2016

Check Developer, System Admin access in ax 2012 x++

static void CheckDevSysAdmin(Args _args)
{
    SecurityRights  rights = SecurityRights::construct();
    info(strFmt("%1",rights.isDeveloper()));
    info(strFmt("%1",rights.isSystemAdministrator()));
}

No comments:

Post a Comment

To Get line total charge amount & Tax Amount posted for Sales invoice lines D365FO X++

For reporting or inquiry purpose to review consolidated charges per Invoice line. Using these two below view we can get Charge amount posted...