GetBeginningBudget

Retained Earnings +

Minor Business Rule

Object Name: B0900048

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this business function is to determine the amount to be updated in the original budget 
field of next year's record, or if a record should be written for next year as it relates to original 

budget (flag set to '1').  All the key fields for the next year record must be passed, the current 

year's original budget amount, the Annual Close processing option value for Original Budget, and the 

ledger type rules value for Roll Original Budget.  A flag is returned with a '1' if a F0902 record exist.


Setup Notes and Prerequisites


Special Logic

This business function is specific to the Annual Close (R098201).



Technical Specification




^

Data Structure

D0900048A - Get Beginning Budget

Parameter NameData ItemData TypeReq/OptI/O/Both
szAccountIDAIDcharNONENONE

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

szLedgerTypeLTcharNONENONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

szSubledgerSBLcharNONENONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharNONENONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

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.

mnFiscalYearFYMATH_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.

szFiscalQuarterFQcharNONENONE

A data field reserved for future use.

szCurrencyCodeCRCDcharNONENONE

A code that identifies the currency of a transaction. 

mnCurrentOriginalBudgetBORGMATH_NUMERICNONENONE

Field that tracks amounts for an annual budget amount by ledger type in the Account Balances file (F0902).

cFlagRollOriginalBudgetFROBcharNONENONE

A flag to denote that the original budget can be rolled forward in the Annual Close program.

cOverrideOrigBudgetPOEV01charNONENONE

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

cF0902UpdateFlagEV02charNONENONE

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

mnNextYearOrigBudgetMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

cF0902ExistFlagEV03charNONENONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

Related Functions

None

Related Tables

F0902 Account Balances
UpdateRetainedEarnings

UpdateRetainedEarnings

Retained Earnings +

Major Business Rule

Object Name: B0900048

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this business function is to update the retained earnings account.  If the record 
already exist, it is updated, otherwise the record is inserted.


Setup Notes and Prerequisites


Special Logic

This business function is specific to the Annual Close (R098201).



Technical Specification




^

Data Structure

D0900048B - Update Retained Earnings

Parameter NameData ItemData TypeReq/OptI/O/Both
szProgramIDPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szWorkStationIDJOBNcharNONENONE

The code that identifies the work station ID that executed a particular job.

mnTimeLastUpdatedUPMTMATH_NUMERICNONENONE

The time that specifies when the program executed the last update to this record.

jdDateUpdatedUPMJJDEDATENONENONE

The date that specifies the last update to the file record.

szUserIDUSERcharNONENONE

The code that identifies a user profile.

Related Functions

None

Related Tables

F0902 Account Balances