Hi,
When a service order is assigned to a Service Agent and we want to change the Service Agent , the material stays allocated whitout the previous VAN (Warehouse). (From Whse. is empty.)

When Save the order or try to deallocate the materal we get this error.

This error is logic because you cannot allocated a material whitout a From Whse.
I have manually add the previous VAN Warehouse id in de demand material line in the Database. This way we can deallocate the material.
Is there way to auto deallocate materials when changing Service Agent., so we do not get the above error?
Thanks


