# bow_organization.postemployee: Bouw7 Package for organization operations that could not be mapped to a table. bow_organization.postemployee: Bouw7 Package for organization operations that could not be mapped to a table. Create or update an employee with the schema.Parameters of Procedure The following parameters can be used to control the behaviour of the procedure `bow_organization.postemployee`. 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 employee. | | `firstName` | `string` | ☑ | | The first name of the employee. | | `lastName` | `string` | ☑ | | The last name of the employee. | | `id_2` | `int64` | ☐ | | ID of the department. | | `name` | `string` | ☐ | | Name of the department. | | `employeeMail` | `string` | ☐ | | The email of the employee. | | `address` | `string` | ☐ | | The address of the employee. | | `zipCode` | `string` | ☐ | | ZIP code of the address. | | `city` | `string` | ☐ | | The city of the employee. | | `phoneNumber` | `string` | ☐ | | The phone number of the employee. | | `birthDate` | `datetime` | ☐ | | The birth date of the employee. | | `workload` | `string` | ☐ | | The workload of the employee, this value is ignored when the workhour fields contain a value. | | `hourlyRate` | `string` | ☐ | | The hourly rate | | `sellingHourlyRate` | `string` | ☐ | | The selling hourly rate | | `bsn` | `string` | ☐ | | The BSN of the employee. | | `function` | `string` | ☐ | | The function of the employee. | | `dateOfEmployment` | `string` | ☐ | | The date of employment of the employee in Y-m-d format. | | `dateOfResignation` | `string` | ☐ | | The date of resignation of the employee in Y-m-d format. | | `external` | `boolean` | ☑ | | Whether the employee is external. | | `afasWarehouse` | `string` | ☐ | | The warehouse material bookings of an employee will be booked on. Only applicable for AFAS. | | `workhoursMonday` | `string` | ☐ | | The standard amount of workhours on a monday. | | `workhoursTuesday` | `string` | ☐ | | The standard amount of workhours on a tuesday. | | `workhoursWednesday` | `string` | ☐ | | The standard amount of workhours on a wednesday. | | `workhoursThursday` | `string` | ☐ | | The standard amount of workhours on a thursday. | | `workhoursFriday` | `string` | ☐ | | The standard amount of workhours on a friday. | | `workhoursSaturday` | `string` | ☐ | | The standard amount of workhours on a saturday. | | `workhoursSunday` | `string` | ☐ | | The standard amount of workhours on a sunday. | | `avatarFileHash` | `string` | ☐ | | The hash of the avatar/profile picture of this employee. | | `signatureFileHash` | `string` | ☐ | | The hash of the signature file of this employee. | | `id_3` | `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. | | `scabEmployeeId` | `string` | ☐ | | The internal ID of the Scab employee associated with this employee. | | `username` | `string` | ☐ | | The username of the user associated with this employee. | | `userType` | `int64` | ☐ | | The type of user associated with this employee. 0 = None, 1 = Admin, 2 = Basic, 3 = Platform. (Values: 0, 1, 2, 3) | | `userInvitationSentAt` | `string` | ☐ | | The invitation date of the user in ATOM/ISO-8601 format, for as long as the user has not accepted the invitation to this organization, NULL otherwise. | | `userActivatedAt` | `string` | ☐ | | The activation date of the user in ATOM/ISO-8601 format. | | `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. |