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/Price List Rule — entity reference
REFERENCE · Last reviewed

Price List Rule — entity reference

One dated price for one item on one price list, optionally narrowed to a specific SKU and/or item lot type. PriceListRuleService matches on the exact item, the resolved price list, a SKU and lot type that are either equal to the line's or left blank, and an effective-date window around the pricing date (the line's PriceAsOnDate, else the document's, else the document date, else today); candidates are ordered by DateEffectiveFrom descending then by SKU and lot type, so the newest rule wins and a rule naming the exact SKU or lot type outranks a blank one carrying the same start date. The matched amounts land on the line as UnitPrice/UnitPrice2 for sales-side lines and UnitCost/UnitCost2 for bill, adjustment, purchase-order and bill-return lines. The price is a default rather than an override: bundle-priced lines are skipped entirely, and on a freshly inserted line a non-zero amount the user already typed is preserved.

Fields

FieldLabelTypeRequiredWhat it does
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
DateEffectiveFromDate Effective FromDateYesStart of the rule's validity and the strongest tie-break: among the rules valid on the pricing date the one with the latest start wins. The pricing date is the line's PriceAsOnDate, else the document's, else the document date, else today.
DateEffectiveTillDate Effective TillDateEnd of validity. Leaving it empty makes the rule open-ended rather than expired, which is the usual reason an old rule keeps pricing lines.
ExternalIdExternalText
IdIdGuidYes
ItemIdItemLookup → ItemYes
ItemLotTypeIdItem Lot TypeLookup → ItemLotTypeOptional narrowing to one item lot type; empty matches all of them. Like SKU it acts as a tie-break, so a lot-type-specific rule outranks a blank rule with the same start date.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameText
OwnerIdOwnerLookup → UserAccountYes
PricePriceCurrencyThe unit amount copied onto the matched document line: UnitPrice on sales-side lines and UnitCost on bill, adjustment, purchase-order, bill-return, requisition and auto-purchase-order lines. It behaves as a default — bundle-priced lines are skipped, and on a newly inserted line a non-zero amount already entered is left untouched.
Price2Price2CurrencyA secondary unit amount copied alongside the primary one into UnitPrice2 or UnitCost2.
PriceListIdPrice ListLookup → PriceListYesRequired. The rule is only considered once a list has been settled for the line — the line's own price list, else the parent document's, else any list flagged as the default.
RecordTypeIdRecord TypeGuid, hidden
SKUIdSKULookup → SKULeaving it empty makes the rule apply to every SKU of the item. When a SKU-specific rule and a blank one share the same start date, the SKU-specific one is preferred.
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
EditInLineEditEditEdit In Page
EditListHeaderEditEditInlineEditListHeader
EditListRowEditEditEditListRow
NewNewNewInlineNew

Validations

ValidationApplies toError messageNotes
Date Rule ValidationDateEffectiveTill, ErrorDate Effective Till can not be Older than Date Effective FromEnsures effective-till date is not earlier than effective-from date

Lookup filters

FilterLookup fieldNotes
Sku For ItemSKUIdSku For Item