Customizing the STL VATA Element

The STL VATA element (VAT Amount Payable) contains the VAT amount at the quoted VAT rate. The EDI data will be formatted in N2 format (formatted with an implicit decimal point and two decimal places), but you want the VAT amount payable 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 VAT Amount Payable field.

  1. Double-click the STL VATA element.
  2. From the Form Format drop-down list box, select R2 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 Amount Payable to replace the existing text. Making these slight changes to the field label maintains the consistency of labelling in this form.
  4. Click OK to exit the dialog.