Vibecode Reference Manual

kPromoDefinition_Benefits

kPromoDefinition_Benefits


Info


Inherits from kDataObject\kPromoBenefit



Properties


Name

Type

Label

List

Owned

Cluster

Mandatory

Unique

Note

Parentid

kPromoBenefit

-

Sequence

tkSequence

-

Inherited from kPromoBenefit

Type

tkPromoBenefitType

check mark

Target

tkPromoBenefitTarget

-

SelectRule

tkPromoSelectRule

-

TargetProductCluster

kProduct

On Request

check mark

-

<> Coupon,Message

GroupByTriggerLinesProduct

tkYesNo

Group by Lines Product

-

ApplyBestProductsGroupingForCustomer

tkYesNo

Apply Best Products Grouping for Customer

-

SplitDiscountAmountRecursively

tkYesNo

Split same discount amount on each product (no proportional split)

-

DiscountSplitType

tkDiscountSplitType

Discount Split Type

-

ReturnRequest

tkYesNo

Return Request

-

Percentage

tkPercentage

Discount Percentage

-

DiscountPercentage,DiscountPercentageOnLessExpensive,DiscountPercentageOnMostExpensive

Amount

tkAmount

Amount

-

DiscountAmount,FixedUnitPrice,GlobalAmount,DiscountAmountOnLessExpensive,DiscountAmountOnMostExpensive,FixedUnitPriceOnLessExpensive,FixedUnitPriceOnMostExpensive

Amount.Value

tkValue

Amount

-

Amount.Currency

kCurrency

Currency

-

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

PriceGroup

kSalesPriceGroup

Sales Price Group

-

ApplyPriceList

LoyaltyPoints

tkLoyaltyPoint

Loyalty Points

-

LoyaltyPoints

LoyaltyPointsMultiplier

tkInteger

Loyalty Points Multiplier

-

LoyaltyPointsMultiplier

LoyaltyTransactionReasonCode

kLoyaltyTransactionReasonCode

Loyalty Transaction Reason Code

-

LoyaltyPoints, LoyaltyPointsMultiplier

LoyaltyProgram

kLoyaltyProgram

Loyalty Points Program

-

LoyaltyPointsAmountStep

tkAmount

Loyalty Points Amount Step

-

LoyaltyPointsAmountStep.Value

tkValue

Amount

-

LoyaltyPointsAmountStep.Currency

kCurrency

Currency

-

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

CouponRule

kCouponRule

Coupon Rule

-

To ignore. Replaced by CouponGenerationRule

CouponGenerationRule

kCouponGenerationRule

Coupon Rule

-

Message

kReceiptMessage

Message

-

Message

DiscountReasonCode

kSalesDiscountReasonCode

Reason Code

-

ReceiptDescription

tkTranslatableDescription

Receipt Description

-

NrItems

tkIntegerPositive

No. of Items Involved

-

ApplyPriceList

NrTickets

tkIntegerPositive

Number of Tickets to generate

-

Raffle Tickets

Contest

kPromoContest

Contest

-

Raffle

kRaffle

Raffle

-

AtLeastOneTicketAvailable

tkYesNo

Enable the benefit even if the number of tickets available is less than required

-

ReceiptComment

kPromoReceiptComment

Receipt Comment

-

ApplyRounding

tkYesNo

Apply Rounding

-

Rounding

tkRoundingRule

Rounding

-

Rounding.RoundingValue

tkDecimal2Digits

Rounding Value

-

Rounding.RoundingType

tkRoundingType

Rounding Type

-

Rounding.UseIntermediateValue

tkYesNo

Use Intermediate Value

-

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 kDataObject

  • class : kDataObject

  • searchproperty : id

  • displayproperties : id,ClassName

  • displaytextproperties : id,ClassName