Vibecode Reference Manual

kPromoDefinition

Promo Definition


Info


Inherits from kDataObject\kDataBasic



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

PromoType

tkPromoType

Promotion Type

check mark

ReceiptDescription

tkShortDescription

Description on Receipt

-

ReceiptDescriptionTranslatable

tkTranslatableShortDescription

Description on Receipt

-

Group

kPromoGroup

-

SalesPromo

kPromotion

-

Priority

tkSequence

Priority: 1=Lowest

check mark

Enabled

tkPromoEnabled

Enabled

check mark

TransactionUsageLimit

tkInteger

Usage Limit in a single Transaction

-

UsageLimitRule

kPromoEngineUsageLimitRule

Usage Limit Rule

-

PeriodUsageLimit

tkInteger

Usage Limit in a period

-

PeriodUsageLimitTarget

tkPromoUsageLimitTarget

Usage Limit Target

-

PeriodUsageLimitStores

kStore

Usage Limit Stores

List

Not Owned

-

PeriodUsageLimitPromoDefinitions

kPromoCumulateException

Usage Limit Promo Definition

List

Owned

-

PeriodUsageLimitOnDeliveryDate

tkYesNo

Usage Limit On Delivery Date

-

PeriodDateStartFormula

tkDateFormula

Period Start Formula

-

PeriodDateEndFormula

tkDateFormula

Period End Formula

-

Triggers

kPromoTrigger

List

Owned

-

TriggersCondition

tkTriggerConditions

Trigger components condition

-

RecursiveCountOperator

tkCumulativeCountOperator

Cumulative Count Operator

-

Benefits

kPromoBenefit

List

Owned

-

LoyaltyCustomers

kLoyaltyCustomer

Loyalty Customers

check mark

-

Customers

kCustomer

Customers

check mark

-

CumulateWithOtherPromos

tkYesNo

Cumulate with other promos

check mark

CumulateExceptions

kPromoCumulateException

List

Owned

-

AvailableToSuspendedCustomers

tkYesNo

Available To Suspended Customers

-

StrictlyNotCumulative

tkYesNo

Strictly not Cumulative with other promos

-

CleanTriggersNotInvolved

tkYesNo

Apply benefit only to trigger lines with quantity/amount equal to recursivity count

-

ExcludePromoItems

tkYesNo

Exclude Items with Promotional Prices

-

ForcePromoChoice

tkYesNo

Force Promo Choice between promos with same priority

-

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

OnInitWorkFlow

kCoreServices

afterinsert (I)

AutoTransition

kCoreServices

afterupdate (I)

AutoTransition

kCoreServices

workflowstatus

(I) : Event is defined in parent class



IncrementalSearch


  • class : kPromoDefinition

  • searchproperty : code

  • displayproperties : code,description

  • displaytextproperties : code,description



Used By


Class

Property

kPromoCumulateException

Promo

kBookingReservationCheckinDisabledRules

ResPromoDefinition

kPromoLink

Definition

kPromoRaffleTicket

AllocationPromoDefinition

kBookingReservationDiscountLine

PromoEngineDefinition

kPromoDefinitionUsage

PromoDefinition