Error creating a new pack in the customer shipment entry module

Error creating a new pack in the customer shipment entry module.

Do you have multiple sites?

Yes, we have several sites, the whole process is being done within the same site and it was validated that the part used belongs to the correct site.

Well, even with all that, the sales order can still disobey what you wanted.

Any release on the whole order can go to any site in the company.

Perhaps there are one or more releases that are destined for other sites (not the site you were intending)?

If it’s not that, maybe all releases are indeed closed?

So, it’s supposed to happen that if all releases are closed that the lines are closed, too, but computers mess up.

The process was performed again, the releases were validated to be in an open state and the package was created. The error seems to have been resolved.

The lines of the sales order are obtained.