on 07-24-2015 8:03 PM
We have a script button that goes to another transaction - and creates an output - but the record is locked while the output is being created.
Is there a way to add a pause into a script for a second or two so that it has a chance to create the output, and unlock the record?
You can try adding nested for loops with empty steps in javascript. Like
for (var i=0; i< 100000; i++){
for(varj=0; j< 100000; j++){
//Just waiting
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any reason for not using settimeout??
You could call a webRFC which waits before passing control back to the script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.