kFBOrder
Food & Beverage Order
Info
Inherits from kDataObject\kDataBasic
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Store | kStore | Store | ||||||
| Date | tkDateTimeSecond | Date | ||||||
| OrderNumber | tkFBOrderNumber | Order Number | (A) | |||||
| AliasId | tkCode | Alias Id | - | |||||
| Table | kFBRestaurantTable | Table | - | |||||
| NumberOfGuests | tkSmallIntPositive | Number of Guests | - | |||||
| CustomerName | tkDescription | Customer Name | - | |||||
| LoyaltyCustomer | kLoyaltyCustomer | Loyalty customer | - | |||||
| Status | tkFBOrderStatus | Status | ||||||
| AllOrderLine | tkOrderBulkLineProperties | Line bulk updated properties | - | |||||
| AllOrderLine.Status | tkFBOrderLineStatus | - | ||||||
| AllOrderLine.DeliveryMode | tkYesNo | Delivery Mode Active | - | |||||
| AllOrderLine.Delivered | tkYesNo | Delivered | - | |||||
| AllOrderLine.EndDate | tkDateTime | EndDate | - | |||||
| Waiter | kStoreOperator | Waiter | - | |||||
| Lines | kFBOrderLine | Lines | List | Owned | - | |||
| Paid | tkYesNo | Paid | ||||||
| Receipts | kReceipt | Receipts | List | Not Owned | - | |||
| TipAmount | tkAmount | Tip Amount | - | |||||
| TipAmount.Value | tkValue | Amount | - | |||||
| TipAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>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 | |||
| ordernumber | insert | sequence | FBOrderNumberSeq | 4 | 0 | left | store.code | ||||
| code | insert | property | store.code | ||||||||
| fixed | - | ||||||||||
| fixed | ##date:yyyy## | ||||||||||
| fixed | - | ||||||||||
| sequence | FBOrderSeq | 7 | 0 | left | store.code | ||||||
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| afterupdate | POSible_ResetTableDateTime | kPOSible | Paid | |||
| afterupdate | POSible_SetDeliveredAndStatusOnLine | kPOSible | AllOrderLine | |||
| 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
Used By
| Class | Property |
|---|---|
| kFBRestaurantTableStatus | FBOrder |