Update912A

Update F0912A G/L Date

Major Business Rule

Object Name: B0900062

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 when the Indexed 

Computation Compute & Print is run in final mode.  The G/L date field in the Indexed Allocations table will be 

updated according to the recurring frequency specified on the Indexed Allocation.


Setup Notes and Prerequisites


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.

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

Data Structure

D0900062 - Update F0912A G/L Date

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 should be updated.


^

mnDocvoucherinvoiceeDOCMATH_NUMERICNONENONE

Special Input Expected

This required input parameter receives the document number of the Indexed Allocation for which the 

G/L Date should be updated.

^

szCompanyCOcharNONENONE

Special Input Expected

This required input parameter receives the company of the Indexed Allocation for which the G/L Date 

should be updated.


^

szFrequencyrecurringRFcharNONENONE

Special Input Expected

This required input parameter receives the recurring frequency (i.e. annually, monthly, etc.)which 

will be used to calculate the new G/L date.


^

Related Functions

B0900058 Recurring Frequency Update

Related Tables

F0912A Index Computation Entry File