MemoryFreeUDD

UDD F12852 Calculate Life Year Rules

Minor Business Rule

Object Name: B1200006

Parent DLL: CAEC

Location: Client/Server

Language: C

Purpose
The F1202 Accumulate Date Sensitive Balances uses a Pointer to store the hUser, hRequestF12852, and hRequestF12853. 


This function will close the tables, and free memory.

Data Structure

D1200006A - UDD Free Memory

Parameter NameData ItemData TypeReq/OptI/O/Both
idPointerGENLNGIDREQBOTH

General purpose ID variable.

Related Functions

B0000500 Algebraic Expression Calculate
B0000501 Algebraic Expression Builder
B1200005 UDD Dates and Periods Calculated
B1200007 F1202 Accumulate Date Sensitive Balances

Related Tables

F1208 Units of Production Schedule Master File
F12852 Annual Depreciation Rules
F12853 Depreciation Formulas
TerminateF12852Cache

TerminateF12852Cache

UDD F12852 Calculate Life Year Rules

Minor Business Rule

Object Name: B1200006

Parent DLL: CAEC

Location: Client/Server

Language: C

Data Structure

D1200006A - UDD Free Memory

Parameter NameData ItemData TypeReq/OptI/O/Both
idPointerGENLNGIDREQBOTH

General purpose ID variable.

Related Functions

B0000500 Algebraic Expression Calculate
B0000501 Algebraic Expression Builder
B1200005 UDD Dates and Periods Calculated
B1200007 F1202 Accumulate Date Sensitive Balances

Related Tables

F1208 Units of Production Schedule Master File
F12852 Annual Depreciation Rules
F12853 Depreciation Formulas
UDD_AAI_Error

UDD_AAI_Error

UDD F12852 Calculate Life Year Rules

Minor Business Rule

Object Name: B1200006

Parent DLL: CAEC

Location: Client/Server

Language: C

Data Structure

DE1201 - AAI and Account Invalid

Parameter NameData ItemData TypeReq/OptI/O/Both
szAAI_ITEMITEMcharOPTNONE

A hard-coded field that defines an account or range of accounts used for a particular function. For example, item GLG4 defines the retained 
earnings account, which is used for annual close purposes. During processing, programs use the item number and company number to find 
the correct account to debit or credit. Along with company, the item (or range) is the key to the AAI table.

szAccount_ANIANIcharOPTNONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

Related Functions

B0000500 Algebraic Expression Calculate
B0000501 Algebraic Expression Builder
B1200005 UDD Dates and Periods Calculated
B1200007 F1202 Accumulate Date Sensitive Balances

Related Tables

F1208 Units of Production Schedule Master File
F12852 Annual Depreciation Rules
F12853 Depreciation Formulas
UDDF12852CalculateLifeYearRules

UDDF12852CalculateLifeYearRules

UDD F12852 Calculate Life Year Rules

Major Business Rule

Object Name: B1200006

Parent DLL: CAEC

Location: Client/Server

Language: C

Purpose
Read the Depreciation Rules (F12852) to calculate depreciation. The rules hold a depreciation formula, basis formula, lower limit formula, upper 

limit formula, and salvage formula. The calculation formula utilizes 55 pre-defined parameters in the arithmetic calculations. Certain rules apply to a 

default calculation.


Each period of an asset may have a rule applied to it. It is accomplished by using a from year, to year, and in service period. A rule is valid from the 

beginning point of the rule until a new rules is hit for a specific time gram in which depreciation is being calculated.


The Compute Direction (DIR1) determines how the Life Year Rules are applied. 

'I' - Inception to Date ~ Read every rule and accumulate the depreciation to correct any depreciation missed.

'C' - Year to Date ~ Calculate depreciation, and determine any missed period calculation for a particular year.

'R' - Remaining ~ Calculate depreciation and estimate the remaining depreciation for any missed costs that get apportioned gradually through the 

rest of the assets life.

'P' - Period ~ Calculate depreciation for a single period of time only.


This includes only Primary Depreciation.

Data Structure

D1200006 - UDD F12852 Calculate Life Year Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
idPointerGENLNGIDREQBOTH

General purpose ID variable.

szErrorMessageDTAIcharREQOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

szDepreciationExpressionRule1CALCITcharREQOUTPUT

 This field is used to store an algebraic expression string

szBasisExpressionRules1CALCITcharREQOUTPUT

 This field is used to store an algebraic expression string

szLowerLimitExpressionRule1CALCITcharREQOUTPUT

 This field is used to store an algebraic expression string

szUpperLimitExpressionRule1CALCITcharREQOUTPUT

 This field is used to store an algebraic expression string

szSalvageExpressionRule1CALCITcharREQOUTPUT

 This field is used to store an algebraic expression string

szDepreciationExpressionRule2CALCITcharOPTOUTPUT

 This field is used to store an algebraic expression string

szBasisExpressionRule2CALCITcharOPTOUTPUT

 This field is used to store an algebraic expression string

szLowerLimitExpressionRule2CALCITcharOPTOUTPUT

 This field is used to store an algebraic expression string

szUpperLimitExpressionRule2CALCITcharOPTOUTPUT

 This field is used to store an algebraic expression string

szSalvageExpressionRule2CALCITcharOPTOUTPUT

 This field is used to store an algebraic expression string

szDepreciationFormulaRule1FMLAcharREQOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szBasisFormulaRule1FMLAcharREQOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szLowerLimitFormulaRule1FMLAcharREQOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szUpperLimitFormulaRule1FMLAcharREQOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szSalvageFormulaRule1FMLAcharREQOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szDepreciationFormulaRule2FMLAcharOPTOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szBasisFormulaRule2FMLAcharOPTOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szLowerLimitFormulaRule2FMLAcharOPTOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szUpperLimitFormulaRule2FMLAcharOPTOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

szSalvageFormulaRule2FMLAcharOPTOUTPUT

A calculation that the system uses to determine an amount or quantity for this column. You can use a single predefined value or multiple 
predefined values in conjunction with mathematical operators to enter a formula. Valid mathematical operators 
are: + Add - Subtract * Multiply / Divide ( ) Left and right parentheses for nesting  For example, you can enter the following formula to have the system calculate on-time 
percentages: 20/(20+21+22) The formula above equals on-time percentages for the following reasons:   o  20 is the value for on-time amounts.   o  21 is the 
value for early amounts.   o  22 is the value for late amounts.

mnAccumulatedCostA12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnAnnualAD_Rule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnAnnualAD_Rule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnJEAmountAD_Rule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnJEAmountAD_Rule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnJEAmountDE_Rule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnJEAmountDE_Rule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnJEAmountDE_TertiaryA12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnBasisValueRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnLowerLimitRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnUpperLimitRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnSalvageValueRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnBasisValueRule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnLowerLimitRule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnUpperLimitRule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnSalvageValueRule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnAnnualMultiplierRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnAnnualMultiplierRule2A12OWMATH_NUMERICOPTOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnInceptionToDateADRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnCurrent_AD_AmountRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnPercent_AD_AmountRule1A12OWMATH_NUMERICREQOUTPUT

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnInceptionToDateADRule2A12OWMATH_NUMERICOPTNONE

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnCurrent_AD_AmountRule2A12OWMATH_NUMERICOPTNONE

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnPercent_AD_AmountRule2A12OWMATH_NUMERICOPTNONE

Fixed Asset column for amounts. The editing of this column, for example,including or excluding commas, can be performed through data 
dictionary edits.

mnCumulativeAnnualPercent1PE01MATH_NUMERICOPTNONE

The abbreviation for percentage.

mnCumulativeAnnualPercent2PE01MATH_NUMERICOPTNONE

The abbreviation for percentage.

mnModifiedPeriodsMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

cInceptionCorrectionPO_EV01EV01charOPTINPUT

An option that specifies the type of processing for an event.

cDepreciationCalculationFlagDPCFcharOPTNONE

A code that indicates whether a record in the Asset Account Balances table (F1202) is the result of running the Depreciation Projections 
program (R12865). The Depreciation Projections program updates the F1202 in the future for budgeting, reporting, tax deferrals, and so on. This 
code is only updated on the Accumulated Depreciation and Depreciation expense accounts. The only way to determine whether a balance 
is the result of User Defined Actual Depreciation from a balance that has been projected is to review this field. Projection balances must be 
purged using the Purge Depreciation Projections program (R12859) before actual depreciation balances can be updated. Valid values 
are: Blank  Actual Accumulated Depreciation and Depreciation expense. 1        Projected Accumulated Depreciation and Depreciation expense.

Related Functions

B0000500 Algebraic Expression Calculate
B0000501 Algebraic Expression Builder
B1200005 UDD Dates and Periods Calculated
B1200007 F1202 Accumulate Date Sensitive Balances

Related Tables

F1208 Units of Production Schedule Master File
F12852 Annual Depreciation Rules
F12853 Depreciation Formulas