Question of the unique constraint with finance charge

Hi friends,

As part of the implementation of 11 g BIAPPS-ODI during the execution of a finance charge is my load of CM plan failed with the error like below

ODI-1519: series step 'Load start Plan (InternalID:1242500)' failed because step 'Refresh Global Variable (InternalID:1243500)' child is in error.

ODI-1519: series step 'Refresh Global Variable (InternalID:1243500)' failed because the step child "Warehouse loading Phase (InternalID:2336500)" is a mistake.

ODI-1519: series step "Warehouse loading Phase (InternalID:2336500)" failed because the child step "SIL 1 charge (InternalID:2337500)" is a mistake.

ODI-1519: series step '1 SIL Load (InternalID:2337500)' failed, because the child step '2 group of dimensions of SIL (InternalID:2338500)' is a mistake.

ODI-1519: series step '2 group of dimensions of SIL (InternalID:2338500)' failed because the child step "Parallels - independent DimGroup (InternalID:2346500)" is a mistake.

ODI-1518: parallel step 'Parallels - independent DimGroup (InternalID:2346500)' failed. level of 1 child by mistake, which is more than the maximum number of allowed errors (0) defined for parallel step.  Has no measures of the child: 3 SIL Dims POSHIER_DIM (InternalID:2369500)

ODI-1519: series step '3 SIL Dims POSHIER_DIM (InternalID:2369500)' failed because the child "POSHIER_DIM (InternalID:2372500)" is a mistake.

ODI-1519: series step "POSHIER_DIM (InternalID:2372500)" failed because step "SIL_PositionDimensionHierarchy (InternalID:2377500)" child is in error.

ODI-1217: SILOS_SIL_POSITIONDIMENSIONHIERARCHY Session (4278500) fails with return code 1.

ODI-1226: SIL_PositionDimensionHierarchy.W_POSITION_DH step fails after 1 attempt.

ODI-1240: Flow Run SIL_PositionDimensionHierarchy.W_POSITION_DH fails during an operation of integration. This flow of charge table target W_POSITION_DH.

ODI-1228: SIL_PositionDimensionHierarchy.W_POSITION_DH (integration) of the task fails when connecting ORACLE target BIAPPS_DW.

Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_DW. W_POSITION_DH_U2) violated

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)

at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)

at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)

at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)

at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)

at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)

at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)

at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)

at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1895)

to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ 2.doAction(StartScenRequestProcessor.java:580)

at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:512)

to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ StartScenTask.doExecute (StartScenRequestProcessor.java:1068)

at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:137)

to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

at java.lang.Thread.run(Thread.java:662)

How to solve the question above using ODI 11 g. I'm using Oracle ERP R12.1.3 as a source of data for this.

Thanks in advance.

Kind regards

Saro

What is the result of a query on table W_POSITION_DH or W_POSITION_D duplicate?

Naeem

Tags: Business Intelligence

Similar Questions

  • The charge would be created with the unique package with date id

    Hi all

    Thanks in advance,

    IAM new to ODI, in my process I dnt know below two constaraints how to do, please help me in this regard...

    1. the load would be created with the id of a single lot with the date and
    stamp under the unique number (when the load data from source to target).
    2. HIGHLAND field would have the line number incremented from
    .001 when records are inserted in the table

    30021986 wrote:
    Hello

    Thanks for the reply, my requirement is,
    1.i have field JELN in the target table, in that line number is incremented from de.001 in the table. (Field JELN would have the incremented number line from de.001 when the rows are inserted in the table)

    -> for what I had done using sequenceing odi_sequence craeating, but it will give higher error.
    and the second condition is

    Never use ODI sequence unless you do business with a technology that has no native sequence is
    (eg files). Most of the RDBMS has their own sequence, and you use these alone.
    For oracle, you must use . NEXTVAL in the field mapping. Be sure to run on the target.

    2. when iam loading the data from the source to target a unique batch number must be generated with the date and time stamp (the load would be created with the unique package with date id and + *)
    timestamp in the unique number +) *.

    You can use SYSTIMESTAMP in this area and do not forget to run on the target.

  • Unique constraint with conditions?

    Hi all!

    I have the following scenario... I need column UNIQUE Serial_number forced but only when the STATUS column = 'Y '. Serial_number can be non-unique, where the STATE has another value or is set to null. So, I couldn't en with this:

    SERIAL_NUMBER | STATUS
    --------------------------------------
    123456789 N
    123456789 N
    123456789 IS

    but a new line with 123456789 and 'Y' should not be allowed.

    Is this possible with a UNIQUE constraint, or what I have to set in a trigger? I was playing with the UNIQUE constraint for a while, but neither DECODE, WHERE clauses seem to be accepted...

    Thanks in advance!

    Try this:

    create unique index a1 on tab(case when STATUS = 'Y' then SERIAL_NUMBER else null end);
    

    Amiel

  • Capture the unique constraint by Apex error?

    Hello guys!
    My application is almost over and I'm currently focusing on the error handling! So far, I was able to solve many problems using the Apexlib.
    However, I would like to get rid of these annoying Ora - error messages are not comprehensible to the end user. Is it possible to intercept errors of unique constraint by their Summit before submitting data? If so, could you please be so kind and give me a good or better yet a full example how manage these errors with PL/SQL, or Javascript.
    I'm just a beginner so please be a little more detailed, so I can understand your code. :-)

    I know your opinion on this question and hope you can help me!

    Thank you very much!

    Kind regards

    Sebastian

    Hello Sebastian,.

    There is a mistake in your second loop. Must be something Island:

    
    amountx :=0; -- reset the counter
    FOR c IN (SELECT count(*) counter FROM tbl_schichtigkeit -- No INTO in this part
         WHERE int_schichtigkeit = APEX_APPLICATION.G_F03(j)
             AND lng_inv_pt_id = :P52_PTIDS
          )
    LOOP
         amountx := c.counter; --
         If amountx > 0 then
         RETURN 'Error on row ' || j;
        ELSE RETURN NULL;
        END IF;
    END LOOP;
    

    I'm not sure if you need this loop. I think you can also do it with only:

    SELECT count(*) counter
    INTO amountx
    FROM tbl_schichtigkeit
    WHERE int_schichtigkeit = APEX_APPLICATION.G_F03(j)
       AND lng_inv_pt_id = :P52_PTIDS;
    If amountx > 0 then
    RETURN 'Error on row ' || j;
    ELSE RETURN NULL;
    END IF;
    

    Be aware that it only reports the first error! If there are more records with an error, you won't get one, because you RETURN right after the first found.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • Unique constraint with condition - validation of EO levels

    I have a table
    create the CUSTOMER table (key number primary client_prefix,)
    client_suffix Varchar2,
    Number of NIN,
    status number (1).
    . . . . . . . .
    . . . . . . . .);


    I have an obligation to respect a unique constraint where NIN THAT must be unique for the Client_suffix, but the issue is that customers in rejected status
    (status = 9 means that the customer is in rejected status) should be ignored.

    It is a new customer can be created with the same client_suffix, combination of NIN has provided other customers
    with the same combination have rejected status. If not, can not be created.

    I've already implemented this in the database level. I would like to know how this can be implemented as a validation of EO levels

    Jdev version 11.1.2.0.0

    No, you don't need to do...

    Use this technique: http://docs.oracle.com/cd/E26098_01/web.1112/e16182/bcadvgen.htm#sthref439

    John

  • Get the "unique constraint" error while mapping custom jsp

    Hello

    We are implementing iStore R12 (12.1.3).

    We have customized ibeCCtdMenu.jsp, renamed as xxibeCCtdMenu.jsp and moved to $OA_HTML / folder.

    Now in the template Manager, we create a new source (xxibeCCtdMenu.jsp) file to the title of "model of generation of Menu".

    However when we select site and language like 'All', it gives following error:
    Error in the logical record of physical mapping
    ORA-00001: unique constraint (IBE. IBE_DSP_LGL_PHYS_MAP_U2) violated in the package IBE_PhysicalMap_GRP procedure save_physicalmap
    All the sites and all the language already exists exists for 7670 deliverable

    How can we overcome them this error? Please notify.
    Thank you
    Vivek

    for a given Site and the language combination, can exist only one model.
    Default file provided by Oracle is set with combination like all Sites - all languages, and you will not be able to change it.

    Save your file with combination such as all Sites - English
    or , all languages.

    Then it will work fine.

    Hrishikesh

  • But UNIQUE constraint with a condition?

    Hello!

    Is it possible to define a unique constraint in a table that would apply only to a condition (according to the content of the line only)?

    For example:
    CREATE TABLE example
    (
      pk number,
      a number,
      b number,
      c VARCHAR2(10),
      x number
    );
     
    The constraint would be UNIQUIE (a, b), but only when x is > 10.
    So if x is not greater than 10, then the same values for a and b nd should be allowed.

    Maybe with a view?


    Like this?
    create view example_view  ( unique (a,b)) AS
    select a,b from example where x > 10
     with read only; -- ??? needed? 
    Kind regards
    David

    You can create an index based on a function. This takes advantage of the fact that Oracle does not store the NULL entries in an index b-tree

    CREATE UNIQUE INDEX idx_example
        ON example(
          (CASE WHEN x > 10 THEN a ELSE NULL END),
          (CASE WHEN x > 10 THEN b ELSE NULL END)
        );
    

    Justin

  • Questions about the BIOS update and battery charge on Satellite M30 104

    Hey,.
    I try to update my BIOS, but it does not work because my battery won't charge any more, if a window always tells me that my battery is not enough. Yet, the reason why I'm updating my BIOS is that I read in a forum that might solve my problem of battery charging.
    I'm fairly certain that the battery is not the problem itself: I bought a new battery, it worked for 10 minutes once or twice, then again the load stop completely.
    If anyone knows what the problem is or how to update my BIOS, please...

    Hello Celia

    I am not a technician, but as far as I know, BIOS has nothing to do with charging the battery. In my opinion, there are some problems with e-procurement (electronic load). Sorry, but I imagine that you must contact the partner in your country.

    They have diagnostic tools and it can be verified. Please call and simply explain the situation.

    Good luck!

  • Question about the use of with Satellite A200-10W USB network card

    Can I possibly use a wireless-G USB network adapt to my Satellite A200-10W [with Wi - Fi Finder]? Pls advise. Thank you.

    Hello

    Why not? Surely, you can use this stick with your machine. Just put em in a USB slot, install the drivers and then let go! :)

    If you have any other questions, then just ask.

    See you soon

  • Two questions: Running XP and have some interesting questions at the start and with IE.

    Hi, I try to wear the IT hat and works to clear up some questions on my mother's computer.  #1 I guess that the computer was shipped with a version of Corel Photo software on it and we cannot get rid "Installer" messages at the beginning upward.  We tried to remove the program and the same message comes back to tell us that "Installer can do the requested action without the CD/program files" it gets about 6 of these reviews that it must close any until the computer will continue to boot the system.  Please, please tell me how to get rid of this.  I tried to install the 'Installer' update to see if that would make the difference and nope.  I also tried to remove the Corel file via CCleaner and got the same message.  I do not have the program disc, I don't want to program... I want to just get rid of it!

    #2 when entering address in the Internet Explorer address bar, the browser opens a second browser instead of going to the requested site.  For example, when I open my Internet Explorer and say go to the top of the address bar and typewww.google.com, instead of going to Google, it opens a completely separate browser.  When she did this, it's EXTREMELY SLOW!  until you think that IE went unresponsive and then finally opens the second browser.

    I'd appreciate any help!  I'm trying to solve these problems, while I'll be staying here so that I can leave him a computer running.

    Thank you!

    Hello

    ·        What version of Internet explorer that you are using (Internet Explorer 6, 7 or 8)?

    ·        Was long before Internet Explorer work?

    ·        Since when are you facing this problem?

    Step 1:

    It may be some third-party software that runs in the background that is shown with the process, I suggest you do a clean boot and check. To perform a clean boot follow the steps mentioned in the link given below.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: Once you have finished installing, follow step 7 to start the computer in normal startup.

    If the steps above don't help you not to remove the Corel Photo software, I suggest you to post your query on the forums of XP. Click on the link below.

    http://social.answers.Microsoft.com/forums/en-us/xpprograms/threads?filter=answered

    For Internet Explorer related issues, follow steps 2 and 3 of the step.

    Step 2:

    I suggest you run the fix it this tin article given to repair Internet explore

    How to reinstall or repair Internet Explorer in Windows Vista and Windows XP

    http://support.Microsoft.com/kb/318378

    Step 3:

    If you use Internet Explorer 7 or 8 I suggest you run the fix it is present in the article below. If you use Internet Explorer 6, you can follow the steps mentioned in the article given below where they apply to Internet Explorer 6 also.

    How to reset Internet Explorer settings

    http://support.Microsoft.com/kb/923737

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Hi I have a question about the unique row function executed a query "select lower ('test' |)» SYSDATE + 1) twice; "fails when as" Select lower (sysdate + 1 |) " (' test') twice; "is executed without error?

    SQL > select lower (sysdate + 1 |) (' test') twice;

    LOWER (SYSDATE + 1

    ---------------

    07 jul-2014test

    SQL > select lower ('test' | + 1 sysdate) twice;

    Select lower ('test' | sysdate + 1) of the double

    *

    ERROR on line 1:

    ORA-01722: invalid number

    The query fails because it cannot perform arithmetic (+ 1) on a channel not digital.  However, the query that successfully interpreted the arithmetic in the first place, that it concatenated the string 'test' to it...  Make sense?

  • A question about the service request with the support

    Hello

    I raised a SR I have to degenerate. I'm a dba but not a Manager. Can someone guide on what I need to do get climb the sevearity SR 3 to sev2?

    Kind regards

    Hello

    See what * Service request escalation: Notification being sent to the Manager also [395414.1 ID] *.

    concerning

  • Disable the unique key constraint

    Hello

    Is it possible to disable a unique key constraint?
    I tried the following code:

    ALTER TABLE table_name
    DISABLE the CONSTRAINT uk_constraint_name

    that seems to work fine, but when I try to insert or update a record that the unique constraint is still on. However, Toad in the United Kingdom is marked as disabled.

    What do I need to drop the UK and re-create it after my updates?

    Thank you

    The behavior that I have demonstrated that during
    a. you have an existing UNIQUE Index
    b. you add a Unique key constraint (with the same or another name, any - except that the error message contains the name of the index is different, if the constraint is disabled)

    OTOH, if you set the Unique key on the table without pre-existing index constraint, Oracle creates an Index. If you disable this constraint, Oracle removes the Index.
    So, if it is a small table and you can afford to recreate the Index each time, you can follow this method.

    SQL> create table t_2 (col_1 number, col_2 varchar2(5));
    
    Table created.
    
    SQL> alter table t_2 add constraint t_2_uk unique (col_1);
    
    Table altered.
    
    SQL> select index_name, uniqueness, status from user_indexes where table_name = 'T_2';
    
    INDEX_NAME                     UNIQUENES STATUS
    ------------------------------ --------- --------
    T_2_UK                         UNIQUE    VALID
    
    SQL> insert into t_2 values (1,'a');
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> alter table t_2 disable constraint t_2_uk;
    
    Table altered.
    
    SQL> insert into t_2 values (1,'b');
    
    1 row created.
    
    SQL> select index_name, uniqueness, status from user_indexes where table_name = 'T_2';
    
    no rows selected
    
    SQL>SQL> select constraint_name, constraint_type, status from user_constraints where table_name = 'T_2';
    
    CONSTRAINT_NAME                C STATUS
    ------------------------------ - --------
    T_2_UK                         U DISABLED
    
    SQL> alter table t_2 enable constraint t_2_uk;
    alter table t_2 enable constraint t_2_uk
    *
    ERROR at line 1:
    ORA-02299: cannot validate (AWRADMIN.T_2_UK) - duplicate keys found
    
    SQL> delete t_2 where col_2 = 'b';
    
    1 row deleted.
    
    SQL> alter table t_2 enable constraint t_2_uk;
    
    Table altered.
    
    SQL> select index_name, uniqueness, status from user_indexes where table_name = 'T_2';
    
    INDEX_NAME                     UNIQUENES STATUS
    ------------------------------ --------- --------
    T_2_UK                         UNIQUE    VALID
    
    SQL>
    

    Hemant K Collette

  • Adding a UNIQUE CONSTRAINT to an existing column with duplicate values

    Oracle Forums Hello, I have a table that contains rows 11 901. I tried to define the UNIQUE constraint on the column of xcode, but encountered an error: the column already contain duplicates! I rescued following SQL 'SELECT COUNT (*) FROM States;' the result is 11 901 and 'SELECT COUNT (DISTINCT (xcode)) FROM States;' the result is 11 680. So to enforce this unique key I have to remove the 221 lines. Please how can I do this?

    REMOVE duplicates...

    For example, as

    delete from your_table t
    where rowid <
       (
       select max(rowid)
       from your_table r
       where t.unique_column = r.unique_column);
    

    Thne create the constraint.

  • Index naming standards does not and unique constraints

    I found yet another question of naming standards

    I have tried to create a unique constraint as a normal index via the unique constraints and indexes in Properties of Table with the assumption that it will use the design properties of models.  This isn't.

    Naming Standard Template.jpg

    As noted in the image of the model above, my Unique constraint model is {table} _ {columns} lancement_remarques

    and my model of Index idx _ {columns} {table}.  Yet, when I try to create the Unique constraint, it creates the naming convention in names like CUSTOMER_ADDRESS__UK (2 lines of underscore?) as shown below.

    Table_Props_Unique_Constraint.jpg

    My assumption is that he needed a column, so I added the column and also applied the rules naming - nothing.

    Table_Props_Unique_Constraint_w_Column.jpg

    Is my wrong assumption on these constraints being appointed through the models?  If this is not the case, what naming rules is in this context?

    The same behavior is evident when you try to create index.

    I get not all comments on my posts.  Are these bugs or just user error?

    Hello

    Thank you to report the problem, I logged a bug. You can get 'Rules of naming' works properly if you press the button 'Apply' before that.

    I get not all comments on my posts.

    I don't think that anyone (or any job) has been ignored on this forum. Depending on the complexity of the problem and our current commitment (other urgent tasks, holidays, time zone), you can get answer almost immediately or after a certain time.

    It is useful for us, if you mark your messages as replied if you get the right answer.

    Philippe

Maybe you are looking for

  • 'Mighty Mouse' wireless won't scroll in El Capitan

    I just upgraded to El Capitan and my mouse without thread-scroll wheel, I have I like so much better that the new Magic Mouse no longer works correctly. It is jerky, unreliable and sometimes shuts down completely. I would be grateful for any ideas.

  • I ran back to Babylon and he now integrated itself into the toolbar - how can I get rid of it

    I ran a program called Babylon (I forgot what I was trying to do) they appear in the search box appearing as well as always on the toolbar. I would like to get rid of it - I tried "search findout where it is, but without success." Help

  • Local server connect to a domain license server

    I have a server terminal server running under windows 2012 locally (domain a) My license server is running on windows 2012 arrived in the area. Forest mode I try to establish a connection between the 2 of them and it fails. *** To identify possible l

  • Two questions: Running XP and have some interesting questions at the start and with IE.

    Hi, I try to wear the IT hat and works to clear up some questions on my mother's computer.  #1 I guess that the computer was shipped with a version of Corel Photo software on it and we cannot get rid "Installer" messages at the beginning upward.  We

  • Broken micro-USB port

    My girlfriend realized the other day that his Dell coming Pro 8 was not charging, well, after further inspection, I saw that his micro-USB port had a missing piece, making matter worse, in my opinion, she is detached from its service tag thinking tha