DSIYGNI2 GOALUPGR UPDT GOALS

TITLEVALUE
NAMEDSIYGNI2 GOALUPGR UPDT GOALS
DESCRIPTIONGOALUPGR

Adds Inventory Points to Groups and adds goals to both inventory points
and inventory point groups
TAGGOALUPGR
ROUTINEDSIYGNI2
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSIYDAT
DESCRIPTIONDSIYDAT

Required

DSIYDAT(#)=$$$^GROUP IEN^TURN RATE GOAL^TURN RATE EQUATION*
^INACTIVE PERCENT GOAL^INACTIVE PERCENT EQUATION*
DSIYDAT(#)=INVENTORY POINT IEN^INVENTORY POINT NAME
^ADJUSTMENT PERCENT GOAL^ADJUSTMENT PERCENT EQUATION*
^DSOH LOWER GOAL^EQUATION^DSOH UPPER GOAL^EQUATION
DSIYDAT(#)=INVENTORY PINT IEN^@ if Inventory Point to be deleted from
this group

ASSUMPTION: Only one GROUP record per update call
Groups can be updated without Inventory points
Inventory point updates must have group updates
If an inventory point is sent in with a group to which
it does not currently below - the assumption is that
the GUI has already verified with the user that this
inventory point is to be moved from one group to another
the RPC will delete it from the old group and add it
to the new group

*EQUATIONS: Equations are send in the coded format:
-1 = "N/A"
0 = "="
1 = ">="
2 = "<="
3 = ">"
4 = "<"
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH60

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)="0^ If there are warnings/no data
DSIYRET(1)="-1^ if there are errors

NOTE: The GROUP record and some inventory point records may be accepted
where others are not. In this case, additional DSIYRET(#) lines may be
generated for any inventory point records which are not accepted
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED