AMCOMPUTE FILE
Compute
The Compute file stores the Lawson-defined and optional user-defined compute
statement methods. Lawson Software supplies the following standard
depreciation methods: straight line; 125, 150, 175, and 200 percent declining
balance; and sum of the years digits. These standard methods cannot be
customized. Each compute file record has an associated record in the Method
file.
REFERENCED BY
AM115 AM125 AM145 AM15.1 AM15.2 AM15.3
AM15.4 AM154 AM180 AM185 AM192 AM20.1
AM20.2 AM20.4 AM20.8 AM200 AM21.1 AM21.2
AM21.4 AM21.8 AM255 AM280 AM295 AM40.1
AM40.2 AM500 AM551 AM580 AM98.1
UPDATED BY
AM02.1 AM02.2 AM550
FIELD NAME DESCRIPTION/VALID VALUES UPDATED BY
ACP-METHOD Alpha 10 AM02.1 AM02.2
Method The method associated with the compute AM550
statement. Methods are used by asset
books to calculate depreciation,
replacement cost, and insurance values.
Standard depreciation methods are
predefined. Additional methods can be
user-defined for the following kinds of
methods: compute statements, annual
percent tables, and annual units of
production tables.
ACP-A-COMPUTE Alpha 280 AM02.1 AM02.2
Compute This field contains the compute AM550
statement as defined in AM02.1
(Methods). No edits have been performed.
Valid arithmetic operators are:
+ = Add.
- = Subtract and unary minus.
* = Multiply.
/ = Divide.
A space character must always precede an
arithmetic operator. However, the unary
minus can be used to negate a constant
(-1.4) or a named field (-LTDDEPREC).
An example of a compute statement is:
(BOOKBASIS + LTDDEPREC) *-1.4
where BOOKBASIS and LTDDEPREC are data
dictionary items. BOOKBASIS and
LTDDEPREC refer to Book Basis and Book
Life-to-Date. Dictionary items are
loaded by AM550 (Dictionary Load and
Listing). (To view data dictionary
items, press Select in the Compute
Statement field in AM02.1.)
In the preceding example, the + and *
characters are arithmetic operators, and
must be preceded by a space. The - is a
unary minus, and does not require a
leading space. Parentheses are used to
indicate computational order.
ACP-ELEMENT-CODE Alpha 37 Occurs 40 Times AM02.1 AM02.2
Element Code Each occurrence of this field contains AM550
an encoded format of a data dictionary
item that is included in the compute
statement. These fields are used when
the compute statement is evaluated for a
numeric result.
ACP-OPERATION-CODE Numeric 2 Occurs 40 Times AM02.1 AM02.2
Operation Code Each occurrence of this field contains AM550
an encoded format for an arithmetic
operator that is included in the compute
statement. These fields are used when
the compute statement is evaluated for a
numeric result.
AMCOMPUTE FILE INDEX
NAME KEY FIELDS DESCRIPTION / SUBSET CONDITION USED IN
ACPSET1 METHOD AM02.1 AM02.2
AM115 AM125
AM145 AM15.1
AM15.2 AM15.3
AM15.4 AM154
AM180 AM185
AM192 AM20.1
AM20.2 AM20.4
AM20.8 AM200
AM21.1 AM21.2
AM21.4 AM21.8
AM255 AM280
AM295 AM40.1
AM40.2 AM500
AM550 AM551
...
|