| TITLE | VALUE | |
|---|---|---|
| NAME | DSIYWO2 WOTCHSHP FIND SHOP | |
| DESCRIPTION | WOTCHSHP 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. 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. | |
| TAG | WOTCHSHP | |
| ROUTINE | DSIYWO2 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | TECHIEN | |
| 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. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 11 | |
| RETURN VALUE TYPE | ARRAY | |
| 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 | |
| AVAILABILITY | PUBLIC | |
| INACTIVE | ACTIVE | |
| CLIENT MANAGER | ||
| WORD WRAP ON | ||
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||