Incident.RepairReplace: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 74: Line 74:
:  <StartingAge />   
:  <StartingAge />   
:  <TimeMetric1 />
:  <TimeMetric1 />
  <HoursToFailure />
<HoursToFailure />
</RepairReplace>
</RepairReplace>


===Description===
===Description===

Revision as of 00:59, 19 September 2014

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.
  • When importing a Serialized or Part incident, the Top Level Part may be specified by createing a RepairRepace element with a PartOrder of 0 and a valid OldPart. The Top Level Part can also be imported using the TopLevelPart element. A top level part will only be imported here if the part matches the TopLevelPart or the TopLevelPart element is empty. It is recommended that the top level part and time metrics be imported using the TopLevelPart element.
  • For simple, part, and serialized incidents when PartOrder is greater than 0, the PartOrder controls the display line order for 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. If the InsertIncidentIssues setting is enabled and the issue does not match an existing issue, a new issue will be inserted. 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. Export only.
  • The HoursToFailure element is calculated and used only on export.
  • The TimeMetric1 (Double) element is optional.

Update: Not updateable.