| NAME |
DSIYWO5 WOINIT INIT FIELDS |
| TAG |
WOINIT |
| ROUTINE |
DSIYWO5 |
| RETURN VALUE TYPE |
ARRAY |
| AVAILABILITY |
PUBLIC |
| INACTIVE |
ACTIVE |
| DESCRIPTION |
WOINIT
RPC to create a record for a new Work Order and set up fields depending
on what kind of user is coming in.
|
| INPUT PARAMETER |
-
- TYPE
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 1
- REQUIRED: NO
- SEQUENCE NUMBER: 1
- DESCRIPTION:
TYPE
Only used if coming from the Equipment screens - if so, TYPE="Q"
"W" = Ward User (user entering data from a Ward - minimal entry)
"Q" = Equipment Inventory (user coming from editing/adding a
new piece of equipment in Equipment Inventory
"E" = Engineering Entry - Engineer entering/maintaining WO's
-
- SHOPKEY
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 2
- REQUIRED: NO
- SEQUENCE NUMBER: 2
- DESCRIPTION:
SHOPKEY
NO LONGER NEEDED
The default shop key will be the receiving shop (default shop) for a VA.
If TYPE="W" or "Q", the RPC will try to find a SHOPKEY, if not, one must
be sent in
-
- EQIEN
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 11
- REQUIRED: NO
- SEQUENCE NUMBER: 3
- DESCRIPTION:
EQIEN
If TYPE="Q" this value must be sent - Equipment IEN from ^ENG(6914)
|
| RETURN PARAMETER DESCRIPTION |
RETURN PARAMETER
RET(1) = "-1^Error Message" If there are errors
RET(1)="0^SHOPKEY NEEDED" - If this is returned, GUI MUST ask for a
SHOPKEY or this RPC will not run - this means the default has not been
set at this VA
RET(FIELD) = FIELD# ^ TABLE NAME ^ INTERNAL ^ EXTERNAL
|