Project

General

Profile

Support #660

Ask user if he wants to save forecasting before close it

Added by Ricardo Memoria about 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
04/26/2013
Due date:
07/12/2013
% Done:

0%


Description

When the user closes a forecasting document, QuanTB must check if the document was changed (in a new or opened forecasting) and ask the user if he wants to save the forecasting data before closing.

  1. User calls the close command to close the active forecasting;
  2. QuanTB checks if forecasting document was changed.
  3. If document was not changed, the document is simply closed and nothing else is done, and flow finishes here;
  4. If document is changed, QuanTB display a confirmation window asking to the user "Do you want to save the forecasting data before closing the document?"
  5. If the user's answer is NO, close the document and do nothing;
  6. If the user's answer is YES, the system checks if it's a new file and calls the "Save as..." procedure, otherwise if it's an existing file, QuanTB calls the "Save" procedure;

History

#1 Updated by Oleksii Kurasov almost 12 years ago

  • Due date set to 07/12/2013
  • Status changed from New to Resolved
  • Assignee changed from Oleksii Kurasov to Luis Gustavo do Valle Bastos

#2 Updated by Luis Gustavo do Valle Bastos over 11 years ago

  • Subject changed from Ask user if he wants to save forecasting before close it to Ask user if he wants to save forecasting before close it (Version 3)
  • Status changed from Resolved to In Progress
  • Target version changed from Version 2.0 to Version 3.0

Implemented in a different way. The system doesn't check if the file was changed before close it, otherwise always display the dialog box with the 3 options: save and close; close and cancel.

It is enough for current version, but should be finalized with the comprehensive approach for version 3.

#3 Updated by Luis Gustavo do Valle Bastos over 11 years ago

  • Subject changed from Ask user if he wants to save forecasting before close it (Version 3) to Ask user if he wants to save forecasting before close it
  • Target version changed from Version 3.0 to Version 2.0

#4 Updated by Luis Gustavo do Valle Bastos over 10 years ago

  • Status changed from In Progress to Closed

Tested and adequate.

Also available in: Atom PDF