Incident.TopLevelPart

From ReliaWiki
Jump to navigation Jump to search

XML Element

<TopLevelPart>

<PartID />
<PartName />
<PartNumber />
<PartVersion />
<RetiredDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</RetiredDate>
<SerialHID />
<SerialNumber />
<TimeMetric1 />
<TimeMetric2 />
<TimeMetric3 />

</TopLevelPart>

Description

  • The TopLevelPart element is optional. If present, it must contain a valid part.
  • The Top Level Part can also be imported through the RepairReplace section by setting the PartOrder equal to 0. The top level part will not be imported if both the TopLevelPart and the RepairReplace(PartOrder = 0) are present and their part values do not match.
  • The SerialHID and Serial number elements are required for Serialized Incidents. They they must match an exisiting SerialHID and/or SerialNumber, and must be at the top level of a Serial System.
  • The TimeMetric1 (Double) element is optional.
  • The TimeMetric2 (Double) element is optional.
  • The TimeMetic2 (Double) element is optional.

Update: TimeMetric1 will be updated if it differs from the original TimeMetric1 and if the original and updated part’s SerialHID values match. If the part does not match the original part, the part and TimeMetric1 will be updated