
| Name | Value |
|---|---|
| NAME | DSSO CHECK PCARD USER AUTH |
| TAG | CKPCRD |
| ROUTINE | DSSOPPC |
| RETURN VALUE TYPE | SINGLE VALUE |
| DESCRIPTION | This 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. |
| INPUT PARAMETER |
|
| RETURN PARAMETER DESCRIPTION |
DSSORT1="-1^"_error message
^-pc 5 = 1 -> Card Holder
0 -> not Card Holder
^-pc 6 = 1 -> Surrogate User
0 -> not Surrogate User
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
|