Table 5200 "Employee"
Base Application · Microsoft.HumanResources.Employee
- 78fields
- 25procedures
- 11events
- 23Learn pages
- 8countries replace it
- 39fields reference it
- 9event subscribers
- 5objects it calls
Across versions
- BC23present
- BC243 fields added, 1 fields changed
- BC25unchanged
- BC262 fields removed
- BC2712 fields added, 4 procedures added
- BC2861 fields changed
- BC293 fields changed
- BC30unchanged
Neighbourhood 103 connected objects and pages
Base Application · Microsoft.HumanResources.Employee · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 30017 “APIV2 - Employees” (9 Learn pages), Page 20017 “APIV1 - Employees” (8), Page 5200 “Employee Card” (6), Page 5201 “Employee List” (3), Page 5228 “Misc. Articles Overview” (2).
Properties
| Property | Value |
|---|---|
| Caption | Employee |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | No. Δ BC28 | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | |
| 2 | First Name Δ BC28 | Text[30] | Specifies the employee’s first name. | |
| 3 | Middle Name Δ BC28 | Text[30] | Specifies the employee’s middle name. | |
| 4 | Last Name Δ BC28 | Text[30] | Specifies the employee’s last name. | |
| 5 | Initials Δ BC28 | Text[30] | Specifies the employee’s initials. | |
| 6 | Job Title Δ BC28 | Text[30] | Specifies the employee’s job title. | |
| 7 | Search Name Δ BC28 | Code[250] | Specifies an alternate name that you can use to search for the record in question when you cannot remember the value in the Name field. | |
| 8 | Address Δ BC28 | Text[100] | Specifies the employee’s address. | |
| 9 | Address 2 Δ BC28 | Text[50] | Specifies additional address information. | |
| 10 | City Δ BC28 | Text[30] | Specifies the city of the address. | TableRelation Table 225 “Post Code” (if (“Country/Region Code” = const(‘’)) “Post Code”.City else if (“Country/Region Code” = filter(<> ‘’)) “Post Code”.City where(“Country/Region Code” = field(“Country/Region Code”))) |
| 11 | Post Code Δ BC28 | Code[20] | Specifies the postal code. | TableRelation Table 225 “Post Code” (if (“Country/Region Code” = const(‘’)) “Post Code” else if (“Country/Region Code” = filter(<> ‘’)) “Post Code” where(“Country/Region Code” = field(“Country/Region Code”))) |
| 12 | County Δ BC28 | Text[30] | Specifies the county of the employee. | |
| 13 | Phone No. Δ BC28 | Text[30] | Specifies the employee’s telephone number. | |
| 14 | Mobile Phone No. Δ BC28 | Text[30] | Specifies the employee’s private telephone number. | |
| 15 | E-Mail Δ BC28 | Text[80] | Specifies the employee’s private email address. | |
| 16 | Alt. Address Code Δ BC28 | Code[10] | Specifies a code for an alternate address. | TableRelation Table 5201 “Alternative Address” (“Alternative Address”.Code where(“Employee No.” = field(“No.”))) |
| 17 | Alt. Address Start Date Δ BC28 | Date | Specifies the starting date when the alternate address is valid. | |
| 18 | Alt. Address End Date Δ BC28 | Date | Specifies the last day when the alternate address is valid. | |
| 20 | Birth Date Δ BC28 | Date | Specifies the employee’s date of birth. | |
| 21 | Social Security No. Δ BC28 | Text[30] | Specifies the social security number of the employee. | |
| 22 | Union Code Δ BC28 | Code[10] | Specifies the employee’s labor union membership code. | TableRelation Table 5209 “Union” |
| 23 | Union Membership No. Δ BC28 | Text[30] | Specifies the employee’s labor union membership number. | |
| 24 | Gender Δ BC28 | Enum “Employee Gender” | Specifies the gender with which the employee identifies. | enum Enum 5224 “Employee Gender” |
| 25 | Country/Region Code Δ BC28 | Code[10] | Specifies the country/region of the address. | TableRelation Table 9 “Country/Region” (Country/Region) |
| 26 | Manager No. | Code[20] | — | TableRelation Table 5200 “Employee” |
| 27 | Emplymt. Contract Code Δ BC28 | Code[10] | Specifies the employment contract code for the employee. | TableRelation Table 5211 “Employment Contract” (Employment Contract) |
| 28 | Statistics Group Code Δ BC28 | Code[10] | Specifies a statistics group code to assign to the employee for statistical purposes. | TableRelation Table 5212 “Employee Statistics Group” (Employee Statistics Group) |
| 29 | Employment Date Δ BC28 | Date | Specifies the date when the employee began to work for the company. | |
| 31 | Status Δ BC28 | Enum “Employee Status” | Specifies the employment status of the employee. | enum Enum 5200 “Employee Status” |
| 32 | Inactive Date Δ BC28 | Date | Specifies the date when the employee became inactive, due to disability or maternity leave, for example. | |
| 33 | Cause of Inactivity Code Δ BC28 | Code[10] | Specifies a code for the cause of inactivity by the employee. | TableRelation Table 5210 “Cause of Inactivity” (Cause of Inactivity) |
| 34 | Termination Date Δ BC28 | Date | Specifies the date when the employee was terminated, due to retirement or dismissal, for example. | |
| 35 | Grounds for Term. Code Δ BC28 | Code[10] | Specifies a termination code for the employee who has been terminated. | TableRelation Table 5217 “Grounds for Termination” (Grounds for Termination) |
| 36 | Global Dimension 1 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1), Blocked = const(false))) |
| 37 | Global Dimension 2 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2), Blocked = const(false))) |
| 38 | Resource No. Δ BC28 | Code[20] | Specifies a resource number for the employee. | TableRelation Table 156 “Resource” (Resource where(Type = const(Person))) |
| 39 | Comment Δ BC28 | Boolean | Specifies if a comment has been entered for this entry. | FlowField: exist(“Human Resource Comment Line” where(“Table Name” = const(Employee), “No.” = field(“No.”))); not editable |
| 40 | Last Date Modified Δ BC28 | Date | Specifies when this record was last modified. | not editable |
| 41 | Date Filter | Date | — | FlowFilter |
| 42 | Global Dimension 1 Filter | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1))); FlowFilter |
| 43 | Global Dimension 2 Filter | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2))); FlowFilter |
| 44 | Cause of Absence Filter | Code[10] | — | TableRelation Table 5206 “Cause of Absence” (Cause of Absence); FlowFilter |
| 45 | Total Absence (Base) Δ BC28 | Decimal | — | FlowField: sum(“Employee Absence”.“Quantity (Base)” where(“Employee No.” = field(“No.”), “Cause of Absence Code” = field(“Cause of Absence Filter”), “From Date” = field(“Date Filter”))); not editable |
| 46 | Extension Δ BC28 | Text[30] | Specifies the employee’s telephone extension. | |
| 47 | Employee No. Filter | Code[20] | — | TableRelation Table 5200 “Employee”; FlowFilter |
| 48 | Pager Δ BC28 | Text[30] | Specifies the employee’s pager number. | |
| 49 | Fax No. | Text[30] | — | |
| 50 | Company E-Mail Δ BC28 | Text[80] | Specifies the employee’s email address at the company. | |
| 51 | Title | Text[30] | — | |
| 52 | Salespers./Purch. Code Δ BC28 | Code[20] | Specifies a salesperson or purchaser code for the employee. | TableRelation Table 13 “Salesperson/Purchaser” (“Salesperson/Purchaser” where(Blocked = const(false))) |
| 53 | No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series); not editable |
| 54 | Last Modified Date Time | DateTime | — | not editable |
| 55 | Employee Posting Group Δ BC28 | Code[20] | Specifies the employee’s type to link business transactions made for the employee with the appropriate account in the general ledger. | TableRelation Table 5221 “Employee Posting Group” (Employee Posting Group) |
| 56 | Bank Branch No. Δ BC28 | Text[20] | Specifies a number of the bank branch. | |
| 57 | Bank Account No. Δ BC28 Δ BC29 | Text[30] | Specifies the number used by the bank for the bank account. | |
| 58 | IBAN Δ BC28 Δ BC29 | Code[50] | Specifies the bank account’s international bank account number. | |
| 59 | Balance Δ BC24 Δ BC27 | Decimal | Specifies the amount the employee owes the company, or the company owes them. For example, for an overpayment, or for expenses, respectively. The word “balance” indicates the amount can be positive (employee owes the company) or negative (the company owes the employee). | FlowField: - sum(“Detailed Employee Ledger Entry”.Amount where(“Employee No.” = field(“No.”), “Initial Entry Global Dim. 1” = field(“Global Dimension 1 Filter”), “Initial Entry Global Dim. 2” = field(“Global Dimension 2 Filter”), “Posting Date” = field(“Date Filter”), “Currency Code” = field(“Currency Filter”)…; not editable |
| 60 | SWIFT Code Δ BC28 | Code[20] | Specifies the SWIFT code (international bank identifier code) of the bank where the employee has the account. | TableRelation Table 1210 “SWIFT Code” (SWIFT Code) |
| 70 | Balance (LCY) + BC24 Δ BC27 Δ BC28 | Decimal | Specifies the amount the employee owes the company, or the company owes them in local currency. For example, for an overpayment, or for expenses, respectively. The word “balance” indicates the amount can be positive (employee owes the company) or negative (the company owes the employee). | FlowField: - sum(“Detailed Employee Ledger Entry”.“Amount (LCY)” where(“Employee No.” = field(“No.”), “Initial Entry Global Dim. 1” = field(“Global Dimension 1 Filter”), “Initial Entry Global Dim. 2” = field(“Global Dimension 2 Filter”), “Posting Date” = field(“Date Filter”), “Currency Code” = field(“Currency …; not editable |
| 75 | Currency Code + BC24 Δ BC28 | Code[10] | Specifies the currency code that is inserted by default when you create entries for the employee. | TableRelation Table 4 “Currency” |
| 80 | Application Method Δ BC28 | Enum “Application Method” | Specifies how to apply payments to entries for this employee. | enum Enum 1381 “Application Method” |
| 90 | Currency Filter + BC24 | Code[10] | — | TableRelation Table 4 “Currency”; FlowFilter |
| 100 | Engagement Type + BC27 Δ BC28 | Enum “Employee Engagement Type” | Specifies the value of the Engagement Type field. | enum Enum 5512 “Employee Engagement Type” |
| 101 | Collective Bargain. Agmt. Info + BC27 Δ BC28 | Boolean | Specifies the value of the Collective Bargaining Agreement Info field. | |
| 102 | Board Member + BC27 Δ BC28 | Boolean | Specifies the value of the Board Member field. | |
| 103 | Manager Role + BC27 Δ BC28 | Boolean | Specifies the value of the Manager Role field. | |
| 104 | Payroll + BC27 Δ BC28 | Decimal | Specifies the value of the Payroll field. | |
| 105 | Payroll Currency Code + BC27 Δ BC28 | Code[10] | Specifies the value of the Payroll Currency Code field. | TableRelation Table 4 “Currency” |
| 106 | Payroll (LCY) + BC27 Δ BC28 | Decimal | Specifies the value of the Payroll (LCY) field. via Page 5200 “Employee Card” | |
| 107 | Payroll Currency Factor + BC27 Δ BC28 | Decimal | — | |
| 108 | Nationality + BC27 Δ BC28 Δ BC29 | Code[20] | Specifies the value of the Nationality field. | TableRelation Table 5226 “Nationality” |
| 109 | Working Type + BC27 Δ BC28 | Enum “Employee Working Type” | Specifies the value of the Working Type field. | enum Enum 5511 “Employee Working Type” |
| 110 | Working Hours + BC27 Δ BC28 | Decimal | Specifies the value of the Working Hours field. | |
| 140 | Image Δ BC28 | Media | Specifies the picture of the employee. | |
| 150 | Privacy Blocked Δ BC28 | Boolean | Specifies whether to limit access to data for the data subject during daily operations. This is useful, for example, when protecting data from changes while it is under privacy review. | |
| 175 | Allow Multiple Posting Groups + BC27 | Boolean | Specifies if multiple posting groups can be used for posting business transactions for this customer. | DataClassification SystemMetadata |
| 1100 | Cost Center Code | Code[20] | — | TableRelation Table 1112 “Cost Center” (Cost Center) |
| 1101 | Cost Object Code | Code[20] | — | TableRelation Table 1113 “Cost Object” (Cost Object) |
Keys
- Key1: No. (clustered)
- Key2: Search Name
- Key3: Status, Union Code
- Key4: Status, Emplymt. Contract Code
- Key5: Last Name, First Name, Middle Name
Events published
OnBeforeGetFullName(Employee: Record Employee; var NewFullName: Text[100]; var Handled: Boolean)(integration)OnAfterValidateShortcutDimCode(var Employee: Record Employee; var xEmployee: Record Employee; FieldNumber: Integer; var ShortcutDimCode: Code[20])(integration)OnBeforeAssistEdit(var Employee: Record Employee; xEmployee: Record Employee; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeOnInsert(var Employee: Record Employee; var xEmployee: Record Employee; var IsHandled: Boolean)(integration)OnBeforeValidateShortcutDimCode(var Employee: Record Employee; var xEmployee: Record Employee; FieldNumber: Integer; var ShortcutDimCode: Code[20])(integration)OnBeforeCheckBlockedEmployee(Employee: Record Employee; IsPosting: Boolean; var IsHandled: Boolean)(integration)OnBeforeValidateCity(var Employee: Record Employee; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)(integration)OnBeforeValidatePostCode(var Employee: Record Employee; var PostCode: Record "Post Code"; CurrentFieldNo: Integer; var IsHandled: Boolean)(integration)OnModifyOnBeforeEmployeeSalespersonUpdate(var Employee: Record "Employee"; xEmployee: Record "Employee"; var IsHandled: Boolean)(integration)OnModifyOnBeforeEmployeeResourceUpdate(var Employee: Record "Employee"; xEmployee: Record "Employee"; var IsHandled: Boolean)(integration)OnBeforeSetEmployeeLedgEntryFilterByAccPeriod(var EmployeeLedgerEntry: Record "Employee Ledger Entry"; var IsHandled: Boolean)+ BC27 (integration)
Trigger event subscribers
- OnAfterDeleteEvent: Codeunit 1173 “Document Attachment Mgmt” DeleteAttachedDocumentsOnAfterDeleteEmployee, Codeunit 6908 “Expense Event Subscriber” OnAfterDeleteEmployeeEvent
- OnAfterRenameEvent: Codeunit 1173 “Document Attachment Mgmt” MoveAttachedDocumentsOnAfterRenameEmployee
- OnAfterValidateEvent(Company E-Mail): Codeunit 6908 “Expense Event Subscriber” OnAfterValidateCompanyEmailEvent
- OnAfterValidateEvent(First Name): Codeunit 6908 “Expense Event Subscriber” OnAfterValidateFirstNameEvent
- OnAfterValidateEvent(Job Title): Codeunit 6908 “Expense Event Subscriber” OnAfterValidateJobTitleEvent
- OnAfterValidateEvent(Last Name): Codeunit 6908 “Expense Event Subscriber” OnAfterValidateLastNameEvent
- OnAfterValidateEvent(Middle Name): Codeunit 6908 “Expense Event Subscriber” OnAfterValidateMiddleNameEvent
- OnBeforeDeleteEvent: Codeunit 6908 “Expense Event Subscriber” OnBeforeDeleteEmployeeEvent
Procedures
AssistEdit(): BooleanFullName(): Text[100]ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])DisplayMap()GetBankAccountNo(): TextCheckBlockedEmployeeOnJnls(IsPosting: Boolean)CheckAllowMultiplePostingGroups()+ BC27
Plus 7 local procedures.
Triggers
OnDelete, OnInsert, OnModify, OnRename
Relations
- drill-down page Page 5201 “Employee List”
- lookup page Page 5201 “Employee List”
- Cost Center Code: TableRelation Table 1112 “Cost Center”
- Cost Object Code: TableRelation Table 1113 “Cost Object”
- SWIFT Code: TableRelation Table 1210 “SWIFT Code”
- Salespers./Purch. Code: TableRelation Table 13 “Salesperson/Purchaser”
- Resource No.: TableRelation Table 156 “Resource”
- City: TableRelation Table 225 “Post Code” (conditional)
- Post Code: TableRelation Table 225 “Post Code” (conditional)
- No. Series: TableRelation Table 308 “No. Series”
- Global Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Global Dimension 1 Filter: TableRelation Table 349 “Dimension Value”
- Global Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Global Dimension 2 Filter: TableRelation Table 349 “Dimension Value”
- Currency Code: TableRelation Table 4 “Currency”
- Currency Filter: TableRelation Table 4 “Currency”
- Payroll Currency Code: TableRelation Table 4 “Currency”
- Employee No. Filter: TableRelation Table 5200 “Employee”
- Manager No.: TableRelation Table 5200 “Employee”
- Alt. Address Code: TableRelation Table 5201 “Alternative Address”
- Cause of Absence Filter: TableRelation Table 5206 “Cause of Absence”
- Total Absence (Base): CalcFormula Table 5207 “Employee Absence”
- Comment: CalcFormula Table 5208 “Human Resource Comment Line”
- Union Code: TableRelation Table 5209 “Union”
- Cause of Inactivity Code: TableRelation Table 5210 “Cause of Inactivity”
- Emplymt. Contract Code: TableRelation Table 5211 “Employment Contract”
- Statistics Group Code: TableRelation Table 5212 “Employee Statistics Group”
- Grounds for Term. Code: TableRelation Table 5217 “Grounds for Termination”
- Employee Posting Group: TableRelation Table 5221 “Employee Posting Group”
- Balance: CalcFormula Table 5223 “Detailed Employee Ledger Entry”
- Balance (LCY): CalcFormula Table 5223 “Detailed Employee Ledger Entry”
- Nationality: TableRelation Table 5226 “Nationality”
- Country/Region Code: TableRelation Table 9 “Country/Region”
Referenced by
39 fields in 35 objects relate to this table (TableRelation or CalcFormula).
- Table 5200 “Employee”: Employee No. Filter, Manager No.
- Table 5205 “Employee Relative”: Employee No., Relative’s Employee No.
- Table 5877 “Phys. Invt. Record Header”: Person Recorded, Person Responsible
- Table 5881 “Pstd. Phys. Invt. Record Hdr”: Person Recorded, Person Responsible
- Table 1384 “Employee Templ.”: Manager No.
- Table 1570 “G/L Entry Posting Preview”: Source No.
- Table 17 “G/L Entry”: Source No.
- Table 179 “Reversal Entry”: Source No.
- Table 181 “Posted Gen. Journal Line”: Source No.
- Table 5054 “Contact Business Relation”: No.
- Table 5201 “Alternative Address”: Employee No.
- Table 5203 “Employee Qualification”: Employee No.
- Table 5206 “Cause of Absence”: Employee No. Filter
- Table 5207 “Employee Absence”: Employee No.
- Table 5209 “Union”: No. of Members Employed
- Table 5211 “Employment Contract”: No. of Contracts
- Table 5214 “Misc. Article Information”: Employee No.
- Table 5216 “Confidential Information”: Employee No.
- Table 5219 “HR Confidential Comment Line”: No.
- Table 5222 “Employee Ledger Entry”: Employee No.
- Table 5223 “Detailed Employee Ledger Entry”: Employee No.
- Table 5224 “Payable Employee Ledger Entry”: Employee No.
- Table 5225 “Employee Payment Buffer”: Employee No.
- Table 5600 “Fixed Asset”: Responsible Employee
- Table 5875 “Phys. Invt. Order Header”: Person Responsible
- Table 5878 “Phys. Invt. Record Line”: Person Recorded
- Table 5879 “Pstd. Phys. Invt. Order Hdr”: Person Responsible
- Table 5882 “Pstd. Phys. Invt. Record Line”: Person Recorded
- Table 6788 “Withholding Tax Entry”: Employee No.
- Table 6794 “WHT Threshold Accumulator”: Employee No.
- Table 6840 “Spend Request”: Requested By
- Table 6912 “Expense Ledger Entry”: Employee No.
- Table 6923 “Expense User”: Employee Status
- Table 81 “Gen. Journal Line”: Source No.
- Table extension 5280 “Company Contact SAF-T”: Contact No. SAF-T
Pages and codeunits on this table
- Page 20017 “APIV1 - Employees” (source table)
- Page 30017 “APIV2 - Employees” (source table)
- Page 5200 “Employee Card” (source table)
- Page 5201 “Employee List” (source table)
- Page 5202 “Employee Picture” (source table)
- Page 5225 “Absence Overview by Periods” (source table)
- Page 5226 “Empl. Absences by Categories” (source table)
- Page 5228 “Misc. Articles Overview” (source table)
- Page 5229 “Confidential Info. Overview” (source table)
- Page 5231 “Absence Overview by Categories” (source table)
- Page 6917 “Employees API” (source table)
- Page 9247 “Abs. Overview by Period Matrix” (source table)
- Page 9271 “Qualification Overview Matrix” (source table)
- Page 9281 “Misc. Articles Overview Matrix” (source table)
- Page 9283 “Conf. Info. Overview Matrix” (source table)
- Page 979 “Time Sheet Setup Employees” (source table)
Extended by
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 408 “DimensionManagement” (5 calls:
OnDelete → DeleteDefaultDim,OnInsert → UpdateDefaultDim,OnRename → RenameDefaultDim, …) - Page 456 “No. Series” (2 calls:
AssistEdit → (object),OnInsert → (object)) - Codeunit 5200 “Employee/Resource Update” (1 call:
OnModify → HumanResToRes) - Codeunit 5201 “Employee/Salesperson Update” (1 call:
OnModify → HumanResToSalesPerson) - Codeunit 802 “Online Map Management” (1 call:
DisplayMap → MakeSelectionIfMapEnabled)
Countries that replace it
CA, ES, FR, IT, MX, NL, RU, US
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Employee"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.