kEmployeeLeave
Employee Leave
Info
Inherits from kDataObject\kDataBasic\kActivityAbstract
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Dates | tkDateRange | Period | - | |||||
| Dates.StartDate | tkDate | Start Date | - | |||||
| Dates.EndDate | tkDate | End Date | - | |||||
| kActivityLine | kActivity | List | Not Owned | - | ||||
| Inherited from kActivityAbstract | ||||||||
| Employee | kEmployee | Employee | ||||||
| Customer | kCustomer | Customer | ||||||
| Location | tkActivityLocation | ActivityLocation | ||||||
| Site | kSite | ActivitySite | - | |||||
| Project | kProject | Project | ||||||
| Task | kTask | Task | ||||||
| ActivityType | kActivityType | Type | ||||||
| TimeSpent | tkQuantity | TimeSpent | ||||||
| TimeSpent.Value | tkValue | Quantity | - | |||||
| TimeSpent.UnitOfMeasure | kUnitOfMeasure | UOM | - | TODO: true only if tkvalue<>0 | ||||
| Inherited from kDataBasic | ||||||||
| Code | tkCode | Code | ||||||
| Description | tkTranslatableDescription | Description | - | |||||
| Remark | kRemark | Remark | Owned | - | ||||
| 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 | - | |||||
(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 | |||
| Code | insert | property | id | ||||||||
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| beforeupdate | TimeSheet_kEmployeeLeave_Status_Changed | kTimeSheet | ||||
| beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
| afterinsert (I) | AutoTransition | kCoreServices | ||||
| afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
Inherited from kDataBasic
- class : kDataBasic
- searchproperty : description,code
- displayproperties : code,description