GetCompanyConstants

Retrieve Company Constants - Aging

Minor Business Rule

Object Name: B03B0042

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

B03B0042
F0010 Get Aging Periods


Functional Description


Purpose

This business function will get the aging information for the company from the Company Constants 

table (F0010). 


Setup Notes and Prerequisites


Special Logic


Technical Specifications

Parameters

ItemDescription I/OReq?Notes

COCompanyIYes

AGEMAging MethodONo

CRDYCurrent DayONo

AGR1Aging Days 1ONo

AGR2Aging Days 2ONo

AGR3Aging Days 3 ONo

AGR4Aging Days 4ONo

AGR5Aging Days 5ONo

AGR6Aging Days 6ONo

AGR7Aging Days 7ONo

DAGDate: Age As OfONo


Related Tables

F0010Company Constants

Related Business Functions


Processing

• Open F0010 table.
• Fetch F0010 table.
• Copy fetched fields to the output fields.
• Close F0010 table.

^

Data Structure

D03B0042 - Company Constants - Aging

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyCOcharNONENONE

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.

cAgingmethodAGEMcharNONENONE

A code that designates which aging categories the system uses to assign invoices. The system uses the date specified in the Age as of 
Date field (DAG) and the value specified in the Date Aging Based On field (AGE) to calculate the aging for each invoice, and then assigns 
them to the aging category specified by this code. Valid codes are: 1 Aging days. The system assigns invoices to the aging categories 
specified in the Aging Days fields. The aging categories are user defined. 2 Fiscal periods. The system uses the fiscal periods defined by the date 
pattern assigned to the company record as the aging categories. 3 Calendar. The system uses each calendar month as an aging category.

mnAgingdaysarcurrentCRDYMATH_NUMERICNONENONE

A value used in conjunction with the value of AGR1 to define the number of days in the current aging category.

mnAgingdaysar001AGR1MATH_NUMERICNONENONE

A value used in conjunction with CRDY and AGR2 to define the current and first aging categories.

mnAgingdaysar002AGR2MATH_NUMERICNONENONE

A value used in conjunction with AGR1 and AGR3 to define the first and second aging categories.

mnAgingdaysar003AGR3MATH_NUMERICNONENONE

A value used in conjunction with AGR2 and AGR4 to define the second and third aging categories.

mnAgingdaysar004AGR4MATH_NUMERICNONENONE

A value used in conjunction with AGR3 and AGR5 to define the third and fourth aging categories.

mnAgingdaysar005AGR5MATH_NUMERICNONENONE

A value used in conjunction with AGR4 and AGR6 to define the fourth and fifth aging categories.

mnAgingdaysar006AGR6MATH_NUMERICNONENONE

A value used in conjunction with AGR5 and AGR7 to define the fifth and sixth aging categories.

mnAgingdaysar007AGR7MATH_NUMERICNONENONE

A value used in conjunction with AGR6 to define the sixth aging category.

jdDateAgeAsOfDAGJDEDATENONENONE

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 
invoice date, statement date, due date, or G/L date, which is defined by the value in the Date Aging Based On field (AGE), and then uses the 
value in the Aging Method field (AGEM) to determine which aging category to update. If you use method 1, the aging categories are defined in 
the Aging Days fields (CRDY, AGR1, AGR2, AGR3, AGR4, AGR5, AGR6, and AGR7) in the Accounts Receivable constants.  If you leave this 
field blank, the system uses the current date.  Note: The Sales Order Management system also uses this date for credit checks. Leave this 
field blank to ensure that the credit checks are always current.

Related Functions

None

Related Tables

F0010 Company Constants