Purchase pipeline stages
A defined point in a purchase pipeline through which a supplier deal advances.
- API name:
purchasepipelinestages - 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 | |
| Pipeline | purchasepipelineId | Reference | Yes | |
| Position | rank | Order rank | Yes | |
| Name | label | Text I18n | ||
| Color | color | Color | Yes | |
| Rotting days | rottingDays | Whole Number | Whole number for this value. | |
| Status | status | Constant | Yes | Stage type in the purchase pipeline. Fixed at create; to correct it before publish, delete the stage and create it again. |
| Tags | tagIds | Tags | ||
| Description | description | Text Area I18n | ||
| 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 | ||
| Disabled by | disabledBy | User | ||
| Disabled at | disabledAt | 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 |
|---|---|---|
Pipeline purchasepipelineId | Purchase pipelines | owned by |
Tags tagIds | Tags | reference |
Actions
What you can do with a record. Every action also sends the webhook event purchasepipelinestages.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add a new stage. | App · WebMCP · API · MCP · CLI |
| Edit | update | Save changes to this stage. | App · API · MCP · CLI |
| Disable | disable | Turn this stage off for new use. Existing references stay. Enable it again to use it. | App · WebMCP · API · MCP · CLI |
| Enable | undisable | Turn this stage back on for new use. | App · WebMCP · API · MCP · CLI |
| Delete | delete | Delete this stage and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |