DSIYGOP1 AUTOGEN PRIM TO PRIM (4836)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYGOP1 AUTOGEN PRIM TO PRIM
TAG AUTOGEN
ROUTINE DSIYGOP1
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
AUTOGENP
 
Runs AutoGen for Primary to Primary Distribution Orders.
 
The first time through, the user might be warned that there are existig 
orders outstanding for this Primary. The GUI can allow the user to 
"FORCE" the run the second time through.
INPUT PARAMETER
  • PRI1
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    PRI1
     
    Primary Distribution Point to stock from. If blank assume ALL primary 
    distribution points can be used.
     
    ASSUMPTION: All user validation for this primar distribution point has 
    been done (no checking is done in this rpc).
    
  • PRI2
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    PRI2
     
    IEN for the Primary Distribution Point which is being stocked - Required.
     
    ASSUMPTION: All validation as to whether the user has access to this 
    Distribution Point has been done - this RPC will not check for this.
    
  • FORCE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    FORCE
     
    Set to 1 if the first time through the user was warned that there are 
    outstanding distribution orders.  If the user agrees they want to run 
    AutoGen anyways, call it again with FORCE=1
    
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
DSIYRET(1)=Distribution Order #    if successful