Customizing the PIA01 Element

The PIA segment (in the LIN group) contains the Additional Product ID for each item in the invoice. The standard allows the PIA segment to be used up to 25 times per line item. Your users enter information in the PIA segment only once per line item so you have already changed the maximum use of this segment to one.

The PIA01 element contains the Product ID Function Qualifier, a mandatory three-character code that identifies the type of product identification that follows. You know that the only type of product identification your users enter in the Item Number field (PIA02) is the product code, so you need to define a constant value for the Product ID Function Qualifier field, designating that the constant "5" (Product Identification) always qualifies the value in the Item Number field. You need to hide the qualifier field, because it does not need to be displayed in the translation object.

When you enter the product code in the Item Number field, the system assigns the code "5" to the Product ID Function Qualifier field.

Use this procedure to define a constant value in the Product ID Function Qualifier field and hide the field.

  1. Double-click the PIA01 element.
  2. On the Standard Rule tab, do the following:
    • Select Use Constant.
    • Click Edit to access the Map Constants dialog.
  3. On the Map Constants dialog, click New to access the Edit Constant dialog.
  4. On the Edit Constant dialog, do the following:
    • In the ID box, enter Product Identification to identify the constant.
    • From the Type list, select String to indicate that the literal constant will be formatted as a string data type.
    • In the Value box, enter 5 to indicate that the Reference Qualifier field must contain the product identification. This value is the actual value of the literal constant.
    • Click OK to add the constant.
  5. Click Close to exit the Map Constants dialog.
  6. On the Standard Rule tab, do the following:
    • From the Constants list, select 5 to identify the constant that will be used for this element.
    • From the Qualifies list, select 7140:2 ITEM NUMBER, which is the element that the Reference Qualifier field qualifies.
  7. On the Display tab, select This field should not appear on the form.
  8. Click OK to exit the dialog.