Company: Link Technologies
Case No: L09063. Project: 09.40: LinkSOFT Version 9.4
Logged By: Alvis (Link Technologies) on behalf of Sanjay (Link Technologies) on 17 Jan 2018 04:05PM
Priority: High
Product: Framework
Group: Enhancement
Time Taken: 28.00 (Weight: 28.00)
Version: 9.496.1128
Assigned To: Sanjay (Link Technologies)
Circulation: Alvis, Development, Rashna, Sanjay
Resolve By: Thursday, 18 January 2018 12:00 AM [2284 days since logged date]
Status: Closed
Subject: Report maintenance changes to prevent user data override
Summary:    A. The following issue has been identified with report maintenance:
  1. Users can edit all properties of the report. Some changes will cause the report to fail.
  2. Changes made by users are overridden on upgrade

B. The following changes are suggested to resolve this issue:

  1. Change the report maintenance form to allow edit of the following properties:
    1. Description
    2. Date and Field Tags
    3. Email Document Template
    4. Combine email data script and report data exists script on a single lookup as these depend on each other.
    5. Email Data Script - We need to be able to determine which scripts are compatible with which reports.
  2. When a report is modified, we will remove the entry from the reports table so that the upgrade script will create a standard report entry. This will mean that previously changed values will be reset.
  3. Due to B.2 customizations will need to be maintained separately and reapplied when standard reports are changed.
  4. Email data script can be a blank, this implies the report cannot be emailed.
  5. Rename Email Data items to explain its purpose. E.g. rename "SYS Logged In User Email Data Grid" to "Email to document template email addresses"
  6. Add "Email To" in report schedule
  7. The report schedule will email to based on "Schedule, Document template and email data grid script"
  8. Change email data grid script for logged in user to use email document template for the email address.
Audit Notes:
17 Jan 201804:05PM Comment 1 by Alvis (Link Technologies) Case 9063 added to project 8.3
05 Feb 201804:50PM Comment 2 by Alvis (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 05-02-2018 04:50 PM
Agreed to build in beta2

07 Feb 201804:43PM Comment 3 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 07-02-2018 04:43 PM Time Taken: 16.00

We have reviewed the design and made the following changes:

  1. Report Maintenance
    1. Removed ability to add/edit/delete the record. Notes can be updated from Reports menu.
    2. Moved EmailDataScriptID, ReportEmailDataScriptExists and EmailDocumentTemplateID to "Report Email Setup". This can be maintained by expanding the report maintenance record.
  2. Report Schedule
    1. Added "Email To"
    2. Added "Email Report Option"
    3. Added "Run report as user"
Notes:
  1. All reports that can be emailed has an entry in "Report Email Setup".
  2. Reports such as "Customer Statement, Payslip, etc" has two entries in "Report Email Setup" with a default option ticked.
  3. Users can change the Document Template which is the email body.
  4. The email will be sent to the following entities:
    1. Report Schedule ~> Email To
    2. Document Template -> Email To, CC and BCC
    3. Emails extracted from the "Report Email Setup" such as "Customers or Employees, etc"

13 Feb 201801:43PM Comment 4 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 13-02-2018 01:43 PM Time Taken: 0.50
System test completed. Please proceed with UAT. 

14 Feb 201802:40PM Comment 5 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 14-02-2018 02:40 PM Time Taken: 1.00
QA Results
Step 1 - Developer will perform test based on test cases provided
Step 2 - Product expert to complete Product QA based on test cases.

Test cases are provided on the case header before the case is approved for development.

Test Results Summary

Table 1 - Summarised list of issues
NoTest Description Pass/Fail 
1

Create a new document template as "Report Email Template". Set

To mail as rashna@linktechnologies.com.au
CC mail as aarti@linktechnologies.com.au
BCC mail as fariha@linktechnologies.com.au
 

Pass
2
Tag "Report Email Template" under "SYS User Role Menu Access". This should be saved without errors Pass
 
3
Email the "Sys User Role Menu Access" report from "Business Intelligence - Report". Email should be sent successfully Pass
 
4
Email the "Sys User Role Menu Access" report from "Business Intelligence - Report". Email should be sent successfully
Pass
5
Verify for items number 3 and 4 that the email is also sent to the BCC and CC address
 
Pass
6Set the "Email To" as rashna@linktechnologies.com.au for the scheduled report in 4. Email should be sentPass
7Set the "Email Report Option" as "PDF Attachment to each customer". Save the schedule.  Failed. "Run Report as user" is not marked as required, However, if we do not set "Run Report as user", error occurs. Refer to Figure 1. In addition, I could not identify how they should function separately.
  1. OS version:Windows 7
  2. Application version:8.3.2.0
  3. Database (Demo/New/Client): Demo in LINKSOFT
  4. Client on QA1

Figure 1: Error



    15 Feb 201804:16PM Comment 6 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 15-02-2018 04:16 PM Time Taken: 1.00
    Report user in the schedule maintenance has been validated when the record is saved.

    16 Feb 201803:52PM Comment 7 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 16-02-2018 03:52 PM Time Taken: 1.00
    System tests completed. Please proceed with UAT. 

    19 Feb 201808:59AM Comment 8 by Rashna (Edge Business Solutions) Assigned To: Alvis (Link Technologies) Followup Date: 19-02-2018 08:59 AM Time Taken: 2.00
    yQA Results
    Step 1 - Developer will perform test based on test cases provided
    Step 2 - Product expert to complete Product QA based on test cases.

    Test cases are provided on the case header before the case is approved for development.

    Test Results Summary

    Table 1 - Summarised list of issues
    NoTest Description Pass/Fail 
    1

    Set the "Email Report Option" as "PDF Attachment to each customer". Save the schedule.

    Send Report to customers 0002 and 0003.

    0002 has email as sanjeet@linktechnologies.com.au

    0003 has the email as aarti@linktechnologies.com.au;karishma@linktechnologies.com.au (multiple email address).



    Pass email is sent to each customer.
    2Schedule a report and do not select "Run report as user". This should not prompt error. Pass, system prompts message to select report user
    2

    Set the "Email Report Option" as "PDF Attachment will be emailed to the user running the report". Save the schedule.

    Send Report to customers 0002 and 0003.

    0002 has email as sanjeet@linktechnologies.com.au

    0003 has the email as aarti@linktechnologies.com.au;karishma@linktechnologies.com.au (multiple email address).

    The report is run by user admin with email address rashna@linktechnologies.com.au. Email should only be sent to this email.


    Failed, email is sent to all customers.
    3
    Verify that email log is successfully updated with the email progress. New -- Que -- SentPass
    4
    Users should be able to expand into the details and review attachment under the "View Button"
    Pass
    5

    Create a new document template as "Report Email Template". Set

    To mail as rashna@linktechnologies.com.au
    CC mail as aarti@linktechnologies.com.au
    BCC mail as fariha@linktechnologies.com.au
     

    Pass
    6Tag "Report Email Template" under "SYS User Role Menu Access". This should be saved without errors Pass. Note: Default option cannot be changed by the user 
    7Email the "Sys User Role Menu Access" report from "Business Intelligence - Report". Email should be sent successfully Pass
    8Email the "Sys User Role Menu Access" report from "Business Intelligence - Report". Email should be sent successfully Pass
    9Verify for items number 3 and 4 that the email is also sent to the BCC and CC address Pass
    10Set the "Email To" as fariha@linktechnologies.com.au for the scheduled report in 4. Email should be sent
    Pass

    QA Environment Details

    1. OS version:Windows 7
    2. Application version:9.3.2.0
    3. Database (Demo/New/Client): Demo LINKSOFT923 on QA4
    4. Client on QA1

    Steps to reproduce failed scenarios:




      19 Feb 201809:31AM Comment 9 by Alvis (Link Technologies) Assigned To: Sanjay (Link Technologies) Followup Date: 19-02-2018 09:31 AM

      Hi Sanjay, 

      The emails sent from report schedule should use the email script assigned in the report schedule. Currently, it is picking the default email script that is assigned to the report.

      regards
      Alvis


      19 Feb 201806:22PM Comment 10 by Sanjay (Link Technologies) Assigned To: Alvis (Link Technologies) Followup Date: 19-02-2018 06:22 PM Time Taken: 4.00

      Hi Alvis, Changes have been made in BETA4 and applied to DEV environments. Can you verify this and allocate to UAT?

      Regards
      Sanjay


      20 Feb 201808:08AM Comment 11 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 20-02-2018 08:08 AM Time Taken: 1.00
      I have verified the changes on DEV-ESS. Reports are emailed correctly.

      21 Feb 201809:46AM Comment 12 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 21-02-2018 09:46 AM
      Please UAT in BETA4. 

      21 Feb 201812:21PM Comment 13 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 21-02-2018 12:21 PM Time Taken: 1.00
      Hi Sanjay, 

      The case has been successfully tested. Refer to table for details

      Case has been documented under

      • Business Intelligence --> Report Maintenance
      • Business Intelligence --> report Schedule

      Please review and close.

      Thanks 


      Table 1 - Test Plan
      NoTest Description Pass/Fail 
      1

      Set the "Email Report Option" as "PDF Attachment to each customer". Save the schedule.

      Send Report to customers 0002 and 0003.

      0002 has email as sanjeet@linktechnologies.com.au

      0003 has the email as aarti@linktechnologies.com.au;karishma@linktechnologies.com.au (multiple email address).



      Pass email is sent to each customer.
      2Schedule a report and do not select "Run report as user". This should not prompt error.Pass, system prompts message to select report user
      2

      Set the "Email Report Option" as "PDF Attachment will be emailed to the user running the report". Save the schedule.

      Send Report to customers 0002 and 0003.

      0002 has email as sanjeet@linktechnologies.com.au

      0003 has the email as aarti@linktechnologies.com.au;karishma@linktechnologies.com.au (multiple email address).

      The report is run by user admin with email address rashna@linktechnologies.com.au. Email should only be sent to this email.


      Pass
      3
      Verify that email log is successfully updated with the email progress. New -- Que -- SentPass
      4
      Users should be able to expand into the details and review attachment under the "View Button"Pass
      5

      Create a new document template as "Report Email Template". Set

      To mail as rashna@linktechnologies.com.au
      CC mail as aarti@linktechnologies.com.au
      BCC mail as fariha@linktechnologies.com.au

      Pass
      6Tag "Report Email Template" under "SYS User Role Menu Access". This should be saved without errorsPass. Note: Default option cannot be changed by the user
      7Email the "Sys User Role Menu Access" report from "Business Intelligence - Report". Email should be sent successfullyPass
      8Email the "Sys User Role Menu Access" report from "Business Intelligence - Report". Email should be sent successfullyPass
      9Verify for items number 3 and 4 that the email is also sent to the BCC and CC addressPass
      10Set the "Email To" as fariha@linktechnologies.com.au for the scheduled report in 4. Email should be sent
      Pass

      QA Environment Details

      1. OS version:Windows 7
      2. Application version:9.2.4.0
      3. Database (Demo/New/Client): Demo LINKSOFT on QA1
      4. Client on QA1



      21 Feb 201801:19PM Comment 14 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 21-02-2018 01:19 PM

      Thanks Rashna,

      Do we need to document this?  if not please go ahead and close this case.

      Regards
      Sanjay


      21 Feb 201801:50PM Comment 15 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 21-02-2018 01:50 PM Time Taken: 0.50

      Documentation on the case has been completed. Refer to comment 13.

      This case is now closed.


      09 Oct 201908:14AM Comment 16 by Sanjay (Link Technologies) Quality control status: Pass. QC Not required - This case was created before quality check was implemented in version 11 on 30/06/2019
      If you have any queries regarding this support incident, please email admin@linktechnologies.com.au and include the Case No: L09063 in the subject line of all emails regarding this issue.

      Document size: 27.3 KB
      For call complaints, please contact the Managing Director of the company using this form