Incident.RepairReplace: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(Redirected page to XFRACAS XML Import Documentation)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Incident|Incident}}
#REDIRECT[[XFRACAS_XML_Import_Documentation]]
===XML Element===
<RepairReplace PartOrder= > 
:  <OldPart>
::    <PartID />
:    <PartName />
:    <PartNumber />
:    <PartVersion />
:    <RetiredDate>
::      <Year />
::      <Month />
::      <Day />
::      <Hour />
::      <Minute />
::      <Second />
::      <FormattedDate />
:    </RetiredDate>
:    <SerialHID />
::    <SerialNumber />
:  </OldPart
:  <NewPart>
:    <PartID />
:    <PartName />
:    <PartNumber />
:    <PartVersion />
:    <RetiredDate>
::      <Year />
::      <Month />
::      <Day />
::      <Hour />
::      <Minute />
::      <Second />
::      <FormattedDate />
:    </RetiredDate>
:    <SerialHID />
:    <SerialNumber />
:  </Newpart>
:  <PartFailure>
:    <FailureType>
:      <Issue IssueTypeID= >
::        <Code />
::        <Description />
:      </Issue>
:    </FailureType>
:    <Chargeable />
:  </PartFailure>
:  <FailureAnalyses />
:  <PartDisposition>
:    <Issue IssueTypeID=”13” >
:      <Code />
:      <Description />
:    </Issue>
:  </PartDisposition>
:  <SalesOrderNumber />
:  <RMANumber />
:  <RMAReceivedDate >
::    <Year />
::    <Month />
::    <Day />
::    <Hour />
::    <Minute />
::    <Second />
::    <FormattedDate />
:  </RMARecievedDate>
:  <ChangeDate>
::    <Year />
::    <Month />
::    <Day />
::    <Hour />
::    <Minute />
::    <Second />
::  <FormattedDate />
:  </ChangeDate>
:  <StartingAge /> 
:  <TimeMetric1 />
  <HoursToFailure />
</RepairReplace>
 
 
 
===Description===
* The RepairReplace element is optional.
 
* The PartOrder (Integer) attribute is required.
PartOrder = 0 is a top level system, otherwise this controls the display line order in the repair/replace section.
 
* The OldPart element is required. It must be a valid part, and can have an optional SerialHID element whose value matches an existing SerialHID.
 
* The SerialHID element links the Repair Replace Part to a position in a Serial System.
 
* The NewPart element is optional. If present, it must be a valid part and can have an optional SerialHID element whose value matches an existing SerialHID.
 
* The PartFailure type element is optional. If present, it must contain a FailureType element which must be a valid issue with an IssueTypeID listed below. 
 
'''ID  ''' '''Description                                ''' '''Chargeable Value'''
22    Incident Failure Type Chargeable                  “yes”
23    Incident Failure Type Non-Chargeable              “no”
 
 
* Failure Analyses are optional.
 
* See Failure Analysis import section.
 
* The PartDisposition element is optional. If present, it must contain a valid issue with an IssueTypeID equal to 13 (Incident Parts Disposition).
 
* SalesOrderNumber is optional.
 
* The RMANumber (String) element is optional.
 
* The ChangeDate element is optional and if present, must contain a valid date.
 
* The RMAReceivedDate element is optional and if present must contain a valid date.
 
* The StartingAge (Integer) element is optional.
 
* The HoursToFailure element is calculated and used only on export.
 
* The TimeMetric1 (Double) element is optional. TimeMetric1 will not be imported for RepairReplace elements with PartOrder equal to 0 (TopLevelPart). The time metric data for the top level part can be updated in the TopLevelPart element.

Latest revision as of 16:02, 28 July 2015