on 2024 Sep 10 10:30 AM
hi
Hello everyone
I register a withdrawal
and receives into the variable every SALES ORDER according to the parameters I chose
Right now I want to go through all the results obtained from the fetch
and check whether the record is locked by a system user or not
How to write such a code in ABSL
I hope you can send me a serial code example!
I want to verify a lock on the SALES ORDER object
Request clarification before answering.
HI
Thank you very much for wanting to help and donating your time
The option you suggested is not available to me
I can't register
salesOrder.IsLockedByUser()
I am attaching the code with which I thought to perform the test
Maybe this will give you a direction on how I can check if an adder is locked
The problem is in the code
that when it runs in a loop and checks whether an order is locked or not
After he found some locked order
It does not continue to recheck properly
but as if treating all other orders as if they were locked
For example if order number 150 is currently locked
So all orders after this number are also considered locked
below is my code :
------------------------------------------------
------------------------------------------------
I mean, actually my code is not completely correct and I probably don't check it in the right way
Anyone who can help me, I would be very happy
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
29 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.