# bow_project.postproject: Bouw7 Package for project operations that could not be mapped to a table. bow_project.postproject: Bouw7 Package for project operations that could not be mapped to a table. Creates or updates the given project.Parameters of Procedure The following parameters can be used to control the behaviour of the procedure `bow_project.postproject`. 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 project. | | `parentId` | `int64` | ☐ | | The ID of the parent project if this project is a subproject. | | `type` | `int64` | ☑ | | The type of project. | | `projectNumber` | `string` | ☐ | | The project number. | | `fullProjectNumber` | `string` | ☐ | | The full project number including year. | | `id_2` | `int64` | ☐ | | The ID of the division. | | `description` | `string` | ☐ | | The description of the division. | | `exactDivisionId` | `string` | ☐ | | The division ID of an Exact Online environment. | | `glAccountCode` | `string` | ☐ | | A default general ledger account code to use for sales related items. | | `glAccountCodePurchase` | `string` | ☐ | | A default general ledger account code to use for purchase related items. | | `journalCode` | `string` | ☐ | | A default journal code to use for sales related items. | | `journalCodePurchase` | `string` | ☐ | | A default journal code to use for purchase related items. | | `salesInvoiceNumberPrefix` | `string` | ☐ | | The prefix (3 digits) used to generate invoice number range per division. | | `isBooked` | `boolean` | ☐ | | Whether or not the project has been booked to a bookkeeping system. | | `name` | `string` | ☐ | | The name of the project. | | `streetName` | `string` | ☐ | | The street name for the project. | | `houseNumber` | `string` | ☐ | | The house number for the project. | | `zipCode` | `string` | ☐ | | The zip code for the project. | | `city` | `string` | ☐ | | The city of the project. | | `countryCode` | `string` | ☐ | | An ISO 3166-2 representation of the country. | | `information` | `string` | ☐ | | Information about the project. | | `planning` | `string` | ☐ | | The planning for the project. | | `startDate` | `datetime` | ☐ | | Start date for the project in ATOM format. | | `endDate` | `datetime` | ☐ | | End date for the project in ATOM format. | | `deliveryDate` | `datetime` | ☐ | | Delivery date for the project. | | `extraWork` | `string` | ☐ | | Extra work for the project. | | `hoursEstimate` | `string` | ☐ | | Estimated hours for the project. | | `fixedPrice` | `string` | ☐ | | Fixed price for the project. | | `generalCostsAmount` | `string` | ☐ | | General costs amount for the project. | | `additionalWork` | `string` | ☐ | | Additional work amount for the project. | | `provisionalCosts` | `string` | ☐ | | Provisional cost for the project. | | `profitAndRisk` | `string` | ☐ | | Profit and risk amount for the project. | | `note` | `string` | ☐ | | Notes for the project. | | `hasMareonAssociation` | `boolean` | ☐ | | Whether or not the project has an association with Mareon. | | `maintenanceStatusCode` | `string` | ☐ | | The maintenance status code for the project. | | `isSecurityCoded` | `boolean` | ☐ | | Whether or not the project is security coded. | | `hasSecurityObjects` | `boolean` | ☐ | | Whether the project is security coded with security objects. | | `planItemCount` | `int64` | ☐ | | The count of plan items associated with this project. | | `loggedHours` | `string` | ☐ | | The amount of hours logged for the project. | | `id_3` | `int64` | ☐ | | The ID of the branch. | | `name_2` | `string` | ☐ | | The name of this branch | | `code` | `string` | ☐ | | The code for this branch | | `division_id` | `int64` | ☐ | | The ID of the division. | | `division_description` | `string` | ☐ | | The description of the division. | | `division_exactDivisionId` | `string` | ☐ | | The division ID of an Exact Online environment. | | `division_glAccountCode` | `string` | ☐ | | A default general ledger account code to use for sales related items. | | `division_glAccountCodePurchase` | `string` | ☐ | | A default general ledger account code to use for purchase related items. | | `division_journalCode` | `string` | ☐ | | A default journal code to use for sales related items. | | `division_journalCodePurchase` | `string` | ☐ | | A default journal code to use for purchase related items. | | `division_salesInvoiceNumberPrefix` | `string` | ☐ | | The prefix (3 digits) used to generate invoice number range per division. | | `id_4` | `int64` | ☐ | | ID of contact. | | `name_3` | `string` | ☐ | | Name of contact. | | `email` | `string` | ☐ | | The email address. | | `phoneNumber` | `string` | ☐ | | The phone number of the contact. | | `isVatShifted` | `boolean` | ☐ | | Whether VAT is shifted for the contact. | | `contactType_id` | `int64` | ☐ | | The ID of contact type. | | `contactType_name` | `string` | ☐ | | The name of contact type. | | `id_5` | `int64` | ☐ | | The ID of the category. | | `name_4` | `string` | ☐ | | The name of the category. | | `code_2` | `string` | ☐ | | The code for the category. | | `generalCostsPercentage` | `string` | ☐ | | The general costs percentage for the category. | | `grossProfitMargin` | `string` | ☐ | | The gross profit margin for the category. | | `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. | | `id_6` | `int64` | ☐ | | The ID of contact person. | | `firstName` | `string` | ☐ | | The contact person's first name. | | `lastName` | `string` | ☐ | | The contact person's last name. | | `email_2` | `string` | ☐ | | The contact person's email address. | | `phoneNumber_2` | `string` | ☐ | | The contact person's phone number. | | `streetName_2` | `string` | ☐ | | The contact person's street name. | | `houseNumber_2` | `string` | ☐ | | The contact person's house number. | | `zipCode_2` | `string` | ☐ | | The contact person's zip code. | | `city_2` | `string` | ☐ | | The contact person's city. | | `createdAt_2` | `datetime` | ☐ | | The creation time of the entity. | | `createdBy_2` | `string` | ☐ | | The user that created the entity. | | `updatedAt_2` | `datetime` | ☐ | | The last updated time of the entity. | | `updatedBy_2` | `string` | ☐ | | The user that last updated the entity. | | `id_7` | `int64` | ☐ | | The ID of the status. | | `name_5` | `string` | ☐ | | The name of the status. | | `closesProject` | `boolean` | ☐ | | Whether or not this status closes a project. | | `invoicesProject` | `boolean` | ☐ | | Whether or not this status invoices a project. | | `plansProject` | `boolean` | ☐ | | Whether or not this status plans a project. | | `createdAt_3` | `datetime` | ☐ | | The creation time of the entity. | | `createdBy_3` | `string` | ☐ | | The user that created the entity. | | `updatedAt_3` | `datetime` | ☐ | | The last updated time of the entity. | | `updatedBy_3` | `string` | ☐ | | The user that last updated the entity. | | `id_8` | `int64` | ☐ | | ID of the PropertyAsset. | | `number` | `string` | ☐ | | Number for the PropertyAsset. | | `name_6` | `string` | ☐ | | Name of the PropertyAsset. | | `projectNameAndNumber` | `string` | ☐ | | The name and number of the Project the PropertyAsset belongs to. | | `invoiceContact_id` | `int64` | ☐ | | ID of contact. | | `invoiceContact_name` | `string` | ☐ | | Name of contact. | | `invoiceContact_email` | `string` | ☐ | | The email address. | | `invoiceContact_phoneNumber` | `string` | ☐ | | The phone number of the contact. | | `invoiceContact_isVatShifted` | `boolean` | ☐ | | Whether VAT is shifted for the contact. | | `invoiceContact_contactType_id` | `int64` | ☐ | | The ID of contact type. | | `invoiceContact_contactType_name` | `string` | ☐ | | The name of contact type. | | `residentContact_id` | `int64` | ☐ | | ID of contact. | | `residentContact_name` | `string` | ☐ | | Name of contact. | | `residentContact_email` | `string` | ☐ | | The email address. | | `residentContact_phoneNumber` | `string` | ☐ | | The phone number of the contact. | | `residentContact_isVatShifted` | `boolean` | ☐ | | Whether VAT is shifted for the contact. | | `residentContact_contactType_id` | `int64` | ☐ | | The ID of contact type. | | `residentContact_contactType_name` | `string` | ☐ | | The name of contact type. | | `description_2` | `string` | ☐ | | Description for the PropertyAsset. | | `streetName_3` | `string` | ☐ | | Street name of the PropertyAsset. | | `houseNumber_3` | `string` | ☐ | | House number (incl. addition) of the PropertyAsset. | | `postcode` | `string` | ☐ | | Postcode of the PropertyAsset. | | `city_3` | `string` | ☐ | | City of the PropertyAsset. | | `country` | `string` | ☐ | | ISO 3166-1[alpha2] country code of the PropertyAsset. | | `firstDeliveryDate` | `datetime` | ☐ | | First delivery date of the PropertyAsset. | | `secondDeliveryDate` | `datetime` | ☐ | | Second delivery date of the PropertyAsset. | | `reference` | `string` | ☐ | | A reference for this project. | | `workAddress` | `string` | ☐ | | The work address for this project. | | `id_9` | `int64` | ☐ | | ID of the employee. | | `firstName_2` | `string` | ☐ | | First name of the employee. | | `lastName_2` | `string` | ☐ | | Last name of the employee. | | `id_10` | `int64` | ☐ | | ID of the employee. | | `firstName_3` | `string` | ☐ | | First name of the employee. | | `lastName_3` | `string` | ☐ | | Last name of the employee. | | `id_11` | `int64` | ☐ | | ID of the employee. | | `firstName_4` | `string` | ☐ | | First name of the employee. | | `lastName_4` | `string` | ☐ | | Last name of the employee. | | `hasSubprojects` | `boolean` | ☐ | | Whether the project has subprojects. | | `hasAfasAssociation` | `boolean` | ☐ | | Whether the project has an association with AFAS. | | `createdAt1` | `datetime` | ☐ | | The creation time of the entity. | | `createdBy1` | `string` | ☐ | | The user that created the entity. | | `updatedAt1` | `datetime` | ☐ | | The last updated time of the entity. | | `updatedBy1` | `string` | ☐ | | The user that last updated the entity. |