Template SQL Script for Order ID Index Values
Use the template below to load the RootID and Guid values for an order if you have the order number. Add your custom code to the “Queries” section. The code shows an example that displays the Settlement Date for the specified order number.