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/Policy Violation — entity reference
REFERENCE · Last reviewed

Policy Violation — entity reference

The audit record written when policy evaluation finds a breach on a claim or a specific claim line: the rule (expensePolicyRuleId), ruleType, severity (Info, Warning, Block), a message, and the excess amount for over-limit breaches. overriddenById/overrideReason record a manual override. Evaluating a claim appends new violation rows and sets the claim's hasPolicyViolation flag.

Fields

FieldLabelTypeRequiredWhat it does
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
ExcessAmountExcess AmountCurrencyFor over-limit breaches, the amount above the threshold (also what AutoDisallow adds to the line's disallowedAmount); for BlockedCategory it is the full line amount. Empty for checks with no monetary excess.
ExpenseClaimIdExpense ClaimLookup → ExpenseClaim
ExpenseClaimLineIdExpense Claim LineLookup → ExpenseClaimLine
ExpensePolicyRuleIdExpense Policy RuleLookup → ExpensePolicyRule
IdIdGuidYes
MessageMessageText
ModifiedByIdModified ByLookup → UserAccountYes
NameNameText
OverriddenByIdOverriden ByLookupWho approved proceeding despite the violation, with the justification in overrideReason. Recorded manually - the evaluation engine only writes violations, it does not process overrides.
OverrideReasonOverride ReasonText
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → Account
RecordTypeIdRecord TypeGuid, hidden
RuleTypeRule TypeText
SeveritySeverityTextInfo, Warning or Block. Derived from the breached rule's action: HardBlock produces Block, everything else produces Warning; automatic inactive-category violations are Block.
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
BulkDeleteDeleteDeleteDelete the selected records.
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete this ExpensePolicyViolation.
DeleteRecordDeleteDeleteDelete
EditEditEditEdit this ExpensePolicyViolation.
EditInLineEditEditInlineEditInLine
EditRecordEditEditEdit
NewNewNewCreate a ExpensePolicyViolation.