Vibecode Reference Manual

kReceipt

Receipt


Info


Inherits from kDataObject\kDataBasic



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

CreatedOffline

tkYesNo

-

Store

kStore

Store

check mark

DateTime

tkDateTime

Sale DateTime

check mark

Device

kDevice

Device

-

ReceiptNumber

tkInteger

Internal Number

check mark

Internal Receipt Number. Set by Device itself

BusinessDate

tkDate

Business Date

check mark

CashOperator

kStoreOperator

Cash Operator

-

Printer

kPOSDevice

Receipt Printer

-

FiscalReceiptReference

tkFiscalReceiptReference

Fiscal Receipt Reference

-

FiscalReceiptReference.ReceiptNumber

tkShortString

Receipt Number

-

FiscalReceiptReference.ReceiptDateTime

tkDateTime

Receipt DateTime

-

FiscalReceiptReference.EJClosingNumber

tkShortString

EJ Closing Number

-

FiscalReceiptReference.EJNumber

tkShortString

EJ Number

-

FiscalReceiptReference.DeviceSerialNumber

tkShortString

Device Serial Number

-

FiscalReceiptReference.ServerSerialNumber

tkShortString

Server Serial Number

-

FiscalReceiptReference.ReferenceType

tkShortString

Reference Type

-

Barcode

tkCode

Barcode

-

ReceiptType

tkReceiptType

Type

-

VoidReasonCode

kVoidReasonCode

Void Reason Code

-

LoyaltyCard

kLoyaltyCard

Loyalty Card

-

LoyaltyCustomer

kLoyaltyCustomer

Loyalty customer

-

Customer

kCustomer

Customer

-

SendTo

tkEmail

Send To

-

indirizzo a cui spedire lo scontrino

TaxCode

tkTaxCode

Tax Code

-

codice fiscale

TotalAmount

tkAmount

Total Amount

-

Total Amount included discounts and VAT, Taxes excluded

TotalAmount.Value

tkValue

Amount

-

TotalAmount.Currency

kCurrency

Currency

-

mandatory(true) {TODO: Mandatory only if Value<>0}

TaxesAmount

tkAmount

Taxes Amount

-

Total Taxes Amount

TaxesAmount.Value

tkValue

Amount

-

TaxesAmount.Currency

kCurrency

Currency

-

mandatory(true) {TODO: Mandatory only if Value<>0}

TipAmount

tkAmount

Tip Amount

-

TipAmount.Value

tkValue

Amount

-

TipAmount.Currency

kCurrency

Currency

-

mandatory(true) {TODO: Mandatory only if Value<>0}

ToBeInvoiced

tkYesNo

To be Invoiced

-

InvoiceNumber

tkInvoiceNumber

Invoice Number

-

InvoiceDate

tkDate

Invoice Date

-

InvoiceDocumentType

kBusinessDocumentType

Document Type

-

InvoiceImmediatePrint

tkYesNo

Invoice Immediate Print

-

PrintInvoice

tkYesNo

Print Invoice

-

PrintInvoiceMode

tkPrintMode

Print Invoice Mode

-

VatInclusivePrices

tkYesNo

Vat Inclusive

-

PriceModifiers

kReceiptPriceModifier

Discounts

List

Owned

-

Lines

kReceiptLine

Lines

List

Owned

-

Taxes

kReceiptTax

Taxes

List

Owned

-

Payments

kReceiptPayment

Payments

List

Owned

-

Benefits

kReceiptBenefit

Benefits

List

Owned

-

AdditionalData

kReceiptAdditionalData

Additional Data

List

Owned

-

e.g. Lottery Code

ReceiptText

kRemark

Receipt Text

Owned

-

AuthOperator

kStoreOperator

-

ProcessedDateTime

tkDateTime

Processed Date Time

-

InvoiceTemplate

tkShortString

Invoice Template

-

PDFAttachment

tkAttachment

-

PlainTextAttachment

tkAttachment

-

Consumables

kReceiptLine

List

Owned

-

ReceiptTemplate

kMailTemplate

-

ReservationTemplate

kMailTemplate

-

AddInfo

kReceiptAddInfo

List

Owned

-

OperatorShift

kPOSOperatorShift

Operator Shift

-

SalesAudit

kPOSSalesAudit

Sales Audit

-

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

property

store.code

property

datetime

10

property

device.deviceno

property

receiptnumber

7

0

left

(I) : Autocoderole is defined in parent class



Events


When

Method Name

Module

Parameters

On

Off

Asynch

afterinsert

POSible_CheckGenerateInvoice

kPOSible

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



Used By


Class

Property

kReceiptDocument

Receipt

kFBOrder

Receipts

kTipPoolTransaction

Receipt

kTaxFreeDocument

Receipts

kReceiptLink

Receipt1

kReceiptLink

Receipt2

kReceiptLineLink

Receipt1

kReceiptLineLink

Receipt2