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

            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
            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
            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
            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

              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