Incident.RepairReplace

From ReliaWiki
Revision as of 23:53, 3 October 2013 by John Leavitt (talk | contribs) (Created page with '{{Template:XFRACAS.XML.Import.Doc.Class|Incident|Incident}} ===XML Element=== <RepairReplace PartOrder= > : <OldPart> :: <PartID /> : <PartName /> : <PartNumber /> :…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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= >
<Description />
</Issue>
</FailureType>
<Chargeable />
</PartFailure>
<FailureAnalyses />
<PartDisposition>
<Issue IssueTypeID=”13” >
<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 only used 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.