Overview
This is a list (query) of the trade items that have been produced (output) in production or repacking. One row is one produced trade item, i.e. one trade item ledger entry with creation type Production or Repacking.
The list includes produced trade items regardless of whether they are still in stock or have been closed (e.g. sold or consumed again).
The query has no totals, so to get the total output of a production lot, sum weight, tradeItems or quantityBase over the rows of that lot. Together with consumptionentries this can be used for production reports (input vs. output) and traceability.
|
Endpoint name |
|
|
Source table |
API query on |
|
Fixed view |
Only produced trade items are listed, so there is a fixed filter on Creation Type: |
|
Requests allowed |
GET |
|
Object Type |
|
|
Primary key |
None (query) |
|
Record ID |
None (query) |
|
Procedures |
None |
Note: productionStage and tradeItemStage both come from the field Stage and always have the same value.
Data
Field List
|
Property |
Type |
Format |
Description |
|
|
|---|---|---|---|---|---|
|
1 |
|
string |
max 20 |
The lot of the produced trade item (field Trade Item Lot Code). |
|
|
2 |
|
string |
max 20 |
The stage the trade item was produced in (field Stage). |
|
|
3 |
|
string |
date |
Production Date of the produced trade item. |
|
|
4 |
|
string |
date |
Date when the output was posted (field Posting Date (Inbound)). |
|
|
5 |
|
string |
max 20 |
Item number of the produced item. |
|
|
6 |
|
string |
max 100 |
Item description. |
|
|
7 |
|
string |
enum |
Item type of the item. Options: (blank), Raw Material, WIP, Product |
|
|
8 |
|
number |
decimal |
Recorded weight of the produced trade item, in the base weight unit (field Weight (Recorded BWU)). |
|
|
9 |
|
number |
decimal |
Number of trade items produced. The trade item unit can be different for each item. |
|
|
10 |
|
string |
max 10 |
Trade item unit of measure (field TI UoM Code). |
|
|
11 |
|
number |
decimal |
Quantity produced, in base unit of measure (field Quantity (Base)). |
|
|
12 |
|
string |
max 10 |
Unit of Measure Code from the ledger entry. |
|
|
13 |
|
string |
max 22 |
Barcode of the produced trade item. |
|
|
14 |
|
string |
max 20 |
Stage of the trade item (field Stage; same value as |
|
|
15 |
|
integer |
|
Line No. of the trade item (field Line No.). Together with |
|
Object Example
{
"productionLot": "LOT0206",
"productionStage": "PRODUCED",
"productionDate": "2026-04-09",
"postingDate": "2026-04-09",
"itemNo": "70064",
"itemDescription": "Salmon Pack of 3 boxes",
"itemType": "Product",
"weight": 6,
"tradeItems": 1,
"tradeItemUnit": "STK",
"quantityBase": 3,
"unitOfMeasureCode": "BOKS",
"tradeItemBarcode": "",
"tradeItemStage": "PRODUCED",
"tradeItemLineNo": 65
}
Examples
Read output entries
All output entries
Returns every produced trade item. The response is a list of objects as shown in Object Example.
GET /api/wisefish/base/v1.0/companies({companyId})/outputEntries
Output of a production lot
Lists the trade items produced in production lot LOT0206.
GET .../outputEntries?$filter=productionLot eq 'LOT0206'
Response (shortened to one entry):
{
"@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#companies(f5a90234-4e79-f111-b037-cca9ad943c7c)/outputEntries",
"value": [
{
"productionLot": "LOT0206",
"productionStage": "PRODUCED",
"productionDate": "2026-04-09",
"postingDate": "2026-04-09",
"itemNo": "70064",
"itemDescription": "Salmon Pack of 3 boxes",
"itemType": "Product",
"weight": 6,
"tradeItems": 1,
"tradeItemUnit": "STK",
"quantityBase": 3,
"unitOfMeasureCode": "BOKS",
"tradeItemBarcode": "",
"tradeItemStage": "PRODUCED",
"tradeItemLineNo": 65
}
]
}
Filter and select
Output of an item in a period
Lists output of item 70064 posted in April 2026.
GET .../outputEntries?$filter=itemNo eq '70064' and postingDate ge 2026-04-01 and postingDate le 2026-04-30
Selected fields only
Returns only the production lot, item and quantities of produced products, e.g. for a production yield report.
GET .../outputEntries?$filter=itemType eq 'Product'&$select=productionLot,itemNo,weight,tradeItems,tradeItemUnit