B03B0087
F03B16 - Update Period Statistics
Functional Description
Purpose
This function updates the Account Statistic History (F03B16) table. This function will try to fetch
a F03B16 record based Customer Number, Company, Century, Fiscal Year, and Period, if a record is found
the function will add the amounts passed to the existing record and then update the F03B16 record.
If a record does not exist, the function will insert the record into the F03B16.
Setup Notes and Prerequisites
Special Logic
Technical Specifications
Parameters
Data ItemDescriptionI/ORequiredNotes
AN8Customer NumberIYes
COCompanyIYes
FYFiscal YearIYes
PNPeriod NumberIYes
ENDDate EndingINo
DAYPPeriodDaysINo
AHBAmountHigh BalanceINo
DHBJDate High BalanceINo
AGAmount GrossINo
NINVNumber of InvoicesINo
ADAmount DueINo
SAGSales AmountINo
CREECredits EnteredINo
ADSCDiscount AvailableINo
DFEEAmt Delinquency FeesINo
ECBAChargeback AmountINo
NCBNumber of ChargebacksINo
PAAPPayment AmountsINo
ADSAAmount Discount TakenINo
EDSCDiscount EarnableINo
UDSCDiscount UnearnableINo
AIPLAmount Paid LateINo
NIPLNumber of Invoice Paid LateINo
DDCAAmount DeductionINo
DDCNNumber of DeductionsINo
MWOAmount Minor Write-offINo
BDBTAmount Bad DebtINo
ANSFAmount NSFINo
NNSFNumber of NSFINo
CRCDCurrency CodeINo
CHGAAmount ChangedINo
LAVJDate Last ActivityINo
LAVJFirst Activity DateINo
TAWOTotal Write-off AmtINo
AVDLAverage Days LateINo
Related Tables
F03B16Account Statistic History
Related Business Functions
B9800100Get Audit Information
N0100042Customer Master -MBF
Processing
^
D03B0087 - F03B16 - Update Period Statistics
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressnumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
szCompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
mnFiscalyear1 | FY | MATH_NUMERIC | NONE | NONE |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
mnPeriodno | PN | MATH_NUMERIC | NONE | NONE |
A number indicating the current accounting period. This number, used in conjunction with the Company Constants table (F0010) and the
| ||||
jdDateending | END | JDEDATE | NONE | NONE |
The date when an asset was removed or returned from a particular location. | ||||
mnAmounthighDisplacement | AHB | MATH_NUMERIC | NONE | NONE |
The invoice record with the highest gross amount from the A/R Statistical Summary table (F03B16S) or the A/R Statistical History table
| ||||
jdDatehighdisplacement | DHBJ | JDEDATE | NONE | NONE |
The invoice date of the record that has the highest gross amount from either the A/R Statistical History (F03B16) or A/R Statistical Summary
| ||||
mnAmountgross | AG | MATH_NUMERIC | NONE | NONE |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
| ||||
mnNumberofinvoices | NINV | MATH_NUMERIC | NONE | NONE |
Depending on the form, the number of posted invoices entered for the customer at the time the Statistics History Update program (R03B16)
| ||||
mnAmountdue | AD | MATH_NUMERIC | NONE | NONE |
The balance or amount due on an open invoice or voucher. In the Address Book Master file (F0101), this is a memo amount field used to
| ||||
mnAmountsales | SAG | MATH_NUMERIC | NONE | NONE |
The total amount of sales orders from the A/R Statistical Summary table (F03B16S) or the A/R Statistical History table (F03B16), depending
| ||||
mnCreditsentered | CREE | MATH_NUMERIC | NONE | NONE |
A value that indicates the total amount of invoices with a gross amount less than zero, excluding invoices with document types R1, R5, and
| ||||
mnAmtdiscountavailable | ADSC | MATH_NUMERIC | NONE | NONE |
The amount of the invoice or voucher pay item that is eligible to be subtracted from the gross amount when the transaction is paid. The
| ||||
mnAmountdelinquencyfees | DFEE | MATH_NUMERIC | NONE | NONE |
The total amount of the delinquency fee invoice records (RF). The system displays this information from either the A/R Statistical Summary
| ||||
mnChargebackamounts | ECBA | MATH_NUMERIC | NONE | NONE |
An unpaid invoice amount for which you want to create a new invoice record so that you can charge the customer. | ||||
mnNumberofchargebacks | NCB | MATH_NUMERIC | NONE | NONE |
The total number of chargeback invoices (document type RB) from either the A/R Statistical Summary table (F03B16S) or the A/R Statistical
| ||||
mnPaymntamount | PAAP | MATH_NUMERIC | NONE | NONE |
In the Accounts Payable system, the amount of the payment.
In the Accounts Receivable system, the amount of the receipt. This amount
| ||||
mnAmountdiscounttaken | ADSA | MATH_NUMERIC | NONE | NONE |
The amount by which an invoice or voucher is reduced if paid by a specific date. The discount taken does not have to be the same as the
| ||||
mnDiscountearnable | EDSC | MATH_NUMERIC | NONE | NONE |
The amount of the discount that is taken on or before the discount due date. | ||||
mnDiscountunearned | UDSC | MATH_NUMERIC | NONE | NONE |
The total amount of the discounts taken after the discount due date. The system displays this amount from either the A/R Statistical
| ||||
mnAmountpaidlate | AIPL | MATH_NUMERIC | NONE | NONE |
The total amount of invoices that have been paid late from the A/R Statistical Summary table (F03B16S) or the A/R Statistical History table
| ||||
mnNumberofinvoicespaidlate | NIPL | MATH_NUMERIC | NONE | NONE |
The total number of invoices that were paid after the due date. The system displays this number from either the A/R Statistical Summary
| ||||
mnAmountdeductions | DDCA | MATH_NUMERIC | NONE | NONE |
The total amount of the deduction records from the Receipts Detail table (F03B14) for the specified period. | ||||
mnNumberofdeductions | DDCN | MATH_NUMERIC | NONE | NONE |
The total number of deductions that have been applied to an account. | ||||
mnAmountminorwriteoff | MWO | MATH_NUMERIC | NONE | NONE |
The total write-off amount accumulated from the Receipts Detail table (F03B14) for all reason codes in UDC 03B/RC that have 1 in the
| ||||
mnAmountbaddebt | BDBT | MATH_NUMERIC | NONE | NONE |
The total write-off amount accumulated from the Receipts Detail table (F03B14) for all reason codes in UDC 03B/RC that have no value in
| ||||
mnAmountnsf | ANSF | MATH_NUMERIC | NONE | NONE |
The total amount of the receipts that were returned for insufficient funds (document type RV). The system displays this information from
| ||||
mnNumberofnsf | NNSF | MATH_NUMERIC | NONE | NONE |
The total number of receipts returned for non-sufficient funds (document type RV) from the A/R Statistical Summary table (F03B16S) or the
| ||||
szCurrencycodefrom | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
mnAmountchanged | CHGA | MATH_NUMERIC | NONE | NONE |
The net change amount. | ||||
jdDatelastactivity | LAVJ | JDEDATE | NONE | NONE |
The date within a period when the last activity occurred. | ||||
jdDatefirstactivity_A | LAVJ | JDEDATE | NONE | NONE |
The date within a period when the last activity occurred. | ||||
mnAmounttotalactualwriteoff | TAWO | MATH_NUMERIC | NONE | NONE |
The total write-off amount accumulated from the Receipts Detail table (F03B14) for all reason codes in UDC 03B/RC for the period
| ||||
mnPeriodDays | DAYP | MATH_NUMERIC | NONE | NONE |
The number of days within an accounting period. | ||||
mnAverageDaysLate | AVDL | MATH_NUMERIC | NONE | NONE |
The average length of time, in days, that it took the customer to pay an invoice. | ||||
mnCentury | CTRY | MATH_NUMERIC | NONE | NONE |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
mnNumberOfInvoicesPaid | NINP | MATH_NUMERIC | NONE | NONE |
The number of invoices that were paid in the period specified at the time the Statistics History Update program (R03B16) was run. | ||||
mnTotalNumDaysLate | MATH01 | MATH_NUMERIC | NONE | NONE |
- - - Good Performance Low Value. |
N0100042 Customer Master -MBF |
F03B16 A/R Statistical History |