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.
D1200001 - Access F1200 Table
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cActionCode | ACTN | char | REQ | INPUT |
A code that specifies the action that is performed. Valid values are: A Add C Change | ||||
mnSupplementalCategory | SUPC | MATH_NUMERIC | OPT | BOTH |
Enter the number of the equipment category code that controls which supplemental data types the system displays on the Equipment
| ||||
mnDepreciationCategory | DPCC | MATH_NUMERIC | OPT | BOTH |
A code that classifies assets into depreciation categories. Inquiries, reports, journals, and other processes that depend on the depreciation
| ||||
cErrorCode | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. |
None |
F1200 Fixed Asset Constants |