bf will get the Days To Pay Aging from the F0014 table using PTC as the key. if not found error code 0130 will be issu^
D4200530 - Retrieve Days To Pay Aging
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szPaymentTermsCode | PTC | char | NONE | NONE | 
A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
  | ||||
| szPaymentTermsDescription | PTD | char | NONE | NONE | 
The text that describes the payment terms code.  | ||||
| mnDaysToPayAging | DTPA | MATH_NUMERIC | NONE | NONE | 
The number of days that the system uses to calculate the due date for each subsequent payment if you are using split payments. For 
  | ||||
| cSuppressErrorMessage | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| cErrorCode | ERRC | char | NONE | NONE | 
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
  | ||||
| szErrorMessageID | DTAI | char | NONE | NONE | 
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 
  | ||||
| None | 
| F0014 Payment Terms |