UpdateBudgetAmount

Update Budget Amount

Major Business Rule

Object Name: B1400001

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose


This function updates the F0902(Account Balances table) requested, approved and final budget amount, 

as well as the fourteen period fields.  If the record does not exist, this business function will 

create the F0902 record.


Setup Notes and Prerequisites


This function uses the account ID, century, fiscal year, fiscal quarter, ledger type, subledger, 

subledger type and currency code to determine the F0902 record to update or create.


Technical Specification


• Use account ID, century, fiscal year, fiscal quarter, ledger type, subledger, subledger type and 
currency code as the key to select the F0902 record.

• If the F0902 record exists
• Update the requested, approved, final and fourteen period amounts for that record.
• Else if record does not exist
• Create the F0902 record using the account ID, century, fiscal year, fiscal quarter, ledger type, 
subledger, subledger type and currency code passed in as parameters.

^

Data Structure

D1400385 - Update Budget Amount

Parameter NameData ItemData TypeReq/OptI/O/Both
szLedgerTypeLTcharNONENONE

Special Input Expected

This required input parameter receives the ledger type which will be used as part of the key for the 

F0902 record to update or create.

^

mnFiscalYearFYMATH_NUMERICNONENONE

Special Input Expected

This required input parameter receives the fiscal year which will be used as part of the key for the 

F0902 record to update or create.


^

szAccountIdAIDcharNONENONE

Special Input Expected

This required input parameter receives the Account ID which will be used as part of the key for the 

F0902 record to update or create.


^

szSubledgerSBLcharNONENONE

Special Input Expected

This required input parameter receives the subledger which will be used as part of the key for the 

F0902 record to update or create.


^

cSubledgerTypeSBLTcharNONENONE

Special Input Expected

This required input parameter receives the subledger type which will be used as part of the key for 

the F0902 record to update or create.


^

mnCenturyCTRYMATH_NUMERICNONENONE

Special Input Expected

This required input parameter receives the century which will be used as part of the key for the 

F0902 record to update or create.


^

szFiscalQtrFQcharNONENONE

Special Input Expected

This required input parameter receives the fiscal quarter which will be used as part of the key for 

the F0902 record to update or create.


^

cEveresteventpoint01EV01charNONENONE

Special Input Expected

This parameter is currently not being used.


^

szCurrencyCodeCRCDcharNONENONE

Special Input Expected

This required input parameter receives the currency code which will be used as part of the key for 

the F0902 record to update or create.


^

mnAmount1AN01MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #1 amount to update.


^

mnAmount2AN02MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #2 amount to update.

^

mnAmount3AN03MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #3 amount to update.

^

mnAmount4AN04MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #4 amount to update.

^

mnAmount5AN05MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #5 amount to update.

^

mnAmount6AN06MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #6 amount to update.

^

mnAmount7AN07MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #7 amount to update.

^

mnAmount8AN08MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #8 amount to update.

^

mnAmount9AN09MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #9 amount to update.

^

mnAmount10AN10MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #10 amount to update.

^

mnAmount11AN11MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #11 amount to update.

^

mnAmount12AN12MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #12 amount to update.

^

mnAmount13AN13MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #13 amount to update.

^

mnAmount14AN14MATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the period #14 amount to update.

^

cSpreadFlagEV07charNONENONE

Special Input Expected

This parameter is currently not being used.


^

mnAmountRetrievedMATH01MATH_NUMERICNONENONE

Special Input Expected

This parameter is currently not being used.


^

szCompanyCOcharNONENONE

Special Input Expected

This required input parameter receives the company of the account and is used when creating a new 

F0902 record.


^

szCostCenterMCUcharNONENONE

Special Input Expected

This required input parameter receives the cost center of the account and is used when creating a new 

F0902 record.


^

szObjectAccountOBJcharNONENONE

Special Input Expected

This required input parameter receives the object account of the account and is used when creating a 

new F0902 record.


^

szSubsidiarySUBcharNONENONE

Special Input Expected

This required input parameter receives the subsidiary of the account and is used when creating a new 

F0902 record.


^

mnBudgetRequestedBREQMATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the requested budget amount to update.

^

mnBudgetApprovedBAPRMATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the approved budget amount to update.

^

mnBudgetFinalBORGMATH_NUMERICNONENONE

Special Input Expected

This input parameter receives the final budget amount to update.

^

szProgramIdPIDcharOPTNONE

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.

Related Functions

B0000128 Retrieve Company Currency Code
B9800100 Get Audit Information

Related Tables

F0902 Account Balances