DSIYGNI2 GOALUPGR UPDT GOALS (3996)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYGNI2 GOALUPGR UPDT GOALS
TAG GOALUPGR
ROUTINE DSIYGNI2
RETURN VALUE TYPE ARRAY
DESCRIPTION
GOALUPGR
 
Adds Inventory Points to Groups and adds goals to both inventory points 
and inventory point groups
INPUT PARAMETER
  • DSIYDAT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    DSIYDAT
    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 = "<"
    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
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
 
DSIYRET(1)="0^<Warning Message>    If there are warnings/no data
DSIYRET(1)="-1^<Error Message>     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