00197198-02_XML-Import-SetupCenter-5.1.pdf - 第11页

Setup Center 5. 1 - X ML Import 11 of 22 3 XML Import files 3.1 Schema of XML import files The following XSD f ile shows the structure of the XML f iles, which will be accepted b y the XML Import: <? xml version = &qu…

100%1 / 22
Setup Center 5.1 - XML Import
10 of 22
To test whether the import function performs, open the packaging unit editor via the menu
Options/Edit packaging unit….
(1) Enter one of the imported packaging IDs in the field “Packaging unit unique ID,
for example “X0000013”.
(2) To display all details open the respective tab.
Note:
The error file “.error.txt” contains information corresponding to the line number of
the import file. Therefore it is recommended to create import files which have for
each packaging unit a new line.
2
1
Setup Center 5.1 - XML Import
11 of 22
3 XML Import files
3.1 Schema of XML import files
The following XSD file shows the structure of the XML files, which will be accepted by the XML
Import:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SiplaceSetupCenterXmlImport"
targetNamespace="http://www.siplace.com/SiplaceSetupCenterXmlImport.xsd"
elementFormDefault="qualified"
xmlns="http://www.siplace.com/SiplaceSetupCenterXmlImport.xsd"
xmlns:mstns="http://www.siplace.com/SiplaceSetupCenterXmlImport.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="PackagingType">
<xs:attribute name="IdPackaging" type="xs:string" use="required" />
<xs:attribute name="OriginalQuantity" type="xs:integer" use="optional" />
<xs:attribute name="Quantity" type="xs:integer" use="optional" />
<xs:attribute name="ManufactureDate" type="xs:dateTime" use="optional" />
<xs:attribute name="ExpiryDate" type="xs:dateTime" use="optional" />
<xs:attribute name="MsdOpenDate" type="xs:dateTime" use="optional" />
<xs:attribute name="MsdLevel" type="xs:string" use="optional" />
<xs:attribute name="BatchId" type="xs:string" use="optional" />
<xs:attribute name="Comment" type="xs:string" use="optional" />
<xs:attribute name="ComponentBarcode" type="xs:string" use="required" />
<xs:attribute name="ComponentName" type="xs:string" use="required" />
<xs:attribute name="Extra1" type="xs:string" use="optional" />
<xs:attribute name="Extra2" type="xs:string" use="optional" />
<xs:attribute name="Extra3" type="xs:string" use="optional" />
<xs:attribute name="Supplier" type="xs:string" use="optional" />
<xs:attribute name="Manufacturer" type="xs:string" use="optional" />
<xs:attribute name="DeliveryNote" type="xs:string" use="optional" />
<xs:attribute name="PackageId" type="xs:string" use="optional" />
<xs:attribute name="ManufacturerPartNumber" type="xs:string" use="optional" />
<xs:attribute name="OrderingCode" type="xs:string" use="optional" />
<xs:attribute name="ManufacturerLocation" type="xs:string" use="optional" />
<xs:attribute name="RevisionLevel" type="xs:string" use="optional" />
<xs:attribute name="AdditionalPartInformation" type="xs:string" use="optional" />
<xs:attribute name="RoHS" type="xs:string" use="optional" />
<xs:attribute name="PurchaseOrderNumber" type="xs:string" use="optional" />
<xs:attribute name="ShippingNoteNumber" type="xs:string" use="optional" />
<xs:attribute name="DeliveryNote" type="xs:string" use="optional" />
<xs:attribute name="Batch2" type="xs:string" use="optional" />
<xs:attribute name="SupplierData" type="xs:string" use="optional" />
<xs:attribute name="BrightnessClass" type="xs:string" use="optional" />
</xs:complexType>
<xs:complexType name="PackagingListType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="Packaging" type="PackagingType" />
<xs:element name="PackagingChain" type="PackagingChainType" />
</xs:choice>
<xs:attribute name="ImportVersion" type="xs:string" use="optional" />
</xs:complexType>
<xs:complexType name="PackagingChainType">
<xs:sequence>
<xs:element name="Packaging" type="PackagingType" maxOccurs="3" minOccurs="1" />
</xs:sequence>
</xs:complexType>
<xs:element name="PackagingList" type="PackagingListType" />
</xs:schema>
Setup Center 5.1 - XML Import
12 of 22
3.2 Import Versions
3.2.1 Version 1.0.1.1 (from Setup Center 2.2)
Version 1.0.1.1 is the first version of the XML Import, which allows importing non-existing
packaging units into the Setup Center database.
3.2.2 Version 1.0.2.1 (from Setup Center 2.2 SP1)
The following items are changed:
Version number is required in the XML import file. If the version number is missing the
default “1.0.1.1” will be used.
The predelivery Change Packaging Unit was integrated. The predelivery allows updating
the quantity of packaging units.
The data type of the attribute ‘MSD level’ was changed to two signs.
3.2.3 Version 1.0.3.1 (from Setup Center 3.0)
The following items are changed:
The field "MsdOpenDate" can be updated for existing packaging units.
3.2.4 Version 3.0.1.1 (from Setup Center 3.2)
The following items are changed:
It is possible to import packaging unit chains.