# OperationResourcesEx: Exact Online Operation Resources
## 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)- type
- Catalog: `ExactOnlineXML`
- Schema: `XML`
- Label: Operation Resources
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
- type
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `OperationResourcesEx`. 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_DownloadID` | `varchar2` | ☐ | | Data subscription token. |
| `Params_Status` | `varchar2` | ☐ | | Multi-select; 10: work center, 20: supplier. |
## Columns of Table Function
The columns of the table function `OperationResourcesEx` 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 |
|---|:---:|---|:---:|---|
| `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. |
| `ID_ATTR` | `varchar2` | ID | | |
| `INTERFACE_URL` | `varchar2`(4000) | Interface URL | ☑ | URL used to interface this row with Exact Online. |
| `ISACTIVE` | `boolean` | Active | | |
| `ISPRIMARY` | `boolean` | Primary | | |
| `OPERATION_CODE_ATTR` | `varchar2` | Operation Code | | |
| `OPERATION_ID_ATTR` | `varchar2` | Operation ID | | |
| `ROWNUM` | `int64` | Row Number | ☑ | Number of the row within the results, starting at 1. |
| `SUPPLIER_CODE_ATTR` | `varchar2` | Supplier Code | | |
| `SUPPLIER_ID_ATTR` | `varchar2` | Supplier ID | | |
| `SUPPLIER_MINIMUMCHARGE` | `number` | Supplier Minimum Charge | | |
| `SUPPLIER_PURCHASELEADDAYS` | `number` | Supplier Purchase Lead Days | | |
| `SUPPLIER_PURCHASEUNIT` | `varchar2` | Supplier Purchase Unit | | |
| `SUPPLIER_PURCHASEVATCODE` | `varchar2` | Supplier Purchase VAT Code | | |
| `TYPE` | `varchar2` | Type | | 10=Workcenter, 20=Supplier |
| `WORKCENTER_ATTENDEDPERCENTAGE` | `number` | Workcentre Attended Percentage | | |
| `WORKCENTER_CODE_ATTR` | `varchar2` | Workcentre Code | | |
| `WORKCENTER_EFFICIENCYPERCENTAGE` | `number` | Workcentre Efficiency Percentage | | |
| `WORKCENTER_ID_ATTR` | `varchar2` | Workcentre ID | | |
| `WORKCENTER_PLANNEDRUNHOURS` | `number` | Workcentre Planned Production Run Hours | | |
| `WORKCENTER_PLANNEDSETUPHOURS` | `number` | Workcentre Planned Setup Hours | | |
| `WORKCENTER_RUN` | `number` | Workcentre Production Run | | |
| `WORKCENTER_RUNMETHOD` | `varchar2` | Workcentre Production Run Method | | 10=Fixed hours, 20=Fixed minutes, 25=Fixed days, 30=Hours/Item, 40=Minutes/Item, 50=Seconds/Item, 60=Items/Hour, 70=Items/Minute |
| `WORKCENTER_SETUP` | `number` | Workcentre Setup | | |
| `WORKCENTER_SETUPCOUNT` | `number` | Workcentre Setup Count | | |
| `WORKCENTER_SETUPUNIT` | `varchar2` | Workcentre Setup Unit | | hh=Hour, mi=Minute, ss=Second |