Vibecode Reference Manual

kBusinessDocument

Business Document


Info


Inherits from kDataObject\kDataBasic



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

Barcode

tkCode

Barcode

-

Store

kStore

Store

check mark

Device

kDevice

Device

-

Type

kBusinessDocumentType

check mark

InternalDateTime

tkDateTime

Internal Date Time

check mark

InternalNumber

tkInteger

Internal Number

-

numero progressivo (staccato dal device)

ReferenceDate

tkDateTime

Reference Date Time

-

ReferenceNumber

tkShortDescription

Reference Number

-

numero progressivo (staccato dal device)

Holder

tkBusinessDocumentHolder

Document Holder

-

Holder.Type

tkBusinessDocumentHolderType

Holder Type

-

Holder.Customer

kCustomer

Customer

-

Holder.Supplier

kSupplier

Supplier

-

Holder.Company

kCompany

Company

-

Holder.LoyaltyCustomer

kLoyaltyCustomer

Loyalty customer

-

Holder.Name

tkDescription

Name

-

Holder.Address

tkAddressInfo

Address

-

(E)

Holder.Address.Address

tkAddress

Address

-

Holder.Address.City

tkCity

City

-

Holder.Address.ZipCode

tkZipCode

Zip Code

-

Holder.Address.Country

kCountry

Country

-

Holder.Address.StateProvince

kStateProvince

State Province

-

Holder.Address.Coords

tkCoord

Coords

-

Holder.Address.Coords.Latitude

tkAngle

Latitude

-

Holder.Address.Coords.Longitude

tkAngle

Longitude

-

Holder.Address.Coords.Blocked

tkYesNo

Blocked

-

Holder.Address.CoordsValid

tkCoordValid

Valid coordinates

-

Holder.Email

tkEmail

-

Holder.Phone

tkPhoneNumber

-

Holder.Site

kSite

Site

-

Holder.Store

kStore

Store

-

Holder.ShippingName

tkDescription

Shipping Name

-

Holder.ShippingAddress

tkAddressInfo

Shipping Address

-

(E)

Holder.ShippingAddress.Address

tkAddress

Address

-

Holder.ShippingAddress.City

tkCity

City

-

Holder.ShippingAddress.ZipCode

tkZipCode

Zip Code

-

Holder.ShippingAddress.Country

kCountry

Country

-

Holder.ShippingAddress.StateProvince

kStateProvince

State Province

-

Holder.ShippingAddress.Coords

tkCoord

Coords

-

Holder.ShippingAddress.Coords.Latitude

tkAngle

Latitude

-

Holder.ShippingAddress.Coords.Longitude

tkAngle

Longitude

-

Holder.ShippingAddress.Coords.Blocked

tkYesNo

Blocked

-

Holder.ShippingAddress.CoordsValid

tkCoordValid

Valid coordinates

-

Holder.TaxCode

tkTaxCode

Tax Code

-

Holder.VatId

tkVATId

VAT Id

-

Holder.InterchangeId

tkInterchangeId

Interchange ID

-

Holder.LegalEmailAddress

tkEmail

-

DocumentSequence

tkInteger

Document Sequence

-

numero progressivo preso dal documento

DocumentNumber

tkShortDescription

Document Number

-

numero progressivo completo di serie ecc..

DocumentDate

tkDate

Document Date

-

DocumentStatus

tkBusinessDocumentStatus

Document Status

-

ProcessStatus

tkBusinessDocumentProcessStatus

Process Status

-

CompleteProcessMode

tkBusinessDocumentProcessCompletedMode

Process Completed Mode

-

Operator

kStoreOperator

Operator

-

PaymentTerm

kPaymentTerm

Payment Term

-

ShippingInfo

tkBusinessDocumentShippingInfo

Shipping Info

-

ShippingInfo.Courier

kCourier

Courier

-

ShippingInfo.ShippingDateTime

tkDateTime

Shipping Date Time

-

ShippingInfo.GrossWeight

tkQuantity

Gross Weight

-

ShippingInfo.GrossWeight.Value

tkValue

Quantity

-

ShippingInfo.GrossWeight.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

ShippingInfo.Volume

tkQuantity

Volume

-

ShippingInfo.Volume.Value

tkValue

Quantity

-

ShippingInfo.Volume.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

ShippingInfo.DeliveryTerms

kDeliveryTerms

Delivery Terms

-

ShippingInfo.TrackingCode

tkDescription

Tracking Code

-

ExpectedDeliveryDate

tkDate

Expected Delivery Date

-

ConfirmedDeliveryDate

tkDate

Confirmed Delivery Date

-

HeaderDiscounts

kBusinessDocumentDiscount

Discount List

List

Owned

-

VatInclusivePrices

tkYesNo

Vat Inclusive

-

Lines

kBusinessDocumentLine

Lines

List

Owned

-

Expenses

kBusinessDocumentExpense

Expenses

List

Owned

-

NetAmount

tkAmount

Net Amount

-

NetAmount.Value

tkValue

Amount

-

NetAmount.Currency

kCurrency

Currency

-

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

VATAmount

tkAmount

VAT Amount

-

VATAmount.Value

tkValue

Amount

-

VATAmount.Currency

kCurrency

Currency

-

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

VATSummary

kVATSummary

VAT Summary

List

Owned

-

TotalAmount

tkAmount

Total Amount

-

TotalAmount.Value

tkValue

Amount

-

TotalAmount.Currency

kCurrency

Currency

-

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

ExternalDocumentId

tkDescription

External Document ID

-

ExternalDocumentDate

tkDateTime

External Date Time

-

IBAN

tkIBAN

IBAN

-

BIC

tkBIC

BIC

-

AccountHolderName

tkDescription

Account Holder Name

-

PaymentDate

tkDate

Payment date

-

DocumentFileName

tkDescription

Document filename

-

Channel

kOmniChannel

-

Payments

kBusinessDocumentPayment

Payments

List

Owned

-

DocumentTemplate

tkShortString

Document Template

-

DocumentPrintMode

tkPrintMode

Print Mode

-

PDFAttachment

tkAttachment

-

PlainTextAttachment

tkAttachment

-

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

-

Extension

Omni Commerce

SalesOrder

kSalesOrder

-

PickingList

kPickingListHeader

-

POSible

Receipt

kReceipt

Receipt

-

ReservationTemplate

kMailTemplate

Mail Template

-

Booking

BookingReservation

kBookingReservation

Booking Reservation

-

Electronic Invoice IT

IT_EI

tkIT_EIBusinessDocumentAdditionalData

IT: Electronic Invoice Additional Data

-

IT_EI.IT_EICodiceCommessaConvenzione

tkString100

Project/Contract Code

-

IT_EI.IT_EICodiceCUP

tkString15

CUP Code

-

IT_EI.IT_EICodiceCIG

tkString15

CIG Code

-

(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



Events


When

Method Name

Module

Parameters

On

Off

Asynch

afterinsert

OmniCommerce_BusinessDocumentClassSalesSetDocumentDate

kOmniCommerce

afterupdate

OmniCommerce_BusinessDocumentClassSalesSetDocumentDate

kOmniCommerce

DocumentStatus

afterupdate

OmniCommerce_BusinessDocumentRecalcPayments

kOmniCommerce

DocumentDate

afterupdate

OmniCommerce_BusinessDocumentClassSalesInvoicePrint

kOmniCommerce

DocumentDate

afterupdate

OmniCommerce_BusinessDocumentClassSalesInvoicePrint

kOmniCommerce

Description

afterupdate

POSible_AlignInvoiceDataonReceiptFromBusinessDocumentClassSalesInvoice

kPOSible

PDFAttachment,PlainTextAttachment

afterupdate

GenerateElectronicInvoiceFromBusinessDocumentClassSalesInvoice

kElectronicInvoice_IT

DocumentDate

afterupdate

GenerateElectronicInvoiceFromBusinessDocumentClassSalesInvoice

kElectronicInvoice_IT

Description

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

kReturnOrder

CreditNote

kReservationDeposit

ReservationDocument

kBookingReservationTransactionsLine

BusinessDocument

kElectronicInvoice

BusinessDocument

kSalesOrderDocument

BusinessDocument

kBusinessAgreementBill

BusinessDocument