Hi guys, Today we see how to disable post button in journals form in Ax 2012 using X++.
In LedgerJournalTable form i want to disable the post button for particular user group persons.
Go to LedgerJournalFormTable class in enableButtonsActive method write following code.
while select userGroupList
where userGroupList.groupId == "Test Group"
&& userGroupList.userId == curUserId()
{
ctrlPostJournalMenu.enabled(false);
}
Keep Daxing!!
No comments:
Post a Comment