DSIYWO2 WOTCHSHP FIND SHOP

TITLEVALUE
NAMEDSIYWO2 WOTCHSHP FIND SHOP
DESCRIPTIONWOTCHSHP

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.
TAGWOTCHSHP
ROUTINEDSIYWO2
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERTECHIEN
DESCRIPTIONTECHIEN

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 TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH11

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)= "-1^Error Message" If Errors
DSIYRET(1)= "0^Warning Message" If Warnings
DSIYRET(1)= Shop Internal ^ Shop External
AVAILABILITYPUBLIC
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED