ReturnBudgetAmountsRollup

Return Budget and Period Amounts Rollup

Minor Business Rule

Object Name: B1400012

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function will return the  14 individual period, annual budget, prior year balance, and 

prior year net posting amounts for a specified account, fiscal year, century, ledger type, subledger, 

subledger type, and currency code.



Technical Specification

• Determine the number of keys to use to retrieve the F0902 record
• Open the F0902 table
• Retrieve the F0902 record based on the keys passed in as parameters.
• If the retrieval is successful
• Return the prior year balance amount, 14 period amounts, prior year net postings, requested 
budget, approved budget amount, and final budget amount.


Data Structure

D1400013 - Return Budget and Period Amounts Rollup

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. 

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.

szFiscalQtrFQcharNONENONE

A data field reserved for future use.

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  

szCurrencyCodeCRCDcharNONENONE

A code that identifies the currency of a transaction. 

mnAmtBeginningBalancePYAPYCMATH_NUMERICNONENONE

The cumulative prior year-end balance. The system uses this amount as the beginning balance for balance sheet and job cost 
accounts. NOTE: Do not confuse this amount with the prior year-end net posting amount. The prior year-end net posting amount includes only the 
postings from the prior year. It does not include the ending balance of the previous year. The prior year-end net postings are typically used for profit 
and loss statement comparisons.

mnAmountNetPosting001AN01MATH_NUMERICNONENONE

A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants table (F0010). The net amount posted is the total of all debits and credits, beginning with the first day of the period through the last 
day of the period.

mnAmountNetPosting002AN02MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010).  The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting003AN03MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting004AN04MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting005AN05MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting006AN06MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting007AN07MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting008AN08MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting009AN09MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting010AN10MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting011AN11MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting012AN12MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting013AN13MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmountNetPosting014AN14MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (F0010). The net amount posted is the total of all debits and credits beginning with the first day of the period through the last day 
of the period.

mnAmtPriorYrNetPostAPYNMATH_NUMERICNONENONE

The prior year-end net postings.  The system uses this number for profit and loss statement comparisons. NOTE: Do not confuse this 
number with the prior year-end cumulative balance. The prior year-end cumulative balance is typically used for balance sheet and job cost 
carry-forward amounts.

mnBudgetRequestedBREQMATH_NUMERICNONENONE

A code that specifies the ledger type with which to track amounts in the Account Balances table (F0902). Valid values are:   
BA/BU Requested budget from Budget by Business Unit or Account. When you update this field, the system updates BAPR (Approved Budget) and BORG 
(Final or original budget to expedite budget changes.)   PA/PU Pending commitments from purchase orders. The Repost Committed Cost 
program (R00932) uses processing options to determine the status code for pending (unapproved) purchase orders. (Total commitments are 
posted to the Original Budget field BORG, and open commitments update the monthly or period amounts.) The Fixed Assets system also 
uses this field in the Asset Account Balances File table (F1202) to record transfers. Debit journal entries to asset cost accounts and credits to 
accumulated depreciation accounts with Document Type AT (Asset Transfer) update this field in the Fixed Asset Post program (R12800).

mnBudgetApprovedBAPRMATH_NUMERICNONENONE

This field tracks the following amounts in the Account Balances file (F0902):        Ledger type - BA/BU. Approved Budget from Budget by 
Business Unit or by Account. (Changes to this field also update the Final/Original Budget field BORG to expedite entry of the final budget.) Fixed 
Assets also uses this field in the Item Balances file (F1202) to record transfers out.  Credit journal entries to asset cost accounts and debits to 
accumulated depreciation accounts with Document Type AT (Asset Transfer) update this field in the F/A Post program.

mnAmtOriginalBORGMATH_NUMERICNONENONE

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

Related Functions

None

Related Tables

F0902 Account Balances