DSSO R/C CHECK 2319 ITEM (4619)    REMOTE PROCEDURE (8994)

Name Value
NAME DSSO R/C CHECK 2319 ITEM
TAG CHK660
ROUTINE DSSOPP2
RETURN VALUE TYPE SINGLE VALUE
DESCRIPTION
This RPC is to be used when flagging an item returned/condemned 
after selecting the inventory point using DSSO R/C INV PTS - USER/ITEM.
This RPC ensures that the inventory point in file 660 is the same as
the requested inventory point and that the logged-in user is an authorized
user of the inventory point from the Record of Pros Appliance/Repair 
(#660).
INPUT PARAMETER
  • DSSO660
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    File 660 IEN of item to be flagged as returned/condemned
    
  • DSSOINV
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    File 445 IEN of selected inventory point
    
  • DSSODUZ
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    File 200 IEN of logged-in user
    
RETURN PARAMETER DESCRIPTION
Output:
  Warning Message:  "0^You are not an authorized user of the 
                    *"_xxxxxxxx_"* inventory point and cannot add this
                    item back into the *"_xxxxxxxx_"* inventory point."
                    (where xxxxxxxx=issuing inventory point from 
                    file 660)
  Successful Completion:
    DSSORET=DSSO660 ien ^ OK
  Error Messages:  "-1^"_error message or "0^"_warning message
            "-1^2319 transaction is required."
            "-1^Invalid 2319 transaction"
            "-1^This is a shipping entry and may not be used."
            "-1^Inventory point is required."
            "-1^Invalid inventory point"
            "-1^User is required."
            "-1^Invalid user"