The Import program reads a series of records from the Import file. Each record begins with a 3-character command.
Valid commands are as follow:
Command |
Function |
Add item to be tracked. |
|
Advance item along specified route. |
|
Add item attribute (extended ). |
|
Add item attribute (standard). |
|
Clear location. |
|
Delete tracked item |
|
Print message to terminal. |
|
Apply group hold to item. |
|
Insert item to be tracked. |
|
Modify item attribute. |
|
Modify tracked item. |
|
Move item from source region to destination region. |
|
Enable/disable (1/0) production setpoints. |
|
Modify region status. |
|
Initiate a production start. |
|
Initiate a production stop. |
Subsequent fields in the record are delimited by a field delimiter character (usually |) defined on the very first line of the Import file.
Note: A blank line in the import input file causes the Import program to terminate processing of the input file at that point.
All fields in the file are of type character. The actual data passed to PRT is converted to the correct type by the Import program.
For the DELete command the disposition can be specified as "SCRAP", "DEL", or "DELETE". These strings are translated to the manifest constants SCRAP and DELETE.
For any API functions that require a region location argument (e.g. the ADD and INSert commands) the region location can be specified as "ALL", "LAST" ("ENTRY"), or "FIRST" ("EXIT"). These are translated to the manifest constants ALL_LOCATIONS, LAST and FIRST, respectively.
For arguments that are required to be a Boolean value, the strings "T", "TRUE", "F", or "FALSE" can be specified, which translate to the manifest constants TRUE and FALSE.
Production Tracking Import Program: PRT_IMPORT. |