BuildUserDefinedDateTitle

Build User Defined Date Title

Minor Business Rule

Object Name: B8300008

Parent DLL: CAEC

Location: Client/Server

Language: C

Functional Description
Build a user defined date title from elements in the F83100 and F83110.
Purpose

Concatenate each literal string and fill the substitution parameters for a given alnguage and date 
title type.

Setup Notes and Prerequisites


Special Logic




Technical Specification

If date pattern not passed fetch it from the F0010.

Fetch the date title elements from the F83100 for the requested date title type and language. If user 

language not found, return the base language.


Fetch the period names from the F83110 for the requested language and fiscal date pattern. If user 

language not found, return the base language.


Fetch the text for the period number from UDC 83/PT by period number and language. If user language 

not found, return the base language.


Until a blank element is encountered in the F83100 record, concacenate each element togather. If any 

substituion elements are found fill the substitution parameters. If date title length exceeds 100 

characters set error.

Data Structure

D8300008 - Build User Defined Date Title

Parameter NameData ItemData TypeReq/OptI/O/Both
cDateTitleTypeDTTYPcharOPTINPUT

The date title type.

szLanguagePreferenceLNGPcharOPTINPUT

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

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.

cFiscalDatePatternDTPNcharOPTINPUT

A code that identifies date patterns. You can use one of 15 codes. You must set up special codes (letters A through N) for 4-4-5, 13-period 
accounting, or any other date pattern unique to your environment. An R, the default, identifies a regular calendar pattern.

mnPeriodNumberPNMATH_NUMERICOPTINPUT

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnFiscalYearFYMATH_NUMERICOPTINPUT

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.

szDateTitleDTITLcharOPTOUTPUT

The date title used for financial reporting.

cFiscalYearYNEV01charOPTINPUT

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

Related Functions

None

Related Tables

None