COE ABQ Task 5.5: RPL Statement model report item for RiverWare 7.1
Phil Weinstein, David Neumann, Edie Zagona, CADSWES, 1-26-2017, title correction 2-2-2017.
R:\doc\Output\ModelReport\2017\CoeAbq55-RplStmt-ModelReportItem.docx

This document describes a new RiverWare model report item to show a single top-level RPL Statement within a RPL Block (a Rule, Goal, User-Defined Accounting Method or Initialization Rule).

The following image shows the output for two RPL Statements:

The new RPL Statement model report item supports the following five settings:

      
1 Set A RPL Set within the RiverWare Model.
2 Rule
Goal
Method
Init Rule
The RPL Block within the selected RPL Set. The label of this setting depends on the type of the selected RPL Set.
3 Statement The RPL Statement within the selected RPL Block. Statement items are presented in a pulldown menu (combo box) in the form of the statement number (1...) and the Statement name.
4 Title Optional title text placed above the RPL Statement code. The incell editor includes a "reset" icon button which recomputes the title from the RPL Block and RPL Function names. See the illustration below.
5 Show RPL Comments Yes / No. Should user comments be shown in the generated RPL Statement code?

The following image illustrates the Title setting editor, including the reset button to provide the default title from the RPL Block and RPL Statement names. The reset button's tooltip is "Set to Rule and Statement Name".

The context menu for RPL Statement supports operations to show (a) the dialog box for RPL Block (Rule, Goal, etc.) in which the statement appears, and (b) the dialog box for the containing RPL Set. The latter is the dialog from which RPL Statements can be assigned a custom name (e.g. "Current Year" as shown in the examples illustrated here). See the "Rename" operation in the 2nd image below.

--- (end) ---