GetPaymentTermsInfo

F0014 Retrieve Payment Terms

Minor Business Rule

Object Name: N48S0350

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0350 - Get Payment Terms Information

Parameter NameData ItemData TypeReq/OptI/O/Both
szPaymentTermsCode01PTCcharREQINPUT

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

szDescriptPaymentTermsPTDcharOPTOUTPUT

The text that describes the payment terms code.

mnDiscountPaymentTermsDCPMATH_NUMERICOPTOUTPUT

The percent of the total invoice or voucher that you will discount if it is paid within the discount period. You enter the discount percent as a 
decimal, for example, a 2 percent discount is .02.

mnDiscountDaysDCDMATH_NUMERICOPTOUTPUT

The number of days after the invoice date that an invoice or voucher must be paid in order to receive the discount. The system adds the 
number of days specified to the invoice due date to calculate the discount due date.

mnNetDaysToPayNDTPMATH_NUMERICOPTOUTPUT

The number of days that the system adds to the invoice date to calculate the due date on the invoice or voucher. If you are using split 
payment terms, the system uses the value from this field to calculate the due date for the first split pay item. 

jdDateDueJulianDDJJDEDATEOPTOUTPUT

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

mnNumberOfSplitPaymentsNSPMATH_NUMERICOPTOUTPUT

The number of equal, consecutive payments into which you want the system to divide the voucher or invoice. For example, if the number of 
split payments is 3, the system divides the invoice or voucher into three equal payments.  You can use split payments only if the number of 
days between payments is a constant number, such as 30. Note: For amounts that are not equally divisible, the system uses soft rounding. 

mnDaysToPayAgingDTPAMATH_NUMERICOPTOUTPUT

The number of days that the system uses to calculate the due date for each subsequent payment if you are using split payments. For 
example, if the number of split payments is 4 and the days to pay aging is 30, the system adds thirty to the due date calculated for the first payment 
to obtain the due date for the second payment. The system adds 30 to the second payment to obtain the due date for the third payment, and 
so on. Note: The system uses the value from the Net Days to Pay field to calculate the due date for the first payment. 

mnPerEffectiveInteretRtEIRMATH_NUMERICOPTOUTPUT

The effective interest rate associated with this particular payment terms code. This must be entered manually as several payment terms 
codes have an indeterminate interest rate (for example, 30/60/90 terms or prox 25th). Leaving the effective interest rate blank will void the 
comparison of this rate with the current borrowing rate (CBR) in order to determine whether a discount is to be taken. Input interest rate as a full 
number between 0 and 99  rather than a decimal fraction.

mnProxDateMonthPXDMMATH_NUMERICOPTOUTPUT

The number of months that the system adds to the invoice date to calculate the due date. The system uses this field in conjunction with 
value specified in the Proximate Day field (PXDD) to calculate the due date. For example, if the proximate month is 1 and proximate day is 15, the 
system calculates the due date as the 15th of the next month.

mnProxDateDayPXDDMATH_NUMERICOPTOUTPUT

The day that the voucher or invoice is due. The system uses this field in conjunction with the value in the Proximate Month field (PXDX) to 
calculate the due date. For example, if the proximate month is 1 and proximate day is 15, the system calculates the due date as the 15th of the 
next month.

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

None