00197198-02_XML-Import-SetupCenter-5.1.pdf - 第20页
Setup Center 5. 1 - X ML Import 20 of 22
Setup Center 5.1 - XML Import
19 of 22
5 Error result file
Faulty or partially processed XML import files will be copied to the directory ‘XML-NotOK’
and an additional text file with the name of the XML file and the postfix ".error.txt" will be
created. The following file is an example (Please see also Appendix A):
Line 67: Attribute 'OriginalQuantity' contains invalid data.
Line 85: Attribute 'Quantity' contains invalid data.
Line 103: Attribute 'ManufactureDate' contains invalid data.
Line 121: Attribute 'ExpiryDate' contains invalid data.
Line 139: Attribute 'MsdLevel' contains invalid data.
Line 157: Required attribute 'IdPackaging' is missing.
Line 174: Attribute 'IdPackaging' contains invalid data.
Line 192: String value of 'IdPackaging' exeeds the maximum length of 40.
Line 210: Required attribute 'ComponentName' is missing.
Line 227: Attribute 'ComponentName' contains invalid data.
Line 245: String value of 'ComponentName' exeeds the maximum length of 256.
Line 263: Required attribute 'ComponentBarcode' is missing.
Line 280: String value of 'ComponentBarcode' exeeds the maximum length of 256.
Line 298: Attribute 'OriginalQuantity' contains invalid data.
Line 316: Attribute 'OriginalQuantity' contains invalid data.
Line 334: Attribute 'Quantity' contains invalid data.
Line 352: Attribute 'Quantity' contains invalid data.
Line 370: Quantity is missing ('OriginalQuantity' or 'Quantity' required).
Line 386: String value of 'Manufacturer' exeeds the maximum length of 256.
Line 404: String value of 'Supplier' exeeds the maximum length of 256.
Line 422: String value of 'DeliveryNote' exeeds the maximum length of 256.
Line 440: String value of 'Extra1' exeeds the maximum length of 256.
Line 458: String value of 'Extra2' exeeds the maximum length of 256.
Line 476: String value of 'Extra3' exeeds the maximum length of 256.
Line 494: String value of 'Comment' exeeds the maximum length of 256.
Line 513: Quantity is missing ('OriginalQuantity' or 'Quantity' required).
Line 519: Attribute 'Quantity' contains invalid data.
Line 526: Attribute 'Quantity' contains invalid data.
Line 533: Packing unit is used within a setup and cannot be updated.
Line 540: Packing unit is used within a splice chain and cannot be updated.
Line 547: Packing unit is used within a splice chain and cannot be updated.
Line 554: Packing unit is used within a splice chain and cannot be updated.
Line 561: Packing unit is used within a setup and cannot be updated.
The file has the following format:
<Line Number>: <Error Message>
<Line Number> Line number of the first row, which describes the error-prone
packaging unit
<Error Message> Error message which describes the issue
The XML Import checks the XML Import file in two levels. First level checks the “PackagingId” and
the correct data types, for example that the quantity can be converted to an integer. If the first
checks are successfully succeeded, Setup Center checks in the second level constraints and
restrictions. Therefore for each line several error lines can be written to the error result file.
Setup Center 5.1 - XML Import
20 of 22