kBookingReservationCart
Cart Header
Info
Inherits from kDataObject\kDataBasic
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Location | kBookingLocation | Location | ||||||
| Channel | kBookingChannel | Channel | ||||||
| CartDate | tkDateTime | Creation Date | ||||||
| CartOperator | kUser | Cart Operator | - | |||||
| Session | tkDescription | Reservation Session | - | |||||
| Status | tkBookingCartStatusType | Cart Status | Default 0 | |||||
| Reservation | tkDescription | Reservation Associated | - | |||||
| LastModificationDate | tkDateTime | Last Modification Date | - | |||||
| CustomerReferent | kBookingReservationCustomer | Referent Data | Owned | - | ||||
| InvoiceRequested | tkYesNo | Invoice Requested | - | |||||
| VatId | tkVATId | Vat Id | - | |||||
| TaxCode | tkTaxCode | Tax Code | - | |||||
| LegalEmailAddress | tkEmail | Legal E-mail Address | - | |||||
| CustomerRemark | tkDescription | Customer Remark | - | |||||
| TotalQuantity | tkReservationQuantity | Total Quantity | - | |||||
| TotalQuantity.Total | tkSmallIntPositive | Total Quantity | - | |||||
| TotalQuantity.Man | tkSmallIntPositive | Man | - | |||||
| TotalQuantity.Woman | tkSmallIntPositive | Woman | - | |||||
| TotalQuantity.ThirdType | tkSmallIntPositive | Third Type | - | |||||
| TotalGrossAmount | tkAmount | Total Gross Amount | - | |||||
| TotalGrossAmount.Value | tkValue | Amount | - | |||||
| TotalGrossAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| TotalDiscountAmount | tkAmount | Total Discount Amount | - | |||||
| TotalDiscountAmount.Value | tkValue | Amount | - | |||||
| TotalDiscountAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| TotalNetAmount | tkAmount | Total Net Amount | - | |||||
| TotalNetAmount.Value | tkValue | Amount | - | |||||
| TotalNetAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| TotalTaxAmount | tkAmount | Total Tax Amount | - | |||||
| TotalTaxAmount.Value | tkValue | Amount | - | |||||
| TotalTaxAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| PaymentMethod | kBookingPayMethod | Payment Method | - | Ex. Full Advanced Payment or Pay at checkin or Half advanced payment | ||||
| PricesVatInclusive | tkYesNo | Vat Inclusive | - | tutti i prezzi e gli sconti saranno espressi con/senza iva in accordo con questo flag | ||||
| Discounts | kBookingReservationDiscountLine | Discounts | List | Owned | - | |||
| DiscountCodes | kBookingReservationDiscount | Discounts Code | List | Owned | - | |||
| CancPolicy | kBookingCancPolicy | Cancellation Policy | - | |||||
| Lines | kBookingReservationCartLine | Items added | List | Owned | - | |||
| 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 | fixed | C | ||||||||
| property | Location.Code | 3 | 0 | right | |||||||
| fixed | ##date:yyyy## | ||||||||||
| random | 100000 | 0 | 5 | 0 | left | ||||||
| sequence | kBookingReservationCartSeq | 7 | 0 | left | Location.Code | ||||||
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| beforeinsert | BookingReservation_BeforeInsertReservationCart | kBooking | ||||
| beforeupdate | BookingReservation_BeforeUpdateReservationCart | kBooking | LastModifiedBy,LastModifiedDate,RevisionNumber | |||
| 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