My Products
Help
Kjetil Ringstad
PARTNER

addPurchaseOrderLines and purchasereceipts with serial no

by Kjetil Ringstad

Hi

When using addPurchaseOrderLines to add purchase order lines to a purchase receipt when the product is serial enabled results in the error

"One or more lines contain unassigned location and/or lot/serial number."

 

But the serial numbers can't be added unless the line is added first.

 

This is a real catch 22.

What is the recommended way of doing this?

6 REPLIES 6
Kjetil Ringstad
PARTNER

by Kjetil Ringstad

Thank you, I've attached images for one serial enabled product with expire date, and one batch enabled product.

It's when we use such configuration the error happens.

 

 

by Magnus Johnsen

Could you please share the settings of the lot/serial class so we can try it out locally?

Thank you. 

Kjetil Ringstad
PARTNER

Please see the post at 11-01-2021 16:32 for this.

As of now, it does not seem to be possible to do this in the way it was intended.

As a workaround, please add the lines "manually".

We will report this to the development team and let you know as soon as we have more information.

Thank you. 

Kjetil Ringstad
PARTNER

Thank you for checking. I'll create a new thread with a different issue when adding lines "manually". 

Thank you, we'll have a look and get back to you.