# EmployeeChildrenByEmployeeId: Fortnox Employee Children by Employee ID Retrieve a specific employee ScheduleId, MonthlySalary and HourlyPay reflect current values, all ScheduleIds are returned in DatedSchedules and all MonthlySalary and HourlyPay pairs are returned in DatedWages. ## Documentation ScheduleId, MonthlySalary and HourlyPay reflect current values, all ScheduleIds are returned in DatedSchedules and all MonthlySalary and HourlyPay pairs are returned in DatedWages. - Catalog: `Fortnox` - Schema: `Employees` - Label: Employee Children by Employee ID This is a read-only table function. The Fortnox API may not support changing the data or the Invantive UniversalSQL driver for Fortnox does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Fortnox API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `EmployeeChildrenByEmployeeId`. 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 | |---|:---:|:---:|:---:|---| | `EmployeeId` | `` | ☑ | | identifies the employee | | `financialyear` | `` | ☐ | | Selects what financial year that should be used (does not work on every table). | | `financialyeardate` | `` | ☐ | | Selects by date, what financial year that should be used (does not work on every table). | | `fromdate` | `` | ☐ | | Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). | | `lastmodified` | `` | ☐ | | Retrieves all records since the provided timestamp (does not work on every table). | | `todate` | `` | ☐ | | Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). | ## Columns of Table Function The columns of the table function `EmployeeChildrenByEmployeeId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `ATFValue` | `double` | | ☐ | | | `ATKValue` | `double` | | ☐ | | | `AbsenceHoursNonVacationBased` | `double` | | ☐ | | | `AbsenceHoursVacationBased` | `double` | | ☐ | | | `AbsenceWorkdaysNonVacationBased` | `double` | | ☐ | | | `AbsenceWorkdaysVacationBased` | `double` | | ☐ | | | `Address1` | `varchar2` | Address Line 1 | ☐ | | | `Address2` | `varchar2` | Address Line 2 | ☐ | | | `ApprovedDays` | `int32` | Approved Days | ☐ | | | `AutoNonRecurringTax` | `char` | Auto Non Recurring Tax | ☐ | | | `AverageHourlyWage` | `varchar2` | Average Hourly Wage | ☐ | | | `AverageWeeklyHours` | `varchar2` | Average Weekly Hours | ☐ | | | `BankAccountNo` | `varchar2` | Bank Account No | ☐ | | | `Child` | `varchar2` | Child | ☐ | | | `City` | `varchar2` | City | ☐ | | | `ClearingNo` | `varchar2` | Clearing No | ☐ | | | `CostCenter` | `varchar2` | Cost Centre | ☐ | | | `Country` | `varchar2` | Country | ☐ | | | `CurrentCompBalance` | `double` | | ☐ | | | `CurrentFlexBalance` | `double` | | ☐ | | | `Email` | `varchar2` | Email | ☐ | | | `EmployedTo` | `datetime` | Employed To | ☐ | | | `EmployeeId_2` | `varchar2(15)` | Employeeid 2 | ☐ | | | `EmployeeId` | `varchar2(15)` | Employee ID | ☐ | | | `EmploymentDate` | `datetime` | Employment Date | ☐ | | | `EmploymentForm` | `varchar2` | Employment Form | ☐ | | | `FirstName` | `varchar2` | First Name | ☐ | | | `ForaType` | `varchar2` | For Type | ☐ | | | `FullName` | `varchar2` | Full Name | ☐ | | | `FullTimeEquivalent` | `double` | | ☐ | | | `HourlyPay` | `varchar2` | Hourly Pay | ☐ | | | `Id` | `varchar2` | ID | ☐ | | | `Inactive` | `char` | Inactive | ☐ | | | `IngoingWithdrawnDays` | `int32` | In Going Withdrawn Days | ☐ | | | `InitialComp` | `double` | | ☐ | | | `InitialFlex` | `double` | | ☐ | | | `JobTitle` | `varchar2(30)` | Job Title | ☐ | | | `LastName` | `varchar2` | Last Name | ☐ | | | `MonthlySalary` | `varchar2` | Monthly Salary | ☐ | | | `NonRecurringTax` | `varchar2` | Non Recurring Tax | ☐ | | | `NonVacationBasedCalendarDaysPartial` | `double` | | ☐ | | | `NonVacationBasedCalendarDaysWhole` | `double` | | ☐ | | | `PayslipType` | `varchar2` | | ☐ | | | `PersonalIdentityNumber` | `varchar2` | Personal Identity Number | ☐ | | | `PersonelType` | `varchar2` | Personnel Type | ☐ | | | `Phone1` | `varchar2` | Phone 1 | ☐ | | | `Phone2` | `varchar2` | Phone 2 | ☐ | | | `PostCode` | `varchar2` | Postal Code | ☐ | | | `PreliminaryTaxDeducted` | `double` | | ☐ | | | `Project` | `varchar2` | Project | ☐ | | | `SalaryForm` | `varchar2` | Salary Form | ☐ | | | `ScheduleId` | `varchar2` | Schedule ID | ☐ | | | `TaxAllowance` | `varchar2` | Tax Allowance | ☐ | | | `TaxColumn` | `int32` | Tax Column | ☐ | | | `TaxTable` | `varchar2` | Tax Table | ☐ | | | `VacationBasedAttendanceDays` | `double` | | ☐ | | | `VacationBasedAttendanceHours` | `double` | | ☐ | | | `VacationBasedCalendarDaysWhole` | `double` | | ☐ | | | `VacationBasedSalaryTotal` | `double` | | ☐ | | | `VacationBasedSalaryVariableAddition` | `double` | | ☐ | | | `VacationBasedSalaryWorkedTime` | `double` | | ☐ | | | `VacationCalculationAdvanceVacationDebt` | `double` | | ☐ | | | `VacationCalculationIncludeInCalculation` | `char` | | ☐ | | | `VacationCalculationSameWagePercent` | `char` | | ☐ | | | `VacationCalculationSoleCustody` | `char` | | ☐ | | | `VacationCalculationSumOnlyNoDays` | `char` | | ☐ | | | `VacationCalculationTotalVacationSalarySum` | `double` | | ☐ | | | `VacationCalculationVacationEntitlement` | `double` | | ☐ | | | `VacationCalculationVariableAdditionSum` | `double` | | ☐ | | | `VacationDaysPaid` | `double` | Vacation Days Paid | ☐ | | | `VacationDaysPendingPaid` | `double` | Vacation Days Pending Paid | ☐ | | | `VacationDaysPendingPrepaid` | `double` | Vacation Days Pending Prepaid | ☐ | | | `VacationDaysPendingSavedYear1` | `double` | Vacation Days Pending Saved Year 1 | ☐ | | | `VacationDaysPendingSavedYear2` | `double` | Vacation Days Pending Saved Year 2 | ☐ | | | `VacationDaysPendingSavedYear3` | `double` | Vacation Days Pending Saved Year 3 | ☐ | | | `VacationDaysPendingSavedYear4` | `double` | Vacation Days Pending Saved Year 4 | ☐ | | | `VacationDaysPendingSavedYear5` | `double` | Vacation Days Pending Saved Year 5 | ☐ | | | `VacationDaysPendingSavedYear6Plus` | `double` | Vacation Days Pending Saved Year 6 Plus | ☐ | | | `VacationDaysPendingSaved` | `double` | Vacation Days Pending Saved | ☐ | | | `VacationDaysPendingUnpaid` | `double` | Vacation Days Pending Unpaid | ☐ | | | `VacationDaysPrepaid` | `double` | Vacation Days Prepaid | ☐ | | | `VacationDaysRegisteredPaid` | `double` | Vacation Days Registered Paid | ☐ | | | `VacationDaysRegisteredPrepaid` | `double` | Vacation Days Registered Prepaid | ☐ | | | `VacationDaysRegisteredSavedYear1` | `double` | Vacation Days Registered Saved Year 1 | ☐ | | | `VacationDaysRegisteredSavedYear2` | `double` | Vacation Days Registered Saved Year 2 | ☐ | | | `VacationDaysRegisteredSavedYear3` | `double` | Vacation Days Registered Saved Year 3 | ☐ | | | `VacationDaysRegisteredSavedYear4` | `double` | Vacation Days Registered Saved Year 4 | ☐ | | | `VacationDaysRegisteredSavedYear5` | `double` | Vacation Days Registered Saved Year 5 | ☐ | | | `VacationDaysRegisteredSavedYear6Plus` | `double` | Vacation Days Registered Saved Year 6 Plus | ☐ | | | `VacationDaysRegisteredSaved` | `double` | Vacation Days Registered Saved | ☐ | | | `VacationDaysRegisteredUnpaid` | `double` | Vacation Days Registered Unpaid | ☐ | | | `VacationDaysSavedEmploymentRateYear1` | `double` | Vacation Days Saved Employment Rate Year 1 | ☐ | | | `VacationDaysSavedEmploymentRateYear2` | `double` | Vacation Days Saved Employment Rate Year 2 | ☐ | | | `VacationDaysSavedEmploymentRateYear3` | `double` | Vacation Days Saved Employment Rate Year 3 | ☐ | | | `VacationDaysSavedEmploymentRateYear4` | `double` | Vacation Days Saved Employment Rate Year 4 | ☐ | | | `VacationDaysSavedEmploymentRateYear5` | `double` | Vacation Days Saved Employment Rate Year 5 | ☐ | | | `VacationDaysSavedEmploymentRateYear6Plus` | `double` | Vacation Days Saved Employment Rate Year 6 Plus | ☐ | | | `VacationDaysSavedYear1` | `double` | Vacation Days Saved Year 1 | ☐ | | | `VacationDaysSavedYear2` | `double` | Vacation Days Saved Year 2 | ☐ | | | `VacationDaysSavedYear3` | `double` | Vacation Days Saved Year 3 | ☐ | | | `VacationDaysSavedYear4` | `double` | Vacation Days Saved Year 4 | ☐ | | | `VacationDaysSavedYear5` | `double` | Vacation Days Saved Year 5 | ☐ | | | `VacationDaysSavedYear6Plus` | `double` | Vacation Days Saved Year 6 Plus | ☐ | | | `VacationDaysSaved` | `double` | Vacation Days Saved | ☐ | | | `VacationDaysUnpaid` | `double` | Vacation Days Unpaid | ☐ | | | `WithdrawnDays` | `double` | Withdrawn Days | ☐ | | | `WorkingTimeEnumeration` | `varchar2` | | ☐ | |