Supplier scorecard KPIs
A weighted KPI score on a supplier scorecard.
- API name:
purchasescorecardkpis - Domain: Purchases
- Modules: Purchasing
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| Scorecard | purchasescorecardId | Reference | Yes | |
| Position | rank | Order rank | Yes | |
| Name | label | Text | Yes | |
| Kind | kind | Constant | Yes | |
| Metric | metric | Constant | Yes | |
| Weight | weight | Percent | Yes | Numeric value stored with decimal precision. |
| Value | value | Percent | Stored value for this option row in the database. | |
| Events | countEvent | Whole Number | Yes | Whole number without fractional part. |
| Score | score | Percent | Rate expressed as a percent of a base amount. | |
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Published by | publishedBy | User | ||
| Published at | publishedAt | Date and Time | ||
| Blocked by | blockedBy | User | ||
| Blocked at | blockedAt | Date and Time | ||
| Archived by | archivedBy | User | ||
| Archived at | archivedAt | Date and Time |
Relations
Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.
| Field | Points to | Kind |
|---|---|---|
Scorecard purchasescorecardId | Supplier scorecards | owned by |
Actions
What you can do with a record. Every action also sends the webhook event purchasescorecardkpis.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add a new scorecard kpi. | App · WebMCP · API · MCP · CLI |
| Edit | update | Save changes to this scorecard kpi. | App · API · MCP · CLI |
| Delete | delete | Delete this scorecard kpi and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |