RequiredProductionPartsByItemId: Fortnox Required Production Parts by Item ID
read only REST
- Catalog:
Fortnox - Schema:
WarehouseProductionOrders - Label: Required Production Parts by Item ID
Get the package items (Bill Of Materials, BOMs) for a production article
If no parameters are supplied, the totalQuantityRequired for producing 1 unit is returned.
Query parameter quantity can optionally be supplied, which will calculate totalQuantityRequired.
If query parameter id is supplied, it will get the quantity from that Production Order (the quantity query parameter is ignored if id is included).
Can only retrieve data.
Summary
If no parameters are supplied, the totalQuantityRequired for producing 1 unit is returned.
Query parameter quantity can optionally be supplied, which will
calculate totalQuantityRequired.
If query parameter id is supplied, it will get the quantity from that
Production Order (the quantity query parameter is ignored if id
is included).
API Source
- Endpoint:
/api/warehouse/productionorders-v1/billofmaterials/{itemId} - Operation:
get /api/warehouse/productionorders-v1/billofmaterials/{itemId}
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 356 |
| Full scan rows per minute | 85,000 |
| Point query rows per minute | 168 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
financialyear |
`` | Selects what financial year that should be used (does not work on every table). | ||
financialyeardate |
`` | Selects by date, what financial year that should be used (does not work on every table). | ||
fromdate |
`` | Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). | ||
id |
`` | the id of the production order (optional) | ||
itemId |
`` | Production Article id | ||
lastmodified |
`` | Retrieves all records since the provided timestamp (does not work on every table). | ||
quantity |
`` | the quantity of the production order (assumed 1 if left empty) | ||
todate |
`` | Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |
Table Columns
The columns of the table RequiredProductionPartsByItemId are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
item |
varchar2 |
Item Description | filters on the platform, writable, item |
||
itemId |
varchar2 |
Item ID | filters on the platform, writable, itemId |
||
item |
varchar2 |
Item Unit | filters on the platform, writable, item |
||
quantity |
decimal |
Quantity Required | filters on the platform, writable, quantity |
||
quantity |
decimal |
Quantity Reserved | filters on the platform, writable, quantity |
||
total |
decimal |
Total Quantity Required | filters on the platform, writable, total |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: