Table of Contents

Repair Lines from Item Service Codes

When Get Item Service Codes is used to insert service lines, marking a component as Service Repair inserts a service line with the Spare Part Action (DM) field set to Component Repaired, and with the internal Component Line No. and Service BOM reference populated. The Repair Item Line No. field of that line refers to the line itself.

Every service line inserted from a code receives the line number of the nearest repair service line above it in the Service BOM structure in its Repair Item Line No. field. A component can therefore be marked as repaired on a higher level, while codes are selected on components further down; those lines are assigned to the same repair service line.

Only service lines with the Spare Part Action (DM) field set to Component Repaired or Analysis Production Order can be referenced in the Repair Item Line No. field. On such a line, the Repair Components assigned field counts the service lines that refer to it and have no spare part action, Component Installed, or Component Replaced. The Repair Analysis assigned field counts the service lines that refer to it and have Analysis or Analysis Production Order.

When a code's lines are inserted, the Spare Part Action of the Standard Service Code line determines the Spare Part Action (DM) of the inserted service line:

Spare Part Action on the Standard Service Code line Result on the service line
Ignore The line is inserted without a spare part action and without a component reference.
Replace Component The line is linked to a Service BOM component, as described below.
Analysis The Spare Part Action (DM) field is set to Analysis. The line has no component reference. It is assigned to a repair service line if one exists, as described below.

For Replace Component, the line is linked to a Service BOM component if exactly one component below the same node matches. If the line is marked as Spare Part or Wear Part, the component must match on item number and on the same Spare Part or Wear Part value. If the line is neither a spare part nor a wear part, the component is found by item number only. In that case, the Spare Part Action (DM) field of the inserted service line is set to Component Replaced, and the internal Replaced Item No. and Component Line No. fields are populated, as when a line is inserted through the Insert from Service BOM function.

If no component matches, or more than one component matches, the service line is inserted without a spare part action and without a component reference.

For Analysis, the Repair Item Line No. field refers to a repair service line if one exists when the code is inserted. A repair service line exists in one of the following cases:

  • The component that the code belongs to, or a component above it in the Service BOM structure, is marked as Service Repair in the same selection.
  • The Repair field is selected on the service document, and a service line of the same service item line with the Spare Part Action (DM) = Component Repaired exists above the inserted line.

Without a repair service line, the line is inserted with an empty Repair Item Line No. and without a message.

Important

A service line with Analysis and an empty Repair Item Line No. cannot be processed further. In a service order, the Repair Quote Worksheet and Construction Order actions on that line stop with an error because the field has no value. Make sure that a repair service line exists before you insert the code.

Note

Standard Service Code lines with no Spare Part Action, or with Ignore, are not linked to a Service BOM component, even if Spare Part or Wear Part is selected. Set the Spare Part Action to Replace Component on the lines that you want to link.

Note

On the Service Code Selection page, only Service Repair can be selected. To set a different Spare Part Action (DM), such as Component Installed, change it on the service line after insertion. For more information, see To set a different spare part action manually.


Feedback
Submit feedback for this page .