RetrieveDaysToPayAging

Retrieve Days To Pay Aging

Minor Business Rule

Object Name: B4200530

Parent DLL: CDIST

Location: Client/Server

Language: C

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^

Data Structure

D4200530 - Retrieve Days To Pay Aging

Parameter NameData ItemData TypeReq/OptI/O/Both
szPaymentTermsCodePTCcharNONENONE

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.

szPaymentTermsDescriptionPTDcharNONENONE

The text that describes the payment terms code.

mnDaysToPayAgingDTPAMATH_NUMERICNONENONE

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. 

cSuppressErrorMessageEV01charNONENONE

An option that specifies the type of processing for an event.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharNONENONE

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

F0014 Payment Terms