kBookingVoucher
Voucher
Info
Inherits from kDataObject\kDataBasic
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Location | kBookingLocation | Location | ||||||
| Channel | kBookingChannel | Channel | ||||||
| CreationDate | tkDateTime | Creation Date | ||||||
| CreationOperator | kUser | Reservation Operator | - | |||||
| ExpirationDate | tkDate | Expiration Date | ||||||
| RefundDate | tkDateTime | Refund Date | - | |||||
| DeactivationDate | tkDateTime | Deactivation Date | - | |||||
| LastBookingDate | tkDateTime | Last Booked Date | - | |||||
| LastStatusModificationDate | tkDateTime | Last Status Modification Date | - | |||||
| LastCheckinModificationDate | tkDateTime | Last Checkin Status Modification Date | - | |||||
| LastInvoiceModificationDate | tkDateTime | Last Invoice Status Modification Date | - | |||||
| Status | tkVoucherStatusType | Voucher Status | Default 0 | |||||
| BookingStatus | tkVoucherBookingStatusType | Voucher Booking Status | - | Default 0 | ||||
| CheckinStatus | tkVoucherCheckinStatusType | Voucher Checkin Status | - | Default 0 | ||||
| RefundStatus | tkYesNo | Voucher Refund Status | - | Default 0 | ||||
| InvoiceStatus | tkVoucherInvoiceStatusType | Invoice Status | - | Default 0 | ||||
| DeactivationReason | tkCancellationReason | Deactivation Reason | - | |||||
| DeactivationText | tkDescription | Deactivation Text | - | |||||
| Imported | tkYesNo | Imported | - | |||||
| CustomerReferent | kBookingReservationCustomer | Referent Data | Owned | - | ||||
| CustomerRecipient | kBookingReservationCustomer | Recipient Data | Owned | - | ||||
| InvoiceRequested | tkYesNo | Invoice Requested | - | Default 0 | ||||
| InvoiceCustomer | kCustomer | Referent Data | Owned | - | ||||
| VatId | tkVATId | Vat Id | - | |||||
| TaxCode | tkTaxCode | Tax Code | - | |||||
| LegalEmailAddress | tkEmail | Legal E-mail Address | - | |||||
| SaleConditionsAgreed | tkYesNo | Agreement to Sale Conditions | - | Default 1 | ||||
| GiftFrom | tkDescription | Gift From | - | |||||
| GiftTo | tkDescription | Gift To | - | |||||
| CustomerRemark | tkLongText | Customer Remark | - | |||||
| DedicationText | tkLongText | Dedication Text | - | |||||
| InternalRemark | tkLongText | Internal 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 | - | |||||
| 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} | ||||
| Taxes | kBookingReservationTaxLine | Taxes Split | List | Owned | - | |||
| PaymentTransactions | kBookingReservationTransactionsLine | Payments | List | Owned | - | List of payments Transactions | ||
| AdvancedPaymentTransactionsOptionated | kBookingReservationTransactionsLine | Optionated Advanced Payment Transactions | List | Owned | - | List of optionated advanced payment transactions | ||
| CreditCardData | kBookingReservationCreditCardData | Credit Card Data | List | Owned | - | |||
| PaidAmount | tkAmount | Paid Amount | - | |||||
| PaidAmount.Value | tkValue | Amount | - | |||||
| PaidAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| AmountToRefund | tkAmount | Amount to refund | - | |||||
| AmountToRefund.Value | tkValue | Amount | - | |||||
| AmountToRefund.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| AmountRefunded | tkAmount | Amount refunded | - | |||||
| AmountRefunded.Value | tkValue | Amount | - | |||||
| AmountRefunded.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| PricesVatInclusive | tkYesNo | Vat Inclusive | - | tutti i prezzi e gli sconti saranno espressi con/senza iva in accordo con questo flag | ||||
| VatAmount | tkAmount | Vat Amount | - | |||||
| VatAmount.Value | tkValue | Amount | - | |||||
| VatAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| VatableAmount | tkAmount | Vat Amount | - | |||||
| VatableAmount.Value | tkValue | Amount | - | |||||
| VatableAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| Discounts | kBookingReservationDiscountLine | Discounts | List | Owned | - | |||
| DiscountCodes | kBookingReservationDiscount | Discounts Code | List | Owned | - | |||
| Lines | kBookingVoucherLine | Items booked | List | Owned | - | |||
| ServiceCodesConcat | tkLongText | Service Codes Concatenation | - | |||||
| RecalcTotalDateTime | tkDateTime | Recalc Total Date Time | - | |||||
| SendToCRMStatus | tkSendToCRMStatus | Send to CRM | - | |||||
| SendToCRMStatusLastUpdate | tkDateTime | Send to CRM Last Update | - | |||||
| SendToCRMAttemptNr | tkIntegerPositive | Send CRM Nr Failed Attempt | - | |||||
| SendToCRMProcess | kBookingSendToCRMProcesses | Send CRM Process | - | |||||
| SendToCRMProcessingStart | tkDateTime | Send CRM Process Start | - | |||||
| SendToCRMSendingStart | tkDateTime | Send CRM Start | - | |||||
| SendToCRMSendingEnd | tkDateTime | Send CRM End | - | |||||
| CRMId | tkDescription | CRM Id | - | |||||
| CRMLineToRemove | kBookingReservationCRMLineToRemove | CRM Line to Remove | 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 | V | ||||||||
| property | Location.Code | 3 | 0 | right | |||||||
| fixed | ##date:yyyy## | ||||||||||
| random | 10000 | 0 | 4 | 0 | left | ||||||
| sequence | kBookingReservationSeq | 7 | 0 | left | Location.Code | ||||||
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| beforeinsert | BookingVoucher_BeforeInsertVoucher | kBooking | ||||
| beforeupdate | BookingVoucher_BeforeUpdateVoucher | kBooking | LastModifiedBy,LastModifiedDate,RevisionNumber,SendToCRMStatus,SendToCRMProcessingStart,SendToCRMStatusLastUpdate,SendToCRMProcess,SendToCRMAttemptNr,SendToCRMSendingStart,SendToCRMSendingEnd,CRMId | |||
| beforedelete | BookingVoucher_BeforeDeleteVoucher | kBooking | ||||
| afterupdate | BookingVoucher_AfterUpdateVoucher | kBooking | LastModifiedBy,LastModifiedDate,RevisionNumber,SendToCRMStatus,SendToCRMProcessingStart,SendToCRMStatusLastUpdate,SendToCRMProcess,SendToCRMAttemptNr,SendToCRMSendingStart,SendToCRMSendingEnd,CRMId | |||
| afterinsert | BookingVoucher_AfterInsertVoucher | kBooking | ||||
| 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