AccessF1200

Access F1200

Major Business Rule

Object Name: B1200001

Parent DLL: CAEC

Location: Client/Server

Language: C

Purpose
Maintain the Fixed Asset Constants table, F1200. Single record update/insert or fetch F1200

information.


Setup Notes and Prerequisites

The Table has no real primary unique key. There should only be one record in the table.


Special Logic

Use the action code "2" - Change Existing Record or "4" - Inquire Into Existing Record. 

The action code of "4" should fetch the single record from the F1200 and place the record information into the data structure.

The action code of "2" should fetch the single record from the F1200

   if no record exits then

Insert a new record with information from data structure

   else

Update the current record with information from data structure

Set the ErrorCode = 1 for any error, else return ErrorCode = 0.

Data Structure

D1200001 - Access F1200 Table

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeACTNcharREQINPUT

A code that specifies the action that is performed. Valid values are: A Add C Change

mnSupplementalCategorySUPCMATH_NUMERICOPTBOTH

Enter the number of the equipment category code that controls which supplemental data types the system displays on the Equipment 
Management supplemental data forms. When you set up supplemental data, you use Data Type Cross Reference to specify which types of data 
appear on supplemental data forms. For example, on Equipment Constants, you can specify equipment category code 2 (Major Equipment 
Class) as the supplemental data category code. Then, on Data Type Cross Reference, you can specify which data types are appropriate for 
each class of equipment you set up under Major Equipment Class, such as specification sheets and transportation notes for heavy 
equipment.

mnDepreciationCategoryDPCCMATH_NUMERICOPTBOTH

A code that classifies assets into depreciation categories. Inquiries, reports, journals, and other processes that depend on the depreciation 
category refer to the value in this category code. Note: You must set up a default value for this category code.

cErrorCodeEV01charOPTOUTPUT

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

Related Functions

None

Related Tables

F1200 Fixed Asset Constants