DSIYWO2 WOTCHSHP FIND SHOP (3897)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYWO2 WOTCHSHP FIND SHOP
TAG WOTCHSHP
ROUTINE DSIYWO2
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
DESCRIPTION
WOTCHSHP
Call this RPC after a Primary Technician is changed ONLY if the current 
SHOP value (field #9) is empty.
 
Technician Multi:
When entering a NEW line for the Technician Multi, call this RPC after 
they enter the technician info and display the SHOP as a default.
 
When changing an existing line for a Technician Multi, call this RPC only 
if the shop value for that technician's line on the multi is currently 
empty - if so then default to this new SHOP.
 
This RPC is used to find the default shop for a technician.  This should 
be used whenever a technician value is entered or changed.
 
Primary Technician:
Call this RPC after a NEW Primary Technician is added - then display the 
shop in the SHOP field on the main part of the screen.
 
INPUT PARAMETER
  • TECHIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   11
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    TECHIEN
     
    IEN to the Technician File ^ENG("EMP") when a user enters or changes 
    either a Primary Technician (Field #16) or enters/changes a technician in 
    the Technician Multi.
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
 
DSIYRET(1)=     "-1^Error Message"    If Errors
DSIYRET(1)=     "0^Warning Message"   If Warnings
DSIYRET(1)=     Shop Internal ^ Shop External