DSIYWO1 WOSCH WORK ORD SCH (3874)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYWO1 WOSCH WORK ORD SCH
TAG WOSCH
ROUTINE DSIYWO1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
WOSCH
 
 
 
 
 
 
 
 
 
 
 
NOTE:  When searching from the dashboard, leave STAT="" when pulling up 
items by either Status or Priority to retrieve all with that Status or 
Priority.
RCP to return Work Orders when searching by several types of fields.  
 
Because of the nature of this search, not all fields can be combined.
 
 
 
 
INPUT PARAMETER
  • TERM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    TERM
     
    Search term, if nothing sent, assume to stop at the beginning of 
    whichever type of search we are using.
     
    This is the starting point for the search.
    
  • NOREC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   4
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    NOREC
     
    Number of records to return - not required.
    = 40.
    
  • SCHBY
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SCHBY
     "M"                 Equipment Model #
     "P"                 Shop
     "T"                 Status
     "N"                 Search by Technician
     "R"                 Search by Priority
     "D"                 Search by Date Entered
     
    If the search is to be within a field, add a "+" to the search type
    For example, to search within Serial # use "S+"
     
     
    The searches which can use the "within" feature have asterisk above.
    Type of search, valid values are:
     
     "B"            Search by Work Order #& Original WO #
     "C"                 Location
     "F"                 Manufacturer Name
     "E"                 Equipment ID
     "S"                 Equipment Serial #
    
  • STAT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   25
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    STAT
     
    Not Required, default = all OPEN statuses
     
    Internal value for status code.
    Not Required, default = all OPEN statuses
    Multiple statuses can be entered - to enter more than one status, use the 
    format:
    ^STAT^STAT^STAT^
     
    Make sure the "^" is before and after the first/last status code.
    
  • SCHTXT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    SCHTXT
     
    Flag can be set to any single-digit positive number.  If flag is set, 
    search will look for any matching text anywhere in the string.  Note, 
    this search will be much slower.
    
  • PMWO
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    PMWO
     
    Set to "P" to pull on "PM-" Work Orders
    Set to "A" to pull ALL Work Orders
     
    If not set, only non-PM Work Orders will be pulled (default)
    
  • DSIYNEXT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    DSIYNEXT
     
    If the user indicates they want to move down through the data - send
    1^the last IEN from the last search
     
    If the user indicates they want to move up through the data - send
    -1^the first IEN from the last search
     
    All other parameters (TERM, BY, USE, NOREC, SCHTXT) need to be sent
    exactly as they were for the original search in this session.
     
    This parameter is only used when the user is asking for more data for a
    search (pressing pageup/pagedown at the end of the data, etc.)  This will
    allow the RPC to grab the next set of data to display to the user.
     
    Format is:
     
    MOVE^FIRST/LAST IEN
    
  • STATION
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   12
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    FILTER BY STATION
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
p3:  Work Order Number
p4:  Task Description
p5:  Date Entered
p6:  Priority
p7:  Location
p8:  Equipment IEN
p9:  Manufacturer
p10: Model
p11: Shop
p12: Technician Name
 
p13: Status
p14: User can edit WO 1=yes
p15: PM Status
p16: Date Closed
RET(1) -1^Error Message if errors
 
RET(1) 0^Warning Message if warnings such as no data found
 
DSIYRET(WONUM)=the following pieces:
p1:  Work Order IEN
p2:  Original Work Order #