00197198-02_XML-Import-SetupCenter-5.1 - 第12页

Setup Center 5. 1 - X ML 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 t he first version of th e XML Import, which allows im porting non-existing packaging units in…

100%1 / 22
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.
Setup Center 5.1 - XML Import
13 of 22
3.2.5 Constraints
Furthermore, the following length and data types will be checked during import.
Attribute
Range/Type
Comment
IdPackaging
1-40 signs
Unique identifier of the packaging unit.
ComponentName
1-256 signs
Component name without the path from SIPLACE
Pro.
ComponentBarcode
0-256 signs
The scanned barcode which include the barcode
fragment “Component”. If the packaging units are
created via XML Import, it may be empty.
OriginalQuantity
0-n
Int32
The original quantity of the packaging unit. This is
only set during creation.
Note: At least one of the two fields "Quantity" and
"OriginalQuantity" must be defined during creation of
a packaging unit. See below.
Note: If Setup Center shall use the quantities from
SIPLACE Pro, -1 has to be specified for Quantity and
OriginalQuantity during import.
Quantity
0-n
Int32
The actual quantity of the packaging unit. This value
will be continuously updated while the station
produces a board.
Note: At least one of the two fields "Quantity" and
"OriginalQuantity" must be defined during creation of
a packaging unit.
Note: If Setup Center shall use the quantities from
SIPLACE Pro, -1 has to be specified for Quantity and
OriginalQuantity during import.
Manufacturer
0-256 signs
Component manufacturer.
ManufactureDate
datetime
Component manufacture date.
Example: 2006-05-13T14:44:56+01:00
ExpiryDate
datetime
Expiry date for components in the packaging unit (will
not be evaluated, just recorded)
Example: 2010-01-01T00:00:00+01:00
Supplier
0-256 signs
Supplier of the packaging unit.
BatchId
0-256 signs
The manufacturer-specific term for the packaging unit.
DeliveryNote
0-256 signs
Delivery note of the packaging unit.
Note: This field is saved to the field ‘Supplier’ in the
database.
ManufactureLocation
0-40 signs
Naming the manufacturing location
RevisionLevel
0-40 signs
Revision status of the component
AdditionalPartInformation
0-40 signs
Additional component information