xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField Sales & SFACRMRewardsClaimsInventoryProcurementWarehouse 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
Auto DMSConsumer Goods DMSSales Force Automation (SFA) 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/Discount Group — entity reference
REFERENCE · Last reviewed

Discount Group — entity reference

A named set of dated contract-discount rules, set up in the Sales or Procurement settings under Pricing & Tax. When a new document is first saved, xMatix stamps the best-matching group onto it: sales documents (order, invoice, quote, opportunity, delivery order, service order, sale-return credit note) consider only active Sale Price groups, and purchase orders and bills only active Purchase Price groups. Each scope field must be empty or fit the document, and a group with a branch ranks first, then one with a partner account, partner account group and customer account group. A matching group replaces any group already on the new document; with no match the document keeps what it had. There is no default fallback. Lines added afterwards take their contract discount from the group's rules; nothing re-applies discounts later, not even Reprice. Credit note lines never receive a contract discount.

Fields

FieldLabelTypeRequiredWhat it does
BranchIdBranchLookup → BranchConfines the group to documents raised in one branch; empty means any branch. The picker lists the chosen partner account's branches. A group with a branch ranks first when several match. Hidden on single-location tenants.
ClaimablePercentageClaimable PercentagePercentStored but not read; nothing computes a claim from it.
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
CustomerAccountGroupIdCustomer Account GroupLookup → AccountGroupConfines the group to documents whose customer is a member of this account group. Only account groups of type Discount are recognised, and members count whether or not they are marked active. Purchase orders and bills have no customer, so a Purchase Price group with this field set never matches.
DiscountTypeDiscount TypePickListYesWhich documents the group serves: Sale Price groups are stamped on sales documents, Purchase Price groups on purchase orders and bills. Required. Values: Sale Price, Purchase Price.
IdIdGuidYes
IsActiveActiveBooleanOnly active groups are chosen automatically for new documents. It is not checked when a line's discount is worked out, so a document that already carries an inactive group still discounts new lines from its rules.
IsClaimableClaimableBooleanStored but not read. It does not make a contract discount recoverable through trade claims, which decide claimability from the scheme.
IsDefaultDefaultBooleanStored but not read. Discount groups have no fallback, so a document that matches no group gets no contract discount.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameTextYesThe group's name, shown on documents' Discount Group field.
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountGroupIdPartner Account GroupLookup → AccountGroupConfines the group to documents whose partner account is a member of this account group. Only account groups of type Discount are recognised, and members count whether or not they are marked active.
PartnerAccountIdPartner AccountLookup → AccountConfines the group to documents of one selling or buying company; empty means any company. Only active partner accounts are offered. Hidden on single-company tenants.
RecordTypeIdRecord TypeGuid, hidden
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
BulkDeleteDeleteDeleteDelete the selected records.
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete
DeleteInListDeleteDeleteDelete in a list page
EditEditEditEdit
EditInLineEditEditInlineDelete in page.
EditInListEditEditEdit
EditListHeaderEditEditInlineEditListHeader
NewNewNewNew
UIActionUI ActionUIActionUI Action

Lookup filters

FilterLookup fieldNotes
Partner Account FilterPartnerAccountId
Related BranchBranchId