F0912AUpdateGLDateBudgetFY

F0912A Update G/L Date Budget FY

Major Business Rule

Object Name: B0900079

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose


The purpose of this function is to update the Indexed Computation G/L date and budget fiscal year 

when the Indexed Computation Compute & Print is run in final mode.  The G/L date and the budget fiscal 

year fields in the Indexed Allocations table will be updated according to the recurring frequency 

specified on the Indexed Allocation.  


Setup Notes and Prerequisites


This business function will only be called when computing a budget code indexed allocation.  Make 

sure that the key (document number, document type, and company) for the Indexed Allocation is passed into 

the business function.  Also make sure the G/L date to update and the recurring frequency are passed 

in.


Technical Specification


• Retrieve the F0912A(Indexed Allocation table) record using the key key document number, document 
type, and company.

• If the allocation exists
• For every line of the Indexed Allocation
• Call the Update Recurring Frequency Business function to calculate the new date based on the 
recurring frequency.

• Increment the budget fiscal year by 1
• Call the Retrieve Correct Century business function to retrieve the correct century for the 
new budget fiscal year

• Update the F0912A record for the Indexed allocation line.
• Else
• Set error


Data Structure

D0900079 - F0912A Update G/L Date Budget FY

Parameter NameData ItemData TypeReq/OptI/O/Both
szDocumentTypeDCTcharNONENONE

Special Input Expected
This required input parameter receives the document type of the Indexed Allocation for which the G/L 
Date and Budget Fiscal Year should be updated.


^

mnDocNumberDOCMATH_NUMERICNONENONE

Special Input Expected
This required input parameter receives the document number of the Indexed Allocation for which the 
G/L Date and Budget Fiscal Year should be updated.


^

szCompanyCOcharNONENONE

Special Input Expected
This required input parameter receives the company of the Indexed Allocation for which the G/L Date 
and Budget Fiscal Year should be updated.


^

szFrequencyRecurringRFcharNONENONE

Special Input Expected
This required input parameter receives the recurring frequency of the Indexed Allocation for which 
the G/L Date and Budget Fiscal Year should be updated.


^

Related Functions

None

Related Tables

F0912A Index Computation Entry File