Vibecode Reference Manual

kBookingVoucher

Voucher


Info


Inherits from kDataObject\kDataBasic



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

Location

Location

check mark

Channel

Channel

check mark

CreationDate

tkDateTime

Creation Date

check mark

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

-

LastNoShowModificationDate

tkDateTime

Last NoShow Status Modification Date

-

Status

tkVoucherStatusType

Voucher Status

check mark

Default 0

BookingStatus

tkVoucherBookingStatusType

Voucher Booking Status

-

Default 0

CheckinStatus

tkVoucherCheckinStatusType

Voucher Checkin Status

-

Default 0

NoShowStatus

tkVoucherNoShowStatusType

Voucher NoShow Status

-

RefundStatus

tkYesNo

Voucher Refund Status

-

Default 0

InvoiceStatus

tkVoucherInvoiceStatusType

Invoice Status

-

Default 0

DeactivationReason

Deactivation Reason

-

DeactivationText

tkDescription

Deactivation Text

-

Imported

tkYesNo

Imported

-

CustomerReferent

kBookingReservationCustomer

Referee Data

Owned

-

CustomerRecipient

kBookingReservationCustomer

Recipient Data

Owned

-

InvoiceRequested

tkYesNo

Invoice Requested

-

Default 0

InvoiceCustomer

kCustomer

Referee 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

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

Optional 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

Discount Code

List

Owned

-

Lines

kBookingVoucherLine

Items booked

List

Owned

-

ServiceCodesConcat

tkLongText

Service Codes Concatenation

-

RecalcTotalDateTime

tkDateTime

Recalculate Total Date Time

-

SendToCRMStatus

Send to CRM

-

SendToCRMStatusLastUpdate

tkDateTime

Send to CRM Last Update

-

SendToCRMAttemptNr

tkIntegerPositive

Should be 'Send CRM Number of Failed Attempts' for clarity.

-

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

check mark

check mark

Description

tkTranslatableDescription

Description

-

Remark

kRemark

Remark

Owned

-

Inherited from kDataObject

Id

tkUnique

Id

check mark

check mark

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 upon 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

cross mark

insert

fixed

V

property

Location.Code

3

0

right

fixed

##date:yyyy##

random

10000

0

4

0

left

sequence

kBookingVoucherSeq

7

0

left

Location.Code

(I) : Autocoderole is defined in parent class



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

(I) : Event is defined in parent class



IncrementalSearch


Inherited from kDataBasic

  • class : kDataBasic

  • searchproperty : description,code

  • displayproperties : code,description