Customizing the ITD Segment
The ITD segment is a conditional segment that specifies the Terms of Sale/Deferred Terms of Sale for the invoice. The standard specifies that the ITD segment can be used up to five times in one invoice. For this tutorial, you know that your users must use the ITD segment only once, so you changed the maximum use of this segment from five to one.
The ITD01 element contains the Terms Type Code, a two-character code that identifies the terms under which this invoice is valid. Sterling Gentran:Server® uses a list (instead of an edit box, or field) when you apply a standard rule that allows a selection of multiple items. When users use a translation object that contains a list, they select an item from the list, instead of typing a value in a field. You customize the ITD01 element so that a list containing all valid codes in the Terms Type Code code list is available to your users when they use the screen entry translation object. The Terms Type Code list enables them to select the appropriate EDI code from the code list.
After you specify the code list table to use for the list for the Terms Type Code field, you rename the field label. Also, you add Help text to the field.
Use this procedure to load the Terms Type Code code list from the standard, rename the field label, and add Help text to the Terms Type Code field.
The section of the Invoice frame that contains the field in the ITD segment now should look like this (you may need to scroll down the frame to see the field):
