...
- Add Overwrite Common Forecast button and Cancel Button(there is one and only one forecast per Cost Object in the Common area).
- Show Destination Forecast area, set Destination Workset to Common
- Set Destination Cost Object to the same as Source Cost Object.
- Set Destination Forecast to "Name of Cost Object" + Forecast.
- Put warning message in Dialog: "Warning: Copying this forecast to Common will overwrite the existing forecast. You will be overwriting the existing forecast information that ALL MIT authorized users view for this cost object. Are you sure you want to overwrite the forecast for this Cost Object?
- Overwrite Common Forecast calls publishForecast with source workset, cost object and scenario id as sources and Common as destination. If success, close dialog, if failure, show dialog in error.
- If user clicks Cancel button, close dialog and empty form fields.
Sharing Dialog
The sharing dialog opens when the user clicks on the Share Forecast button. It is built as follows:
- Set up the source forecast information the same as we do for Publish.
- Make the get call to list worksets for sharing CALL WILL BE LISTED HERE. Remove the Source Workset from the list.
- Display the resulting list to the user.
- User selects one of the worksets and clicks Share Forecast.
- Call the standard publishForecast call with appendCO = true and the destination workset set to the one the user chose.
Page Mockup:
Page Layout: This page consists of a main grid/form for forecasting, a forecasting totals block that follows the user as they scroll down, and a "To Be Hired" block that contains To Be Hired templates (grad student, research assistant, research scientist, etc.). The forecasting form/grid is further broken down into GL sections, one for each of the high level CEMIT or Approved GLS. Each GL block contains a subtotals block at the bottom.
Functional Summary: On first entry, the left nav is hidden, the name and description are blank, all GL blocks are open, and the people are shown in their data range view. If the user wants, they can close each block of existing commitments. Above each existing commitment in each GL block is an empty row so users can immediately begin forecasting. When a user gets to the last input field in the row, a new blank row is automatically added. In addition and not shown in the image is a "Add new row" button on each block. If a user wants to add a To Be Hired, they click on them and a new row is added that contains the defaults from the To Be Hired they clicked on, which can then be edited.
...