Vibecode Reference Manual

kCouponRule

Coupon Rule


Info


Inherits from kDataObject\kDataBasic



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

CouponGenerationType

kCouponRuleType

Coupon Generation Action Type

-

CouponGenerationRule

kCouponGenerationRule

-

CouponType

kCouponType

Coupon Type

-

StartValidity

tkDescription

Start Validity

-

EndValidity

tkDescription

End Validity

-

DiscountAmount

tkAmount

Amount of Discount

-

DiscountAmount.Value

tkValue

Amount

-

DiscountAmount.Currency

kCurrency

Currency

-

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

DiscountPercentage

tkPercentage

Percentage of Discount

-

Store

kStore

Store

-

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



Autocoderoles


Property

Ignore user input

When

Code part

Type

Value

Start

Length

Fill Char

Dir

Seq. Suf.

Prefix

Limit Len

code

cross mark

insert

property

id

(I) : Autocoderole is defined in parent class



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 kDataBasic

  • class : kDataBasic

  • searchproperty : description,code

  • displayproperties : code,description



Used By


Class

Property

kBeaconAction

CouponRule

kPromoBenefit

CouponRule