kEmployee
Employee
Info
Inherits from kDataObject\kRoot
Properties
Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
---|---|---|---|---|---|---|---|---|
Code | tkCode | Employee Code | ||||||
Description | tkDescription | Description | - | (A) | ||||
Name | tkName | Name | ||||||
Surname | tkSurname | Surname | ||||||
Address | tkAddressInfo | Address | - | (E) | ||||
Address.Address | tkAddress | Address | - | |||||
Address.City | tkCity | City | - | |||||
Address.ZipCode | tkZipCode | Zip Code | - | |||||
Address.Country | kCountry | Country | - | |||||
Address.StateProvince | kStateProvince | State Province | - | |||||
Address.Coords | tkCoord | Coords | - | |||||
Address.Coords.Latitude | tkAngle | Latitude | - | |||||
Address.Coords.Longitude | tkAngle | Longitude | - | |||||
Address.Coords.Blocked | tkYesNo | Blocked | - | |||||
Address.CoordsValid | tkCoordValid | Valid coordinates | - | |||||
User | kUser | User | - | |||||
Company | kCompany | Company | - | |||||
Department | kCompanyDepartment | Department | - | |||||
HireDate | tkDate | Hire Date | - | |||||
EndDate | tkDate | End Date | - | |||||
EmployeeID | tkCode | Employee ID | - | |||||
Statistics | tkYesNo | Statistics | - | |||||
Remark | kRemark | Owned | - | |||||
Inherited from kRoot | ||||||||
TimeStampVersion | tkTimeStamp | - | mandatory(true) Servirebbe una query di update prima di poter applicare questa modifica | |||||
Inherited from kDataObject | ||||||||
Id | tkUnique | Id | ||||||
ClassName | tkCode | Class Name | ||||||
CreatedBy | tkCode | Created BY | - | |||||
LastModifiedBy | tkCode | Last Modified By | - | |||||
CreatedDate | tkDateTime | Created Date | - | |||||
LastModifiedDate | tkDateTime | Last Modified Date | - | |||||
RevisionNumber | tkInteger | Revision Number | - | |||||
WorkflowStatus | kWorkflowStatus | Workflow Status | - | |||||
OwnedOnRequest | tkYesNo | Is owned on request | - | |||||
Origin | kSystem | Origin | - | |||||
LastModifiedProcess | tkGuid | Last process | - | |||||
Extension | ||||||||
Timesheet | ||||||||
CustomWorkingHours | tkWeekWorkingHours | Custom Working Hours | - | |||||
CustomWorkingHours.Monday | tkSmallIntPositive | Monday | - | |||||
CustomWorkingHours.Tuesday | tkSmallIntPositive | Tuesday | - | |||||
CustomWorkingHours.Wednesday | tkSmallIntPositive | Wednesday | - | |||||
CustomWorkingHours.Thursday | tkSmallIntPositive | Thursday | - | |||||
CustomWorkingHours.Friday | tkSmallIntPositive | Friday | - | |||||
CustomWorkingHours.Saturday | tkSmallIntPositive | Saturday | - | |||||
CustomWorkingHours.Sunday | tkSmallIntPositive | Sunday | - | |||||
Travel Expenses | ||||||||
Vehicle | tkVehicle | Vehicle | - | |||||
Vehicle.Model | tkDescription | Model | - | |||||
Vehicle.RegistrationPlate | tkDescription | Registration Plate | - | |||||
Vehicle.Allowance | tkPrice | Allowance | - | |||||
Vehicle.Allowance.Value | tkValue | Price | - | |||||
Vehicle.Allowance.Currency | kCurrency | Currency | - | |||||
Vehicle.Allowance.UnitOfMeasure | kUnitOfMeasure | UOM | - | TODO: true only if tkvalue<>0 | ||||
ApprovalPath | kApprovalPath | Approval Path | - | |||||
CashAdvance | tkYesNo | Cash Advance | false | |||||
CashAdvanceAmount | tkAmount | Cash Advance Amount | - | |||||
CashAdvanceAmount.Value | tkValue | Amount | - | |||||
CashAdvanceAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
ExpensePolicy | kExpensePolicy | Policy | - | |||||
Agreement | kEmploymentAgreement | Employment Agreement | - | |||||
Tips | ||||||||
JobRole | kEmployeeJobRole | Jobrole | - |
(E) : Type have an event assigned to it, look at type documentation for mode details
(A) : Property have an autocoderole, look autocoderole grid for mode details
Autocoderoles
Property | Ignore user input | When | Code part | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Type | Value | Start | Length | Fill Char | Dir | Seq. Suf. | Prefix | Limit Len | |||
Description | insert | property | Surname | ||||||||
fixed | |||||||||||
property | Name | ||||||||||
Description | insert | property | Surname | ||||||||
fixed | |||||||||||
property | Name |
Events
When | Method Name | Module | Parameters | On | Off | Asynch |
---|---|---|---|---|---|---|
beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
afterinsert (I) | AutoTransition | kCoreServices | ||||
afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
- class : kEmployee
- searchproperty : Description
- displayproperties : Surname,Name
Used By
Class | Property |
---|---|
kEmployeeRoleMap | Employee |
kTimeClock | Employee |
kExpenseReportHotelLine | InternalAttendees |
kActivityAbstract | Employee |
kOfficeBooking | Employee |
kExpenseReportHeader | Employee |
kExpenseReportHeader2 | Employee |
kExpenseReportLine2 | InternalAttendees |
kTipPoolTransaction | Employee |