SetLoopPosition
Aldevinas Katkus
10-20-17
Just curious:
is the SetLoopPosition() safe? I mean, if someone deletes the record between calling SetLoopPosition() will it position on the right record, e.g.:
SetLoopPosition()
//someone deletes record here
SetLoopPosition()

Also I can see the below code


SetLoopPosition(CUr,RepSpec.long2);

CUr.Code = frcc;//is this really needed if we set the position already?
CUs = true;

while (LoopMain(CUr,1,CUs)) begin
Diana Klobukowska
10-26-17
Hello,
to get to know in details how this function works we recommend you attend a HAL basic course. Please contact your local office for more information regarding HAL course.

Kind Regards
Diana Klobukowska
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Paul Timms
Hi Yavuz Thanks for the information. I'm not sure what you mean by "restarting presence or lookup". Is that something we can do? Thanks Paul...
12:14 4 July 2025
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025