Overview
The API returns the inventory of items that are Trade Items. No data update is allowed.
Trade Items are items that have the field “Trade Item Type” populated. The options are:
-
Raw Material
-
WIP
-
Product
|
Endpoint name |
|
|
Source table |
|
|
Fixed view |
The endpoint only lists item that are still in inventory, so to ensure that, there is a fixed filter on empty Closing Type:
|
|
Requests allowed |
GET |
|
Primary key |
|
|
Record ID |
|
|
Procedures |
None |
Data
Field List
|
Property |
Type |
Format |
Description |
|
|
|---|---|---|---|---|---|
|
1 |
|
string |
uuid |
They systemID of the entry. |
Record ID |
|
2 |
|
string |
max 20 |
Each trade item was created for a specific Stage. |
primary key |
|
3 |
|
integer |
|
Within each stage, the trade items are numbered with a sequential number. |
primary key |
|
4 |
|
string |
max 20 |
Every trade item is a unique “individual” of a standard BC item. |
|
|
5 |
|
string |
max 50 |
Description of the Trade Item. |
|
|
6 |
|
string |
enum |
Blank if it is a standard item, if not blank, it is a “trade item”. Options:
|
|
|
7 |
|
string |
max 10 |
|
|
|
8 |
|
string |
max 50 |
Description from the Item card. |
|
|
9 |
|
string |
max 20 |
Every trade item is a unique “individual” of a standard BC item. |
|
|
10 |
|
string |
max 30 |
|
|
|
11 |
|
string |
max 20 |
|
|
|
12 |
|
string |
max 20 |
|
|
|
13 |
|
number |
|
|
|
|
14 |
|
string |
max 10 |
|
|
|
15 |
|
number |
|
|
|
|
16 |
|
string |
max 10 |
|
|
|
17 |
|
number |
|
|
|
|
18 |
|
string |
max 10 |
|
|
|
19 |
|
number |
|
|
|
|
20 |
|
number |
|
|
|
|
21 |
|
string |
max 20 |
|
|
|
22 |
|
string |
max 20 |
|
|
|
23 |
|
string |
max 20 |
|
|
|
24 |
|
string |
max 22 |
|
|
|
25 |
|
boolean |
|
Shows if this inventory has been fully posted to BC Item Ledger Entries |
|
|
26 |
|
string |
enum |
|
|
|
27 |
|
string |
date |
|
|
|
28 |
|
string |
date |
|
|
|
29 |
|
string |
date |
|
|
|
30 |
|
string |
max 10 |
|
|
|
31 |
|
string |
max 10 |
|
|
|
32 |
|
string |
date-time |
|
|
Example Object
{
"systemId": "e996b124-3003-f011-b01d-f992b2580806",
"stage": "PRODUCTION",
"lineNo": 64,
"itemNo": "70064",
"description": "Cod - raw material",
"type": "Raw Material",
"lot": "LOT0051",
"itemDescription": "Cod - raw material",
"variantCode": "SV-0002",
"locationCode": "BLUE",
"stockCenterCode": "BLA",
"tradeItems": 500,
"tradeItemUnitOfMeasure": "KG",
"tradeItemsBase": 500,
"tradeItemBaseUnitOfMeasure": "KG",
"quantity": 500,
"unitOfMeasure": "KG",
"quantityBase": 500,
"qtyPerUnitOfMeasure": 1,
"palletBarcode": "",
"palletNo": "",
"physicalPalletID": "",
"tradeItemBarcode": "",
"status": "Posted in (BC inv.)",
"holdStatus": " ",
"postingDateInbound": "2025-03-17",
"productionDate": "2025-03-17",
"expirationDate": "0001-01-01",
"zoneCode": "",
"binCode": "",
"lastModified": "2025-03-26T10:11:17.52Z"
}
Usage
Trade Items in stock on specific Location
To get the inventory on Location BLUE this request will do:
GET ../inventoryTradeItems?$filter=locationCode eq 'BLUE'