User Profile
junxie
3
Posts
0
Kudos
0
Solutions
08-01-2025
16:50
Hi! We are trying to using the PUT to insert a serial number for a product in a shipment Below is the relevant part of the result from the GET reponse "shipmentDetailLines": [
{
"lineNumber": 1,
"inventoryNumber": "IAC-RBAT-5KCINV-01",
"freeItem": false,
"warehouse": {
"id": "108 ",
"description": "Örebro"
},
"location": {
"id": "1",
"name": "Standard"
},
"uom": "STYCK",
"shippedQty": 1,
"orderedQty": 1,
"openQty": 0,
"lotSerialNbr": "",
"description": "SolarEdge Cable set, Battery to Inverter",
"allocations": [
{
"lineNbr": 2,
"itemId": "IAC-RBAT-5KCINV-01",
"location": {
"id": "1",
"name": "Standard"
},
"lotSerialNumber": "",
"quantity": 1,
"uom": "STYCK",
"description": "SolarEdge Cable set, Battery to Inverter"
}
],
"orderLineNbr": 1,
"alternateID": "IAC-RBAT-5KCINV-01"
},
{
"lineNumber": 3,
"inventoryNumber": "HVS",
"freeItem": false,
"warehouse": {
"id": "108 ",
"description": "Örebro"
},
"location": {
"id": "1",
"name": "Standard"
},
"uom": "STYCK",
"shippedQty": 1,
"orderedQty": 1,
"openQty": 0,
"description": "BYD HVS",
"allocations": [
{
"lineNbr": 7,
"itemId": "HVS",
"location": {
"id": "1",
"name": "Standard"
},
"lotSerialNumber": "",
"quantity": 1,
"uom": "STYCK",
"description": "BYD HVS"
}
],
"orderLineNbr": 2,
"alternateID": "HVS"
},
{
"lineNumber": 5,
"inventoryNumber": "FRAKT",
"freeItem": false,
"warehouse": {
"id": "108 ",
"description": "Örebro"
},
"location": {
"id": "1",
"name": "Standard"
},
"uom": "STYCK",
"shippedQty": 1,
"orderedQty": 1,
"openQty": 0,
"lotSerialNbr": "",
"description": "Frakt",
"allocations": [
{
"lineNbr": 6,
"itemId": "FRAKT",
"location": {
"id": "1",
"name": "Standard"
},
"lotSerialNumber": "",
"quantity": 1,
"uom": "STYCK",
"description": "Frakt"
}
],
"orderLineNbr": 3
}
] It can be seen that the inside the shipment line 3, there is an allocation with lineNbr 7 which has an empty lotSerialNumber. All we want to do is to update the shipment so that a serial number is added. We tried many different approaches, but all failed: 1. Delete the existing empty allocation and insert a new one with a valid lotSerialNumber, see below payload for the PUT request. Error: 'VismaId: eec30e73-81c6-438c-8dc6-588dafe9973f. Object reference not set to an instance of an object.' {
"shipmentDetailLines": [
{
"lineNumber": {
"value": 3
},
"operation": "Update",
"allocations": [
{
"lineNbr": {
"value": 7
},
"operation": "Delete",
},
{
"lotSerialNumber": {
"value": "P031T020W2407032144"
},
"operation": "Insert",
},
]
}
]
} 2. Update the exising empty allocation Error: Shipment Allocation Line: '7' not found. {
"shipmentDetailLines": [
{
"lineNumber": {
"value": 3
},
"operation": "Update",
"allocations": [
{
"lineNbr": {
"value": 7
},
"operation": "Update",
"lotSerialNumber": {
"value": "P031T020W2407032144"
},
}
]
}
]
}
... View more
05-11-2024
16:56
Yes, I am also seeing at huge amount of errors like this, please fix it as soon as possible
... View more
07-09-2024
11:33
Hi! Yesterday many of my Visma.net integration started failing with the following error. ExceptionType: 'IPPException', ExceptionMessage: 'Invalid Token', ExceptionFaultCode: '12010', I checked https://integration.visma.net/API-index/, it used to have many endpoints, now most of them are gone, e.g sales orders, purchase order, customer, product etc I believe there is a general problem on the Visma.net ERP API itself and that caused invalid token issue. Can you please look into this and solve it as soon as possible? Thank you
... View more
Activity Feed for junxie
- Posted Failure to add serial number to a shipment allocation line on Forum in Developers Visma.net. 08-01-2025 16:50
- Posted Re: Increase in errors the last days on Forum in Developers Visma.net. 05-11-2024 16:56
- Posted Invalid Token from Visma.net ERP on Forum in Developers Visma.net. 07-09-2024 11:33