02-03-2011 2:09 PM
Hi,
I want ask a thing:
I'm trying to entry some materials via Purchase Order and i have simulate a inbound delivery access for custom transaction.
My operations are:
Creation of Batch
Split Position with Batch
Pack Furniture
Create OT for Forniture
EM of Forniture
The first 3 operation are Batch-Input of vl32n.
Between each operation I have insert a "WAIT UP to 4 second" to not raise exception but my transaction go very slow.
IF i go down the time of wait up the process doesn't work.
How I can improve the performance?
Thanks to all.
02-03-2011 2:14 PM
WAIT UP to 4 second" to not raise exception
Why is that? You shouldn't use the WAIT or an ENQUEUE_SLEEP call unconditionally. Yuo don't know if it's necessary or even that the lag time is long enough. Check for the lock release using the enqueue function in a short DO loop. Calling 'WAIT' that many times is not very good either - each time you're forcing a roll in/roll out.