Logo GenPRES

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

offersLinked _arg1

Full Usage: offersLinked _arg1

Parameters:
Returns: bool

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.

_arg1 : OrderViewCommand
Returns: bool

preview cmd ctx

Full Usage: preview cmd ctx

Parameters:
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.

cmd : OrderViewCommand
ctx : OrderContext
Returns: Result<OrderContext, string>

toString (cmd, arg1)

Full Usage: toString (cmd, arg1)

Parameters:
Returns: string

Returns the command as text for the log, without the context.

cmd : OrderViewCommand
arg1 : OrderContext
Returns: string

Type something to start searching.