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
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
David Delač
Hi Aldevinas, Please post your customisations so I can help you....
11:40 20 Feb 2025
Piotr Wycichowski
The register for Order Classes is common for Sales orders and Service orders. When I set an Order Class to create an Activity - it works for Sales Order, while for Service Orders - not. Is any setting...
09:30 18 Feb 2025