F03B08SortEndingDate

F03B08 Sort Ending Date

Minor Business Rule

Object Name: B03B0120

Parent DLL: CFIN

Location: Client/Server

Language: C

B03B0120
F03B08 - Sort Ending Date


Functional Description


Purpose

This function ensures that anytime grid records are added or updated to the F03B08, that they have 

the correct beginning date (DTBG) and that Period Days(DAYP)is calculated if it was left blank on the 

form.  This function uses CO, FY, and CTRY to select all records meeting this criteria in the F03B08.  

It is called twice from P03B08 on All Grid Records Added to DB and All Grid Records Updated to DB.


Setup Notes and Prerequisites


Special Logic



Technical Specifications


Parameters

Data ItemData Structure DescriptionI/ORequiredNotes

COCompanyIYes

FYFiscal YearIYes

CTRYCenturyIYes


Related Tables

F03B08Credit/Collection Date Pattern


Related Business Functions

None


Processing

Select F03B08.* From F03B08 Where F03B08.CO = lpDS.Company, F03B08.FY=lpDS.FiscalYear, and 

F03B08.CTRY=lpDS.Century;


SORT ascending according to F03B08.DTEN;


Fetch records;


If successful





While Fetch successful
















^

^

Data Structure

D03B0120 - F03B08 Sort Ending Date

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.

mnFiscalYear1FYMATH_NUMERICNONENONE

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 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnCenturyCTRYMATH_NUMERICNONENONE

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 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

Related Functions

None

Related Tables

F03B08 Credit/Collection Date Pattern