One grant under a Scheme Slab (schemeLineId): rewardType selects the mechanics - Line Level Discount Percentage, Line Level Discount Amount, Discounted Item (a free or discounted item line for discountedItemId), Discounted Item Group (pick from discountedItemGroupId) or Reward Points. Free-item benefits either discount matching existing lines or insert new document lines flagged IsSchemeGenerated. When a slab has several benefits, the slab's rewardApplicability decides whether all apply, only the lowest- or highest-value one, or a custom-logic group. The engine copies limitExpiryDays onto the benefiting document lines.
Fields
| Field | Label | Type | Required | What it does |
ApplyDiscountOnMRP | Apply Discount On MRP | Boolean | Yes | |
ConversionRatio | Conversion Ratio | Number | | |
ConversionRatio1 | Conversion Ratio 1 | Number | | |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
DiscountAmount | Discount Amount | Number | | |
DiscountedItemGroupId | Discounted Item Group | Lookup → ItemGroup | | |
DiscountedItemId | Discounted Item | Lookup → Item | | |
DiscountedItemLotTypeId | Discounted Item Lot Type | Lookup → ItemLotType | | |
DiscountedItemQuantity | Discounted Item Quantity | Number | | How many units of the discounted/free item one qualification grants; multiplied by the qualification count when RepeatReward or RepeatRewardsInRatio is on. |
DiscountedItemRanking | Discounted Item Ranking | PickList | | When several document lines are candidates for the discount, pick them ordered High To Low or Low To High by line value. Values: High To Low, Low To High. |
DiscountedItemSKUId | Discounted SKU | Lookup → SKU | | |
DiscountedSKUId | Discounted SKU | Lookup → SKU, hidden, inactive | | |
DiscountPercent | Discount Percent | Percent | | |
ExcludeDiscountedItemGroupId | Exclude Discounted Item Group | Lookup → ItemGroup | | Lines whose item belongs to this group are never chosen as the discounted line, even if they match the discounted item/group. |
ExcludeQualifyingItems | Exclude Qualifying Items | Boolean | Yes | When choosing which document lines receive the discounted-item benefit, skip the lines that themselves qualified the condition - the reward must land on other lines. |
Id | Id | Guid | Yes | |
LimitExpiryDays | Limit Expiry Days | Number | | Copied by the engine onto the document lines that receive this benefit (their LimitExpiryDays field); carries a validity horizon for the granted benefit. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Name | Text | Yes | |
OwnerId | Owner | Lookup → UserAccount | Yes | |
RecommendationText | Recommendation Text | LongMultiLineText | | Marketing-style text shown with the scheme recommendation in the UI (product catalogue and recommendation widget); no effect on qualification or application. |
RecordTypeId | Record Type | Guid, hidden | | |
RepeatReward | Repeat Reward | Boolean | Yes | Grant the benefit once per qualification count (floor of reached over threshold) instead of once per document. See also RepeatRewardsInRatio, which scales by the achievement ratio instead. |
RepeatRewardForEveryQualification | Repeat Reward For Every Qualification | Boolean | | |
RepeatRewardsInRatio | Repeat Rewards In Ratio | Boolean | Yes | Scale the reward by the target-to-achievement ratio rather than the whole-number qualification count - takes precedence over RepeatReward when both are set. |
RewardMultiplier | Reward Multiplier | PickList | | For repeatable rewards, whether the multiplier is derived from Amount or from Quantity of the qualifying lines. Values: Amount. |
RewardPoints | Reward Points | Number | | Points granted when RewardType is Reward Points: stamped onto the document's non-generated lines as SchemeRewardPoints and mirrored into SchemeLedger.rewardPoints. |
RewardType | Reward Type | PickList | Yes | Mechanics of the grant: Line Level Discount Percentage (DiscountPercent off qualifying lines), Line Level Discount Amount (DiscountAmount), Discounted Item (free or discounted line for DiscountedItemId), Discounted Item Group (candidates from DiscountedItemGroupId), or Reward Points (stamps RewardPoints onto document lines and the SchemeLedger). Values: Line Level Discount Percentage, Line Level Discount Amount, Discounted Item, Discounted Item Group, Reward Points. |
SchemeId | Scheme | Lookup → Scheme | | |
SchemeLineId | Scheme Slab | Lookup → SchemeLine | | |
SequenceNumber | Sequence Number | Number | Yes | |
Title | Title | Text | | |
UIProps | UI Props | Text | | |
UOM | UOM | PickList | | Values: Pack, Each. |
UOM1 | UOM 1 | PickList | | Values: Pack, Each. |
UOMQuantity | UOM Quantity | Number | | |
UOMQuantity1 | UOM Quantity 1 | Number | | |
UpdatedDateTime | Modified Date | DateAndTime | Yes | |
ValidFrom | Val From | Date | | |
ValidTo | Val To | Date | | |
Actions
| Action | Label | Type | What it does |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
Delete | Delete | Delete | Delete |
DeleteListRow | Delete | Delete | DeleteListRow |
Edit | Edit | Edit | Edit |
EditInLine | Edit | EditInline | EditInLine |
EditListHeader | Edit | EditInline | EditListHeader |
EditListRow | Edit | Edit | EditListRow |
New | New | New | New |
Lookup filters
| Filter | Lookup field | Notes |
| Scheme for Scheme Slab | SchemeLineId | |