SerialSystem.System: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(Redirected page to XFRACAS XML Import Documentation)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Serial System|Serial System}}
#REDIRECT[[XFRACAS_XML_Import_Documentation]]
===XML Element===
<System>
:  <[[SerialSystem.Part|Part]]>
::    <PartName />
::    <PartNumber />
::    <PartVersion />
::    <RetiredDate />
::    <UseExisting />
:  </[[SerialSystem.Part|Part]]>
:  <HID />
:  <SerialHID />
:  <[[SerialSystem.SerialNumber|SerialNumber]] />
:  <[[SerialSystem.Entity|Entity]]>
::    <EntityID />
::    <EntityName />
:  </[[SerialSystem.Entity|Entity]]>
:  <BuildDate>
::    <Year />
::  <Month />
::  <Day />
::  <Hour />
::  <Minute />
::  <Second />
::    <FormattedDate />
: </BuildDate>
:  <ShipDate>
::    <Year />
::    <Month />
::    <Day />
::    <Hour />
::    <Minute />
::    <Second />
::    <FormattedDate />
:  </ShipDate>
:  <RetiredDate>
::    <Year />
::    <Month />
::    <Day />
::    <Hour />
::    <Minute />
::    <Second />
::    <FormattedDate />
::  </RetiredDate>
::  <ManufacturedCode />
: <CumulativeOperatingHours />
:  <StartingAge />
:  <LotCode />
:  <SubParts>
::  <SubPart />
:  <SubParts>
</System>
 
 
 
===Description===
* The Part element is required and must contain either a new valid part or an existing valid part.
 
* The UseExisting element is required and must contain either “Yes” or “No”. When the value is set to “Yes” if an identical part exists in the same entity it will be used otherwise a new part will be inserted. If the value is set to “No” a new part will always be inserted.
 
* To update a Serial System a subpart may be added to any SubParts element in the tree. Modifying any child element values of a Part element nested in a SubPart element or the top level Part element will cause a part matching the modified part data or a new part to be inserted into the Serial System. If any part data is modified, the HID, and SerialHID element must be removed for the Serial System to be imported. If the SubPart element has child SubPart elements their HID and SerialHID elements must be removed for them to be inserted under the above modified subpart. If only the serial data of the SubPart is modified only the SerialHID element needs to be removed.
 
* A new Serial System will be inserted if the top level part is modified and the HID and SerialHID elements are removed. For a new Serial System to be inserted each child SubPart cannot have HID or SerialHID elements.
 
* The Serial System import cannot update or delete existing parts.
 
* The HID element is optional. If present, it must match an existing HID.
 
* The SerialHID element is optional. If present, it must match and existing SerialHID.
 
* The SerialNumber (String) element is required at top level but otherwise optional at levels other than the top.
 
* The Entity element is required, and must contain a valid Entity.
 
* The BuilDate element is optional. If present, it must contain a valid date.
 
* The ShipDate element is optional. If present, it must contain a valid date.
 
* The RetiredDate element is optional. If present, it must Contain a valid date.
 
* The ManufacturedCode (String) element is optional. The CumulativeOperatingHours (Float) element is optional. The StartingAge (Integer) element is optional. The LotCode (String) element is optional.
 
* The SubPart element is optional. If present, it must contain the above required elements and may contain any of the above optional elements.

Latest revision as of 16:44, 28 July 2015