Hi!
The field transferNumber is not included in the reply from /controller/api/v1/inventoryReceipt. No success in either Swagger or in Postman.
"totalCost": 30865.68,
"controlCost": 30865.68,
"receiptLines": [
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 19,
"extCost": 2736,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 1,
"inventoryItem": {
"number": "3458",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 144,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 56.82,
"extCost": 681.87,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 3,
"inventoryItem": {
"number": "7925",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "Standard konsignationslager"
},
"quantity": 12,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 22.44,
"extCost": 1615.47,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 5,
"inventoryItem": {
"number": "3244",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 72,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": ""
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 48,
"extCost": 23040,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 7,
"inventoryItem": {
"number": "7993",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 480,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
},
{
"warehouse": {
"id": "3 ",
"description": "XXX"
},
"unitCost": 19.39,
"extCost": 2791.63,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 9,
"inventoryItem": {
"number": "3467",
"description": "XXX"
},
"location": {
"id": "3-1",
"name": "XXX"
},
"quantity": 144,
"uom": "STYCK",
"description": "XXX",
"branchNumber": {
"number": "1",
"name": "XXX"
}
}
],
"referenceNumber": "1500996",
"status": "Released",
"hold": false,
"date": "2021-03-11T00:00:00",
"postPeriod": "202103",
"totalQuantity": 852,
"controlQuantity": 852,
"batchNumber": "032934",
"lastModifiedDateTime": "2021-03-11T15:04:17.513",
"branchNumber": {
"number": "1",
"name": "XXXXXX"
},
"metadata": {
"totalCount": 1,
"maxPageSize": 1000
}
}
I don't get transferNumber anywhere but according to swagger I should get it in my response:
"totalCost": 0,
"controlCost": 0,
"transferNumber": "string",
"receiptLines": [
{
"warehouse": {
"id": "string",
"description": "string"
},
"unitCost": 0,
"extCost": 0,
"project": {
"id": "string",
"description": "string"
},
"projectTask": {
"id": "string",
"description": "string"
},
"lineNumber": 0,
"inventoryItem": {
"number": "string",
"description": "string"
},
"location": {
"countryId": "string",
"id": "string",
"name": "string"
},
"quantity": 0,
"uom": "string",
"reasonCode": {
"id": "string",
"description": "string"
},
"description": "string",
"attachments": [
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0
}
],
"branchNumber": {
"number": "string",
"name": "string"
}
}
],
"referenceNumber": "string",
"status": "Hold",
"hold": true,
"date": "2021-09-06T08:17:04.319Z",
"postPeriod": "string",
"externalReference": "string",
"description": "string",
"totalQuantity": 0,
"controlQuantity": 0,
"batchNumber": "string",
"lastModifiedDateTime": "2021-09-06T08:17:04.319Z",
"branchNumber": {
"number": "string",
"name": "string"
},
"attachments": [
{
"name": "string",
"id": "00000000-0000-0000-0000-000000000000",
"revision": 0
}
],
"errorInfo": "string",
"metadata": {
"totalCount": 0,
"maxPageSize": 0
}
}
How do we get the transferNumber?
Thanks!
/Frida