DSIYUTL4 FAPCHK CHK FOR FAP (3915)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYUTL4 FAPCHK CHK FOR FAP
TAG FAPCHK
ROUTINE DSIYUTL4
RETURN VALUE TYPE ARRAY
DESCRIPTION
FAPCHK
 
Checks to see if an existing piece of equipment has been reported to the 
Fixed Asset Package.  If so, then a set of uneditable fields is returned 
to the GUI.
INPUT PARAMETER
  • EQIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   11
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    EQIEN
     
    IEN to the Equipment Management File ^ENG(6914)
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
 
DSIYRET(1) = "-1^Error message"        if errors
DSIYRET(1) = " 0^Message to user"      message to user if FAP exists
DSIYRET(1) ==  "FIELD1;FIELD2;FIELD3"    list of fields to make uneditable
DSIYRET(1) = "1^Non-FAP"               if this is not a FAP item, nothing 
to do