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
AM02.1 | AM02.2 | AM550 |
FIELD NAME | DESCRIPTION/VALID VALUES | UPDATED BY | ||||
---|---|---|---|---|---|---|
ACP-METHOD Element: Method | Alpha 10 The method associated with the compute 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 Element: Compute | Alpha 280 This field contains the compute 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 Element: Element Code | Alpha 37 Occurs 40 Times Each occurrence of this field contains 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 Element: Operation Code | Numeric 2 Occurs 40 Times Each occurrence of this field contains 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. |
|
NAME | KEY FIELDS | DESCRIPTION / SUBSET CONDITION | USED IN | ||||||
---|---|---|---|---|---|---|---|---|---|
ACPSET1 |
METHOD |
|
All trademarks and registered trademarks are the property of their
respective owners.