Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-5859

CLONE - On benefit type name change after invoice generation results into server error

    Details

    • Type: Bug
    • Status: Resolution Setting
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI Refresh
    • Labels:
    • Environment:
      Production
    • Bug Type:
      Functional
    • Bug Severity:
      Medium
    • Level:
      Partner
    • Module:
      BenAdmin - Report
    • Reported by:
      Client
    • Company:
      All Clients/Multiple Clients
    • Item State:
      Production Complete - Closed
    • Sprint:
      WT- Sprint 43

      Description

      Example :-
      Step 1: Select a benefit type named 'LTD' in an invoice template.
      Step 2: Generate invoice.
      Step 3: Now change the Benefit Type name 'LTD' to 'Long Term Disability'
      Step 4 : Generate next invoice or view invoice.

      Result : Server error

        Attachments

          Issue Links

            Activity

            jyoti.agrawal Jyoti Agrawal (Inactive) created issue -
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Field Original Value New Value
            Link This issue clones WT-11679 [ WT-11679 ]
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Environment_Old Production [ 10005 ]
            Key WT-13268 NF-5859
            Project WORKTERRA [ 10000 ] New Features 2017 [ 11000 ]
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Assignee Venkatesh Pujari [ venkatesh.pujari ] Jyoti Agrawal [ jyoti.agrawal ]
            Hide
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment -

            Below are 3C's :-
            Concern :- On benefit type name change after invoice generation, results into server error
            Cause :- Invoice table is created with fix column, named with benefit name. On benefit name change , during insertion in the table there was a mismatch of column name.
            Correction :- Instead of creating column with benefit name, we are using benefit ID to create column as benefit ID will never change.

            Affected File :-
            Database Objects/MasterCompanyDB/02_UDFs/dbo.OES_UDF_GetBenefitInvoiceMappingFields.sql
            Database Objects/MasterCompanyDB/04_Stored Procedures/OES_SP_Invoice_Display_BenefitWiseBilling.sql

            Affected Area :-
            Invoice Generation
            Invoice View
            Download Excel File
            Invoice table structure

            Tested Scenario :-
            1) On invoice generation, columns in invoice table for benefits should form with benefit ID
            2) Change any benefit name and check if next invoice is generated successfully
            3) Checked if new name is displayed in invoice,excel and summary
            3) Change demographic fields name and then checked
            4) Change additional fields and checked
            4) Checked excel download
            5) Checked invoice summary

            Show
            jyoti.agrawal Jyoti Agrawal (Inactive) added a comment - Below are 3C's :- Concern :- On benefit type name change after invoice generation, results into server error Cause :- Invoice table is created with fix column, named with benefit name. On benefit name change , during insertion in the table there was a mismatch of column name. Correction :- Instead of creating column with benefit name, we are using benefit ID to create column as benefit ID will never change. Affected File :- Database Objects/MasterCompanyDB/02_UDFs/dbo.OES_UDF_GetBenefitInvoiceMappingFields.sql Database Objects/MasterCompanyDB/04_Stored Procedures/OES_SP_Invoice_Display_BenefitWiseBilling.sql Affected Area :- Invoice Generation Invoice View Download Excel File Invoice table structure Tested Scenario :- 1) On invoice generation, columns in invoice table for benefits should form with benefit ID 2) Change any benefit name and check if next invoice is generated successfully 3) Checked if new name is displayed in invoice,excel and summary 3) Change demographic fields name and then checked 4) Change additional fields and checked 4) Checked excel download 5) Checked invoice summary
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Status Open [ 1 ] In Development [ 10007 ]
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217) Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209)
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Dev Due Date 21/Nov/2017 05/Feb/2018
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Component/s UI Refresh [ 10902 ]
            parmeshwar.jumbad Parmeshwar Jumbad (Inactive) made changes -
            Labels Invoice_Management Sprint_43
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209) Parent values: LB QA(10201)Level 1 values: LB Deployed(11600)
            jyoti.agrawal Jyoti Agrawal (Inactive) made changes -
            Assignee Jyoti Agrawal [ jyoti.agrawal ] Sachin Hingole [ sachin.hingole ]
            sachin.hingole Sachin Hingole (Inactive) made changes -
            Status In Development [ 10007 ] Local Testing [ 10200 ]
            sachin.hingole Sachin Hingole (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) Parent values: LB QA(10201)Level 1 values: In Testing(10210)
            sachin.hingole Sachin Hingole (Inactive) made changes -
            Assignee Sachin Hingole [ sachin.hingole ] Venkatesh Pujari [ venkatesh.pujari ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: In Testing(10210) Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213)
            Hide
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment -

            Hi Jyoti Agrawal,

            Tested this issue on Codemap on For QA KinderCare company. Working fine as expected. Verified the below listed scenarios :-

            1) On invoice generation, columns in invoice table for benefits should form with benefit ID
            2) Change any benefit name and check if next invoice is generated successfully
            3) Checked if new name is displayed in invoice,excel and summary
            4) Change demographic fields name and then checked
            5) Change additional fields and checked
            6) Checked excel download
            7) Checked invoice summary

            This is ready for Stage

            Thanks,
            Venkatesh

            Show
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment - Hi Jyoti Agrawal , Tested this issue on Codemap on For QA KinderCare company. Working fine as expected. Verified the below listed scenarios :- 1) On invoice generation, columns in invoice table for benefits should form with benefit ID 2) Change any benefit name and check if next invoice is generated successfully 3) Checked if new name is displayed in invoice,excel and summary 4) Change demographic fields name and then checked 5) Change additional fields and checked 6) Checked excel download 7) Checked invoice summary This is ready for Stage Thanks, Venkatesh
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Original Estimate 0h [ 0 ] 4h [ 14400 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Time Spent 2h [ 7200 ]
            Worklog Id 103798 [ 103798 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) logged work - 08/Feb/18 05:30 PM - edited
            • Time Spent:
              2h
               
              <No comment>
            khandu.kshirsagar Khandu Kshirsagar (Inactive) made changes -
            Item State Parent values: LB QA(10201)Level 1 values: Ready for Stage(10213) Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602)
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Worklog Id 103798 [ 103798 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Status Local Testing [ 10200 ] Stage Testing [ 10201 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) Parent values: Stage QA(10202)Level 1 values: In Testing(10214)
            Hide
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment -

            Hi Jyoti Agrawal,

            Tested this issue on Preprod on TotalWorks For Hspl company. Working fine as expected. Verified the below listed scenarios :-
            1) On invoice generation, columns in invoice table for benefits should form with benefit ID
            2) Change any benefit name and check if next invoice is generated successfully
            3) Checked if new name is displayed in invoice,excel and summary
            4) Change demographic fields name and then checked
            5) Change additional fields and checked
            6) Checked excel download
            7) Checked invoice summary

            This is ready for Production

            Thanks,
            Venkatesh

            Show
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment - Hi Jyoti Agrawal , Tested this issue on Preprod on TotalWorks For Hspl company. Working fine as expected. Verified the below listed scenarios :- 1) On invoice generation, columns in invoice table for benefits should form with benefit ID 2) Change any benefit name and check if next invoice is generated successfully 3) Checked if new name is displayed in invoice,excel and summary 4) Change demographic fields name and then checked 5) Change additional fields and checked 6) Checked excel download 7) Checked invoice summary This is ready for Production Thanks, Venkatesh
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Time Spent 2h [ 7200 ] 3.25h [ 11700 ]
            Worklog Id 104291 [ 104291 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: In Testing(10214) Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217)
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Ready for Production(10217) Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224)
            venkatesh.pujari Venkatesh Pujari (Inactive) logged work - 13/Feb/18 06:39 PM
            • Time Spent:
              1.25h
               
              <No comment>
            Hide
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment -

            Hi Jyoti Agrawal,

            Tested this issue on Prod on City Of Bellevue For Hspl company. Working fine as expected. Verified the below listed scenarios :-
            1) On invoice generation, columns in invoice table for benefits should form with benefit ID
            2) Change any benefit name and check if next invoice is generated successfully
            3) Checked if new name is displayed in invoice,excel and summary
            4) Change demographic fields name and then checked
            5) Change additional fields and checked
            6) Checked excel download
            7) Checked invoice summary

            Thanks,
            Venkatesh

            Show
            venkatesh.pujari Venkatesh Pujari (Inactive) added a comment - Hi Jyoti Agrawal , Tested this issue on Prod on City Of Bellevue For Hspl company. Working fine as expected. Verified the below listed scenarios :- 1) On invoice generation, columns in invoice table for benefits should form with benefit ID 2) Change any benefit name and check if next invoice is generated successfully 3) Checked if new name is displayed in invoice,excel and summary 4) Change demographic fields name and then checked 5) Change additional fields and checked 6) Checked excel download 7) Checked invoice summary Thanks, Venkatesh
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Status Stage Testing [ 10201 ] Production Testing [ 10202 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Item State Parent values: Stage QA(10202)Level 1 values: Production Deployment on Hold(10224) Parent values: Production QA(10203)Level 1 values: In Testing(10218)
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Resolution Bug Fixed [ 10402 ]
            Status Production Testing [ 10202 ] Production Complete [ 10028 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Resolution Bug Fixed [ 10402 ]
            Status Production Complete [ 10028 ] Closed [ 6 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Item State Parent values: Production QA(10203)Level 1 values: In Testing(10218) Parent values: Production Complete(10222)Level 1 values: Closed(10223)
            venkatesh.pujari Venkatesh Pujari (Inactive) made changes -
            Time Spent 3.25h [ 11700 ] 4.25h [ 15300 ]
            Worklog Id 107050 [ 107050 ]
            venkatesh.pujari Venkatesh Pujari (Inactive) logged work - 05/Mar/18 07:57 PM
            • Time Spent:
              1h
               

              Testing on Prod

            sachin.hingole Sachin Hingole (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Closed [ 6 ] Resolution Setting [ 11616 ]
            Transition Time In Source Status Execution Times
            Jyoti Agrawal (Inactive) made transition -
            Open In Development
            11m 52s 1
            Sachin Hingole (Inactive) made transition -
            In Development In LB Testing
            1d 23h 31m 1
            Venkatesh Pujari (Inactive) made transition -
            In LB Testing Stage Testing
            5d 23h 29m 1
            Venkatesh Pujari (Inactive) made transition -
            Stage Testing In Production Testing
            20d 2h 23m 1
            Venkatesh Pujari (Inactive) made transition -
            In Production Testing Production Complete
            21s 1
            Venkatesh Pujari (Inactive) made transition -
            Production Complete Closed
            2s 1
            Sachin Hingole (Inactive) made transition -
            Closed Resolution Setting
            51d 18h 16m 1

              People

              Assignee:
              venkatesh.pujari Venkatesh Pujari (Inactive)
              Reporter:
              jyoti.agrawal Jyoti Agrawal (Inactive)
              Developer:
              Jyoti Agrawal (Inactive)
              QA:
              Venkatesh Pujari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Dev Due Date:
                Code Review Date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.25h
                  4.25h