Screen shot of lot/serial class is attached. About the allocation lines. That is another wierd thing. If I look in the UI there are no allocation lines before, but if I fetch the shipment in the api, there are some allocation lines already. But if I try to update the allocations, using the lineNbr, it returns an error, indicating that it can't find the allocation line. Here is the result from GET shipment {
"shipmentNumber": "000005",
"shipmentType": "Issue",
"status": "Open",
"hold": false,
"operation": "Issue",
"shipmentDate": "2020-12-30T00:00:00",
"customer": {
"internalId": 2846,
"number": "10000",
"name": "Allan"
},
"location": {
"id": "HOVED",
"name": "Hovedlokasjon"
},
"fromWarehouse": {
"id": "1",
"description": "Hovedlager"
},
"currencyId": "DKK",
"shippedQuantity": 3,
"shippedWeight": 0,
"shippedVolume": 0,
"packagesWeight": 0,
"controlQuantity": 3,
"deliveryAddress": {
"overrideAddress": false,
"addressId": 23,
"country": {
"id": "DK",
"name": "DANMARK"
}
},
"deliveryContact": {
"overrideContact": false,
"contactId": 24,
"name": "Allan",
"email": "alm@apportsystems.com"
},
"residentialDelivery": false,
"saturdayDelivery": false,
"useCustomerAccount": false,
"insurance": false,
"freightCost": 0,
"freightAmt": 0,
"transactionType": {
"id": 0,
"description": "Ingen (unntatt)"
},
"modeOfTrasport": {
"id": 10,
"description": "Unknown"
},
"container": false,
"shipmentDetailLines": [
{
"lineNumber": 1,
"orderType": "SO",
"orderNbr": "000004",
"inventoryNumber": "333333",
"freeItem": false,
"warehouse": {
"id": "1",
"description": "Hovedlager"
},
"location": {
"id": "1",
"name": "Standard"
},
"uom": "STK",
"shippedQty": 3,
"orderedQty": 3,
"openQty": 0,
"lotSerialNbr": "",
"description": "Testvare 3",
"allocations": [
{
"lineNbr": 20,
"itemId": "333333",
"location": {
"id": "1",
"name": "Standard"
},
"lotSerialNumber": "",
"quantity": 1,
"uom": "STK",
"description": "Testvare 3"
},
{
"lineNbr": 21,
"itemId": "333333",
"location": {
"id": "1",
"name": "Standard"
},
"lotSerialNumber": "",
"quantity": 1,
"uom": "STK",
"description": "Testvare 3"
},
{
"lineNbr": 22,
"itemId": "333333",
"location": {
"id": "1",
"name": "Standard"
},
"lotSerialNumber": "",
"quantity": 1,
"uom": "STK",
"description": "Testvare 3"
}
],
"orderLineNbr": 1
}
],
"shipmentOrderLines": [
{
"orderType": "SO",
"orderNbr": "000004",
"shippedQty": 3,
"shippedWeight": 0,
"shippedVolume": 0,
"note": ""
}
],
"lastModifiedDateTime": "2021-02-04T09:48:52.5",
"note": "",
"metadata": {
"totalCount": 1,
"maxPageSize": 1000
}
}
... View more