Skip to main content

AddEmployeeContractInput

Input for the addition of a new employee contract

input AddEmployeeContractInput {
employeeId: EmployeeID!
endDate: Date
jobPositionId: OdooID
payrollStructureId: OdooID
startDate: Date!
typeId: OdooID!
workScheduleId: OdooID!
}

Fields

AddEmployeeContractInput.employeeId ● EmployeeID! non-null scalar

ID of the employee

AddEmployeeContractInput.endDate ● Date scalar

End date of the contract. Optional, the contract can also be indefinite

AddEmployeeContractInput.jobPositionId ● OdooID scalar

Job position of the created contract

AddEmployeeContractInput.payrollStructureId ● OdooID scalar

How is the employee's payroll structured

AddEmployeeContractInput.startDate ● Date! non-null scalar

Start date of the contract

AddEmployeeContractInput.typeId ● OdooID! non-null scalar

Type of the contract (comes from Odoo)

AddEmployeeContractInput.workScheduleId ● OdooID! non-null scalar

Structure of the employee's weekly working schedule

Member Of

addEmployeeContract mutation