Support Board
Date/Time: Fri, 18 Apr 2025 06:02:56 +0000
Post From: Resetting Internal Order ID's
[2025-03-21 14:51:26] |
kam2001 - Posts: 86 |
Hi, Everytime I place an order the internal order ID is incremented and to find an existing order i am doing a for loop in my code. Is it possible to reset the internal order ID at start of each day or once it reached to certain number so that it starts again from number 1, which will help me to avoid keep changing max value (2000)in for loop. Thanks for(int i = 0; i < 2000; i++) {
sc.GetOrderByOrderID(i, ExistingOrder) } |