Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Get forecast name from Forecast Model, display it in Source Forecast/ Forecast Name field.
  2. Get forecast cost object name from raft.data.CostObject.COTITLE, display it in Source Forecast/ Forecast Cost Object field.
  3. Get forecast workset name from raft.data.Workset.title, display it in Source Forecast/ Forecast Workset field.
  4. Wiki Markup
    If raft.data.CostObject.Forecasts\[\] has at least one forecast with a workset_category of Department, show these three radio buttons: PI, Department, Common, else show: PI and Common. Put change event listener on the radio 
     Display three radio buttons: PI, Department, Common. Put change event listener on the radio
    buttons.

PI RadioButton Clicked

  1. Show Overwrite Existing and Create New buttons. Add click listeners to both.
  2. Show Overwrite Destination Forecast in dialog. Add click listener.

PI Overwrite Destination Forecast Button Clicked

  1. Display in Destination Forecast the Name of the PI, which is raft.data.CostObject.SUPERVISOR.
  2. Get forecast cost object name from raft.data.CostObject.COTITLE, display it in Destination Forecast/ Forecast Cost Object field.
  3. Wiki Markup
    Get the list of forecasts to display by searching raft.data.CostObject.Forecasts\[\] for the worksetCategoryworkset_category == PI. All PI Forecasts should be listed in the Destination Forecast List.
  4.  On On click, call publish/share forecast with the selected forecast key as the destination scenarioKey, and the rest of the data from above as needed. Close dialog.

...

  1. Show Overwrite Existing and Create New buttons. Add click listeners to both.
  2. Show Overwrite Destination Forecast in dialog. Add click listener.
  3. Wiki Markup
    Display in Destination Forecast the
    Name
     workset_name of the
    PI, which is
     raft.
    data.CostObject.SUPERVISOR
    costobject.forecast\[\] whose workset_category == Department.
  4. Get forecast cost object name from raft.data.CostObject.COTITLE, display it in Destination Forecast/ Forecast Cost Object field.
  5. Wiki Markup
    Get the list of forecasts to display by searching  raft.data.CostObject.Forecasts\[\] for the worksetCategory == PI. All PI  Forecasts should be listed in the Destination Forecast List.
  6.  On click, call publish/share forecast with the selected forecast key as the destination scenarioKey, and the rest of the data from above as needed. Close dialog.

...