Skip to main content

Hello Guys,

my request is to stop generating a shipment when a row is found in a custom LU and interactively this is working good: with error_sys a pop-up appears and the shipment is not generated. The problem is when the user run the creation of the consolidated pick list in background. If the row is found, then no shipment is created. How is it possible to just skip that shipment and let the procedure go on and created the others ?

Thanks to anyone that can help me.

@luca.puccini you would need a modification into the logic of the API that creates the consolidated picklist. Basically you need to define a cursor (similar to the one in the event action that is checking for data in custom LU) and when something is found in the custom LU, don’t add the CO line to the shipment.

I don’t think this can be achieved without a modification.


If the requirement is that you do not want the error message if it is done by any background job you can use this condition:

 

IF NOT Transaction_SYS.Is_Session_Deferred THEN

    <Add your current code here>

END IF;


Reply