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

Similar Messages

  • 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

  • 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

  • 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. :-)

  • Login settings will not update the local testing server files

    When uploading to web server from local testing server, changing login settings in the control panel does not update the local testing server Restrict Access to page files. Causing login on website not to function.
    It does however update the Connections file and the login wizard form.
    What is the best way to change login settings before uploading site to web server?
    Thanks
    Dan

    Dan - I am having the same exact problem. I'm using the restrict access and user registration and login - when attempting to use the Update Record wizard to allow users to change their password or email address, it doesn't change the record.

  • Why can't I select or update the Record using the PreparedStatement?

    the DB is oracle9i,here is the test table
    test
    id number;
    name char(10);
    intro char(10);
    I have insert a record in the table.
    Now I will select or update the record by using the PreparedStatement here is my code:
    sqlStr = "update test set intro = ? where name =?";
    PreparedStatement stmt = conn.prepareStatement(sqlStr);
    stmt.setString(1,"my name is irixwang");
    stmt.setString(2,"irixwang");
    int is = stmt.executeUpdate();
    if (is >=1 )
    System.out.println("ok");
    It will not work ,but where I change the update condiction as followed:
    sqlStr = "update test set intro = ? where id =?";
    PreparedStatement stmt = conn.prepareStatement(sqlStr);
    stmt.setString(1,"my name is irixwang");
    stmt.setInt(2,100);
    int is = stmt.executeUpdate();
    It works well,why?
    please help me!thk!!!!

    I doubt it works "well" in either case since you are inserting a string that is longer than 10 characters into a field that only holds 10 characters. But to your question....
    A char data type holds a fixed number of characters - in your case 10.
    Because it holds 10 characters it will never hold 9, regardless of what you think is in the field it will always have 10 characters in it. The value you are using for query for name is 9 characters. Since 9 characters, regardless of content, will never be equal to 10 characters there is no way that it will update.
    So your choice is to either use a varchar, which holds a variable number of characters, or to always use 10 characters for your query (pad it with spaces.)

  • How to update the record in a File (without closing Writer)?

    Well i've got one issue:
    I want my program to record in a file updating any time i.e the records are added in append.
    But i want the record must be done in a file even if the Writer is not closed because I'd like to see the all logs of user and the main thing is sometimes there could be issue of software crash, powercut off or any So for that reason i 've made code like this but it doesn't update but it only override:
    public boolean write(String s){
            boolean isFinished = false;
            try{
                FileOutputStream out = new FileOutputStream("C:\\new.txt"); 
                int i = 0;              
                while(i != s.length()){
                    out.write(s.charAt(i));
                    i++;
                //here i've not closed file output stream
                isFinished = true;
            catch(IOException i){
                i.printStackTrace();
                isFinished = false;
            return isFinished;
        }

    Well, Thanks for the help but,. i didn't understand
    try not opening the file every time. As I only know that I need to open a file if i would like to update the records..
    The update is not happening :
    Firstly it shows like this (new.txt):
    STOPSecondly it must show like this (new.txt) BUT NOT HAPPENING AS I EXPECTED:
    STOPSTOPBut it's not hapenning

  • 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

  • Updating the records

    can anyone plz tell me how to update the records
    in the browser itself?

    Hi,
    See browser is client-side and not server-side. If at all you need to update any record shown in the browser means, it can only be done using javascript or vbscript. But it won't gets reflected in the database unless you do it in server-side.
    Vijay.

  • J2i5 is not updating the table j_2iaccbal

    Hi all
      Whan i am running j2i5 for updating the Part2 opening Balance, it is not updating the Table j_2iaccbal.
      ie the closing balance is not carryforwarded to the next day as openign balance due to this i am getting negetive balace.
      is this any problem with j2i5 program .
      Please help me to sort out this problm

    Hi,
    Please put opening balance for following register in J_2IACCBAL
    RG23AAT1
    RG23ABED
    RG23AECS
    RG23ANCCD
    RG23ASED
    Also please ensure that dont extract the register prior to date of the record inserted in the table.else opening balance will be vanieshed.
    Regards,
    KC Choudhury

  • Updating the  records  problem urgent

    Hi All,
    i have developed search page by using the query region. in that i have created update image icon to navigate update page to update the records. i have 4 search records, when i click the go button 4 records are come to the advance table. i will select any one of the row and select update icon to update the records by using the apply button in update page.when i click the apply button its navigate to the search page and showing only updated records row only. i did not get all 4 rows in advancetable.I re-query on the page, but I can’t get the other 3 rows back unless I close the page and come back in.
    here i am not facing any error, after update the records and come back to the main page i am not getting all records only updated row records Only 1 of the four rows only appear.
    can any one help me its urgent
    Thanks in advance.

    Hi Avajain, thanks for your reply.
    i have used below code for apply button.
    if (pageContext.getParameter("Apply") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("apply");
    OAException message = new OAException("POS","MODPOS_PROGRAM_UPDATED_CONF",
    null,OAException.CONFIRMATION,null);
    pageContext.putDialogMessage(message);
    pageContext.forwardImmediately("OA.jsp?page=/xxaam/oracle/apps/pos/program/webui/SupProgramPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    AMCODE
    public void apply()
    getTransaction().commit();
    Thanks

  • FRM-40509: ORACLE error : Unable to update the record.

    Hi,
    I am having the following code in delete button.
    declare
         v_button  NUMBER;
    begin
      IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
                   v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
                   IF ( v_button = alert_button1 )
                        THEN
                          message('before insert');
                          insert into chng_cntrl_job_dtls_log
                          select * from chng_cntrl_job_dtls
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before delete');
                          delete from CHNG_CNTRL_JOB_DTLS
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before commit');
                          silent_commit;
                          go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
                          P_DELETE_SET_PROPERTY;
                          clear_form;
                   ELSIF ( v_button = alert_button2 )
                        THEN
                          null;
                END IF;
         ELSE
                p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
      END IF;
         exception
              when others then
              message ('Exception in delete version button');
              end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
    i am getting message till before commit.
    i am not able to check the error message in help as it is diabled in our form builder.
    I have checked the privileges also. they are fine.
    Please advice.
    Edited by: Sudhir on Dec 7, 2010 12:26 PM

    This error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
    I see in the OP that this key is disabled. Change the on-error code then:
    begin
       message(dbms_error_code||'-'||dbms_error_text);
       raise form_trigger_failure;     
    end;     Edited by: InoL on Dec 7, 2010 8:50 AM

  • Garage Band,  I am using an MBOX with a digi design audio core as a mic interface to recod into Garage Band.  Now when I Change the preferences to use the MBOX I can not move the recorder slider and there is no sound going into garage band?  Any solutions

    Garage Band,  I am using an MBOX with a digi design audio core as a mic interface to recod into Garage Band.  Now when I Change the preferences to use the MBOX I can not move the recorder slider and there is no sound going into garage band?  Any solutions

    10.5.8 with latest garageband 5.1 with MBOX 1. On Nov 4.09 I did a software update, now i get no output volume or input volume to the computer itself. I get it from head phones from my mbox, but not to the computer. Before the software update It worked great. I've tried upgrading software through digidesign .com, but they dont seem to have one for what i need. any way to get my old garage band back? go from 5.1 to earlier? Or maybe it was the upgrade to 10.5.8. update? Can i go back in time lol?
    Any help would be appreciated
    BTW
    Ive tried all the system sound prefs, and garage band drivers. Back and forth.
    cheers
    ds

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

Maybe you are looking for