RetrieveDeprDefaults

Retrieve Depreciation Defaults for F1202

Minor Business Rule

Object Name: N1200120

Parent DLL: CALLBSFN

Location: Client/Server

Language: NER

Purpose
Locates and Retrieves appropriate depreciation defaults from the F12003 for use with newly created F1202 records. Uses the F12002 Accounting 
Constants to determine the correct cost obj and sub account to use as key to the F12003.


Setup Notes and Prerequisites
• Requires input of key fields for lookup
• Requires existence of fields on the calling app or report  to catch returned defaults
• There is an optional delete of F1202 depending on successful retrieval of defaults. This is used in 
R12800 and requires the fields noted below. If you aren't interested in the optional delete, you do 

not need these F1202 key fields. The delete will not occur if these fields are not passed in.

• There are a number of output flags and fields that are also used in the R12800 processing that may 
or may not have value in other apps or ubes. They are noted below.

• The Balance Character Code is an account type and should be provided to this function as input. The 
code can be determined by running N12920 and returning the code to a variable which is then passed 

into this NER function or it can be passed as a literal if the type of account is known, i.e. 1= Cost 

Account, 2 or 3= Accumulated Depreciation, 4, 5,or 6 = Depreciation Expense for the purposes of 

retrieving Cost Obj and Sub from the F12002.

• If you have already retrieved or know the Cost Obj and Sub, as in Beginning Balances, you can pass 
the Cost Obj and Sub into this function and set the FetchF12002Flag to a '1'. This allows you to bypass 

the F12002 while loops.


^

Data Structure

D1200120 - Retrieve Depreciation Defaults for F1202

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAssetItemNumberNUMBMATH_NUMERICNONENONE

An 8-digit number that uniquely identifies an asset.

szAccountIdAIDcharNONENONE

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

mnCenturyCTRYMATH_NUMERICNONENONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnFiscalYear1FYMATH_NUMERICNONENONE

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

szFiscalQtrFutureUseFQcharNONENONE

A data field reserved for future use.

szSubledgerSBLcharNONENONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharNONENONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

cBalanceCharacterCodeCHCDcharNONENONE

A code that indicates in which range of accounts the account in the Item Balance falls.  Valid values are: 1 Cost     2 Accumulated Depreciation    
3 Secondary A/D   4 Depreciation Expense     5 Depreciation Expense - Secondary     6 Depreciation Expense - Tertiary     7 Net Book Value - 
Disposal     8 Disposal - Clearing     9 Disposal - Proceeds

szObjectAccountOBJcharNONENONE

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szSubsidiarySUBcharNONENONE

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

szLedgerTypeLTcharNONENONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

szCompanyCOcharNONENONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szDocumentTypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

mnLifeMonthsADLMMATH_NUMERICNONENONE

The life of an asset in months or periods. The system uses months or periods only to express the life of an asset. For example, if your 
company uses a 12 month calendar, then a five year ACRS asset has a 60 month life. If your company uses a 13 month calendar, then a five year 
ACRS asset has a 65 month life, and so on. You must specify a life month value for all user defined depreciation methods and for all 
standard depreciation methods.

szDepreciationMethodADMcharNONENONE

The user defined code (12/DM) that indicates the method of depreciation for the specified book. In addition to any user defined 
depreciation methods that you set up for your company, the following standard depreciation methods are available in the Fixed Assets system: 00 No 
Depreciation Method Used   01 Straight Line Depreciation   02 Sum of the Year's Digits   03 125% Declining Bal w/ Cross Ovr   04 150% Declining 
Bal w/ Cross Ovr 05 200% Declining Bal w/ Cross Ovr   06 Fixed % on Declining Balance   07 ACRS Standard Depreciation   08 ACRS Optional 
Depreciation   09 Units of Production Method   10 MACRS Luxury Cars   11 Fixed % Luxury Cars   12 MACRS Standard Depreciation   13 MACRS 
Alternative Depreciation   14 ACRS Alternate Real Property   15 Fixed % on Cost   16 Fixed % on Declining Bal w/ Cross Ovr   17 AMT Luxury Cars  
18 ACE Luxury Cars Note: Any additional depreciation methods that you create for your organization must have an alpha code.

cDepreciationInformationITACcharNONENONE

A code for additional depreciation information. This code is used for investment tax credit (ITC) and averaging conventions. The system 
validates the code you enter in this field against user defined code table (12/AC). Valid codes are: A Actual Depreciation Start  
F First-half/2nd-half convention   H Half-Year   M Mid-Month Convention   N 1st Day of Next Period   P Middle of Period   Q Mid-Quarter Convention   R 1st Day of 
Next Year   S 1st Actual/2nd Period Start   Y Mid-Year Convention   W Whole Year Convention   0 No ITC Taken   1 Three Year Method (3 1/3%)  
2 Five Year Method (6 2/3%)   3 Seven Year Method (10%)   4 ACRS w/ Basis Reduction - 10% ITC 5 ACRS w/o Basis Reduction  Note: Numeric 
codes apply to standard depreciation methods only. To determine the date for F (First-half/Second-half), use the following guidelines:  o If the 
asset was placed in service in the first half of the year, then the adjusted depreciation start date is the first day of the year.  o If the asset was 
placed in service in the second half of the year, then the adjusted depreciation start date is the first day of the succeeding year.   o The first half 
of the year expires at the close of the last day of the calendar month that is closest to the middle of the tax year.   o The second half of the year 
begins the day after the expiration of the first half of the tax year.

mnMethodADMPMATH_NUMERICNONENONE

A number that specifies what percentage you want the system to use when calculating depreciation. You must use whole numbers. For 
example, enter 10 for 10%. The system uses a percentage when computing the following methods of depreciation: 06 Fixed % on Declining 
Balance. (This method of depreciation is commonly used by Canadian and utility companies.) 11 Fixed % Luxury Car - Foreign. 15 Fixed % of 
Cost. 16 Fixed % on Declining Balance to Cross-Over. The system also uses this field to compute any user defined depreciation method in which 
you specify a percentage.

szScheduleMethod9ADSNcharNONENONE

The alphanumeric code you assign to a units of production schedule. You must set up the schedules you want to use for method 09 (Units 
of Production Depreciation) in advance on the Units of Production Schedule form.

cCompMethodItdOrRemDIR1charNONENONE

A code that specifies the method that the system uses to calculate depreciation based on the depreciation method you specify. Valid 
values are: C  Current year to date. Calculates only the current year's depreciation. I  Inception to date. Recalculates the entire depreciation amount 
from the start date through the current year. Prior year depreciation is then subtracted to determine current year depreciation. This method 
results in a one-time current period correction for any errors in prior period depreciation. F  Inception to date - first rule. Calculates inception to 
date (rule I) for the first rule (if there are two rules) and calculates current year to date (rule C) for the second rule. P  Current period. Calculates 
depreciation for the current period and then extrapolates the annual amount based on the cumulative percentage from the period pattern and 
year-to-date posting. Any depreciation calculated for the current period is subtracted. R  Remaining months. Depreciates the net book value 
as of the beginning of the current tax year over the remaining life of the asset. This results in the amortization of prior period calculation errors 
over the remaining life of the asset.

jdDateDepreStartedDSDJDEDATENONENONE

The date when the depreciation computations start for an asset. This date can be different from the date the asset was acquired.

szCurrencyCodeFromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

cDepreciationCalculationFDPCFcharNONENONE

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.

mnCostBalanceCrossReferencCBXRMATH_NUMERICNONENONE

(Future Use)

cContinueFlagEV01charNONENONE

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

cErrorsFoundFlagEV03charNONENONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cFetched12002FlagEV04charNONENONE

PeopleSoft event point processing flag 04.

szErrorMessageIDDTAIcharNONENONE

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.

szFetchedLTLTcharNONENONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

Related Functions

None

Related Tables

F12002 Default Accounting Constants
F12003 Default Depreciation Constants
F1202 Asset Account Balances File