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

Setup Center 5. 1 - X ML Import 17 of 22 The following exam ple shows a f ile, which updates the MSD open date of an existing pack aging unit in the database . <? xml v ersion ="1.0" encoding ="utf- 8&q…

100%1 / 22
Setup Center 5.1 - XML Import
16 of 22
3.3 Examples
The following example shows a file, which creates a new packaging unit in the database.
<?xml version="1.0" encoding="utf-8" ?>
<PackagingList ImportVersion="1.0.1.1">
<Packaging
IdPackaging="X0000001"
ComponentName="Component01"
ComponentBarcode=""
OriginalQuantity="100"
Quantity="100"
Manufacturer="Manufacturer01"
ManufactureDate="2004-01-01T14:44:56+01:00"
ExpiryDate="2010-12-31T14:44:56+01:00"
Supplier="Supplier01"
BatchId="Batch01"
DeliveryNote="Serial01"
MsdLevel="1"
MsdOpenDate="1900-01-01T00:00:00+01:00"
Extra1="Extra01"
Extra2="Extra02"
Extra3="Extra03"
Comment="Creates a new packaging unit in the Setup Center database" />
</PackagingList>
The following example shows a file, which updates the quantity of an existing packaging unit in the
database.
<?xml version="1.0" encoding="utf-8" ?>
<PackagingList ImportVersion="1.0.2.1">
<Packaging
IdPackaging="X0000001"
ComponentName="Component01"
ComponentBarcode=""
Quantity="55" />
</PackagingList>
Setup Center 5.1 - XML Import
17 of 22
The following example shows a file, which updates the MSD open date of an existing packaging
unit in the database.
<?xml version="1.0" encoding="utf-8" ?>
<PackagingList ImportVersion="1.0.3.1">
<Packaging
IdPackaging="X0000001"
ComponentName="Component01"
ComponentBarcode=""
MsdOpenDate="2007-12-01T09:00:00+01:00"
</PackagingList>
Setup Center 5.1 - XML Import
18 of 22
4 Restrictions
4.1 Import
The following columns of table PackagingUnit cannot be imported:
Column Name
Desciption
Restriction
State
Verification state
No
Necessary to import, because
Setup Center manages this
attribute.
SplicedPackagingUnitId
Predecessor in a
splice chain
Yes
Packing Units within a splice chain
cannot be imported
DepletedDate
Depleted date
No
Set by Setup Center or not useful
for import.
LastModifiedDate
Date of last
change
No
Set by Setup Center automatically
GreyZone
Transition zone,
which is notified in
traceability file
Yes
Do not import or update packaging
units, which have a grey zone value
greater than zero. This causes
invalid traceability data at station of
the X-Series.
VerifiedDate
Date of last verify
No
Set by Setup Center
The packaging unit editor is not automatically updated.
Processing of big files may slow down the setup verification, if the Setup Center also manages
one or more barcode scanners.