Insert Table Error

I upgraded to 8.0.2 today and now I can't insert tables. I
reverted to
version 8 and tested, then 8.0.1, and then to 8.0.2. Still
broken. The error
says:
"While executing objectTag, the following JavaScript error(s)
occurred:
At line 26 of file "Macintosh HD:Applications:Macromedia
Dreamwear
8:Configuration
bjects:Common:Table.htm":
TypeError: cmdDOM.parentWindow.creatTableStr is not a
function"
How do I fix this? Thanks.

> I upgraded to 8.0.2 today and now I can't insert tables.
I reverted to
> version 8 and tested, then 8.0.1, and then to 8.0.2.
Still broken. The error
> says:
>
> "While executing objectTag, the following JavaScript
error(s) occurred:
>
> At line 26 of file "Macintosh HD:Applications:Macromedia
Dreamwear
> 8:Configuration
bjects:Common:Table.htm":
> TypeError: cmdDOM.parentWindow.creatTableStr is not a
function"
>
> How do I fix this? Thanks.
Can anyone help please? I can't work without being able to
place tables.
Thanks.

Similar Messages

  • Labview 2013 report generation toolkit word 2010 insert table problem

    Hi,
    I am currently evaluating LV2013 with respect to the report generation toolkit for use with word 2010. My Vi/program won't insert the correct table and gives me an error message. see below:-
    Exception occured in Microsoft Word: The requested member of the collection does not exist.Help Path is wdmain11.chm and context 25421 in NI_ReportGenerationToolkit.lvlib:Word_Insert_Table​.vi->NI_Word.lvclass:Append Text Table to Report.vi->Word Table save.vi
    I have since run the following word example.vi provided by NI within LV2013 office examples:- Growable table.vi. this gives me the same error!
    Exception occured in Microsoft Word: The requested member of the collection does not exist.Help Path is wdmain11.chm and context 25421 in NI_ReportGenerationToolkit.lvlib:Word_Insert_Table​.vi->NI_Word.lvclass:Append Text Table to Report.vi->Growable table.vi
    It would seem that regardless of my own Vi there is a fundamental problem in the office example vi.
    I have found examples of a similar problem in LV2011/2012 but the work around code doesn't seem to match the LV2013 vi's code for a direct replacement.
    Can anyone help/shed some light on this? 
    Thanks in advance,
    Dan.

    Because the upgrade of Word from 2007 to 2010 I needed to upgrade an existing application from LabVIEW 2009 to 2013. This didn't work because of the insert table error. I discovered that the problem is the vi called "Word_Insert_Table.vi" located in the ..Program Files (x86)\National Instruments\LabVIEW 2013\vi.lib\addons\_office\_wordsub.llb. There is a "Cut" command implemented, this command removes the created cell instead of clearing it. Therefore the table will be filled half and then returnes with an error. I have removed this command. I have posted the changed vi (LV 2013).
    Attachments:
    Word_Insert_Table.vi ‏30 KB

  • MS05 transaction throws "SQL error: error during INSERT (table: &)"

    Hi Team,
    I am a BASIS engineer on MM system. we have a strange problem from customers we see an error on the MS05 screen with "SQL error: error during INSERT (table: &)" and when the support team runs MS01 transaciton this error gets resolved.
    What I would like to know is what could be the likely cause of this error and how we can prevent it.
    When I check the SM21 logs i noticed one log with "Transaction cancellation 61 204 ( PLAF )"
    and under additional document section is the log I see the below information
    Usually, the reason for this error is that an entry already exists
    with the same key.
    This problem can occur if the client was copied with the movement data
    without adjusting the number range intervals.
    Please check if the number ranges for this table have been set
    correctly and, if necessary, correct the number range interval.
    I am from BASIS and I have no clue in how the MM transactions are linked can any MM gurus help in identifying the root cause for this problem.
    any help on this is highly appreciated
    thanks
    Vijay

    Hi
    Are MS05 & MS01 you're referring is a T-code?. if so, then they are associated with planning and a PP consultant can give a more clear picture on it. Try posting this to a PP forum.
    Based on the error log, i guess this may arise because of the number range problem, when the document is getting saved and record is being tried to inserted into a table.
    Thanks
    E.Avudaiappan

  • Issue with trigger, multi-table insert and error logging

    I find that if I try to perform a multi-table insert with error logging on a table that has a trigger, then some constraint violations result in an exception being raised as well as logged:
    <pre>
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> create table t1 (id integer primary key);
    Table created.
    SQL> create table t2 (id integer primary key, t1_id integer,
    2           constraint t2_t1_fk foreign key (t1_id) references t1);
    Table created.
    SQL> exec dbms_errlog.create_error_log ('T2');
    PL/SQL procedure successfully completed.
    SQL> insert all
    2 into t2 (id, t1_id)
    3 values (x, y)
    4 log errors into err$_t2 reject limit unlimited
    5 select 1 x, 2 y from dual;
    0 rows created.
    SQL> create or replace trigger t2_trg
    2 before insert or update on t2
    3 for each row
    4 begin
    5 null;
    6 end;
    7 /
    Trigger created.
    SQL> insert all
    2 into t2 (id, t1_id)
    3 values (x, y)
    4 log errors into err$_t2 reject limit unlimited
    5 select 1 x, 2 y from dual;
    insert all
    ERROR at line 1:
    ORA-02291: integrity constraint (EOR.T2_T1_FK) violated - parent key not found
    </code>
    This doesn't appear to be a documented restriction. Does anyone know if it is a bug?

    Tony Andrews wrote:
    This doesn't appear to be a documented restriction. Does anyone know if it is a bug?Check The Execution Model for Triggers and Integrity Constraint Checking.
    SY.

  • No data inserted in error table

    hi,
    I developed an ODI interface that inserts data from one table into other table , (both tables are in the same schema of oracle database.)
    But on sending faulty data ,
    I can’t find any records in error table (E$_ , SNP_CHK_TBL)
    I tried these knowledge modules Combination
    CKM SQL - IKM Oracle Incremental Update
    CKM Oracle –IKM SQL Control Append
    Data is inserted in Flow table … but PK Errors records are not inserted in error table.
    query of PK Errors in Operator:
    insert into ODI.E_EMP2
         ROW_ID,
         ERR_TYPE,
         ERR_MESS,
         ORIGIN,
         CHECK_DATE,
         CONS_NAME,
         CONS_TYPE,
         ENO,
         ENAME
    select     distinct
         TRG.rowid,
         'F',
         'The primary key EMP2_PK is not unique.',
         '(7010)ERROR_CHK.EMP1_TO_EMP2',
         sysdate,
         'EMP2_PK',
         'PK',     
         TRG.ENO,
         TRG.ENAME
    from     ODI.I_EMP2 TRG,
         ODI.I_EMP2 TRG2
    where     TRG2.ENO = TRG.ENO and
         TRG2.rowid <> TRG.rowid
    Do I need to modify CKM and IKM.... ?
    Please help....

    Hi, joping to help.
    try using IKM SQL CONTROL APPEND.
    on Control tab in the second tab you have to see the list of the check. Are they set to "yes"?
    if not go to Model and add the costrants
    Regards
    DecaXD

  • System Error During Insert (Table KNMT SUBRC 4)

    Hi All,
    I am getting a peculiar error when i try to update KNMT table using the FM RV_CUSTOMER_MATERIAL_UPDATE.
    When i run it directly in debug mode, entries are getting created perfectly.
    But when i run it through RFC, before the FM is executed itself, during validation, i am getting an error in the message queue stating "System Error During Insert (Table KNMT SUBRC 4).
    I cheked that KNMT table is empty. Also i had deleted all entries using the standard transaction VD52.
    I found that there is a certain FM RV_CUSTOMER_MATERIAL_UPDATE_C which is described as Posting program for customer-material info (CALL mode).
    But i am not sure what this does. I cannot view the documentation in my system and also this FM does not have any parameters.
    Kindly let me know if anyone has encountered an error like this... Please let me know of any suggestions for resolution.
    Thanks & Regards,
    Mz
    P.S : The Functionality seems to work intermittently... though not when i want it.
    Edited by: Mazin Mahmood on Dec 8, 2011 9:09 AM

    Hi,
    The issue was that i was calling the function module RV_CUSTOMER_MATERIAL_UPDATE using an RFC.(ABAP Proxy) For some reason, while using an RFC, there is some issue with this function module and the database commit .
    I had to recode using BDC (for transaction vd51) approach for creating a record in KNMT.
    Thanks All,
    Cheers,
    Mz

  • Cannot insert object error using Power View in Excel 2013

    I created a short table in Excel 2013, positioned the cursor in the table and clicked Inset/Power View Report. I get a status window saying Excel is opening a Power View sheet but then I get a Power View error: Cannot Insert Object. I am able to insert new
    tabs in the workbook. When I try the insert again, I just get the Power View error. I looked at other threads with similar issues and did the following:
    Made the Formula bar visible - no change
    Tried to repair Office 2013 but that option is not available when I right click on the program in the Control Panel
    De-installed Silverlight - Tried to insert Power View Report. A Power View tab was created with the Power View picture and Power View ribbon. Got the message to install Silverlight and Reload. Installed Silverlight hit Reload and the Power View tab didn't
    change. Hit Power View Report and got the Cannot Insert Object error message again.
    Any help is appreciated.

    Hi,
    Did you use PowerView first time? I notice you had found a similar thread and tested the solutions.
    PowerView is an add-in in Excel2013, We must make sure that you check some option in the trust center and Add-in center.
    http://blogs.office.com/b/microsoft-excel/archive/2012/10/04/intro-to-power-view-for-excel-2013.aspx
    Location1: Excel Options>Add-in>Solver Add-in enable
    Location2: Excel Options> Trust Center> Add-in
    Then you said that you couldn’t repair the Excel 2013, please refer to the following link:
    http://office.microsoft.com/en-gb/outlook-help/repair-office-programs-HA010357402.aspx
    At last, we may test it in clean boot, please refer to the following link:
    http://support.microsoft.com/kb/929135
    Regards,
    George Zhao
    TechNet Community Support

  • SRKIM: Synchronize Wf Local Tables Errors: Ora-01400

    PURPOSE
    Synchronize Wf Local Tables 수행 시 발생한 ora-01400 error 를 해결한다.
    Problem Description
    Synchronize Wf Local Tables 수행 시 아래와 같은 error 가 발생하였다.
    ERROR
    FNDWFLSC module: Synchronize WF LOCAL tables
    Current system time is 31-AUG-2005 09:39:54
    **Starts**31-AUG-2005 09:39:54
    **Ends**31-AUG-2005 09:40:33
    ORA-12801: error signaled in parallel query server P000
    ORA-01400: cannot insert NULL into
    ("APPLSYS"."WF_LOCAL_ROLES_STAGE"."DISPLAY_NAME")
    STEPS
    The issue can be reproduced at will with the following steps:
    Submit the concurrent program Synchronize WF LOCAL tables.
    Log file shows error.
    Workaround
    N/A
    Solution Description
    해당 error 는 per_all_people_f table 의 global_name 이 null 이기 때문에 발생하는 error 로 가장 간단하게는 아래와 같이 처리 하면 된다.
    update per_all_people_f
    set global_name = full_name
    where global_name is null;
    commit;
    위의 작업 후 다시 Synchronize WF LOCAL tables process 를 수행 한다.
    해당 issue 에 대한 원인은 note. 397219.1 - Why Are There NULL Values For global_name In 를 참조 하도록 한다.
    Reference Documents
    Note 375508.1 - Synchronize Wf Local Tables Errors: Ora-01400: Cannot

    Hi Hussein,
    Thanks for reply. Please find the below details.
    RELEASE_NAME
    12.1.3
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Linux **** 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    Conc Req Log file
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FNDWFLSC module: Synchronize WF LOCAL tables
    Current system time is 19-JUN-2012 05:49:20
    **Starts**19-JUN-2012 05:49:20
    **Ends**19-JUN-2012 05:49:20
    ORA-14501: object is not partitioned
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 19-JUN-2012 05:49:20
    ---------------------------------------------------------------------------

  • Unable to insert table in design view???

    Im using Dreamweaver MX 6.0, been using it for a while
    trouble free. Recently installed it on my new Vista laptop, install
    went fine, program opens fine. I was in design view today, tried to
    insert a table and was initially getting some weird error message,
    but the table WAS created. After a few minutes I went to make a
    change and the program crashed. Started Dreamweaver again, tried to
    insert a table and nothing happens. I can click the insert table
    button, try Insert >>> Table, and nothing happens, no
    error message, nothing.
    If I manually enter the code to create a table, I AM able to
    do that, and I can edit it in design view, such as splitting a
    cell, etc.. Anyone have any ideas? Thanks.
    -Joey

    > The build is 6.0.1714.0
    ANN: 6.1 Updater on build 1714
    Macromedia has been working with our customers to track down
    the source
    of problems a minority of users have been having with the ...
    Dreamweaver MX
    6.1 updater. Several users reported that the updater
    incorrectly indicates
    that it cannot find the Dreamweaver
    application or executable file in the specified folder and
    doesn't perform
    the update. While researching this, we found that there were
    several
    different causes for similar issues. Those solutions are all
    detailed in the
    technote at:
    http://www.macromedia.com/support/dreamweaver/ts/documents/dmx_updater_issues.htm.
    However, we also noticed that many customers were trying to
    update a build
    of Dreamweaver MX, 1714, that was never legally released to
    the public or
    made available for purchase. The release version of
    Dreamweaver MX 6.0 is
    build 1722, and build 1714 was only released to a small group
    of beta
    testers under a non-disclosure agreement. Beta testers
    received the final
    build of Dreamweaver MX at the completion of the beta
    program.
    Because build 1714 is not a commercial release, it cannot be
    updated and
    should not be used for any purpose as it is not a legally
    licensed version
    of Dreamweaver MX. To purchase a copy of Macromedia
    Dreamweaver MX, visit
    our online store at:
    http://dynamic.macromedia.com/bin/MM/store/US/home.jsp
    Thanks to all customers who provided detailed information
    that enabled us to
    track down the installer issues much more quickly than we
    could without your
    help.
    Matt Brown Dreamweaver and Contribute Community Manager
    Sorry I can't help more than that.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joey_330ci" <[email protected]> wrote in
    message
    news:[email protected]...
    > Version 6.0.1714.0 Thanks!

  • Insert PK errors

    Hi,
    I am new to ODI. I got 'insert PK errors' while executing my validate scenario. This scenario is to do the validation for interface table ZCA_IMP_SALES_ACCOUNTS which has primary key 'INTERFACE_ROW_ID'. The targe code is
    update FUSION.ZCA_IMP_SALES_ACCOUNTS TRG
    set TRG.object_status = 'COLLECTION_ERROR',
    TRG.collection_status = 'ZCA_IMP_SALES_ACCOUNTS_PK'
    where (TRG.INTERFACE_ROW_ID) = (
    select (TRG2.INTERFACE_ROW_ID)
    from FUSION.ZCA_IMP_SALES_ACCOUNTS TRG2
    where TRG2.rowid <> TRG.rowid )
    and TRG.request_id = <@=#IC_CN_IMPORT.N_REQUEST_ID@>
    The error message is
    java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("update ODI_WORK.ZCA_IMP_SALES_ACCOUNTS TRG set TRG.object_status = . . . '' Token Parsing Error: Lexical error at line 2, column 12. Encountered: "I" (73), after : "#": <at unknown location>
    BSF info: insert PK errors at line: 0 column: columnNo
         at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:635)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.codeInterpretation(SnpSessTaskSql.java:410)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1716)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2698)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java:71)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2417)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:740)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2059)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$1.doAction(StartSessRequestProcessor.java:263)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:226)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:191)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:181)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:708)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:129)
         at oracle.odi.runtime.agent.processor.task.AgentTask.executeInAuthentication(AgentTask.java:104)
         at oracle.odi.runtime.agent.support.BuiltInAgentTaskExecutor$1.run(BuiltInAgentTaskExecutor.java:26)
         at java.lang.Thread.run(Thread.java:619)
    I am not sure how to debug this error. Can someone please help me out?
    Thanks,
    DonMay

    Hi,
    Trying to help....
    Which KM you are using ?
    In which step its failing ?
    What is your Primary Key ? and can you please tell the source and target column mappings and conditions.
    Are you missing some thing in this condition ?
    select (TRG2.INTERFACE_ROW_ID) from FUSION.ZCA_IMP_SALES_ACCOUNTS TRG2
    where TRG2.rowid TRG.rowid )
    I mean equal condition in where clause (where TRG2.rowid = TRG.rowid )
    Regards,
    Rathish A M
    Edited by: Rathish on Dec 4, 2009 1:13 PM

  • Solve mutating table error

    Hi,
    I want a solution for mutating table error. I am a newbie in oracle.
    I'll explain my scenario.
    There are two tables TEACHER and STUDENT
    both are linked using the field 'tid'. the foreign key relation is given as ON DELETE CASCADE
    so if i delete a row from teacher , the corresponding rows in student get deleted, but i want to back up all the students who comes under that teacher, who is getting deleted.
    I tried in TRIGGER, but getting mutating table error.
    Please help
    Thanks in advance
    Divya

    This extract from an earlier post might be of help:
    You can solve this problem by using following thing
    1)create a view on same table with all fields
    and write trigger on table (insert,update or delete ) while inserting or updating or deleting row from table read from view.
    (Mutating error come when you are reading from one table and want to update,insert or delete row of same table).
    2)create a temporary table(but it is possible in 8i onword only) same as table on which you want to write trigger,while updating,inserting or deleting rows of table read from temporary table and after your work is over temporary table auotomatically drop (see proper command in oracle documentation to create temporary table).
    null

  • After insert trigger error

    Hi,
    i have created an Trigger After Insert According to me, It's correct But it show me Error Can Not Insert Null in to code.
    CREATE OR REPLACE TRIGGER  "AFT_INS_CRM_CUSTOMER_CONTACTS"
      AFTER INSERT ON FH_TAPROD.CRM_SALES_CUSTOMER_CONTACTS
    FOR EACH ROW
    DECLARE
    custo_id NUMBER;
    var_code varchar2(8);
    cont_code varchar2(5);
    BEGIN
    SELECT CUSTOMER_ID INTO custo_id FROM CRM_SALES_CUSTOMER_CONTACTS WHERE ID =:NEW.ID;
      select CODE into var_code from VENDOR_CUSTOMER_MAS where CRM_CUST_ID=custo_id ;
      SELECT LPAD ( NVL(MAX(CONTACT_CODE), 0)+ 1, 5, '0') into cont_code FROM vendor_customer_contact
      insert into VENDOR_CUSTOMER_CONTACT(SBU_CODE ,CODE,CONTACT_CODE, CONTACT_NAME ,PHONE_NO1 ,MOBILE_NO ,EMAIL, ADDRESS1,CUST_ID,UPLOAD_CRM)
       values('0002',var_code,cont_code,:NEW.CONTACT_NAME,:NEW.CONTACT_PHONE,:NEW.CONTACT_CELL,:NEW.CONTACT_EMAIL,:NEW.CONTACT_ADDRESS,custo_id,'CRM');
    END;
    CREATE TABLE  "CRM_SALES_CUSTOMER_CONTACTS"
       (     "ID" NUMBER,
         "CUSTOMER_ID" NUMBER,
         "CONTACT_NAME" VARCHAR2(255),
         "CONTACT_EMAIL" VARCHAR2(255),
         "CONTACT_PHONE" VARCHAR2(255),
         "CONTACT_CELL" VARCHAR2(255),
         "CONTACT_ADDRESS" VARCHAR2(4000),
          PRIMARY KEY ("ID") ENABLE
    INSERT INTO CRM_SALES_CUSTOMER_CONTACTS VALUES (204414862717175278810736770347803084847, 204232590877603599356756434170666837075, 'SANJAY',    '[email protected]', 1246456, 57152357,'Near Post Office');
    CREATE OR REPLACE TRIGGER  "BIU_CRM_SALES_CUST_CONTACTS"
    BEFORE INSERT OR UPDATE ON CRM_SALES_CUSTOMER_CONTACTS
        FOR EACH ROW
    begin
        if inserting and :new.id is null then
            select to_number(sys_guid(),'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') into :new.id from dual;
        end if;
        if inserting then
            :new.created_by := nvl(v('APP_USER'),USER);
            :new.created_on := sysdate;
        end if;
        if updating then
            :new.updated_by := nvl(v('APP_USER'),USER);
            :new.updated_on := sysdate;
        end if;
    end;My After Insert TAble
    CREATE TABLE  "VENDOR_CUSTOMER_CONTACT"
       (     "SBU_CODE" VARCHAR2(4) NOT NULL ENABLE,
         "CODE" VARCHAR2(8) NOT NULL ENABLE,
         "CONTACT_CODE" VARCHAR2(5) NOT NULL ENABLE,
         "CONTACT_NAME" VARCHAR2(1000) NOT NULL ENABLE,
         "PHONE_NO1" VARCHAR2(100),
         "MOBILE_NO" VARCHAR2(25),
         "EMAIL" VARCHAR2(1000),
         "ADDRESS1" VARCHAR2(4000),
         "CUST_ID" NUMBER,
         "UPLOAD_CRM" VARCHAR2(10),
          CONSTRAINT "VCV_PK" PRIMARY KEY ("SBU_CODE", "CODE", "CONTACT_CODE") ENABLE
    ORA-01400: cannot insert NULL into ("FH_TAPROD"."VENDOR_CUSTOMER_CONTACT"."CODE") ORA-06512: at "FH_TAPROD.AFT_INS_CRM_CUSTOMER_CONTACTS", line 30 ORA-04088: error during execution of trigger 'FH_TAPROD.AFT_INS_CRM_CUSTOMER_CONTACTS'How to resolve it.
    Thanks
    Edited by: 805629 on Jan 14, 2011 1:26 AM

    This is your trigger
    CREATE OR REPLACE TRIGGER  "AFT_INS_CRM_CUSTOMER_CONTACTS"
      AFTER INSERT ON FH_TAPROD.CRM_SALES_CUSTOMER_CONTACTS
    FOR EACH ROW
    DECLARE
    custo_id NUMBER;
    var_code varchar2(8);
    cont_code varchar2(5);
    BEGIN
    SELECT CUSTOMER_ID INTO custo_id FROM CRM_SALES_CUSTOMER_CONTACTS WHERE ID =:NEW.ID;
      select CODE into var_code from VENDOR_CUSTOMER_MAS where CRM_CUST_ID=custo_id ;
      SELECT LPAD ( NVL(MAX(CONTACT_CODE), 0)+ 1, 5, '0') into cont_code FROM vendor_customer_contact;
      insert into VENDOR_CUSTOMER_CONTACT(SBU_CODE ,CODE,CONTACT_CODE, CONTACT_NAME ,PHONE_NO1 ,MOBILE_NO ,EMAIL, ADDRESS1,CUST_ID,UPLOAD_CRM) values('0002',var_code,cont_code,:NEW.CONTACT_NAME,:NEW.CONTACT_PHONE,:NEW.CONTACT_CELL,:NEW.CONTACT_EMAIL,:NEW.CONTACT_ADDRESS,custo_id,'CRM');
    END;This is the insert who fire it
    INSERT INTO CRM_SALES_CUSTOMER_CONTACTS VALUES (204414862717175278810736770347803084847, 204232590877603599356756434170666837075, 'SANJAY',    '[email protected]', 1246456, 57152357,'Near Post Office');Then the trigger execute
    SELECT CUSTOMER_ID FROM CRM_SALES_CUSTOMER_CONTACTS WHERE ID =204232590877603599356756434170666837075;
    select CODE from VENDOR_CUSTOMER_MAS where CRM_CUST_ID=<result of previous query>;
    SELECT LPAD ( NVL(MAX(CONTACT_CODE), 0)+ 1, 5, '0') FROM vendor_customer_contact;
    Insert ...And fail.
    Execute the select in your sqlplus one by one and post result.

  • Mutating table error

    Hi All,
    I am getting the “ORA-04091 - mutating table error" when my trigger on a table "fnd_flex_values" fires. As I understand it, this error is occuring because, the users are trying to add rows to this table (it is an after insert trigger) and the trigger is trying to get values from the same table.
    Any suggestions on how to get around the mutating table error?
    My trigger code :
    CREATE OR REPLACE TRIGGER "APPS".ST_BU_PARENT_CC
    after insert on APPLSYS.FND_FLEX_VALUES REFERENCING OLD AS OLD NEW AS NEW
    for each row
    Declare
    v_flex_value    varchar2(150) :=null;
    v_desc          varchar2(2) := null;
    v_createdby     number      :=null;
    v_lstupdby      number      :=null;
    v_lstupdlogin   number      :=null;
    begin
      if inserting then
         select a.last_update_login,a.last_updated_by,a.created_by,a.flex_value,
                   rtrim(substr(description,instr(b.description,',')+1,5))
         into v_lstupdlogin,v_lstupdby,v_createdby,v_flex_value,v_desc
         from fnd_flex_values a,
                 fnd_flex_values_tl b
            where a.flex_value_id = b.flex_value_id
            and   a.flex_value_set_id = :new.flex_value_set_id
         and   a.flex_value_set_id = 1009635
            and   (a.flex_value like '1%' or a.flex_value like '7%')
         order by flex_value asc;
         insert into applsys.fnd_flex_value_hierarchies
            values(:new.flex_value_set_id,v_desc||'STO',v_flex_value,v_flex_value,sysdate,v_lstupdby,sysdate,v_createdby,null,null,null);
            insert into applsys.fnd_flex_value_norm_hierarchy
            values(:new.flex_value_set_id,v_desc||'STO','P',v_flex_value,v_flex_value,sysdate,v_lstupdby,sysdate,v_createdby,v_lstupdlogin,null,null);
      end if;
      exception
        when no_data_found then
          raise;
    end;Thanks,
    Chiru

    >>
    Any suggestions on how to get around the mutating
    table error?
    This link by Tom Kyte should help you with the
    "mutating table" error.
    http://asktom.oracle.com/tkyte/Mutate/index.html
    pratzPratz,
    Thanks for the quick reply. I am trying to create a temp table (log_table) but having the "insufficient privilages" issues.
    Thanks,
    Chiru

  • Dreamweaver CS4 Insert Table button does not work.

    I recently upgrade from an older version of Dreamweave to Dreamweaver CS4. But now I have a problem with inserting tables.
    They have the dropdown on the top right for Classic, Coder, Coder Plus and so on. I was using classic and everything was fine, then all of a sudden if I try using the Insert Table button from the Inserts tab, it does nothing. If I right click on the button, then click on the button it works, and if i switch to any other view it works. so then I used Coder and it was fine, but then again it stopped working. So I switched to Coder Plus and it was fine for a few more days and then it stops working again. I have rebooted my machine, closed out of DW and nothing seems to fix it. I just installed all adobe software updates and there was nothing in the update that fixed the problem. Does anyone else have this issue and if so, how do I fix it?
    I have searched google and I can't find anything. I can keep switching views but one day soon if it continues, I'm going to run out of views and Its such a habit to use the button instead of the Ctrl+Alt+T shortcut.

    try the following
    Recreate Dreamweaver CS4 Configuration and registry
    - rename the configuration folder to any name. (just add any character I suggest)
    C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver CS4\Configuration
    - recreate the registry folder
    Start > run > regedit
    HKEY_CURRENT_USER>Software>Adobe>Dreamweaver>10. Rename 10 ex: 10_old
    maybe you can post your specs here for more specific troubleshooting. Cheers!

  • CR4E Unable to Insert Table (or Drag and Drop)

    <p>Please Help. </p><p>Using Release 11.8, I am unable to insert a table from te DBBrowser (aka MyEclipse DataBase Explore) onto an existing Crystal Report.  I can select and drag a table easily, but I&#39;m prevented from dropping it onto the Crystal Report (at the Data Tab).  Also, the DBBrowser does not have an Insert Table option in the context menu.</p><p>Thank you,</p><p>Ron  -- <a href="mailto:[email protected]">[email protected]</a></p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p>

    Hi Ron
    We havent done any testing of CR4Eclipse with MyEclipse. Could you try and see if everything works OK on a standalone version or if you get the same problem.Â
    Thanks and welcome to Diamond

Maybe you are looking for

  • Can you put purchased DVD movies onto your ipod?  also what about DVD moies that you have that are recorded, not bought?  and if you can how do you do it?

    Can you put purchased DVD movies that you have on your ipod?  what about recorded DVD's that you have?  and if you can, how?     ex)  i bought the DVD Tangeled for my daughter and wanted to put it on the ipod..  also she has a disney DVD movie Brothe

  • Ragged/Jagged Arrays

    hey guys i was wondering if you guys could help me a bit^^. http://bingweb.binghamton.edu/~cs140/Homework/assignment06.html this is the assignment that i have to do and i am stuck on #3. here is my code for ArrayDataVer2 package assig6; public class

  • Calculate back a price from MRP

    Hi All, Is it possible to back calcule a price. Say if i have material which has an MRP of 110. I have a Tax of 10 % The customer will pay 110. Account ing entry will happen for 100 and for TAX 10. I have only the MRP value in my hand and the Tax in

  • VF02 Invoice cancellation: Wrong profit center in FI but ok in CO

    Hi, I got an invoice on Billing plan with Profit center 1 (based on WBS element). Then we changed the profit center (PC 2) of the project & WBS element and we update the Billing plan. Then we cancel the invoice within VF02, CO posting is on the profi

  • CARD READERS DISAPEARED!?!?!

    Hello, When I first instaled my Windows XP OS into my MEGA 651, I rememer seeing the memory card reader slots under MY COMPUTER, and the safe to remove icon in the task bar appeared, where it alowed me to safly rmove the card readers.. It as been bou