Vibecode Reference Manual

kBusinessDocumentDiscount

Business Document Discount


Info


Inherits from kDataObject



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

DiscountReasonCode

kSalesDiscountReasonCode

Discount Reason Code

-

DiscountType

tkDiscountType

Discount Type

-

DiscountPercentage

tkPercentage

Discount Percentage

-

DiscountAmount

tkAmount

Discount Amount

-

DiscountAmount.Value

tkValue

Amount

-

DiscountAmount.Currency

kCurrency

Currency

-

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

PromotionalCampaign

kPromotionalCampaign

Promotional Campaign

-

Promotion

kPromotion

Promotion

-

FreeofCharge

tkYesNo

-

Coupon

kCoupon

-

Description

tkTranslatableDescription

Description

-

ReceiptPriceModifierType

Receipt Price Modifier Type

-

ReceiptPriceModifierSource

Receipt Price Modifier Origin

-

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

PromoEngine

PromoDefinition

kPromoDefinition

Promo Definition

-

(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


Inherited



Used By