TITLE | VALUE | |
---|---|---|
NAME | DSIYGNI1 DELETE ITEM | |
DESCRIPTION | Attempts to delete an item from the inventory point. Manager Key is required!!! First checks if item can be deleted, then deletes item, with option to also delete item from distribution points. | |
TAG | DELETE | |
ROUTINE | DSIYGNI1 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | STN | |
DESCRIPTION | 3 digit station # | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 3 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | TYPE | |
DESCRIPTION | Type of Inventory Point: W=Warehouse, P=Primary, S=Secondary | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 1 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | DSIYIEN | |
DESCRIPTION | The Inventory Point from which to delete the item. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 30 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
INPUT PARAMETER | DSIYTIEN | |
DESCRIPTION | IEN of the INVENTORY ITEM to delete. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 30 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 5 |
INPUT PARAMETER | DELDIST | |
DESCRIPTION | Pass 1 to delete item from all distribution points. "D" - If item in Primary DP is deleted, delete item in Stocked Secondaries "W" - Do not delete item. Only return Warnings or state if item is OK to delete. "O" - Display Outstanding Orders | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 1 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 6 |
INPUT PARAMETER | WARNONLY | |
DESCRIPTION | Flag to run DELETE in "warning only" mode. This mode will check for all errors that may prevent deletion or warnings with which the user should be presented before deleting, but will not delete the item. In this mode, errors or warnings will be indicated by a list of the standard "-1^error/warning message", and, if the item is okay to delete, will return "1^OKAY TO DELETE". | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 1 | |
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | First line of return indicates success or failure of deletion. RET(1)=-1^Error message if error or deletion failure or RET(1)=1^Success message If item cannot be deleted due to outstanding orders, return is: RET(0)=-1^ITEM HAS OUTSTANDING ORDERS: RET(1..n)=IEN of outstanding order (file #445.3) After this are two sections: RET(n)=$$START CODE SHEET$$ below this are any error messages pertaining to sending code sheet (warehouse inventory points only) Nothing in here means success RET(n)=$$START DISTRIBUTION POINTS$$ If DELDIST=1, subsequent lines are: RET(m)=DIST PT IEN^DIST PT NAME^ITEM DELETED or RET(m)=-DIST PT IEN^DIST PT NAME^Error Message Otherwise, subsequent lines are: RET(m)=DIST PT IEN^DIST PT NAME | |
AVAILABILITY | ||
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |