B03B0137
F03B11 As Of Aging Summary
Purpose
To take a customer number and company and recalculate the amounts listed below as output, to the 
value that they were at the date that is input in the jdDateAgeAsOf.
Setup Notes and Prerequisites
Special Logic
Technical Specifications
Parameters
Data ItemDescriptionI/ORequiredNotes
AN8   mnAddressNumberIY
CO    szCompanyIY
DAG   jdDateAgeAsOfIY
AGEM  cAgingMethodIY
AGE   cBaseAgingDateIY
CRDY  mnAgingDaysARCurrentI 
AGR1  mnAgingDaysAR001I
AGR2  mnAgingDaysAR002I
AGR3  mnAgingDaysAR003I
AGR4  mnAgingDaysAR004I
AGR5  mnAgingDaysAR005I
AGR6  mnAgingDaysAR006I
AGR7  mnAgingDaysAR007I
AAP   mnAmountOpenO
PDA   mnAmountPastDueO
FTR   mnAmountFutureO
CURR  mnCurrentAmountDueO
AG1   mnAmtAgingCategories1O
AG2   mnAmtAgingCategories2O
AG3   mnAmtAgingCategories3O
AG4   mnAmtAgingCategories4O
AG5   mnAmtAgingCategories5O
AG6   mnAmtAgingCategories6O
AG7   mnAmtAgingCategories7O
CRCD  szCurrencyCodeFromIIf currency ON
OINV  mnNumberOfOpenInvoicesO
OCB   mnOpenChargebackAmountO
NOCB  mnNuberOfOpenChargebacksO
ADSC  mnAmtDiscountAvailableO
EDSC  mnDiscountEarnableO
PDIN  mnNuberOfPastDueInvoicesO
OCBP  mnChargebackPastDueO
DSCP  mnDicountAvailablePastDueO
CUIN  mnNumberOfCurrentInvoicesO
OCBC  mnCurrentChargebackAmountO
CUDS  mnCurentDiscountAvailableO
CUED  mnCurrentDiscountEarnableO
UAA   mnAmountUnappliedO
NUR   mnNumberOfUnappliedReceiptsO
CREE  mnCreditsEnteredO
CREN  mnNumberOfOpenCreditsO
ODAM  mnOutstandingDraftAmountO
NOD   mnNumberOfOpenDraftsO
DDOA  mnClaimAmountOpenO
DDNB  mnNumberOfOpenClaimsO
ISTC  cARPostToCashManagementIY
Related Tables
F03B11Customer Ledger File
Related Business Functions
B1100006Decimal Trigger Get By Currency
B03B0017Select Aging Category for Trans
B03B0136F03B14 As of Aging Server
B0000033Get Exchange Rate
B0000027Currency Conv For and Dom
 Processing
 Set selection Parameters
 JDB_SetSelection - F03B11
 JDB_SelectKeyed - F03B11
 While Loop
 Determine the Open Amount on the As of Date
 jdeCallObject "AsofAgingServer"
 If currency is on 
 jdeCallObject "GetExchRate"
 jdeCallObject "CurrencyConvForAndDom"
 Add the Aged Amounts
 Accumulate all other amounts
^
D03B0137 - F03B11 As Of Aging Summary
| 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 
  | ||||
| jdDateAgeAsOf | DAG | JDEDATE | NONE | NONE | 
A date that the system uses to determine the aging category to which to assign an invoice. The system compares the aging date to the 
  | ||||
| cAgingMethod | AGEM | char | NONE | NONE | 
A code that designates which aging categories the system uses to assign invoices. The system uses the date specified in the Age as of 
  | ||||
| cBaseAgingDate | AGE | char | NONE | NONE | 
A code that specifies which date on the invoice record to use to calculate aging. The system compares the date specified on the invoice 
  | ||||
| mnAgingDaysARCurrent | CRDY | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with the value of AGR1 to define the number of days in the current aging category.  | ||||
| mnAgingDaysAR001 | AGR1 | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with CRDY and AGR2 to define the current and first aging categories.  | ||||
| mnAgingDaysAR002 | AGR2 | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with AGR1 and AGR3 to define the first and second aging categories.  | ||||
| mnAgingDaysAR003 | AGR3 | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with AGR2 and AGR4 to define the second and third aging categories.  | ||||
| mnAgingDaysAR004 | AGR4 | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with AGR3 and AGR5 to define the third and fourth aging categories.  | ||||
| mnAgingDaysAR005 | AGR5 | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with AGR4 and AGR6 to define the fourth and fifth aging categories.  | ||||
| mnAgingDaysAR006 | AGR6 | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with AGR5 and AGR7 to define the fifth and sixth aging categories.  | ||||
| mnAgingDaysAR007 | AGR7 | MATH_NUMERIC | NONE | NONE | 
A value used in conjunction with AGR6 to define the sixth aging category.  | ||||
| mnAmountOpen | AAP | MATH_NUMERIC | NONE | NONE | 
The amount of an invoice or voucher pay item that is unpaid.  | ||||
| mnAmountPastDue | PDA | MATH_NUMERIC | NONE | NONE | 
Total amount of all invoice pay items that are past due.  | ||||
| mnAmountFuture | FTR | MATH_NUMERIC | NONE | NONE | 
The total amount of the invoices that is due prior to the first aging category defined when the Credit Analysis Refresh program (R03B525) 
  | ||||
| mnCurrentAmountDue | CURR | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the current aging category as defined in either the Accounts Receivable constants or the 
  | ||||
| mnAmtAgingCategories1 | AG1 | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the first category as defined in either the Accounts Receivable constants or the processing options 
  | ||||
| mnAmtAgingCategories2 | AG2 | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the second category as defined in either the Accounts Receivable constants or the processing 
  | ||||
| mnAmtAgingCategories3 | AG3 | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the third category as defined in either the Accounts Receivable constants or the processing options 
  | ||||
| mnAmtAgingCategories4 | AG4 | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the fourth category as defined in either the Accounts Receivable constants or the processing 
  | ||||
| mnAmtAgingCategories5 | AG5 | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the fifth category as defined in either the Accounts Receivable constants or the processing options 
  | ||||
| mnAmtAgingCategories6 | AG6 | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the sixth category as defined in either the Accounts Receivable constants or the processing options 
  | ||||
| mnAmtAgingCategories7 | AG7 | MATH_NUMERIC | NONE | NONE | 
The total open invoice amount that is in the seventh category as defined in either the Accounts Receivable constants or the processing 
  | ||||
| szCurrencyCodeFrom | CRCD | char | NONE | NONE | 
A code that identifies the currency of a transaction.  | ||||
| mnNumberOfOpenInvoices | OINV | MATH_NUMERIC | NONE | NONE | 
The number of invoice pay items that had an open amount at the time the Credit Analysis Refresh program (R03B525) was run.  | ||||
| mnOpenChargebackAmount | OCB | MATH_NUMERIC | NONE | NONE | 
The total open amount of chargebacks for the customer.  | ||||
| mnNumberOfOpenChargebacks | NOCB | MATH_NUMERIC | NONE | NONE | 
The total number of open chargeback pay items.  | ||||
| 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 
  | ||||
| mnDiscountEarnable | EDSC | MATH_NUMERIC | NONE | NONE | 
The amount of the discount that is taken on or before the discount due date.  | ||||
| mnNumberOfPastDueInvoices | PDIN | MATH_NUMERIC | NONE | NONE | 
The number of invoice pay items with a due date prior to the aging date specified when the Credit Analysis Refresh program (R03B525) 
  | ||||
| mnChargebackPastDue | OCBP | MATH_NUMERIC | NONE | NONE | 
Total amount of all open chargebacks that are past due.  | ||||
| mnDiscountAvailablePastDue | DSCP | MATH_NUMERIC | NONE | NONE | 
Total discount available amount for all open invoice pay items that are past due.  | ||||
| mnNumberOfCurrentInvoices | CUIN | MATH_NUMERIC | NONE | NONE | 
The total number of invoice pay items that are due in the current period, as specified by the Age as of Date field on the form.  | ||||
| mnCurrentChargebackAmount | OCBC | MATH_NUMERIC | NONE | NONE | 
Total amount of all chargebacks that are due in the current period.  | ||||
| mnCurrentDiscountAvailable | CUDS | MATH_NUMERIC | NONE | NONE | 
Total discount available amount for all open invoices due in the current period.  | ||||
| mnCurrentDiscountEarnable | CUED | MATH_NUMERIC | NONE | NONE | 
Total discount amount for all open invoices due in the current period and contain a discount due date greater than or equal to the current 
  | ||||
| mnAmountUnapplied | UAA | MATH_NUMERIC | NONE | NONE | 
The total payment amount received from a customer that was not applied to invoices.  | ||||
| mnNumberOfUnappliedReceipts | NUR | MATH_NUMERIC | NONE | NONE | 
The number of unapplied receipts records (RU) in the Customer Ledger table (F03B11) that have a pay status not equal to P.  | ||||
| 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 
  | ||||
| mnNumberOfOpenCredits | CREN | MATH_NUMERIC | NONE | NONE | 
The total number of open credit pay items. The system updates this field when you run the Credit Analysis Refresh program (R03B525).  | ||||
| mnOutstandingDraftAmount | ODAM | MATH_NUMERIC | NONE | NONE | 
The total value of the open draft amounts. Outstanding drafts are considered all drafts in Italy and only drafts not yet due in France.  | ||||
| mnNumberOfOpenDrafts | NOD | MATH_NUMERIC | NONE | NONE | 
The number of draft records (R1) in the Customer Ledger table (F03B11) that have a pay status not equal to P.  | ||||
| mnClaimAmountOpen | DDOA | MATH_NUMERIC | NONE | NONE | 
The unresolved domestic amount of the deduction. The currency associated with this amount appears in the Base Currency Code field 
  | ||||
| mnNumberOfOpenClaims | DDNB | MATH_NUMERIC | NONE | NONE | 
Future use.  | ||||
| cARPostToCashManagement | ISTC | char | OPT | NONE | 
A code that specifies whether the transaction is included in the the A/R Statistical History table (F03B16). Valid values are:
Blank
The 
  | ||||
| B03B0017 AR Aging - X0303 | ||||
| B03B0136 F03B14 As Of Aging Server | ||||
| B1100006 Decimal Trigger Get By Currency | 
| F03B11 Customer Ledger |