DSSO CHECK PCARD USER AUTH

TITLEVALUE
NAMEDSSO CHECK PCARD USER AUTH
DESCRIPTIONThis RPC determines whether the logged-in user is authorized to see the full purchase card number. Indication of whether the user holds the "RMPR FCP MANAGER" key is returned. Also returned are 1) the masked or full purchase card number,
2) whether the user is the initiator of the purchase card order, 3) whether the user is the card holder of the purchase card, and 4) whether the user is a surrogate user of the purchase card.
TAGCKPCRD
ROUTINEDSSOPPC
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSSOPCRD
DESCRIPTIONEncrypted purchase card number (#25) from the PROSTHETICS 1358 file (#664) - REQUIRED
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH16

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDSSODUZ
DESCRIPTIONLogged-on User
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSSOINIT
DESCRIPTIONCreator of the purchase card order (file 664 field #10) - required
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERDSSO664
DESCRIPTIONPROSTHETICS 1358 (#664) IEN
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONDSSORT1="-1^"_error message
Successful Completion:
DSSORT1=a string where:
^-pc 1 = "1" - to indicate success
^-pc 2 = full or masked decrypted purchase card number
^-pc 3 = 1 -> holds "RMPR FCP MANAGER" key
-1 -> does not hold "RMPR FCP MANAGER" key
^-pc 4 = 1 -> Initiator of purchase card order
0 -> did not initiate purchase card order
^-pc 5 = 1 -> Card Holder
0 -> not Card Holder
^-pc 6 = 1 -> Surrogate User
0 -> not Surrogate User
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED