Use the program Import services for products with other systems via the command line or a batch file
It is sometimes useful, especially for processes that are commonly repeated, to use them in a link with other programs. The stand alone options are used for this. Product requirements import can be used in this way.
Use program: PRODIMP
PRODIMP [filename] [/AUTO] [/DELETE] [/UDF:<parameter filename>] [/SEP] [/CALCPARTS] [/IGNORENULL]
filename - file with requirements information
/AUTO - silent running
/DELETE - delete import file
User defined
/UDF
Where there is an import parameter for user defined parts the parameter file can be specified on the command line with the UDF option.
PRODIMP testfile /AUTO /DELETE /UDF:prodprm
The /UDF argument is only followed by the filename.
Separator
/SEP:<separator>
Specify the separator for the file.
e.g.
/SEP:58
/SEP:":"
The separator is either the decimal ASCII number or the character enclosed in quotes
The separator can be any ASCII code between 32 and 127 except the following (0 to 9, A to Z or a to z).
If the separator is not valid an error is reported.
Calculation of parts
/CALCPARTS
Creates the part list and cutting list automatically
Ignore Null variable answers
/IGNORENULL
If this is used then any NULL values in the file will not be used to blank out variable answers during the import process.
Errors
Any errors created during import and generation of the product requirement file, part list and cutting list files are placed in the PRODIMP.ERR file.
Note
/CALCPARTS can only be used in standalone mode and therefore needs to be run with the /AUTO command.