Navigate to A/R Module, Setup -> System Tables Setup -> Payment Terms Setup
Enter an ID and Description for each of your payment terms. In Due Dates indicate the number of days until the payment is due under the given payment terms. If a discount rule applies, enter the % discount and for how many days that discount is available.
In the dropdown, select the rule for the date calculation. Options are