DSIYGO01 AUTOGENS SECONDARY

TITLEVALUE
NAMEDSIYGO01 AUTOGENS SECONDARY
DESCRIPTIONAUTOGENS

Runs AutoGen for a Secondary.

The first time through, the user might be warned that there are existing
orders outstanding for this secondary. The GUI can allow the user to
"FORCE" the run the second time through.
TAGAUTOGENS
ROUTINEDSIYGO01
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPIEN
DESCRIPTIONPIEN

Primary Distribution Point to stock from. If blank assume ALL primary
distribution points can be used.

ASSUMPTION: All user validation for this primary distribution point has
been done no checking is done in this RPC.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERIPIEN
DESCRIPTIONIPIEN

IEN for the Secondary 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.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERFORCE
DESCRIPTIONFORCE

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
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)="0^ If there are warnings/no data
DSIYRET(1)="-1^ if there are errors
DSIYRET(1)=Distribution Order # if successful
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED