# MaterialPerUnitById: Bouw7 Material per Unit by ID Returns a single material per unit based on the given ID. Returns a single material per unit based on the given ID. - Catalog: `Bouw7` - Schema: `Resource` - Label: Material per Unit by ID This is a read-only table function. The Bouw7 API may not support changing the data or the Invantive UniversalSQL driver for Bouw7 does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Bouw7 API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `MaterialPerUnitById`. 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 | |---|:---:|:---:|:---:|---| | `id` | `` | ☑ | | | ## Columns of Table Function The columns of the table function `MaterialPerUnitById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `articleNumber` | `varchar2`(255) | Article Number | ☐ | The article number of this material per unit. | | `conversionFactor` | `varchar2`(255) | Conversion Factor | ☐ | The conversion factor of this material per unit. | | `createdAt` | `datetime` | Created at | ☐ | The creation time of the entity. | | `createdBy` | `varchar2` | Created by | ☐ | The user that created the entity. | | `deliveryTimeInDays` | `int64` | Delivery Time in Days | ☐ | The delivery time in days of this material per unit. | | `eanCode` | `varchar2`(13) | EAN Code | ☐ | The ean code of this material per unit. | | `formFactor_bottomRadius` | `varchar2` | Form Factor Bottom Radius | ☐ | The bottom radius of the form factor. | | `formFactor_createdAt` | `datetime` | Form Factor Created at | ☐ | The creation time of the entity. | | `formFactor_createdBy` | `varchar2` | Form Factor Created by | ☐ | The user that created the entity. | | `formFactor_depth` | `varchar2` | Form Factor Depth | ☐ | The depth of the form factor. | | `formFactor_height` | `varchar2` | Form Factor Height | ☐ | The height of the form factor. | | `formFactor_id` | `int64` | Form Factor ID | ☐ | ID of the form factor. | | `formFactor_innerRadius` | `varchar2` | Form Factor Inner Radius | ☐ | The inner radius of the form factor. | | `formFactor_outerRadius` | `varchar2` | Form Factor Outer Radius | ☐ | The outer radius of the form factor. | | `formFactor_radius` | `varchar2` | Form Factor Radius | ☐ | The radius of the form factor. | | `formFactor_topRadius` | `varchar2` | Form Factor Top Radius | ☐ | The top radius of the form factor. | | `formFactor_type` | `int64` | Form Factor Type | ☐ | The form factor type/shape of this form factor. | | `formFactor_unit` | `int64` | Form Factor Unit | ☐ | The unit of the form factor. | | `formFactor_updatedAt` | `datetime` | Form Factor Updated at | ☐ | The last updated time of the entity. | | `formFactor_updatedBy` | `varchar2` | Form Factor Updated by | ☐ | The user that last updated the entity. | | `formFactor_weight` | `varchar2` | Form Factor Weight | ☐ | The weight of the form factor. | | `formFactor_width` | `varchar2` | Form Factor Width | ☐ | The width of the form factor. | | `glAccountCode` | `varchar2`(255) | General Ledger Account Code | ☐ | The general ledger account code of this material per unit. | | `id` | `int64` | ID | ☐ | ID of this material per unit. | | `isActive` | `char` | Is Active | ☐ | Whether or not this material per unit is active. | | `isLinkedToBookings` | `char` | | ☐ | Whether this material per unit is linked to bookings. | | `material_id` | `int64` | Material ID | ☐ | ID of the material. | | `material_information` | `varchar2` | Material Information | ☐ | Extra information describing this material. | | `material_name` | `varchar2` | Material Name | ☐ | Name of the material. | | `materialGroup_createdAt` | `datetime` | Material Group Created at | ☐ | The creation time of the entity. | | `materialGroup_createdBy` | `varchar2` | Material Group Created by | ☐ | The user that created the entity. | | `materialGroup_id` | `int64` | Material Group ID | ☐ | ID of the material group. | | `materialGroup_name` | `varchar2`(255) | Material Group Name | ☐ | Name of the material group. | | `materialGroup_updatedAt` | `datetime` | Material Group Updated at | ☐ | The last updated time of the entity. | | `materialGroup_updatedBy` | `varchar2` | Material Group Updated by | ☐ | The user that last updated the entity. | | `materialUnit_id` | `int64` | Material Unit ID | ☐ | ID of the material unit. | | `materialUnit_name` | `varchar2` | Material Unit Name | ☐ | The name of the material unit. | | `price` | `varchar2` | Price | ☐ | The price of this material per unit. | | `sellingPrice` | `varchar2` | Selling Price | ☐ | The selling price of this material per unit. | | `supplier_contactType_id` | `int64` | Supplier Contact Type ID | ☐ | The ID of contact type. | | `supplier_contactType_name` | `varchar2` | Supplier Contact Type Name | ☐ | The name of contact type. | | `supplier_email` | `varchar2` | Supplier Email | ☐ | The email address. | | `supplier_id` | `int64` | Supplier ID | ☐ | ID of contact. | | `supplier_isVatShifted` | `char` | | ☐ | Whether VAT is shifted for the contact. | | `supplier_name` | `varchar2` | Supplier Name | ☐ | Name of contact. | | `supplier_phoneNumber` | `varchar2` | | ☐ | The phone number of the contact. | | `updatedAt` | `datetime` | Updated At | ☐ | The last updated time of the entity. | | `updatedBy` | `varchar2` | Updated by | ☐ | The user that last updated the entity. | | `vatTariff_effectiveFrom` | `varchar2` | VAT Tariff Effective From | ☐ | The date since this VAT tariff is effective. | | `vatTariff_id` | `int64` | VAT Tariff ID | ☐ | ID of the vat tariff. | | `vatTariff_isDefault` | `char` | VAT Tariff Is Default | ☐ | Whether this VAT is default for the country its associated with. | | `vatTariff_isShifted` | `char` | VAT Tariff is Shifted | ☐ | Whether the VAT is shifted. | | `vatTariff_label` | `varchar2`(255) | VAT Tariff Label | ☐ | Display label of the VAT tariff. | | `vatTariff_legalText` | `varchar2`(2096) | | ☐ | The legal text for the VAT tariff. Only for customers from the belgian hosting. | | `vatTariff_percentage` | `varchar2` | VAT Tariff Percentage | ☐ | The VAT percentage. | | `vatTariff_shiftedPercentage` | `varchar2` | VAT Tariff Shifted Percentage | ☐ | The shifted VAT percentage. | | `visibilityFlag` | `int64` | Visibility Flag | ☐ | The visibility flag of this material per unit. |