kBookingStaff
Treatment operator
Info
Inherits from kDataObject\kBaseEntity
Is clustered
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Name | tkName | First name | ||||||
| Surname | tkSurname | Last name | ||||||
| Image | tkAttachment | Image | - | |||||
| UserId | kUser | Backoffice user | - | |||||
| 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 | - | |||||
| Gender | tkGender | Genere | - | |||||
| BirthDate | tkDate | Birth date | - | |||||
| MailAddress | tkEmail | Emails | - | |||||
| MobilePhone | tkPhoneNumber | Phones | - | |||||
| PlannerColor | tkColor | Color in Planner | - | |||||
| PlannerColor.RGBA | tkColorRGBA | RGBA | - | |||||
| PlannerColor.RGBA.Red | tkColorPart | Red | - | |||||
| PlannerColor.RGBA.Green | tkColorPart | Green | - | |||||
| PlannerColor.RGBA.Blue | tkColorPart | Blue | - | |||||
| PlannerColor.RGBA.Alpha | tkColorPart | Alpha | - | |||||
| PlannerColor.CMYK | tkColorCMYK | CMYK | - | |||||
| PlannerColor.CMYK.Cyan | tkColorPart | Cyan | - | |||||
| PlannerColor.CMYK.Magenta | tkColorPart | Magenta | - | |||||
| PlannerColor.CMYK.Yellow | tkColorPart | Yellow | - | |||||
| PlannerColor.CMYK.KeyBlack | tkColorPart | Key Black | - | |||||
| Type | kBookingStaffType | Type | ||||||
| HireDateRange | tkDateRange | Hire Date Range | - | |||||
| HireDateRange.StartDate | tkDate | Start Date | - | |||||
| HireDateRange.EndDate | tkDate | End Date | - | |||||
| Seniority | kBookingStaffSeniorityType | Seniority | Default 0 | |||||
| CustomCommission | tkBookingStaffCommission | Commission | - | |||||
| CustomCommission.Type | tkStaffCommissionType | Type | - | |||||
| CustomCommission.FixedAmountPeriodization | tkTimePeriodization | Periodization | - | |||||
| CustomCommission.FixedAmount | tkAmount | Amount | - | |||||
| CustomCommission.FixedAmount.Value | tkValue | Amount | - | |||||
| CustomCommission.FixedAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| CustomCommission.PercentageOfSales | tkPercentage | Percentage of Sales | - | |||||
| Inherited from kBaseEntity | ||||||||
| Code | tkCode | Code | ||||||
| Enabled | tkYesNo | Enabled | Default 1 | |||||
| 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
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| beforeupdate | Booking_BeforeUpdateStaff | kBooking | Enabled,HireDateRange_EndDate | |||
| beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
| afterinsert (I) | AutoTransition | kCoreServices | ||||
| afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
- class : kBookingStaff
- searchproperty : name,surname,code
- displayproperties : code,name,surname,enabled,type.code
- displaypropertiesnames : enabled
- displaytextproperties : code,name,surname
Used By
| Class | Property |
|---|---|
| kBookingLocation | Staff |
| kBookingStaffStopSales | Staff |
| kBookingStaffBaseWorkingCalendarAssociations | Staff |
| kBookingStaffWorkingDays | Staff |
| kBookingStaffWorkingDaysSlots | Staff |
| kBookingStaffBaseWorkingCalendar | Staff |
| kBookingReservationStaffLine | StaffMember |
| kBookingServiceResourcesAssociated | Staff |
| kBookingReservationStaffLineTS | StaffMember |
| kBookingMappingStaff | VibecodeStaff |
| kBookingReservationCartStaffLine | StaffMember |
| kBookingStaffStopSalesRange | Staff |