| $$CANPICK(TIUTYP) |
This is a Boolean function that returns true if ??
and false otherwise.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TIUTYP |
Input |
This is the ien of the document.
|
|
$$CANDO(IEN,ACTION) |
Evaluates whether a user can perform an action on a
specific TIU document.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
IEN |
Input |
IEN of the TIU DOCUMENT file (#8925).
|
ACTION |
Input |
Pointer to the USR ACTION file (#8930.8).
|
RESULT |
Output |
RESULT=$$CANDO^TIULP(IEN,ACTION) where result is:
1 if user can perform action
0^'why not message' if user can't perform action
|
|
$$REQCOSIG(TYPE,IEN,USER) |
Evaluates whether a user requires a cosignature for a
particular document.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TYPE |
Input |
Pointer to TIU DOCUMENT DEFINITION file (#8925.1).
|
IEN |
Input |
Pointer to TIU DOCUMENT file (#8925).
|
USER |
Input |
Pointer to NEW PERSON file (#200).
|
RESULT |
Output |
RESULT=$$REQCOSIG(TYPE,IEN,USER) where RESULT is 1 if
user requires cosignature for the document or 0 otherwise.
|
|
$$CANLINK(TYPE) |
BOOLEAN function which evaluates whether the current
user (DUZ) link a document of a particular type to an Interdisciplinary Note.
For use in ADD NEW ID NOTE, where the new entry has not yet been entered. not
entered yet. Assume most favorable circumstances (i.e., user will complete the
note), so if user still can't link, can tell them no, when they first select
title for the new entry. Exclude titles that can be selected as
Interdisciplinary Parents, since Parent and Child entries function as mutually
exclusive, (regardless of business rules).
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TYPE |
Input |
This is the IEN of the document in the TIU DOCUMENT
DEFINITION FILE (#8925.1).
|
RESULT |
Output |
The function returns a BOOLEAN result (i.e., 1 if the
document in question may be linked as an Interdisciplinary Entry, and
0^Explanatory text) if it cannot.
|
|
$$CANENTR(TIUTYP) |
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TIUTYP |
Input |
Document type IEN.
|
$$CANENTR |
Output |
1 == if user has privileges to enter a document of the type input
0 == otherwise
|
|