RE: Document handling is inactive for this user
hi,
1. I have setup archive directory path
2.I have checked the Use active documents tables
and there are many document types defined
And below is the code i have on Empl form methods:
void SAREnableDisableDocumenthandlingButton()
{
SysDictMenu sysDictMenu;
;
sysDictMenu = SysDictMenu::newMenuItem(menuItemDisplayStr(EmplTableDetails), MenuItemType::Display);
if (sysDictMenu.rights() < AccessType::Edit || curExt() == SARDEvGeneralParameters::find().MainCompany)
{
infolog.docuHandlingActive(false);
}
else
infolog.docuHandlingActive(true);
}