ValidateLedgerTypeOptions

Validate Ledger Type Options

Minor Business Rule

Object Name: B0000002

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of this business function is to provide for the various edits required when adding or 

changing a Ledger Type record in the Ledger Type Rules application (P0025).


Setup Notes and Prerequisites


Special Logic

This business function is specific to Ledger Type Rules application (P0025).



Technical Specification

Each record being changed or added will be edited for the following errors:

• 

Retained Earnings flag must be selected for AA and AZ ledgers.
• Required to Balance flag must be selected for AA, CA, and AZ ledgers.
• Intercompany Settlement flag must be selected for AA, CA, and AZ ledgers.
• If any ledger is selected for Intercompany Settlement, it must also be selected for Required to 
Balance.

• Restatement To flag can not be selected for AA, CA, and AZ ledgers.
• Direct Balance Update flag can not be selected for AA, CA, and AZ ledgers.
• The amount ledger must have the Direct Balance Update flag set the same as its corresponding unit 
ledger, when unit ledger is not blank.

• Currency Code Denominated In can not be chosen for AA, CA, AZ, FA, HA, IA, PA, RA, AND F%.
• If units ledger is not blank, it must have the same first character as its corresponding amount 
ledger and the second character must be a 'U'.  (The AZ ledger is the only exception to this rule.)

• The FU unit ledger type can only be used with the FA amount ledger type. An error will occur if the 
FU ledger is put in the units ledger type field for any other amount ledger type which begins with a 

F. The same logic applies to the HU and IU ledgers.

• The RA and F% ledgers can not have a value entered in the unit ledger type field. 

Data Structure

D0000002 - Validate Ledger Type Options


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szLedgerTypeLTcharNONENONE


^

szUnitsLedgerTypeULTcharNONENONE


^

cRetainedEarningsLedgerFREcharNONENONE


^

cLedgerRequiredToBalanceFLRBcharNONENONE


^

cIntercompanySettlementLedgerFISLcharNONENONE


^

cRestatementToLedgerFRLcharNONENONE


^

szCurrencyCodeDenominatedInCRCXcharNONENONE


^

cDirectBalanceUpdateLedgerFDBUcharNONENONE


^

Related Functions

None

Related Tables

F0025 Ledger Type Master File