Skip to Content

How to automatically assign serial numbers during confirumation of an outbound delivery

Dear community,

our customer uses the lean way to confirm Outbound deliveries, which means that they click on "Post Goods Issue" on "Delivery Proposals" to directly create the Outbound delivery without Site logistics Tasks.

In the Screen "Create Outbound delivery and Goods Issue" we want to automatically assign the Serial numbers with absl script for the delivery items.

It works fine to create new nodes of type SiteLogisticsLot.MaterialOutput.SerialNumberAssignment, when it is a new individual product that does not yet exist, but when the individual product already exists, because we created it during Inbound delivery process, there is an error message:

"-----> Serial ID 12003 already exists"

When I enter the Serial number of an existing individiual product manually, it does work without an error.

Does anyone have an idea, how to do that in an absl script?

Here is my script that creates the serial number assignment.

var serialNrAss : elementsof SiteLogisticsLot.SerialNumberAssignment;

serialNrAss.IndividualProductUUID = individualProduct.UUID; serialNrAss.SerialID = serialNr; serialNrAss.MaterialOutputUUID = materialOutput.UUID; var serialNrAssignment; serialNrAssignment = materialOutput.SerialNumberAssignment.Create(serialNrAss); serialNrAssignment.Confirm();

It would be great if someone can share his or her experiences with that object.

Kind regards,

Christine

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers