Vibecode Reference Manual

kReceiptPriceModifier

Receipt Discounts & Promos


Info


Inherits from kDataObject

Abstract


Note

//TODO: Should be abstract



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

LineNumber

tkInteger

Receipt Line Number

-

Line Number is shared with all other child classes of kReceipt

Type

Type

-

ModifierSource

Origin

-

PromotionalCampaign

kPromotionalCampaign

Promotional Campaign

-

Promotion

kPromotion

Promotion

-

Reason

kSalesDiscountReasonCode

Reason

-

Amount

tkAmount

Total Amount

-

Amount.Value

tkValue

Amount

-

Amount.Currency

kCurrency

Currency

-

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

Percentage

tkValue

Percentage

-

Coupon

kCoupon

Coupon

-

LoyaltyTransaction

kLoyaltyTransaction

Loyalty Transaction

-

Remark

kRemark

Remark

Owned

-

FreeofCharge

tkYesNo

-

Description

tkTranslatableDescription

Description

-

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


  • class : kReceiptPriceModifier

  • searchproperty : Id,LineNumber

  • displayproperties : id,LineNumber

  • displaytextproperties : Id,ParentId.Code,LineNumber


Inherited



Used By


Class

Property

kReceipt_PriceModifiers

Parentid

kReceipt

PriceModifiers