RetrieveCustMastAmounts

Retrieve Customer Master Amounts

Minor Business Rule

Object Name: B0100081

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Data Structure

D0100081 - Retrieve Customer Master Amounts

Parameter NameData ItemData TypeReq/OptI/O/Both
mnCustomerNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szCompanyCOcharOPTINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnSessionNumberMATH06MATH_NUMERICREQINPUT

Event point for Math Numeric.

mnJobnumberJOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

szCurrencyCodeCRDCcharOPTINPUT

A code that identifies the domestic (base) currency of the company on a transaction. 

jdEffectiveDateEFTJJDEDATEOPTINPUT

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

cIncludeChildrenEV01charOPTINPUT

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

mnOpenOrderAmountAPRCMATH_NUMERICOPTOUTPUT

The total amount of open orders for a supplier or customer. The system uses the list price from the Item Location (F41021) table adjusted by 
the discount tables or any override price. You cannot override this amount.

mnAmtInvoicedPriorYrSPYEMATH_NUMERICOPTOUTPUT

The gross amount invoiced for the previous year. The system updates this field only when you run the Statistics Annual Close program 
(R03B161). 

mnAmtInvoicedThisYrASTYMATH_NUMERICOPTOUTPUT

The amount invoiced for the year. The system uses the gross amount of the invoice record (F03B11) regardless of whether taxes are 
included. The system updates this field when you run the Statistics History Update program (R03B16). The system determines the current fiscal 
year from the Date Fiscal Patterns - 52 Period Accounting table (F0008B).

mnAmountLastPaidALPMATH_NUMERICOPTOUTPUT

The amount of the last payment applied to invoices based on the G/L date of the Receipt Detail record (F03B14). The system displays this 
information from either the A/R Statistical Summary table (F03B16S) or the A/R Statistical History table (F03B16), depending on the form. 
The system displays information from F03B16S on the Account Statistical Summary form and information from F03B16 on the Periodic Statistics 
form.

mnCreditLimitACLMATH_NUMERICOPTOUTPUT

The total amount that you allow the customer to spend on purchases before the system sends a workflow message. This value is used 
throughout the credit management programs. The system maintains the credit limit at the customer (child) level, not the parent level. The system 
sends workflow messages for each customer who is over their credit limit. When you set up or change the credit limit, the system sends a 
workflow message to the credit manager that the change is pending approval. The change to the credit limit is not reflected in the customer 
record until it is approved by the credit manager.

jdDateLastInvoiceDLIJJDEDATEOPTOUTPUT

The G/L date of the last invoice generated for the customer.

jdDateFirstInvoiceDFIJJDEDATEOPTOUTPUT

The G/L date of the first invoice generated.

jdDateLastPaidDLPJDEDATEOPTOUTPUT

The date of the last premium payment.

cReturnCodeEV02charOPTOUTPUT

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

Related Functions

B0000027 CurrencyConvForAndDom
B0000033 Get Exchange Rate

Related Tables

F03B29 Credit Insurance