# DepreciationMethodsEx: Exact Online Depreciation Methods ## Documentation: Additional where-clause columns supported:chr(13) || chr(10) || chr(13) || chr(10)- divisionchr(13) || chr(10) || chr(13) || chr(10)- downloadidchr(13) || chr(10) || chr(13) || chr(10)- code - Catalog: `ExactOnlineXML` - Schema: `XML` - Primary Keys: `code_attr` - Label: Depreciation Methods The data in this table is partitioned per value of the `Division` column. - Retrieve: True - Insert: True - Update: True - Delete: False - Filters on API Server: division - downloadid - code ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `DepreciationMethodsEx`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `division` | `int32` | ☐ | | Company code. | | `Params_Code` | `varchar2` | ☐ | | Code. | | `Params_DownloadID` | `varchar2` | ☐ | | Data subscription token. | ## Columns of Table Function The columns of the table function `DepreciationMethodsEx` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `AMOUNT` | `number` | Amount | | Amount for methods: 21 - Fixed Amount On import: Can not be modified if depreciation method is already linked to an asset. | | `CODE_ATTR` | `varchar2` | Code | ☑ | | | `COUNTRY_CODE_ATTR` | `varchar2` | Country Code | | | | `COUNTRY_DESCRIPTION_TERMID_ATTR` | `number` | Country Description Term ID | | | | `COUNTRY_DESCRIPTION` | `varchar2`(255) | Country Description | | | | `DEPRECIATIONINTERVAL` | `varchar2` | Depreciation Interval | | | | `DESCRIPTION_TERMID_ATTR` | `number` | Description Term ID | | | | `DESCRIPTION` | `varchar2`(255) | Description | | | | `DIVISION_CODE` | `varchar2` | Administration ID | ☑ | Internal unique number of the Exact Online administration. | | `DIVISION_HID` | `int64` | Administration | ☑ | Number of the Exact Online administration. Not guaranteed to be unique. | | `DIVISION_NAME` | `varchar2`(240) | Administration Name | ☑ | Name of the Exact Online administration. Not guaranteed to be unique. | | `INTERFACE_URL` | `varchar2`(4000) | Interface URL | ☑ | URL used to interface this row with Exact Online. | | `MAXPERCENTAGE` | `number` | Maximum Percentage | | The percentage as a number from -1 to 1, for example 0.19 = 19% | | `PERCENTAGE` | `number` | Percentage | | | | `PERCENTAGE2` | `number` | Percentage 2 | | The percentage as a number from -1 to 1, for example 0.19 = 19% | | `PERIODS` | `number` | Periods | | Number of periods for methods: 1 - Linear depreciation, 2 - Linear (until residual value), 30 - Sum of the year digits (fixed decr. amt), 40 - Normal annuity method, On import: Can not be modified if depreciation method is already linked to an asset. | | `ROWNUM` | `int64` | Row Number | ☑ | Number of the row within the results, starting at 1. | | `TYPE` | `varchar2` | Type | | Values: 1 - Linear depreciation, 2 - Linear (until residual value), 4 - No depreciation, 10 - Degressive to linear, 11 - Degressive (fixed perc. of book value), 21 - Fixed Amount, 30 - Sum of the year digits (fixed decr. amt), 40 - Normal annuity method, 3 - Linear depreciation (Belgium only), 12 - Degressive to linear (Belgium only). On import: Can not be modified if depreciation method is already linked to an asset. | | `YEARS` | `number` | Years | | Number of years for methods: 1 - Linear depreciation, 2 - Linear (until residual value), 30 - Sum of the year digits (fixed decr. amt), 40 - Normal annuity method, 3 - Linear depreciation (Belgium only). On import: Can not be modified if depreciation method is already linked to an asset. |