Overview
This API is for posting output on Production Lots. Lines are created into the Trade Item Output Journal, linked to a specific production Lot.
|
Endpoint name |
|
|
Source table |
|
|
Fixed view |
None |
|
Requests allowed |
GET, POST, PATCH, DELETE |
|
Primary Key |
"Journal Template Name", "Journal Batch Name", "Line No." |
|
Record ID |
|
|
Procedures |
None. In this version, the line is only inserted, then it needs to be posted from within BC. |
Data
Field List
|
Property |
Type |
Max Len |
Description |
|
|
|
string uuid |
GUID |
The system id of the record. |
Record ID |
|
|
string |
|
Needs to exist in the Trade Item Journal Templates list |
primary key |
|
|
string |
|
Needs to exist in the Trade Item Journal Batches list |
primary key |
|
|
integer |
|
|
primary key |
|
|
string |
20 |
A production lot |
|
|
|
string |
|
|
|
|
|
date |
|
|
|
|
|
string |
|
|
|
|
|
date |
|
|
|
|
|
string |
20 |
|
|
|
|
string |
|
|
|
|
|
string |
20 |
The item needs to be either a WIP item or a Product item. |
|
|
|
string |
100 |
|
|
|
|
decimal |
|
|
|
|
|
string |
|
The unit for the |
|
|
|
decimal |
|
|
|
|
|
string |
|
The unit for the |
|
|
|
string |
|
If the created trade item is to be barcoded. |
|
|
|
string |
|
This pallet needs to exist. First it can be created with the |
|
|
|
enum |
|
These fields are used to instantly reserve the created trade item to an agreement. |
|
|
|
string |
|
|
|
|
|
integer |
|
|
|
|
|
datetime |
|
|
non-editable |
Example Object
Usage
Create an output journal line
To create a new line in the journal, use POST and all necessary values.
Example:
POST .../outputJournalLines
{
"templateName": "OUTPUT",
"batchName": "BOXES",
"lineNo": 30000,
"lot": "LANDING-LOT-1",
"processingStage": "LANDED",
"postingDate": "2026-01-20",
"productionDate": "2026-01-18",
"stockCenterCode": "FROSTI",
"locationCode": "BLUE",
"itemNumber": "0900",
"tradeItems": 20
}
→ Next step - or any time it suits the user - this journal needs to be posted.