Logic commands are used in logic statements to define and implement the business rules of a model in high level logic. Logic statements are entered in the logic editor.
In addition to any restrictions mentioned in the logic command descriptions, the following general statements apply to all logic commands.
Validity and Context
Logic commands can be assumed as valid for all methods of all classes, unless explicitly stated otherwise.
The transaction processing cycle determines the context in which logic commands operate. When a logic command is executed, its operating context is resolved to the stereotype of the initial class activated by the segment cycle (for ispecs and events) or the called report (for reports).
If a logic command is used in a particular context that is not supported, any of a number of policies can be applied during generation, such as treating the occurrence as a generation error or warning, or generating the occurrence as a non-operation, with or without messages.
Transact-SQL Syntax
The syntax of logic commands in the logic command reference is expressed in Transact-SQL Reference. This syntax is central for all applications that communicate with an instance of SQL Server. Refer to the MSDN documentation for more information on Transact-SQL Syntax Conventions.