Vibecode Reference Manual

kSale_Lines

kSale_Lines


Info


Inherits from kDataObject\kSalesLine



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

Parentid

kSalesLine

-

Sequence

tkSequence

-

Inherited from kSalesLine

Product

kProduct

Product

-

SalesChannel

kSalesChannel

Sales Channel

-

Source

tkGuid

Origin

-

kReceiptLine, kInvoiceLine..

VatCode

kVATCode

Vat Code

-

PackQuantity

tkInteger

Pack Quantity

-

per determinare le unità di vendita (potrebbe essere messo a 0 per i prodotti che non devono comparire nelle statistiche di vendita a pezzi

Quantity

tkQuantity

Quantity

-

quantità totale, non serve moltiplicare per PackQuantity

Quantity.Value

tkValue

Quantity

-

Quantity.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

Price

tkPrice

Price

-

prezzo applicato dalla cassa (lordo)

Price.Value

tkValue

Price

-

Price.Currency

kCurrency

Currency

-

Price.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

CurrentPrice

tkPrice

Current Price

-

prezzo di listino corrente (compreso promo)

CurrentPrice.Value

tkValue

Price

-

CurrentPrice.Currency

kCurrency

Currency

-

CurrentPrice.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

CurrentPriceList

kSalesPriceGroup

Current Price List

-

listino da cui è stato reperito il prezzo corrente

isPromotionalPrice

tkYesNo

Is Promotional Price

-

flag promozionalità del prezzo corrente

StorePrice

tkPrice

Store Non-Promotional Price

-

listino corrente non promozionale

StorePrice.Value

tkValue

Price

-

StorePrice.Currency

kCurrency

Currency

-

StorePrice.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

OfficialPrice

tkPrice

Official Price

-

prezzo ufficiale

OfficialPrice.Value

tkValue

Price

-

OfficialPrice.Currency

kCurrency

Currency

-

OfficialPrice.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

TotalDiscount

tkAmount

Total Discount

-

TotalDiscount.Value

tkValue

Amount

-

TotalDiscount.Currency

kCurrency

Currency

-

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

GrossAmount

tkAmount

Gross Amount

-

totalquantity*GrossPrice - TotalDiscount

GrossAmount.Value

tkValue

Amount

-

GrossAmount.Currency

kCurrency

Currency

-

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

NetAmount

tkAmount

Net Amount

-

GrossAmount-VAT

NetAmount.Value

tkValue

Amount

-

NetAmount.Currency

kCurrency

Currency

-

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

SalesOperator

kStoreOperator

Sales Operator

-

DiscountAllocation

kSalesDiscountAllocation

Discount Allocation

List

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 (I)

OnInitWorkFlow

kCoreServices

afterinsert (I)

AutoTransition

kCoreServices

afterupdate (I)

AutoTransition

kCoreServices

workflowstatus

(I) : Event is defined in parent class



IncrementalSearch


Inherited from kDataObject

  • class : kDataObject

  • searchproperty : id

  • displayproperties : id,ClassName

  • displaytextproperties : id,ClassName