DSIYUTL7 EQTRIGUP UPDT TRIG

TITLEVALUE
NAMEDSIYUTL7 EQTRIGUP UPDT TRIG
DESCRIPTIONEQTRIGUP
This RPC returns the values for triggered fields whenever a trigger field
is updated.
The GUI will call this whenever one of the following trigger fields is
changed:

Field #6 Equipment Category - triggers Lockout (9), JHACO (27)
Field #11 PO# - Triggers: Vendor Pointer (10)
Acquisition Source (13.5)
Service Pointer (21)
Fund Control Point (35)
Budget Object Code (61)
Standard General Ledger (38)
Fund (62)
Administrative Office (63)
Equity Account (64)
Field #13 - Acquisition Date - Triggers Replacement Date (16)
Field #15 - Life Expectancy - Triggers Replacement Date (16)
Field # 18 - Category Stock # - Triggers Life Expectancy (15)
which triggers
Field #19 - CMR - triggers Service Pointer (21)
Station # (60)
Field #61 - Budget Object Code - triggers Standard General Ledger (38)
Field #2 - Parent System - Triggers Y2K Utility System (82)
Field #24 - Location - Triggers adding date to Physical Inventory Date

The GUI is responsible for checking to see if the user has already
updated the field being triggered and to deal with asking the user if
they want to change it or presenting a warning to the user that it will
be changed.

Replacement Date (16)
TAGEQTRIGUP
ROUTINEDSIYUTL7
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERIEN
DESCRIPTIONIEN
The IEN to the Equipment Management file ^ENG(6914)
Required
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH11

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERFIELD
DESCRIPTIONFIELD
The Field # which was changed (trigger field)
Required
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH5

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSIYDAT
DESCRIPTIONDSIYDAT
This is the data for the trigger field which has changed. Format is:

DSIYDAT(FIELD#) = Internal Value ^ External Value
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH60

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

Errors:
DSIYRET(1)="-1^Error message"

Warnings:
DSIYRET(1)="0^Warning message"

Good Data:
DSIYDAT(field#) = field#^^external value^internal value
NOTE - second piece would be for label to mimic what's returned in
RPC EQINFO - not needed here but wanted to keep fields in the
same order
These are the values for the fields TRIGGERED by the change to the
trigger field

NOTE: The user may have already put in new data for these fields
the GUI needs to warn the user or check for new entries

ASSUMPTION: Whatever is shown on the GUI screen at the time of saving is
what will be saved in the global.
AVAILABILITYPUBLIC
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED