FUNCTION CHK_ACCESSRIGHTS


*!*	PARAMETERS pcDocType,pcDocName,pcWhichRight

*!*	PRIVATE lcAlias
*!*	lcAlias = ALIAS()
*!*	LOCATE FOR pcDocType = docType AND pcDocName = DocName AND user_id = gcUser_id
*!*	IF ! FOUND()
*!*		DO err_msg WITH 'DETAIL FOR USER ID : ' + gcUser_id + ' AND ' + 'USE 

RETURN 