Creating a field from other section

  1. Specify the virtual field ID using the naming conversion, &XXXX. Use option 1='Create'.
  2. Specify the column heading by either specifying a description or a message ID.
    • If specifying a description, you can defined the column heading per language by pressing the language button.
    • If specifying a message ID, the column heading is automatically displayed in the end user's M3 language.
  3. Select virtual field type 14 -'Field from other section'.
  4. You can specify the XML section to retrieve the field from other section on these conditions:
    • When the base XML section is higher than the current section, the value may be empty. This occurs because the section has not yet been processed. However, its fields are already being used. For example, you create a ‘Field from other section’ virtual field in DocumentHeader (6) and use Line (10) as the base XML section.
    • A custom section as the base XML section for the ‘Field from other section’ virtual field is not supported. You can set it up, but the output may be empty.
    • When you use a repeating section (Line) as the base XML section for the ‘Field from other section’ virtual field, the values are retrieved from the last line. For example, you create a ‘Field from other section’ virtual field in DocumentTotal (30) and use Line (10) as the base XML section.
  5. You can specify the field to retrieve the value form these conditions:
    • The field type, field length, number of decimal places, and field info code of the virtual field are copied from the field in the other section and cannot be edited.
    • If the field info code changes in the base section, it does not automatically update in the 'Field from other section' virtual field. For example, &LNAM from the Line section initially does not use a field info code and is reflected as-is when used as a 'Field from other section' virtual field in DocumentTotal. If the &LNAM field info code in the Line section is later changed to A01, the field info code for the ‘Field from other section’ virtual field in DocumentTotal does not change. You must deactivate the virtual field and enter it again to apply the updated field info code.
  6. Press Enter to confirm.