Vibecode Reference Manual

kSalesOrder

Order


Info


Inherits from kDataObject\kDataBasic



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

Channel

kOmniChannel

Channel

check mark

OrderDate

tkDateTime

Order Date

check mark

Status

tkOrderStatus

Status

check mark

CustomerType

tkOmniCustomerType

Customer Type

check mark

LoyaltyCard

kLoyaltyCard

Loyalty Card

-

LoyaltyCustomer

kLoyaltyCustomer

Loyalty Customer

-

SoldTo

tkOmniCartCustomerData

Sold To

-

SoldTo.Name

tkName

-

mandatory(true) Da risolvere con una classe owned(true) anziché un campo strutturato

SoldTo.Surname

tkSurname

-

mandatory(true)

SoldTo.CompanyName

tkDescription

-

SoldTo.Address

tkAddressInfo

-

(E)

SoldTo.Address.Address

tkAddress

Address

-

SoldTo.Address.City

tkCity

City

-

SoldTo.Address.ZipCode

tkZipCode

Zip Code

-

SoldTo.Address.Country

kCountry

Country

-

SoldTo.Address.StateProvince

kStateProvince

State Province

-

SoldTo.Address.Coords

tkCoord

Coords

-

SoldTo.Address.Coords.Latitude

tkAngle

Latitude

-

SoldTo.Address.Coords.Longitude

tkAngle

Longitude

-

SoldTo.Address.Coords.Blocked

tkYesNo

Blocked

-

SoldTo.Address.CoordsValid

tkCoordValid

Valid coordinates

-

SoldTo.EmailAddress

tkEmail

-

SoldTo.MobileNumber

tkPhoneNumber

-

SoldTo.HomeNumber

tkPhoneNumber

-

SoldTo.IdDocumentNumber

tkIdDocumentNumber

-

SoldTo.IdDocumentType

kIDDocumentType

-

ShipTo

tkOmniCartCustomerData

Ship To

-

ShipTo.Name

tkName

-

mandatory(true) Da risolvere con una classe owned(true) anziché un campo strutturato

ShipTo.Surname

tkSurname

-

mandatory(true)

ShipTo.CompanyName

tkDescription

-

ShipTo.Address

tkAddressInfo

-

(E)

ShipTo.Address.Address

tkAddress

Address

-

ShipTo.Address.City

tkCity

City

-

ShipTo.Address.ZipCode

tkZipCode

Zip Code

-

ShipTo.Address.Country

kCountry

Country

-

ShipTo.Address.StateProvince

kStateProvince

State Province

-

ShipTo.Address.Coords

tkCoord

Coords

-

ShipTo.Address.Coords.Latitude

tkAngle

Latitude

-

ShipTo.Address.Coords.Longitude

tkAngle

Longitude

-

ShipTo.Address.Coords.Blocked

tkYesNo

Blocked

-

ShipTo.Address.CoordsValid

tkCoordValid

Valid coordinates

-

ShipTo.EmailAddress

tkEmail

-

ShipTo.MobileNumber

tkPhoneNumber

-

ShipTo.HomeNumber

tkPhoneNumber

-

ShipTo.IdDocumentNumber

tkIdDocumentNumber

-

ShipTo.IdDocumentType

kIDDocumentType

-

Shipment

tkShipment

Shipment

-

Shipment.Courier

kCourier

-

Shipment.CourierType

tkCourierType

-

Shipment.Amount

tkValue

-

Shipment.On_delivery_fee

tkValue

-

SourceType

tkSourceType

Source Type

check mark

Totem

tkTotem

Totem

-

Totem.TotemId

tkShortDescription

Id

-

Totem.Description

tkDescription

Description

-

TotemStore

kStore

Totem store

-

InvoiceRequested

tkYesNo

Invoice requested

check mark

VatId

tkVATId

VAT Number

-

TaxCode

tkTaxCode

Codice Fiscale

-

LegalEmailAddress

tkEmail

Legal E-mail Address

-

InterchangeId

tkInterchangeId

Interchange ID

-

PaymentStatus

tkOmniPaymentStatus

Payment Status

check mark

PaymentLocation

tkOmniPaymentLocation

Payment Location

check mark

DeliveryMethod

tkOmniDeliveryMethod

Delivery Method

check mark

DeliveryInstructions

kRemark

Delivery Instructions

Owned

-

ShipToStore

kStore

Ship to Store

-

IsGift

tkYesNo

Is a Gift?

check mark

GiftMessage

kRemark

Gift Message

Owned

-

Lines

kOrderLine

Lines

List

Owned

check mark

Discounts

kOmniDiscountLine

Discounts

List

Owned

-

Payments

kOmniCartPaymentLine

Payments

List

Owned

check mark

TotalPointsUsed

tkLoyaltyPoint

Total Points Used

-

TotalQuantity

tkValue

Total Quantity

check mark

GrossAmount

tkAmount

Gross Amount

check mark

GrossAmount.Value

tkValue

Amount

-

GrossAmount.Currency

kCurrency

Currency

-

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

NetAmount

tkAmount

Net Amount

-

Per adesso, non gestito

NetAmount.Value

tkValue

Amount

-

NetAmount.Currency

kCurrency

Currency

-

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

TemporaryCartID

tkDescription

Temporary Cart ID

-

ExternalOrderID

tkDescription

External Order ID

-

NeedsManualCheck

tkYesNo

Needs manual check

-

ErrorType

tkErrorType

Error type

-

ErrorType.EType

tkEType

Short description

-

ErrorType.Description

tkDescription

Long description

-

InvoiceError

tkYesNo

Invoice error

-

OperatorNote

kRemark

Operator notes

Owned

-

ShipmentWorkflow

tkShipmentWorkflow

Shipment workflow

-

NeedsPaymentConfirmation

tkYesNo

Needs payment confirmation

-

PaymentConfirmation

tkPaymentConfirmation

Payment confirmation

-

PaymentConfirmation.Date

tkDate

Date

-

PaymentConfirmation.Reference

tkDescription

Reference

-

PaymentConfirmation.Amount

tkAmount

Amount

-

PaymentConfirmation.Amount.Value

tkValue

Amount

-

PaymentConfirmation.Amount.Currency

kCurrency

Currency

-

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

WaitInvoiceConfirmation

tkYesNo

Wait Invoice Confirmation

-

InvoiceDate

tkDate

-

InvoiceNumber

tkShortDescription

-

InvoiceFileName

tkShortDescription

-

ReprocessCount

tkInteger

-

LastReprocessDate

tkDateTime

-

ProcessOrderCompleted

tkYesNo

-

Documents

kSalesOrderDocument

Documents

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



Events


When

Method Name

Module

Parameters

On

Off

Asynch

beforeinsert

OmniCommerce_CheckManualOrder

kOmniCommerce

afterinsert

OmniCommerce_AddManualTrigger

kOmniCommerce

beforedelete

OmniCommerce_ClearRemark

kOmniCommerce

beforeinsert (I)

OnInitWorkFlow

kCoreServices

afterinsert (I)

AutoTransition

kCoreServices

afterupdate (I)

AutoTransition

kCoreServices

workflowstatus

(I) : Event is defined in parent class



IncrementalSearch


  • class : kSalesOrder

  • searchproperty : Code

  • displayproperties : Code

  • additionalproperties : Description



Used By