OrderViewCommand Module
Returns an order view command as text for the log, tells whether the answer carries linked orders, and previews the order context after the command.
Functions and values
| Function or value |
Description
|
|
True when the command changes the filter choices or the scenario, so the answer carries the linked orders again. The server computes linked orders only for these commands. For any other command the client goes on using the linked orders of the previous answer.
|
Full Usage:
preview cmd ctx
Parameters:
OrderViewCommand
ctx : OrderContext
Returns: Result<OrderContext, string>
|
Returns the context as the client expects it after the command, to show while the request runs. Returns the context unchanged for a step, a reset, a recalculation or a value list without values. Returns an error for an index past the options. The server answer replaces the preview.
|
Full Usage:
toString (cmd, arg1)
Parameters:
OrderViewCommand
arg1 : OrderContext
Returns: string
|
Returns the command as text for the log, without the context.
|
GenPRES