Vibecode Reference Manual

kBusinessDocument_Lines

kBusinessDocument_Lines


Info


Inherits from kDataObject\kBusinessDocumentLine



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

Parentid

kBusinessDocumentLine

-

Sequence

tkSequence

-

Inherited from kBusinessDocumentLine

LineNumber

tkInteger

Business Document Line Number

-

StockArea

kStockArea

Stock Area

-

Product

kProduct

Product

-

ProductSerials

KProductSerial

Product Serial

List

Not Owned

-

MasterKitLine

kBusinessDocument_Lines

Kit

-

riga che ha generato questa riga nel caso di componenti kit

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, 0 nel caso di figlio di kit

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

EffectivePrice

tkPrice

Effective Price

-

prezzo di listino corrente (compreso promo)

EffectivePrice.Value

tkValue

Price

-

EffectivePrice.Currency

kCurrency

Currency

-

EffectivePrice.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

EffectivePriceList

kSalesPriceGroup

Effective Price List

-

listino da cui è stato reperito il prezzo corrente

PriceType

kSalesPriceType

Sales Price Type

-

flag promozionalità del prezzo corrente TODO:

EffectiveNoPromotionalPrice

tkPrice

Effective Non-Promotional Price

-

listino corrente non promozionale

EffectiveNoPromotionalPrice.Value

tkValue

Price

-

EffectiveNoPromotionalPrice.Currency

kCurrency

Currency

-

EffectiveNoPromotionalPrice.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

DiscountAmount

tkAmount

Discount Amount

-

DiscountAmount.Value

tkValue

Amount

-

DiscountAmount.Currency

kCurrency

Currency

-

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

UseHeaderDiscounts

tkYesNo

Use Header Discount List

-

LineDiscounts

kBusinessDocumentDiscount

Discount List

List

Owned

-

GiftCardTransaction

kGiftCardTransaction

GiftCard Transaction

-

ProcessedQuantity

tkQuantity

Processed Quantity

-

quantità "processata" (evasa, resa, ecc..)

ProcessedQuantity.Value

tkValue

Quantity

-

ProcessedQuantity.UnitOfMeasure

kUnitOfMeasure

UOM

-

TODO: true only if tkvalue<>0

ProcessingStatus

tkBusinessDocumentProcessStatus

Processing Status

-

stato della riga "processata" (aperta, parzialmente evasa, chiusa, chiusa forzatamente)

CompleteProcessMode

tkBusinessDocumentProcessCompletedMode

Process Completed Mode

-

Amount

tkAmount

Amount

-

totalquantity*Price - Discount

Amount.Value

tkValue

Amount

-

Amount.Currency

kCurrency

Currency

-

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

ExpectedDeliveryDate

tkDate

Expected Delivery Date

-

ConfirmedDeliveryDate

tkDate

Confirmed Delivery Date

-

SalesOperator

kStoreOperator

Sales Operator

-

AncestorDocumentLine

kBusinessDocument_Lines

Ancestor Document Line

-

riga che ha generato questa riga (ordine --> DDT --> fattura, ordine di acquisto --> documento di carico, ordine di reso --> documento di carico)

GenericSale

tkGenericSaleData

-

GenericSale.ReasonCode

kGenericSaleReasonCode

-

GenericSale.ProductBarcode

tkCode

-

GenericSale.ProductCode

tkCode

-

GenericSale.Remark

tkRemark

-

GenericSale.Price

tkAmount

-

GenericSale.Price.Value

tkValue

Amount

-

GenericSale.Price.Currency

kCurrency

Currency

-

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

ProductKit

kProductKit

-

Modifiers

kProducteModifierLine

Modifiers

List

Owned

-

ExternalRowID

tkDescription

External Line ID

-

VATTaxException

kVATTaxException

-

VATTaxExceptionTaxes

kTax

List

Not Owned

-

LineType

Line Type

-

stessa della receipt.. o meglio differenziare? (chiamerei tkBusinessDocumentLineType anche la classe della kReceipt)

StartValidityDate

tkDate

-

EndValidityDate

tkDate

-

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 kBusinessDocumentLine

  • class : kBusinessDocumentLine

  • searchproperty : ParentID.DocumentNumber,Sequence

  • displayproperties : ParentID.DocumentNumber,Sequence

  • displaytextproperties : ParentID.DocumentNumber,Sequence



Used By


Class

Property

kBusinessDocumentLine

MasterKitLine

kBusinessDocumentLine

AncestorDocumentLine

kReservationDepositTransaction

BusinessDocumentLine

kBusinessAgreementBillLine

BusinessDocumentLine