DSSO CHECK PCARD USER AUTH (4371)    REMOTE PROCEDURE (8994)

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
  • DSSOPCRD
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Encrypted purchase card number (#25)  from the PROSTHETICS 1358 file (#664) - REQUIRED
    
  • DSSODUZ
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Logged-on User
    
  • DSSOINIT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Creator of the purchase card order (file 664 field #10) - required
    
  • DSSO664
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    PROSTHETICS 1358 (#664) IEN
    
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