This function returns the name of the Block that created a specific Order .
Syntax: |
---|
nameOfSystem = order.SystemName( order.referenceID ) |
Parameter: |
Description: |
---|---|
order.referenceID |
An order's specific reference ID information. |
Returns: |
---|
the name of the System where this order was created. |
Example: |
---|
' The System name where the order was created. |
Results: |
The example uses the order's referenceID value to determine the name of the script section that created the order. |
Access to Order Object properties and functions in other scripts is made possible by using the AlternateOrder Object as the prefix ahead of the "." property or function. AlternateOrder Object is discussed below.
Notes: |
---|
Always check to be sure the order is available after a Broker function call using the system.orderExists() function prior to accessing it.
Using the alternateOrder object when orders are not in context will provide the same access as the Order object. However, the alternateOrder object must be brought into context using the system.SetAlternateOrder object function prior to any attempt to use is properties and functions.
Once orders are brought into context their properties and function are available to reference and changes. |
Edit Time: 10/27/2020 5:11:32 PM |
Topic ID#: 714 |