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

Performance KPI — entity reference

A running total of what one party sold or bought in one incentive period or trade-scheme period. Records are written only by the Perform KPI Calculation action on a document (out of the box on Order and Invoice; Purchase Order, Bill, Service Order and Opportunity are supported once an administrator adds the action), never by saving. One run writes INCENTIVE records for each target of each Approved incentive plan whose period, validity and filters match the document, and SCHEME records for each Approved Per Period scheme of the matching type. Each kind has a header record (no item) with document counts and totals, plus one record per matching item for targets or schemes limited to items. A record is identified by posting type, account, partner account, supplier account, branch, resource, scheme and scheme period or plan, period and target, and item; later documents with the same keys add to it. Each document is counted once (its KPI Calculated field is set), and nothing reverses a cancelled or changed document. Incentive targets without a KPI configuration are scored by summing the member's matching records for the plan and period; Per Period schemes read the SCHEME records. Performance KPI is in no app; the Rewards reports New KPIs Report, New KPIs with Incentive Target Report and KPIs with Incentive Plan Report list it.

Fields

FieldLabelTypeRequiredWhat it does
AccountIdAccountLookup → AccountThe customer on the source document. Empty for purchase orders and bills. Customer-type plan members never match it, because the member stores a contact.
BranchIdBranchLookup → BranchThe source document's branch. Branch-type incentive plans match their members on this field.
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTimeYes
IdIdGuidYes
IncentivePeriodIdIncentive PeriodLookup → IncentivePeriodThe incentive period whose Date From and Date To contain the document date. The period's status is not checked.
IncentivePlanIdIncentive PlanLookup → IncentivePlanThe Approved incentive plan an INCENTIVE record counts towards. Empty on scheme records.
IncentiveTargetIdIncentive TargetLookup → IncentiveTargetThe incentive target the record counts towards. Only targets whose type the document can move, and whose account and account-group filters match, get records.
ItemIdItemLookup → ItemThe item an item record counts. Empty on header records. Item records are written only for targets or schemes limited to an item or item group, and targets with an item filter read only these records.
ModifiedByIdModified ByLookup → UserAccountYes
NameKPI NameTextYesA number from the Performance KPI numbering series (PKPI), stamped when the record is created.
NumberOfBillsNumber Of BillsNumberBills counted, once the action has been added to bills.
NumberOfInvoicesNumber Of InvoicesNumberInvoices counted on the header record, one per invoice.
NumberOfLeadsNumber Of LeadsNumberNever written by the calculation. Available for imported records.
NumberOfOpportunitiesNumber Of OpportunitiesNumberOpportunities counted, once the action has been added to opportunities.
NumberOfOrdersNumber Of OrdersNumberSale orders counted on the header record, one per order.
NumberOfPurchaseOrdersNumber Of Purchase OrdersNumberPurchase orders counted, once the action has been added to purchase orders.
NumberOfQuotesNumber Of QuotesNumberNever written by the calculation. Available for imported records.
NumberOfRepairOrdersNumber Of Repair OrdersNumberService orders counted, once the action has been added to service orders.
NumberOfServiceRequestsNumber Of Service RequestsNumberOpportunities counted, once the action has been added to opportunities. Goes up together with Number Of Opportunities.
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → AccountThe source document's partner account. Partner-type incentive plans match their members on this field.
PostingTypePosting TypePickListWhich engine reads the record. The calculation writes INCENTIVE for incentive-target records and SCHEME for Per Period scheme records. The seeded picklist values KPI and Scheme Ledger are never written by the system. Add up records only within one posting type. Values: KPI, Scheme Ledger.
RecordTypeIdRecord TypeGuid, hidden
ResourceIdResourceLookup → ResourceThe rep on the source document: the order's Executive, or the invoice's Executive (falling back to Executive Resource). Resource-type incentive plans match their members on this field.
SchemeIdSchemeLookup → SchemeThe Approved Per Period scheme a SCHEME record counts towards. Empty on incentive records.
SchemePeriodIdScheme PeriodLookup → SchemePeriodTies a scheme record to the scheme period whose dates contain the document date. Empty when the scheme has no periods. A document dated outside every period of a scheme that has periods is not recorded for it.
SKUIdSKULookup → SKUNever set by the calculation. Available for imported records.
SupplierAccountIdSupplier AccountLookup → AccountThe source document's supplier account. Used by scheme filters and scheme evaluation.
TargetValueTarget ValueCalculatedThe rep's quota for this period and target, copied from the member quotas when a document for a Resource member is calculated. Replaced, not added, on each document, so a changed quota reaches the record only with the next calculated document.
TotalAmountTotal AmountCurrencyAmount without tax. Header record: the document's line total (parts plus labour for service orders). Item record: the line amount.
TotalBillAmountTotal Bill AmountCurrencyBill amount without tax. No built-in target type scores it.
TotalBillQuantityTotal Bill QuantityNumberBill quantity. No built-in target type scores it.
TotalPurchaseOrderAmountTotal Purchase Order AmountCurrencyPurchase order amount without tax. Read by Purchase Order Amount targets.
TotalPurchaseOrderQuantityTotal Purchase Order QuantityNumberPurchase order quantity. Read by Purchase Order Quantity targets.
TotalQuantityTotal QuantityNumberHeader record: the sum of the document's positive line quantities. Item record: the line quantity.
TotalQuoteAmountTotal Quote AmountCurrencyNever written by the calculation. Available for imported records.
TotalQuoteQuantityTotal Quote QuantityNumberNever written by the calculation. Available for imported records.
TotalRepairOrderAmountTotal Repair Order AmountCurrencyService order parts plus labour; the header record includes tax. No built-in target type scores it.
TotalRepairOrderQuantityTotal Repair Order QuantityNumberService order quantity. No built-in target type scores it.
TotalSaleInvoiceAmountTotal Sale Invoice AmountCurrencyInvoice amount. On the header record it includes tax; on an item record it is the line amount. Read by Sale Amount targets.
TotalSaleInvoiceQuantityTotal Sale Invoice QuantityNumberInvoice quantity. Read by Invoice Quantity targets.
TotalSaleOrderAmountTotal Sale Order AmountCurrencySale order amount. On the header record it includes tax; on an item record it is the line amount. Read by Sale Order Amount targets.
TotalSaleOrderQuantityTotal Sale Order QuantityNumberSale order quantity. Read by Sale Order Quantity targets.
TotalServiceRequestAmountTotal Service Request AmountCurrencyOpportunity amount; the header record includes tax. No built-in target type scores it.
TotalServiceRequestQuantityTotal Service Request QuantityNumberOpportunity quantity. No built-in target type scores it.
TotalTaxAmountTotal Tax AmountCurrencyThe document's tax, on header records only. Zero for purchase orders and bills.
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
BulkDeleteDeleteDeleteDelete
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete
DeleteInListDeleteDeleteDelete
EditEditEditEdit
EditInLineEditEditEdit
NewNewNewNew