Open Account Dialog: Method Category Order Control / RiverWare 6.5
Phil Weinstein, CADSWES, 5-09-2014 (b). See also Gnats 4184 (internal).

 

The Methods tab on the Open Account Dialog can now display method categories in a default order -- as an alternative to column sorting (by Category or Method). A new "Order" combo box was added below the Method Category list to select between these two types of orderings. (This is a simplified version of the Open Object Dialog's slot order controls).

Standard List/Treeview sorting is supported by clicking in a column header; clicking again reverses the order. When column sorting is active:

The default order can be shown by selecting "Default" from the Order combo box. Selecting "Column Sort" reverts the order back to the last column sort column and direction (ascending or descending).

The image below shows the current default orders for the four types of Accounts: Storage, Diversion, Passthrough and Instream Flow (as of 5-9-2014):

The Method Category order for the following three Account types was changed, as indicated. The intention is that the categories which are functionally dependent on "Water Right" being enabled are now shown below that category. (Note that we do not formally support Dependent Method Categories on Accounts).

(A) Storage Accounts -- New Method Category Order:

  1. Storage Account Carryover
  2. Water Right
  3. Calculation of Initial Request
  4. Cons Pool Fill Factor
  5. Minimum Bypass
  6. Appropriation Request Adjustment
  7. Subordination of Right

(B) Diversion Accounts -- New Method Category Order:

  1. Return Flow Calculation
  2. Return Flow Route or Split
  3. Water Right
  4. Calculation of Initial Request
  5. Minimum Bypass
  6. Maximum Legal Request
  7. Subordination of Right

(C) Instream Flow Accounts -- New Method Category Order:

  1. Water Right
  2. Calculation of Initial Request

A hidden numeric order column was added to the Method Category list (QTreeWidget) for the purpose of implementing the default order.  That column can be made visible by changing this definition at the head of QtAccounting/OpenAccountDlg.cpp:

static const bool SHOW_METHODS_ORDER_COL (false);

---