Automatic Row Processing (DML) process is not updating the record

Hi all,
I have an application which was working fine last week and tested and backuped to new application. This Monday, one of the form in that application is not updating the data all of a sudden. I debug that by having page 0 variable and assign the value from the column variable to page 0 variable. Whatever value I changed to the column variable was getting updated to page 0 variable. But it is not updated in the database. So, I changed the success message of the "Automatic Row Processing (DML) process" and I can see the success message on the page, but the column value does not get updated. But when I go back and checked my backup application, that page is working fine. For now, I copy that from the backup application, but I would like to know why this is happening?
Thanks
SHY

Hi Scott,
Thank you very much for your response. Because of the database complexity, I can't create/import the application on the apex.oracle.com. I am just wondering why this is happening. One of my coworker said same thing happened to her in one of her project and it gets resolved once she restart the server. I am not able to restart the server to check and see if this resolved as the application is on the client server. Do we need to clean up any log file? Thanks.
SHY

Similar Messages

  • OB08 is not updating the record.

    Hi experts,
    We are using CRM 4.0 Internet sales application. We are using transaction OB08 for updating exchange rate. We have a customised program to update the OB08.
    This program uses BDC program ,picks the record which is kept is SAP application server and update the OB08 transaction.  A job triggers this program.
    Problem here suddenly this program picks the records from application server and failed to update the OB08 transaction.Could you any one of you help me in resolving the issue.
    Regards,
    Jegatheesan.

    HI
    Please check the respective file from error folder in application server, it may be wrong in file format.
    Thanks & Regards
    Veerraju

  • Not Updating the Values in the JComboBox and JTable

    Hi Friends
    In my program i hava Two JComboBox and One JTable. I Update the ComboBox with different field on A Table. and then Display a list of record in the JTable.
    It is Displaying the Values in the Begining But when i try to Select the Next Item in the ComboBox it is not Updating the Records Eeither to JComboBox or JTable.
    MY CODE is this
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.DefaultComboBoxModel.*;
    import javax.swing.table.*;
    import java.sql.*;
    import java.util.*;
    public class SearchBook extends JDialog implements ActionListener
         private JComboBox comboCategory,comboAuthor;
         private JSplitPane splitpane;
         private JTable table;
         private JToolBar toolBar;
         private JButton btnclose, btncancel;
         private JPanel panel1,panel2,panel3,panel4;
         private JLabel lblCategory,lblAuthor;
         private Container c;
         //DefaultTableModel model;
         Statement st;
         ResultSet rs;
         Vector v = new Vector();
         public SearchBook (Connection con)
              // Property for JDialog
              setTitle("Search Books");
              setLocation(40,110);
              setModal(true);
              setSize(750,450);
              // Creating ToolBar Button
              btnclose = new JButton(new ImageIcon("Images/export.gif"));
              btnclose.addActionListener(this);
              // Creating Tool Bar
              toolBar = new JToolBar();
              toolBar.add(btnclose);
              try
                   st=con.createStatement();
                   rs =st.executeQuery("SELECT BCat from Books Group By Books.BCat");
                   while(rs.next())
                        v.add(rs.getString(1));
              catch(SQLException ex)
                   System.out.println("Error");
              panel1= new JPanel();
              panel1.setLayout(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              c.fill = GridBagConstraints.HORIZONTAL;
              lblCategory = new JLabel("Category:");
              lblCategory.setHorizontalAlignment (JTextField.CENTER);
              c.gridx=2;
              c.gridy=2;
              panel1.add(lblCategory,c);
              comboCategory = new JComboBox(v);
              comboCategory.addActionListener(this);
              c.ipadx=20;
              c.gridx=3;
              c.gridwidth=1;
              c.gridy=2;
              panel1.add(comboCategory,c);
              lblAuthor = new JLabel("Author/Publisher:");
              c.gridwidth=2;
              c.gridx=1;
              c.gridy=4;
              panel1.add(lblAuthor,c);
              lblAuthor.setHorizontalAlignment (JTextField.LEFT);
              comboAuthor = new JComboBox();
              comboAuthor.addActionListener(this);
              c.insets= new Insets(20,0,0,0);
              c.ipadx=20;
              c.gridx=3;
              c.gridy=4;
              panel1.add(comboAuthor,c);
              comboAuthor.setBounds (125, 165, 175, 25);
              table = new JTable();
              JScrollPane scrollpane = new JScrollPane(table);
              //panel2 = new JPanel();
              //panel2.add(scrollpane);
              splitpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,panel1,scrollpane);
              splitpane.setDividerSize(15);
              splitpane.setDividerLocation(190);
              getContentPane().add(toolBar,BorderLayout.NORTH);
              getContentPane().add(splitpane);
         public void actionPerformed(ActionEvent ae)
              Object obj= ae.getSource();
              if(obj==comboCategory)
                   String selecteditem = (String)comboCategory.getSelectedItem();
                   displayAuthor(selecteditem);
                   System.out.println("Selected Item"+selecteditem);
              else if(obj==btnclose)
                   setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
              else if(obj==comboAuthor)
                   String selecteditem1 = (String)comboAuthor.getSelectedItem();
                   displayavailablity(selecteditem1);
                   //System.out.println("Selected Item"+selecteditem1);
                   System.out.println("Selected Author"+selecteditem1);
         private void displayAuthor(String selecteditem)
              try
              {     Vector data = new Vector();
                   rs= st.executeQuery("SELECT BAuthorandPublisher FROM Books where BCat='" + selecteditem + "' Group By Books.BAuthorandPublisher");
                   System.out.println("Executing");
                   while(rs.next())
                        data.add(rs.getString(1));
                   //((DefaultComboBoxModel)comboAuthor.getModel()).setVectorData(data);
                   comboAuthor.setModel(new DefaultComboBoxModel(data));
              catch(SQLException ex)
                   System.out.println("ERROR");
         private void displayavailablity(String selecteditem1)
                   try
                        Vector columnNames = new Vector();
                        Vector data1 = new Vector();
                        rs= st.executeQuery("SELECT * FROM Books where BAuthorandPublisher='" + selecteditem1 +"'");     
                        ResultSetMetaData md= rs.getMetaData();
                        int columns =md.getColumnCount();
                        String booktblheading[]={"Book ID","Book NAME","BOOK AUTHOR/PUBLISHER","REFRENCE","CATEGORY"};
                        for(int i=1; i<= booktblheading.length;i++)
                             columnNames.addElement(booktblheading[i-1]);
                        while(rs.next())
                             Vector row = new Vector(columns);
                             for(int i=1;i<=columns;i++)
                                  row.addElement(rs.getObject(i));
                             data1.addElement(row);
                             //System.out.println("data is:"+data);
                        ((DefaultTableModel)table.getModel()).setDataVector(data1,columnNames);
                        //DefaultTableModel model = new DefaultTableModel(data1,columnNames);
                        //table.setModel(model);
                        rs.close();
                        st.close();
                   catch(SQLException ex)
    }Please check my code and give me some Better Solution
    Thank you

    You already have a posting on this topic:
    http://forum.java.sun.com/thread.jspa?threadID=5143235

  • Strange behaviour  Automatic Row Processing (DML) process

    Hi all,
    I'm executing a process with a fetch Automatic Row Processing (DML) over a synonym and it works perfectly but when i change the table owner it doesn't work anymore and give the error:
    ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
    Unable to fetch row.
    I thought it could be from the permissions of that owner over that synonym so i give it all grants, but still no luck.
    Does anyone knows if there are some limitations for the Automatic Row Processing (DML) process?

    Once again thanks for the reply Munky,
    The original table created on schema1 (ADMGIN) :
    SQL> desc MAN_ALT_TAB
    Name Null? Type
    ALT_ID NOT NULL NUMBER
    ALT_DES VARCHAR2(50)
    AAT_COD NOT NULL VARCHAR2(10)
    ALT_ID_REL NUMBER
    ALT_MUL_REG VARCHAR2(1)
    ALT_FOR_DES VARCHAR2(4000)
    The synonym created in schema2 (PORTAL) :
    CREATE OR REPLACE SYNONYM "PORTAL"."MAN_ALT_TAB" FOR "ADMGIN"."MAN_ALT_TAB";
    Grants on the schema1 (ADMGIN) owner:
    GRANT ALL ON MAN_ALT_TAB TO PORTAL;
    There isn't a new table in the schema2 only a synonym.
    The synonym isn't created in schema1 it was created in schema2.
    Regards Pedro.

  • Approval Workflow does not update the Content Approval status if started automatically

    Hi,
    I’m using a simple Approval Workflow associated with
    Content Approval on site pages. It works fine when I set it to be started manually (by using
    Allow this workflow to be manually started by an authenticated user with Edit Item permissions
     option) and on the completion of the workflow the
    Content Approval status is updated accordingly. But when I set it to be started automatically (by using
    Start this workflow when a new item is created
     / Start this workflow when an item is changed
    options), it does not updates the Content Approval status. Note that I’ve set the
    Update the approval status after the workflow is completed (use this workflow to control content approval)
    option to true.
    Regards

    Hello,
    It is recommended to select "Start this workflow to approve publishing a major version of an item" when you want to use the workflow to manage content approval for
    a library.
    According to the Notes for “Enable Content Approval” option in
    this reference:
    If you are using this Approval workflow to manage content approval (moderation) for a library, and you selected the Start this workflow to approve publishing a major version
    of an item check box on the Add a Workflow page..
    If you did not select the Start this workflow to approve publishing a major version of an item check box on the Add a Workflow page because you do not want this workflow to
    be the default content approval workflow for a library, you can select the Update the approval status (use this workflow to control content approval) check box to make this workflow a secondary content approval workflow that specific users can
    start manually.
    That means having an approval workflow start automatically when a document is changed or created is not a good practice when you want to use the workflow to manage
    content approval for a library. You should either select "Start this workflow to approve publishing a major version of an item" or give users the option to start the workflow manually at the time they want to submit for an approval.
    Thanks & Regards.
    Lily Wu

  • Why does iTunes freeze when movie download is processing and it will not restart the download but yet it billed my acct for payment already?

    Why does iTunes freeze when movie download is processing and it will not restart the download but yet it billed my acct for payment already? It has been a week now and still not done processing. I get an error message when I try to restart the download.

    What Windows version?

  • Batch Split in OBD & billed for the entire Quantity .RG1  register does not update the excise values

    Hi All,
    I am new here . We have batch split in Delivery and 601 happens for the individual batches and billing we bill for the entire quantity . Hence the RG1 does not update the excise values for the batches and it is showing as zero (upon extraction in J2I6). Upon research through the program the latest note which i presume is patched
    The latest note is N158234 which does not show in the program but seems have been patched considering we are using the Latest version of SAP .
    As you see above in the billing we have billed for the whole quantity but RG1 does not update for the since the batches are zero .
    My programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split .
    Now i have checked few other projects in my company and they all seems to be following the program . So i am wondering whether my process or some customization is missing .
    Sales order (no batch determination)  , in delivery the batches are picked through wm to and batch split happens in the delivery . Then billling for the whole quantity . We have automatic excise invoice creation enabled so no J1IIN .
    Can somebody help me .
    Thank you

    My programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split
    Which field (H & J) they were referring in VBFA ?
    i have checked few other projects in my company and they all seems to be following the program
    How about the other projects' values in VBFA where your techinical team is guessing some issue.  Have you compared this?
    Since you have already the note 158234 implemented in your system, ideally, you should not face any issue.
    G. Lakshmipathi

  • Work order should not update the fields in PR

    Hi  Gurus
    My requirements is that workorder should not updates the purchasing data fields in PR  do not go to the shoping cart. How can make it possible.
    Thanks in Advance

    Hi,
          I am not sure of your requirement clearly but check up the below user exits :-
    COZF0001 Change purchase req. for externally processed operation
    COZF0002 Change purchase req. for externally procured component
    or BADI :- IWO1_PREQ_BADI BAdI for Manipulation of P.Reqs from Orders + Networks ,SE18
    regrds
    pushpa

  • DYNP_VALUES_UPDATE not Updating the Field on my Dynpro

    Hi.
    I want to create a dynpro where two fields are. Field 1 allows the user to enter a customer number, field two shall come up with a number that is calculated somehow. The calculation can last up to 20 seconds, so I dont want to make the user waite for this number.. .he shall be able to work with the rest of the dynpro.
    Therefore I called the function that does the calcuiation like that:
    MODULE user_command_0100 INPUT.
      DATA: lv_guid_16 TYPE guid_16.
      IF kna1-kunnr IS NOT INITIAL AND kna1-kunnr <> gv_kunnr
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_16 = lv_guid_16.
        gv_taskid = lv_guid_16+8(8).
        CALL FUNCTION 'YDETERMINE_DEPOTDISTANCE' 
          STARTING NEW TASK gv_taskid
          PERFORMING receive_depent ON END OF TASK
          EXPORTING
            i_kunnr = kna1-kunnr.
      ENDIF.
    ENDMODULE. 
    The next piece of code shall get the returning value if the function wants to return its results.
    FORM receive_depent USING i_task TYPE clike.
      TABLES: d020s.
      DATA: dyname LIKE d020s-prog,
            dynumb LIKE d020s-dnum.
      DATA: BEGIN OF dynpfields OCCURS 1.
              INCLUDE STRUCTURE dynpread.
      DATA: END OF dynpfields.
      IF i_task = gv_taskid.
        RECEIVE RESULTS FROM FUNCTION 'YDETERMINE_DEPOTDISTANCE'
        IMPORTING
          e_depent         = kna1-yydepent
          e_accuracy       = gv_accuracy.
        MOVE 'KNA1-YYDEPENT' TO dynpfields-fieldname.
        MOVE kna1-yydepent TO dynpfields-fieldvalue.
        APPEND dynpfields.
        dyname = sy-cprog.
        dynumb = '0100'.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname               = dyname
            dynumb               = dynumb
          TABLES
            dynpfields           = dynpfields
          EXCEPTIONS
            invalid_abapworkarea = 01
            invalid_dynprofield  = 02
            invalid_dynproname   = 03
            invalid_dynpronummer = 04
            invalid_request      = 05
            no_fielddescription  = 06
            undefind_error       = 07.
        ASSERT sy-subrc = 0.
      ENDIF.
    Problem is: The DYNP_VALUES_UPDATE does not update the field on my dynpro at all. If I hit enter another time, then the field is provided by the value as another PBO will be processed. What is my mistake here?
    Regards
    Manfred
    Edited by: Rob Burbank on Oct 29, 2010 12:07 PM

    Hi Manfred,
    Replace all the DYNP_VALUES_UPDATE-related content by the following statement:
    SET USER-COMMAND 'xxx'.
    While DYNP_VALUES_UPDATE does update the fields, a roundtrip is not triggered so the content of the fields will not be refreshed. The SET USER-COMMAND does that.
    Hope this helps you!
    Cheers, Roel

  • Windows Server 2008: Sysprep Error: Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]

    I have a base template (which has never been sysprep'd) from which I create linked clones.  After the linked clone comes up, I run the following command:
    c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /reboot /unattend:c:\windows\panther\unattend.xml
    This works fine for the first few linked clones, but after about 3-4 linked clones are running, I start to hit "A fatal error occurred while trying to sysprep the machine."
    ****c:\windows\panther\setuperr.log****
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    ****c:\windows\panther\unattend.xml****
    <?xml version='1.0' encoding='utf-8'?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>en-US</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>en-US</UserLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <Password>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </Password>
                </AutoLogon>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>ca$hc0w</Value>
                        <PlainText>true</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <TimeZone>Pacific Standard Time</TimeZone>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ProductKey>7M67G-PC374-GR742-YH8V4-TCBY3</ProductKey>
                <ComputerName>*</ComputerName>
            </component>
        </settings>
    </unattend>
    ****c:\windows\panther\setupact.log****
    2013-03-29 16:40:07, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:40:07
    2013-03-29 16:40:07, Info       [0x0f004e] SYSPRP Initialized SysPrep log at c:\windows\system32\sysprep\Panther
    2013-03-29 16:40:07, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2013-03-29 16:40:07, Info       [0x0f0056] SYSPRP ValidateVersion:OS version is okay
    2013-03-29 16:40:07, Info       [0x0f005e] SYSPRP ScreenSaver:Screen saver was already disabled, no need to disable it for sysprep
    2013-03-29 16:40:07, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'REBOOT'
    2013-03-29 16:40:07, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2013-03-29 16:40:07, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [c:\windows\panther\unattend.xml]...
    2013-03-29 16:40:07, Info                         [sysprep.exe] UnattendFindAnswerFile: [c:\windows\panther\unattend.xml] meets criteria
    for an explicitly provided unattend file.
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: Using unattend file at [c:\windows\panther\unattend.xml].
    2013-03-29 16:40:07, Info                  SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [c:\windows\panther\unattend.xml] either doesn't exist or passed
    validation
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Found unattend file at [c:\windows\panther\unattend.xml]; caching...
    2013-03-29 16:40:07, Info                  SYSPRP WinMain:Processing unattend file's 'generalize' pass...
    2013-03-29 16:40:07, Info                  SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
    2013-03-29 16:40:07, Info                  SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
    2013-03-29 16:40:07, Info       [0x0f003f] SYSPRP WinMain:Processing 'cleanup' request.
    2013-03-29 16:40:07, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 32[gle=0x00000020]
    2013-03-29 16:40:07, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070020[gle=0x00000020]
    2013-03-29 16:48:52, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2013-03-29 16:48:52, Info       [0x0f0059] SYSPRP ScreenSaver:Screen saver was originally disabled, leaving it disabled
    2013-03-29 16:48:52, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2013-03-29 16:48:52, Info       [0x0f004d] SYSPRP The time is now 2013-03-29 16:48:52

    Hi,
    This is typical of an OEM license issue.
    To avoid this in the future you should look at site/volume licensing.
    Anyway.
    so, first check if you can re-arm by runing the
    slmgr.vbs /dlv and check the re-arm counter, if it set to zero.. you need to do the following :
    http://support.microsoft.com/kb/929828 (set the <SkipRearm>1</SkipRearm> like in the example, note: this option will make the product key window to appear in the setup process).
    you can also try running : slmgr.vbs -rearm, to rearm Windows.
    after that, let's come back to the sysprep process.. for syspreping already syspreped machine we have to change few keys in the registry :
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    CleanupState:2
    HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\
    GeneralizationState:7
    After done with the registry, do the following :
    Start -> Run : msdtc -uninstall (wait few seconds)
    Start -> Run : msdtc -install (wait few seconds)
    Restart the machine
    Check the registry for the right registry keys values
    sysprep with the new XML answerfile.
    Source: Olegm
    If you find my information useful, please rate it. :-)

  • ContactList_UpdateInsert will not update Contact Record

    I'm having trouble getting ContactList_UpdateInsert to work with Contact Records that have a username.
    1) First, I call Contact_RetrieveByEntityID('adminuser', 'password' , 1234, entity_id) to retrieve the contact record data for updating.
    cr = c.service.Contact_RetrieveByEntityID('adminuser', 'password' , 1234, entity_id)
    2) Then I modify some data, such as ExternalID
    cr.externalId = '123456'
    3) Calling ContactList_UpdateInsert returns an error:
    'Contact(s) saved in the system. Please review the list of error(s)/warning(s) found when processing the data.\n- Contact: John Doe | ERROR: The username [TestUser] cannot be assigned to contact with email [] as it is already used.'
    Manually adding the emailAddress field because it's not in the original cr record fixes that error.
    cr.emailAddress = '[email protected]'
    Calling again gives the error:
    Contact(s) saved in the system. Please review the list of error(s)/warning(s) found when processing the data.\n- Contact: John Doe | ERROR: The username [TestUser] cannot be assigned to contact with email [[email protected]] as it is already used.'
    It seems as though any time the contact record has a username assigned, I'm unable to update the record. What's the deal??
    EDIT: I thought I was posting this in the API section, but apparently not. Sorry.

    Okay I figured this out. When updating, you either have to supply externalId or emailAddress to match the record you want to change. If neither is supplied, or it doesn't match the supplied value, it adds a new record instead of update. So if you're trying to add an external id, you have to supply the emailAddress parameter as well, so it can match the record you want to change. I don't know if you can change the external id since it will try to match the external id before the email address.
    This is the explanation from the knowledgebase
    Please note that similarly to the import routine, you can utilize the External ID property to set a unique idenitifier value for each customer. If this value is present then customers are matched and updated accordingly. For example if every customer in your system has a member number, then assign that to the External ID property. If you do not utilize this property then the unique identifier used will be a customer's email address. If neither is provided then contacts are added and never updated as no unique identifier exists.
    I assumed that if you retrieve the record you want first (using Contact_RetrieveByEmailAddress), then make your changes and send it to ContactList_UpdateInsert, it should just update that record. But you have to set the emailAddress parameter.

  • Csi_item_instance_pub.update_item_instance not updating the serial no

    HI all,
    csi_item_instance_pub.update_item_instance not updating the serial no. for Sales order transaction.
    Actyally we have multiple error transaction for hte same serial no. for that i am planning to process the last transaction i.e. Sales order issue transaction.
    While updating the serial no. with latest transaction i am getting "Msg1: Invalid Party location provided. The Location (38916) passed for the Instance Location Type "HZ_PARTY_SITES" is invalid or does not exists in TCA tables."
    Even i had check for a customer this is the correct locaiton_id.
    Below is my code:
    which i took from one of the thread and pass my instance value.
    =================
    DECLARE
    ln_order_num NUMBER;
    lc_p_sno VARCHAR2(30); -- Variable for printer serial no.
    LC_COMMIT VARCHAR2(5) := 'T';
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    t_output varchar2(2000);
    t_msg_dummy number;
    l_loc_id number :=38916;
    --x_msg_count NUMBER;
    CURSOR ib_cur IS
    SELECT cii.instance_id
    ,cii.serial_number
    ,cii.inventory_item_id
    ,cii.object_version_number
    FROM csi_item_instances cii
    WHERE cii.instance_id = 734113452;--instance_id
    --ORDER BY 1;
    TYPE ib_rec_tbl_type IS TABLE OF ib_cur%ROWTYPE;
    ib_rec_tbl ib_rec_tbl_type;
    -- Variables needed to call the Item Instance update API
    l_api_version CONSTANT NUMBER := 1.0;
    --l_msg_count             NUMBER;
    --l_msg_data              VARCHAR2(2000);
    l_msg_index NUMBER;
    l_instance_id_lst csi_datastructures_pub.id_tbl;
    l_instance_header_rec csi_datastructures_pub.instance_header_rec;
    l_party_header_tbl csi_datastructures_pub.party_header_tbl;
    l_party_acct_header_tbl csi_datastructures_pub.party_account_header_tbl;
    l_org_unit_header_tbl csi_datastructures_pub.org_units_header_tbl;
    l_instance_rec csi_datastructures_pub.instance_rec;
    l_party_tbl csi_datastructures_pub.party_tbl;
    l_account_tbl csi_datastructures_pub.party_account_tbl;
    l_pricing_attrib_tbl csi_datastructures_pub.pricing_attribs_tbl;
    l_org_assignments_tbl csi_datastructures_pub.organization_units_tbl;
    l_asset_assignment_tbl csi_datastructures_pub.instance_asset_tbl;
    l_ext_attrib_values_tbl csi_datastructures_pub.extend_attrib_values_tbl;
    l_pricing_attribs_tbl csi_datastructures_pub.pricing_attribs_tbl;
    l_ext_attrib_tbl csi_datastructures_pub.extend_attrib_values_tbl;
    l_ext_attrib_def_tbl csi_datastructures_pub.extend_attrib_tbl;
    l_asset_header_tbl csi_datastructures_pub.instance_asset_header_tbl;
    l_txn_rec csi_datastructures_pub.transaction_rec;
    l_install_location_id NUMBER;
    l_return_status VARCHAR2(5);
    lc_init_msg_lst VARCHAR2(1) := 'T';
    ln_validation_level NUMBER;
    lc_error_text VARCHAR2(4000);
    l_install_location_type_code csi_item_instances.install_location_type_code%TYPE;
    j BINARY_INTEGER := 0;
    l_party_tbl_idx BINARY_INTEGER;
    BEGIN
    --Create a savepoint
    -- SAVEPOINT dcrd_csi_upd_ib_snm;
    OPEN ib_cur;
    FETCH ib_cur BULK COLLECT
    INTO ib_rec_tbl;
    CLOSE ib_cur;
    IF ib_rec_tbl.COUNT > 0
    THEN
    --fnd_file.put_line(fnd_file.log, 'Begin loop');
    dbms_output.put_line('Begin loop');
    FOR i IN ib_rec_tbl.FIRST .. ib_rec_tbl.LAST
    LOOP
    --Set savepoint before processing record.
    --SAVEPOINT dcrd_csi_upd_ib_snm;
    l_instance_header_rec.instance_id := ib_rec_tbl(i).instance_id;
    csi_item_instance_pub.get_item_instance_details(p_api_version => l_api_version
    ,p_commit => fnd_api.g_false
    ,p_init_msg_list => fnd_api.g_false
    ,p_validation_level => fnd_api.g_valid_level_full
    ,p_instance_rec => l_instance_header_rec
    ,p_get_parties => fnd_api.g_true
    ,p_party_header_tbl => l_party_header_tbl
    ,p_get_accounts => fnd_api.g_true
    ,p_account_header_tbl => l_party_acct_header_tbl
    ,p_get_org_assignments => fnd_api.g_true
    ,p_org_header_tbl => l_org_unit_header_tbl
    ,p_get_pricing_attribs => fnd_api.g_false
    ,p_pricing_attrib_tbl =>l_pricing_attribs_tbl
    ,p_get_ext_attribs => fnd_api.g_false
    ,p_ext_attrib_tbl => l_ext_attrib_tbl
    ,p_ext_attrib_def_tbl => l_ext_attrib_def_tbl
    ,p_get_asset_assignments => fnd_api.g_false
    ,p_asset_header_tbl => l_asset_header_tbl
    ,p_resolve_id_columns => fnd_api.g_false
    ,p_time_stamp => SYSDATE
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    lc_error_text := NULL;
    l_instance_rec.instance_status_id :=510;
    l_instance_rec.instance_id := l_instance_header_rec.instance_id;
    l_instance_rec.install_date := sysdate;--'13-APR-2011';--sysdate;--'12-MAR-2008';
    l_txn_rec.transaction_type_id := 33;
    l_instance_rec.instance_usage_code :='OUT_OF_ENTERPRISE';
    -- l_instance_rec.INV_SUBINVENTORY_NAME :='STAGE';
    l_instance_rec.install_location_type_code := 'HZ_PARTY_SITES';
    --l_instance_rec.install_location_id := 38916;
    l_instance_rec.location_id := l_loc_id;--38916;
    l_instance_rec.location_type_code := 'HZ_PARTY_SITES';
    l_instance_rec.object_version_number := l_instance_header_rec.object_version_number;
    l_txn_rec.transaction_id := fnd_api.g_miss_num;
    l_txn_rec.transaction_date := SYSDATE;
    l_txn_rec.source_transaction_date := SYSDATE;
    l_txn_rec.transaction_type_id := 8; --Id for DATA_CORRECTION transaction type
    --Change Owner party details
    --FOR i IN l_party_header_tbl.FIRST..l_party_header_tbl.LAST
    -- LOOP
    -- IF l_party_header_tbl(i).relationship_type_code = 'OWNER'
    --THEN
    l_party_tbl(j).instance_party_id := l_party_header_tbl(i).instance_party_id;
    l_party_tbl(j).relationship_type_code := l_party_header_tbl(i).relationship_type_code;
    l_party_tbl(j).party_id := 167048;
    l_party_tbl(j).contact_flag := 'N';
    l_party_tbl(j).object_version_number := l_party_header_tbl(i).object_version_number;
    l_party_tbl_idx := j;
    j := j + 1;
    --END IF;
    --END LOOP;
    dbms_output.put_line('l_party_tbl count is '||l_party_tbl.COUNT);
    j := 0;
    dbms_output.put_line('l_party_acct_header_tbl count is '||l_party_acct_header_tbl.COUNT);
    --Change Owner party account details
    --FOR i IN l_party_acct_header_tbl.FIRST..l_party_acct_header_tbl.LAST
    -- LOOP
    -- IF l_party_acct_header_tbl(i).relationship_type_code = 'OWNER'
    -- THEN
    l_account_tbl(j).ip_account_id := l_party_acct_header_tbl(i).ip_account_id;
    l_account_tbl(j).instance_party_id := l_party_acct_header_tbl(i).instance_party_id;
    l_account_tbl(j).party_account_id := 133045;--61217;
    l_account_tbl(j).object_version_number := l_party_acct_header_tbl(i).object_version_number;
    l_account_tbl(j).bill_to_address := 37729;--77370;
    l_account_tbl(j).ship_to_address := 37730;--77648;
    l_account_tbl(j).parent_tbl_index := l_party_tbl_idx;
    j := j + 1;
    -- END IF;
    -- END LOOP;
    dbms_output.put_line('l_account_tbl count is '||l_account_tbl.COUNT);
    --j := 0;
    --Change Operating Unit details
    FOR i IN l_org_unit_header_tbl.FIRST..l_org_unit_header_tbl.LAST
    LOOP
    IF l_org_unit_header_tbl(i).relationship_type_code = 'SOLD_FROM'
    THEN
    l_org_assignments_tbl(j).instance_ou_id := l_org_unit_header_tbl(i).instance_ou_id;
    l_org_assignments_tbl(j).instance_id := l_org_unit_header_tbl(i).instance_id;
    l_org_assignments_tbl(j).relationship_type_code := l_org_unit_header_tbl(i).relationship_type_code;
    l_org_assignments_tbl(j).active_start_date := sysdate;--'13-APR-2011';--sysdate;
    --l_org_assignments_tbl(j).operating_unit_id := 86;
    l_org_assignments_tbl(j).object_version_number := l_org_unit_header_tbl(i).object_version_number;
    END IF;
    END LOOP;*/
    -- Call instance update API if a serial no. is to be updated
    /*fnd_file.put_line(fnd_file.log
    ,'Updating IB record for IB# ' || ib_rec_tbl(i).instance_id);*/
    dbms_output.put_line('Updating IB record for IB# ' || ib_rec_tbl(i).instance_id);
    csi_item_instance_pub.update_item_instance(p_api_version => l_api_version
    ,p_commit => LC_COMMIT --Handled outside API
    ,p_init_msg_list => lc_init_msg_lst
    ,p_validation_level => ln_validation_level
    ,p_instance_rec => l_instance_rec
    ,p_ext_attrib_values_tbl => l_ext_attrib_values_tbl --Null
    ,p_party_tbl => l_party_tbl --Null
    ,p_account_tbl => l_account_tbl --Null
    ,p_pricing_attrib_tbl => l_pricing_attrib_tbl --Null
    ,p_org_assignments_tbl => l_org_assignments_tbl --Null
    ,p_asset_assignment_tbl => l_asset_assignment_tbl --Null
    ,p_txn_rec => l_txn_rec
    ,x_instance_id_lst => l_instance_id_lst
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data);
    dbms_output.put_line('API STATUS# ' || l_return_status);
    if l_msg_count > 0
    then
    for j in 1 .. l_msg_count loop
    fnd_msg_pub.get
    ( j
    , FND_API.G_FALSE
    , l_msg_data
    , t_msg_dummy
    t_output := ( 'Msg'
    || To_Char
    ( j
    || ': '
    || l_msg_data
    dbms_output.put_line
    ( SubStr
    ( t_output
    , 1
    , 255
    end loop;
    end if;
    IF l_return_status = 'S'
    THEN
    commit;
    /*fnd_file.put_line(fnd_file.log
    , 'Error updating the install base for IB# ' || ib_rec_tbl(i)
    .instance_id);*/
    dbms_output.put_line('Error updating the install base for IB# ' || ib_rec_tbl(i)
    .instance_id);
    FOR i IN 1 .. l_msg_count
    LOOP
    fnd_msg_pub.get(p_msg_index => -1
    ,p_encoded => 'F'
    ,p_data => l_msg_data
    ,p_msg_index_out => l_msg_index);
    lc_error_text := lc_error_text || (substr(l_msg_data, 1, 255));
    END LOOP;
    dbms_output.put_line(lc_error_text);
    --Rollback the transaction if error occured.
    --ROLLBACK TO dcrd_csi_upd_ib_snm;
    ELSE
    /*fnd_file.put_line(fnd_file.log
    , 'Install base update successful for IB# ' || ib_rec_tbl(i)
    .instance_id);*/
    dbms_output.put_line('Install base update successful for IB# ' || ib_rec_tbl(i)
    .instance_id);
    lc_error_text := 'SUCCESS!';
    END IF;
    --Update the temporary table record status
    --update_status(ib_rec_tbl(i).snm_id, l_return_status, lc_error_text);
    END LOOP;
    --Commit transactions.
    COMMIT;
    END IF;
    commit;
    EXCEPTION
    WHEN no_data_found THEN
    --fnd_file.put_line(fnd_file.log, 'No records to process');
    dbms_output.put_line('No records to process');
    WHEN OTHERS THEN
    /* fnd_file.put_line(fnd_file.log, 'Error in update_ib procedure');
    fnd_file.put_line(fnd_file.log, to_char(SQLCODE) || ' - ' || SQLERRM);
    dbms_output.put_line('Error in update_ib procedure');
    dbms_output.put_line(to_char(SQLCODE) || ' - ' || SQLERRM);
    END;
    ================================================
    Thanks,
    Raj
    Edited by: user13275176 on Apr 14, 2011 7:07 AM

    That is a wrong way to do that (I am not sure of the business needs and the situation in you are in that is forcing you to do that).
    If you want the instance as if it is in Inventory, perform inventory receipt transaction. You should not just change the ownership (rather I should say you 'cannot' since the API should not allow you change the instance usage code to INVENTORY and location to Inventory just like that) and location details as inventory without performing the transaction in inventory.
    What about your inventory, you do not want quantity back in inventory?
    Thanks
    Nagamohan

  • Windows could not update the computer's boot configuration. via UEFI installation

    I recently performed a clean WIndows 8.1 installation using my new Hard drive. However, under UEFI mode from BIOS, everytime the setup process reaches the "Installing Updates" stage, I kept on receiving an error "Windows could not update the
    computer's boot configuration, Installation cancelled. 
    I was a bit puzzled as everytime I install Windows 8.1 via LEGACY mode from BIOS, setup finishes! I cannot tell whether I need to mod my BIOS or what. 
    please help.
    raymund r
     

    Hi,
    Please make sure that Delete all partitions/volumes on the disk # (ex: Disk 0) that you want to install Windows 8.1 as UEFI on until that disk # shows as unallocated space.
    Try again to install Windows 8.1 again.
    If it still fails, please post back the setuperr.log and setupact.log under C:\$WINDOWS.~BT\Sources\Panther\ for our research. You can copy them out in WinPE command mode.
    Also, I would like to check if you use bootcamp to install Windows 8.1 on Mac computer. If so, check the solution here:
    https://discussions.apple.com/thread/5491283?tstart=0
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Kate Li
    TechNet Community Support

  • "Activity Monitor" utility does not update the "CPU Time" column in real ti

    If I use Activity Monitor to display "All Processes", why doesn't it update the "CPU Time" column in real time? It updates the "% CPU" and others, but not the total "CPU Time". I have all columns viewed if that matters. However if you double click on a process in the Activity Monitor window, the details about the process are displayed in another window (number of threads, ports, CPU Time, Context Switches, Faults, etc), and as long as that detail window exists, the "CPU Time" column is updated in real time in the main Activity Monitor window. Is this a bug or a feature?? Does Leopard do this also? Have lots of free memory so that is not an issue. Thanks...
    -Bob

    I noticed the same behavior reported by Bob: Not regarding the "process filter" or the "update frequency" selected "CPU Time" column is only updated when details dialog is open. I noticed it just today (which triggered the search here), I wonder if this "feature" has been always present or maybe activity monitor is getting lazy?
    Regards,
    Mauro

  • Problem with ios certificate server not updating the CRL

    Hi all,
    The background is that i'm currently setting up a DMVPN solution with the ipsec tunnels between the spokes created using certificates.
    I'm using a cisco 877 as the CA server (its running 12.4(6)T5) to provide the certificates to the spoke routers. This part is working fine - the spokes can request a certificate and get one issue all well and good.
    The problem is on the CA, the CRL lifetime is set to 24 hours but the CA is not updating the CRL so when the spokes look for the revocation list (as set in their trustpoint) they are reporting an error that the CRL is out of date and won't connect.
    If is do a '#sh crypto pki server' it lists a 'CRL NextUpdate timer. this has a timestamp that is 24 hours after the last certificate was revocked. The only way i can get the CRL to be re-generated is to revoke a certificate.
    So, my question is, have i missed something here? I thought the CA would automatically generat a new CRL file every 24hours.
    Can anyone help?
    thanks.

    Hi Mark (?)
    this seems to match this bug:
    CSCsy95838    IOS CA: CRL not updated, update timer no started
    However it does not mention if 12.4(6)T5 is affected, only that it was found in 12.4(15)T3 and resolved in 12.4(15)T10 and other more recent releases.
    I would suggest trying the latest 12.4(15)Tx, 15.0(1)Mx or 15.1(4)Mx release if you can.
    I supposed you've though of it, but just in case: as a workaround you can disable the CRL check on all the DMVPN routers, obviously they will still allow connections from routers with a revoked spoke.
    As a (temporary?) replacement for a CRL, you could use a "certificate ACL" with which you can kind of create a "manual local CRL" :
      crypto pki certificate map certACL 10
       serial-number ne
       serial-number ne
       etc.
      crypto pki trustpoint myTP
       match certificate certACL
    (note the "ne" stands for "not equal" so you are permitting any certificate whose serial number is not listed)
    Obviously you would have to configure (and maintain!) this on each router participating in the DMVPN so this is cumbersome, but I suppose if you don't often revoke certs it might be an option.
    hth
    Herbert
    If this post answers your question, please click the "Correct Answer" button

Maybe you are looking for

  • Why does text box move when I open pages doc on my friend's mac?

    Hi Everyone,   So I have this very vexing problem with pages. I have been trying to collaborate with a friend of mine and everytime the pages document moves from one computer to the other the text boxes move terribly out of place. So for example, I w

  • Can my Mac Mini 2.26GHz Intel ever handle more then 4GB RAM?

    I have read or found people who mod apples to new levels of performance. Is it possible in anyway to make my 4GB turn to 8GB. Am I correct in thinking that I cant just install 2x4GB - and magic will happen?

  • Diadem 9.1 SP2 and older versions of Diadem

    The instructions for installation of Service Pack 2 (german) contains: "Uninstall earlier DIAdem versions before you install DIAdem Service Pack 2. Do not install DIAdem in a folder where an earlier DIAdem version is installed." I have to use several

  • VIP list

    Does anyone know how I can add /delete contacts from the VIP list?  I added some names yesterday but I want to add some others. thanks

  • Cost center restructuring --- effects and impacts on MM

    Gurus, I do have question like this From a MM and/or Purchasing standpointu2026.what do we need to do(worry about) when all the cost centers are revampedu2026?old POu2019s, purchase requisitions, etcu2026.do we need to close out all old u2018account