# PurchaseInvoicePurchaseInvoiceLinesByPurchaseInvoiceId: Gripp CRM Purchase Invoice Purchase Invoice Lines by Purchase Invoice ID - Catalog: `GrippCrm` - Schema: `GrippCrm` - Label: Purchase Invoice Purchase Invoice Lines by Purchase Invoice ID This is a read-only table function. The Gripp CRM API may not support changing the data or the Invantive UniversalSQL driver for Gripp CRM does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Gripp CRM API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `PurchaseInvoicePurchaseInvoiceLinesByPurchaseInvoiceId`. 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 | |---|:---:|:---:|:---:|---| | `purchaseinvoice.id` | `` | ☑ | | | ## Columns of Table Function The columns of the table function `PurchaseInvoicePurchaseInvoiceLinesByPurchaseInvoiceId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `_ordering` | `int32` | Ordering | ☐ | | | `additionalsubject` | `varchar2` | Additional Subject | ☐ | | | `amount` | `double` | Amount | ☑ | | | `costheading_discr` | `varchar2` | | ☐ | | | `costheading_id` | `int32` | Cost Heading ID | ☐ | | | `costheading_searchname` | `varchar2` | Cost Heading Search Name | ☐ | | | `createdon_date` | `datetime` | Created on Date | ☐ | | | `createdon_timezone_type` | `int32` | Created on Time Zone Type | ☐ | | | `createdon_timezone` | `varchar2` | Created on Time Zone | ☐ | | | `description` | `varchar2` | Description | ☐ | | | `discount` | `double` | Discount | ☑ | | | `extendedproperties` | `varchar2` | Extended Properties | ☐ | | | `id` | `int32` | ID | ☐ | | | `ledger_discr` | `varchar2` | | ☐ | | | `ledger_id` | `int32` | Ledger ID | ☐ | | | `ledger_searchname` | `varchar2` | Ledger Search Name | ☐ | | | `parent_id` | `int32` | | ☐ | | | `part_discr` | `varchar2` | | ☐ | | | `part_id` | `int32` | Part ID | ☐ | | | `part_searchname` | `varchar2` | Part Search Name | ☐ | | | `project_discr` | `varchar2` | | ☐ | | | `project_id` | `int32` | Project ID | ☐ | | | `project_searchname` | `varchar2` | Project Search Name | ☐ | | | `purchaseinvoice_discr` | `varchar2` | | ☐ | | | `purchaseinvoice_id` | `int32` | Purchase Invoice ID | ☑ | | | `purchaseinvoice_searchname` | `varchar2` | Purchase Invoice Search Name | ☑ | | | `purchaseorderline_discr` | `varchar2` | | ☐ | | | `purchaseorderline_id` | `int32` | Purchase Order Line ID | ☐ | | | `purchaseorderline_searchname` | `varchar2` | Purchase Order Line Search Name | ☐ | | | `searchname` | `varchar2` | Search Name | ☐ | | | `sellingprice` | `double` | Selling Price | ☑ | | | `updatedon_date` | `datetime` | Updated on Date | ☐ | | | `updatedon_timezone_type` | `int32` | Updated on Time Zone Type | ☐ | | | `updatedon_timezone` | `varchar2` | Updated on Time Zone | ☐ | | | `vat_discr` | `varchar2` | | ☐ | | | `vat_id` | `int32` | VAT ID | ☐ | | | `vat_searchname` | `varchar2` | VAT Search Name | ☐ | |