Customizing the TLR TVAT Element

The TLR TVAT element (Total VAT Amount Payable) contains the sum of the STL VATA elements in the preceding STL segments. The EDI data will be formatted in N2 format (formatted with an implicit decimal point and two decimal places), but you want the total amount to be displayed in the translation object in R2 format (formatted with an explicit decimal point). Therefore, you will change the screen format to reflect how you want the amount to be formatted in the translation object. In addition, you will make this field display-only, as the screen entry translation object users who use this invoice translation object should be able to view, but not change, the value in this field. Also, you will rename the field label.

Use this procedure to change the screen format, make the field display-only, and rename the field label for the Total VAT Amount Payable field.

  1. Double-click the TLR TVAT element.
  2. On the Validation tab, select R2 from the Form Format drop-down list box to indicate that this field will display a number with an explicit decimal point and up to two decimal places.
  3. On the Display tab, do the following:
    • Select Display to make this field display-only.
    • In the Label field, enter VAT Total to replace the existing text
  4. Click OK to exit the dialog.