MAGV GET WORK ITEM (3135)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGV GET WORK ITEM
TAG GETITEM
ROUTINE MAGVIM01
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC returns all of the data elements for a single entry in the
MAG WORK ITEM file (#2006.941).
INPUT PARAMETER
  • ITEMID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   12
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the item ID used to uniquely identify a work item.
    
  • EXPSTAT
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the expected status of the work item.  If the work item does
    not have the expected status the work item elements will not be
    returned and the work item status will not be updated.
    
  • NEWSTAT
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is the new status to be filed in the work item.
    
  • UPDUSR
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    This is the user that has updated the work item entry.
    
  • UPDAPP
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    This is the application/service that has updated the work item entry.
    
RETURN PARAMETER DESCRIPTION
The return parameter returns a "0" for success. "-1" followed by an error message is returned if an error has occurred.
A successful look up will return all data elements filed for the entry.