Action class for exporting and importing parts and other parts management items like parts, addresses, constructions, terminals, accessory lists and accessory placements.
| Parameter | Description |
|---|---|
|
TYPE |
Type of task to be performed: IMPORT: Import parts lists EXPORT: Export parts lists |
|
IMPORTFILE |
The directory and the file name of the file to be imported must be specified here. This only applies to IMPORT. |
|
EXPORTFILE |
The directory and the file name of the file to be exported must be specified here. The file extension is automatically added by the system. This only applies to EXPORT. |
|
FORMAT |
Optional: File format ("XPamImportXml","XPamExportXml", or user-defined format). IXPartsImportExportEdz - export to .edz and import from .edz.
XPamExportXml is the default format value for tasks of 'TYPE': EXPORT.
XPamImportXml is the default format value for tasks of 'TYPE': IMPORT.
See also and namespace.
|
|
PARTNUMBER |
Optional: Used for exporting parts. Part number of article. |
|
MANUFACTURER |
Optional: Used for exporting addresses. Long name of an address. |
|
CONSTRUCTION |
Optional: Used for exporting constructions. Name of construction. |
|
CONNECTIONPOINTPATTERN |
Optional: Used for exporting terminals. Name of terminal. |
|
ACCESSORYLIST |
Optional: Used for exporting accessory lists. Name of accessorylist. |
|
ACCESSORYPLACEMENT |
Optional: Used for exporting accessory placements. Name of accessoryplacement. |
|
MODE |
Optional: Used for Importing: Import mode. Supported modes are: 0: append new records only 1: update existing records only 2: update existing records and append new ones Default value= 0, append new records only. If an invalid value is set, the default value 0 will be used. |
|
ADDITIONAL_LANGUAGE |
Optional.Valid only when TYPE has 'IMPORT' value. If the value of this parameter is 1, multi-language properties will be updated with another language values rather than being replaced with the file's content. If the parameter is omitted, content of the file replaces values of multi-language properties. |
|
FILTERSCHEME |
Configuration scheme for export parts. Default value is empty. Using scheme allows to filter and export parts. |
In order to export more than item, please use parameter specyfing item type + counter with following number of exported item (for example /PARTNUMBER1:A-B.100-C09EJ01 /PARTNUMBER2:A-B.140M-C-AFA11, etc)
In order to export all items of particular type, please use parameter specyfing item type + 1 and '*' as a value (for example /PARTNUMBER1:*, etc)