# bow_contract.postsubcontractorcontractterm: Bouw7 Package for contract operations that could not be mapped to a table. bow_contract.postsubcontractorcontractterm: Bouw7 Package for contract operations that could not be mapped to a table. Create or update a subcontractor contract term with the corresponding schema.Parameters of Procedure The following parameters can be used to control the behaviour of the procedure `bow_contract.postsubcontractorcontractterm`. 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 `begin package.procedure(value1, value2, value3); end` on a procedure 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 `begin package.procedure(name1 => value1, name3 => value3); end` on the same procedure 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` | `int64` | ☐ | | The ID of the contract term. | | `contractId` | `int64` | ☑ | | The contract id of the contract term. | | `contractType` | `int64` | ☑ | | The contract type of the contract term. | | `number` | `string` | ☑ | | The number of the contract term. | | `description` | `string` | ☑ | | The description of the contract term. | | `sortIndex` | `int64` | ☑ | | The sort index of the contract term. | | `unit` | `string` | ☐ | | The contract term unit. | | `amount` | `string` | ☑ | | The amount of the contract term. | | `amountReceived` | `string` | ☐ | | The received amount of the contract term. | | `partiallyAmountReceived` | `string` | ☐ | | The partially received amount of the contract term. | | `unitPrice` | `string` | ☑ | | The cost of the contract term. | | `costReceived` | `string` | ☐ | | The received cost of the contract term. | | `partiallyCostReceived` | `string` | ☐ | | The partially received cost of the contract term. | | `subTotal` | `string` | ☑ | | The subtotal of the contract term. | | `paid` | `boolean` | ☐ | | Whether or not the contract term has been paid. | | `approved` | `boolean` | ☐ | | Whether or not the contract term has been approved. | | `amountOnly` | `boolean` | ☐ | | Whether or not to show the amount only for the contract term. | | `id_2` | `int64` | ☐ | | The unique identifier of the project security link. | | `name` | `string` | ☐ | | The name of the project security link. | | `code` | `string` | ☐ | | The code of the security code. | | `createDeliveryTicket` | `boolean` | ☐ | | Whether or not to create a delivery ticket. | | `amountToReceive` | `string` | ☐ | | The amount to receive of the contract term. | | `costToReceive` | `string` | ☐ | | The cost to receive of the contract term. | | `createdAt` | `datetime` | ☐ | | The creation time of the entity. | | `createdBy` | `string` | ☐ | | The user that created the entity. | | `updatedAt` | `datetime` | ☐ | | The last updated time of the entity. | | `updatedBy` | `string` | ☐ | | The user that last updated the entity. |