'ORA- 00001: unique constraint (<atomic>.LEDGER_STAT) violated' Error Running FTP Ledger Migration (Doc ID 2269376.1)

Last updated on MAY 30, 2017

Applies to:

Oracle Financial Services Funds Transfer Pricing - Version 8.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

In Oracle Financial Services Funds Transfer Pricing (FTP) 8.0, after adding new custom dimensions, when you run an FTP Process with the Ledger Migration option, the process fails and the following ORA-00001 error occurs in the ofstp log in $FIC_DB_HOME/log/FusionApps:

Module Logging OFS errors: (203105) Oracle drv_oci error: OCI Function: [4] - oexec(),
         oexn() SQL Function: [3] -
INSERT Oracle Error: ORA- 00001: unique constraint
         (<atomic>.LEDGER_STAT_IX01) violated Driver Function:
         drv_oci::Execute() SQL Statement:
insert into LEDGER_STAT(FINANCIAL_ELEM_ID, ORG_UNIT_ID,
         GL_ACCOUNT_ID, COMMON_COA_ID, PRODUCT_ID, LEGAL_ENTITY_ID,
         BUSINESS_UNIT_ID, RELATIONSHIP_MANAGER_ID, CENTRO_COSTO_ID,
         CUSTOMER_ID, identity_code, year_s,
         accum_type_cd, consolidation_cd, balance_type_cd,
         iso_currency_cd, month_01, ytd_01, month_02, ytd_02, month_03,
         ytd_03, month_04, ytd_04, month_05, ytd_05, month_06, ytd_06,
         month_07, ytd_07, month_08, ytd_08, month_09, ytd_09, month_10,
         ytd_10, month_11, ytd_11, month_12, ytd_12)
         values (:FINANCIAL_ELEM_ID, :ORG_UNIT_ID, :GL_ACCOUNT_ID,
         :COMMON_COA_ID, :PRODUCT_ID, :LEGAL_ENTITY_ID, :BUSINESS_UNIT_ID,
         :RELATIONSHIP_MANAGER_ID, :CENTRO_COSTO_ID,
         :CUSTOMER_ID, :identity_code, :year_s,
         :accum_type_cd, :consolidation_cd, :balance_type_cd,
         :iso_currency_cd, :month_01, :ytd_01, :month_02, :ytd_02,
         :month_03, :ytd_03, :month_04, :ytd_04, :month_05, :ytd_05,
         :month_06, :ytd_06, :month_07, :ytd_07, :month_08, :ytd_08,
         :month_09, :ytd_09, :month_10, :ytd_10, :month_11, :ytd_11,
         :month_12, :ytd_12 )
 

You expect the Ledger Migration process to insert values into all dimensions on the Ledger Stat table.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms