DSIYUTL5 PMUPDT UPDATE PM DATA

TITLEVALUE
NAMEDSIYUTL5 PMUPDT UPDATE PM DATA
DESCRIPTIONPMUPDT
RPC which allows update of the two multiples within the Equipment
Management file for Responsible Shop & Frequencies.

GUI must send all data for the Responsible shop or current data will be
replaced with nulls.

If the responsible shop exists in ^ENG(6914,IEN) it will be replaced with
new data. If the Frequency code exists with in the frequency multiple
within the responsible shop, it will be replaced with new data. Else,
new nodes will be added for each.

RET(1) = IEN for Responsible Shop multiple ^ Comment showing frequency
added successfully
TAGPMUPDT
ROUTINEDSIYUTL5
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERIEN
DESCRIPTIONIEN
Required
IEN from Equipment Management File ^ENG(6914)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH11

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSHOP
DESCRIPTIONSHOP
Required
Internal reference to Engineering Section List ^DIC(6922)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH10

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERTECH
DESCRIPTIONTECH
Required
Internal reference to Engineering Employee File ^ENG("EMP")

Send "@" for Technician if deleting this entire Preventive Maintenance
multiple (primary & secondary multiple)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERSTART
DESCRIPTIONSTART
Required
Internal value equating to starting month (1-January, 12-December, etc.)
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH2

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERSKIPMON
DESCRIPTIONSKIPMON
Required
Free Text - must be MMM-MMM to show months skipped. Example: JAN-MAY
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH7

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERCRITICAL
DESCRIPTIONCRITICAL
Required
Number 1-99 no decimals
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH2

INPUT PARAMETERSSEQUENCE NUMBER7
INPUT PARAMETERDATA
DESCRIPTIONDATA(X)
Not Required

Data for the Frequency Field - send ALL data for any new fields or any
changed fields.

Layout =
DATA(X)=p1^p2^p3^p4^p5^p6
p1=Frequency Code - Set (Values are A,S,Q,M, BM, W, BW, N, BA, TA)
p2=Hours - Number 1-200, 1 decimal
p3=Material Cost - Number 0-20000, 0 decimals
p4=level - Free text 1-12, can have more than one (i.e., 6,5)
p5=procedure - internal reference to ^ENG(6914.2)
p6=starting year - 4 digits 1900-2100

Send "@" for the Hours piece if deleting this secondary multiple from the
PM maintenance schedule - MUST send the correct Frequency code when
deleting - the other pieces are not needed when deleting
PARAMETER TYPELIST
REQUIREDNO
MAXIMUM DATA LENGTH60

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

RET(1)=-1 if errors
RET(1)="0^Warning Message" if there are warnings
RET(X) = further description of errors if data errors occurred

RET(1)=IEN of Responsible Shop multiple ^ "Frequency updated successfully"
if all updated successfully

NOTE: A successful update can be done without a frequency.
AVAILABILITYPUBLIC
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED