xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField SalesCRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Scheme Slab — entity reference
REFERENCE · Last reviewed

Scheme Slab — entity reference

One slab of a Scheme (schemeId): a unit of qualification pairing child SchemeCondition rows (the tests) with child SchemeBenefit rows (the grants). definitionFilterCriteria decides how the conditions combine and rewardApplicability decides which of the qualifying benefits are granted; both have Custom Logic variants driven by expressions like {1} AND ({2} OR {3}) stored in definitionCustomLogic/rewardCustomLogic. Slabs are evaluated in absoluteSequenceNumber then sequenceNumber order. When a slab applies to a document, the document lines that received the discount or free item point back via their schemeLineId, and a SchemeLedger row is written per applied line. Despite the entity name, the display label is Scheme Slab.

Fields

FieldLabelTypeRequiredWhat it does
AbsoluteSequenceNumberAbsolute Sequence NumberCalculatedPrimary ordering key for slab evaluation across schemes (slabs sort by this, then by SequenceNumber).
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
DefinitionCustomLogicDefinition Custom LogicTextBoolean expression over condition ordinals, for example {1} AND ({2} OR {3}), used only when DefinitionFilterCriteria is Custom Logic Is Met. Each {N} refers to the Nth condition by sequence.
DefinitionFilterCriteriaDefinition Filter CriteriaPickListYesHow this slab's conditions combine: Always (No Criteria) auto-qualifies, All Conditions Are Met is an AND, Any Condition Is Met is an OR, Custom Logic Is Met evaluates the expression in DefinitionCustomLogic. Values: All Conditions Are Met, Any Condition Is Met, Always (No Criteria), Custom Logic Is Met.
IdIdGuidYes
ModifiedByIdModified ByLookup → UserAccountYes
NameSlab NameTextYes
OwnerIdOwnerLookup → UserAccountYes
ParentSchemeLineParent Scheme LineLookup → SchemeLine
RecordTypeIdRecord TypeGuid, hidden
RewardAccountGroupReward Account GroupLookup → AccountGroup
RewardApplicabilityReward ApplicabilityPickListYesWhich of the slab's qualifying benefits are granted: All Rewards, Any One With Lowest Value, Any One With Highest Value, or Custom Logic (benefit groups described by the expression in RewardCustomLogic; the user or caller picks one group). Values: All Rewards, Any One With Lowest Value, Any One With Highest Value, Custom Logic.
RewardCustomLogicReward Custom LogicTextExpression over benefit ordinals ({1} AND {2} OR {3}) that partitions the slab's benefits into selectable groups when RewardApplicability is Custom Logic; the applied group is chosen by index at apply time.
SchemeIdSchemeLookup → SchemeYes
SequenceNumberSequence NumberNumberYes
TitleTitleText
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes
UseLowerConditionRatioUser Lower Ratio for RewardsBooleanYesWhen the slab's conditions are combined, use the LOWEST qualifying count and target-to-achievement ratio across the conditions instead of the highest - the conservative reading for repeat rewards and ratio-based repeats.

Actions

ActionLabelTypeWhat it does
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete
DeleteListHeaderDeleteDeleteDeleteListHeader
DeleteListRowDeleteDeleteDeleteListRow
EditEditEditEdit
EditInLineEditEditInlineEditInLine
EditListHeaderEditEditInlineEditListHeader
EditListRowEditEditEditListRow
NewNewNewNew