Template System.System: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "Template System.System" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(Redirected page to XFRACAS XML Import Documentation)
 
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Template System|Template System}}
#REDIRECT[[XFRACAS_XML_Import_Documentation]]
===XML Element===
<System>
:  <[[Template System.Part|Part]]>
::    <PartName />
::    <PartNumber />
::    <PartVersion />
::    <RetiredDate />
::    <UseExisting />
:  </[[Template System.Part|Part]]>
:  <HID />
:  <[[Template System.Entity|Entity]]>
::  <EntityID />
::  <EntityName />
:  </[[Template System.Entity|Entity]]>
:  <Owner>
::    <FirstName />
::    <LastName />         
::    <Login />
:  </Owner>
:  <CCUsers>
::    <FirstName />
::    <LastName />         
::    <Login />
::    <DesigneeOrder />
:  </CCUsers>
::  <PartFailureModes>
:::    <PartFailureMode>
::::      <Failure>
:::::        <FailureID />
:::::        <FailureDescription />
::::      </Failure>
::::      <Causes>
:::::        <Cause>
::::::          <CauseID />
::::::          <CauseDescription />
:::::        </Cause>
::::      </Causes>
:::    </PartFailureMode>
::  </PartFailureModes>
:  <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 Template System a Subpart element may be added into 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 Template System. If any part data is modified the HID element must be removed from that SubPart for the Template System to be imported. If the subpart has children their HID element must be removed for them to be inserted under the above modified SubPart.
 
* A new Template System will be inserted if the top level part is modified and the HID element is removed. If any child elements have an HID element the Template System will not be imported.
 
* The Template System cannot update or delete existing parts.
 
* The HID element is optional. If present it must match an existing HID.
 
* The Entity element is required, and must contain an existing valid Entity.
 
* The Owner element is optional. If present, the Login element must match an existing user. This cooresponds to the Resposinble Engineer.
 
* The CCUser element is optional. If present it must contain valid user data. An Owner must be present for CCUsers to be inserted. A CCUser element can not contain a DesigneeOrder element with a value equal to 0.
 
* The SubPart element is optional. If present, it must contain the above required elements and may contain any of the above optional elements.
 
* The PartFailureMode element is optional. If present it must contain a Failure element, and may contain zero or more Cause elements.

Latest revision as of 16:43, 28 July 2015