Incident.RepairReplace: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Protected "Incident.RepairReplace" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
Line 82: Line 82:
* The RepairReplace element is optional.
* The RepairReplace element is optional.


* The PartOrder (Integer) attribute is required.
* 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.
* 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 OldPart element is required. It must be a valid part, and can have an optional SerialHID element whose value matches an existing SerialHID.
Line 91: Line 93:
* 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 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.
* 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.
 
'''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 RMANumber (String) element is optional.  


* The ChangeDate element is optional and if present, must contain a valid date.
* 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 RMAReceivedDate element is optional and, if present, must contain a valid date.


* The StartingAge (Integer) element is optional.
* The StartingAge (Integer) element is optional. Export only.


* The HoursToFailure element is calculated and used only on export.
* 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.
* The TimeMetric1 (Double) element is optional.
 
Update: Not updateable.

Revision as of 00:58, 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.