Purchase order discount allocations
Share of one header discount applied to one purchase order line.
- API name:
purchaseorderdiscountallocations - 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 | |
| Order | purchaseorderId | Reference | Yes | |
| Header discount | purchaseorderdiscountId | Reference | Yes | |
| Line item | purchaseorderitemId | Reference | Yes | |
| Allocated amount | amount | Currency | Yes | Monetary amount in the applicable currency for this record. |
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Approved by | approvedBy | User | ||
| Approved at | approvedAt | 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 |
|---|---|---|
Order purchaseorderId | Purchase orders | owned by |
Header discount purchaseorderdiscountId | Purchase order header discounts | reference |
Line item purchaseorderitemId | Purchase order line items | reference |