Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12153

Error in deleting Financial Account

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 17.12.06, 18.12.01
    • accounting
    • None

    Description

      1. Navigate to URL: accounting/control/FindFinAccount
      2. Click on Find button. List of fin account will be displayed.
      3. Click on delete button near available balance column.

      The Following Errors Occurred:
      Error doing entity-auto operation for entity FinAccount in service deleteFinAccount: org.apache.ofbiz.entity.GenericEntityException: org.apache.ofbiz.entity.GenericDataSourceException: Exception while deleting the following entity: [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key (SC_CHECKING). The statement has been rolled back.)) (Exception while deleting the following entity: [GenericEntity:FinAccount][finAccountId,SC_CHECKING(java.lang.String)] (SQL Exception while executing the following:null (DELETE on table 'FIN_ACCOUNT' caused a violation of foreign key constraint 'FINACT_STTS_FNA' for key (SC_CHECKING). The statement has been rolled back.)))

      Attachments

        1. FinAccountDelete.png
          434 kB
          Lalit Dashora
        2. OFBIZ-12153.patch
          3 kB
          Pawan Verma
        3. OFBIZ-12153.patch
          3 kB
          Pawan Verma
        4. OFBIZ-12153.patch
          4 kB
          Pawan Verma
        5. OFBIZ-12153.patch
          3 kB
          Pawan Verma
        6. OFBIZ-12153.patch
          3 kB
          Pawan Verma
        7. OFBIZ-12153.patch
          2 kB
          sourabh jain

        Activity

          People

            pawan Pawan Verma
            lalit.dashora Lalit Dashora
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: