OTL HXC_TIMESTORE_DEPOSIT API populated tables

Hi,
Could you let me tables populated when HXC_TIMESTORE_DEPOSIT API is executed.
Thanks

Could you let me tables populated when HXC_TIMESTORE_DEPOSIT API is executed.Depends on what procedure you use when you use this API.
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=HXC_TIMESTORE_DEPOSIT&c_owner=APPS&c_type=PACKAGE&c_detail_type=source
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=HXC_TIMESTORE_DEPOSIT&c_owner=APPS&c_type=PACKAGE%20BODY&c_detail_type=source
Oracle Time and Labor (OTL) HXC TimeStore Deposit API White Paper [ID 223987.1]
You could enable trace and generate the TKPROF file and this will tell you what tables get populated when you use this API -- FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
Thanks,
Hussein

Similar Messages

  • OTL deposit API

    Hi There ,
    I'm using otl API's to upload data into weekly time card but The deposit API take toooo much time
    hxc_timestore_deposit.execute_deposit_process (
    p_validate => FALSE
    ,p_app_blocks => v_app_blocks
    ,p_app_attributes => v_detail_attributes_info
    ,p_messages => v_tbl_messages
    ,p_mode => 'SUBMIT'
    ,p_deposit_process => 'OTL Deposit Process'
    ,p_timecard_id => v_your_timecard_id
    ,p_timecard_ovn => v_your_timecard_ovn
    );

    Could you let me tables populated when HXC_TIMESTORE_DEPOSIT API is executed.Depends on what procedure you use when you use this API.
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=HXC_TIMESTORE_DEPOSIT&c_owner=APPS&c_type=PACKAGE&c_detail_type=source
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_details?c_name=HXC_TIMESTORE_DEPOSIT&c_owner=APPS&c_type=PACKAGE%20BODY&c_detail_type=source
    Oracle Time and Labor (OTL) HXC TimeStore Deposit API White Paper [ID 223987.1]
    You could enable trace and generate the TKPROF file and this will tell you what tables get populated when you use this API -- FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • Problem while populating table dynamically

    Hi,
    I am facing a strange problem when I execute a search component (custom developed component).
    <b>Problem summary:</b>
    I am getting first 5 empty rows (default visible row count, when I set the table's visible row count to "n" then the data in the first "n" rows are not visible) from the SAP R/3 when we fetch the data using this component. The data is available for the next consecutive rows starting 6th  {(n+1)th} row. Here I am facing another strange behavior, I moved the table row position using the table paginator and viewing the data in the next consecutive rows and reset the view (invalidating the context and setting the visibility of the table to NONE), when I invoke the search again the data is missing in the 6-10 rows(the table data is paginated to the 6-10 records automatically), now the data is visible in the first 5 rows.
    <b>The details of softwares:</b>
    SAP WebAS 6.40 SP9
    SAP NetWeaver Developer Studio Version: 2.0.9
    JDK version - j2sdk1.4.2_06
    <i>Note:</i>
    1. The table creation and data population are done dynamically.
    2. The same code works fine for SAP WebAS 6.40 SP8
    3. When I tried fetching some data from SAP R/3 and displaying it in a table (table is created during design time and data population is achieved through standard context binding), it works fine.
    If any of you get any clue in solving this issue, please do let me know.
    Thanks in advance.
    Thanks & Regards,
    Santhosh.C

    Hi Thomas,
    I am running the application from the NDS and the URL look like the below URL
    http://<<machine_name>>:50000/webdynpro/dispatcher/sap.com/parentgenericsearchhelpcomponent/PerentSearchDemo?SAPtestId=1
    I am using IE6.0 SP2
    Yes the application is working fine in SP8 and giving problem in SP9.
    I have a parent component which calls another component(childcomponent), which has this dynamically populated table. I am using window.open() to open the window in the child component.
    To answer your last question,
    I don't see full of empty rows, I see empty rows for the first visble row counts(5 or 10, if the total fetched row count might atleast 1 more than the visble row count). The data is available from the first visible row count+1. If I come back and see the first vible row count, still the rows are blank.
    Thanks & Regards,
    Santhosh.C

  • How to get row index in dynamically populated table?

    Hi,
    I am following example given in http://balusc.xs4all.nl/srv/dev-jep-dat.html to Dynamically populate datatable. How can I get row index while populating table in populateDynamicDataTable() method
    private List myList;
    private String[] headers; // Optional.
    private HtmlDataTable dynamicDataTable;
    // Actions ----------------------------------------------------------
    public void loadMyList() {
    // Set headers (optional).
    headers = new String[] {"header1", "header2", "header3"};
    // Set rows. This is a stub example, just do your dynamic thing.
    String[] row1 = {"ID1", "Name1", "Value1"};
    String[] row2 = {"ID2", "Name2", "Value2"};
    String[] row3 = {"ID3", "Name3", "Value3"};
    // Convert rows to List and set the List.
    myList = new ArrayList();
    myList.add(Arrays.asList(row1));
    myList.add(Arrays.asList(row2));
    myList.add(Arrays.asList(row3));
    public void populateDynamicDataTable() {
    //*********************** I want current row in this method *************//
    // Any columns?
    if (myList != null && myList.size() > 0) {
    dynamicDataTable = new HtmlDataTable();
    // Get amount of columns.
    int columns = ((List) myList.get(0)).size();
    // Set columns.
    for (int i = 0; i < columns; i++) {
    // Set header (optional).
    UIOutput header = new UIOutput();
    header.setValue(headers);
    // Set output.
    UIOutput output = new UIOutput();
    ValueBinding myItem =
    FacesContext
    .getCurrentInstance()
    .getApplication()
    .createValueBinding("#{myItem[" + i + "]}");
    output.setValueBinding("value", myItem);
    // Set column.
    UIColumn column = new UIColumn();
    column.setHeader(header);
    column.getChildren().add(output);
    // Add column.
    dynamicDataTable.getChildren().add(column);
    // Getters ----------------------------------------------------------
    public List getMyList() {
    return myList;
    public HtmlDataTable getDynamicDataTable() {
    if (dynamicDataTable == null) {
    loadMyList(); // Reload to get most recent data.
    populateDynamicDataTable();
    return dynamicDataTable;
    // Setters ----------------------------------------------------------
    public void setMyList(List myList) {
    this.myList = myList;
    public void setDynamicDataTable(HtmlDataTable dynamicDataTable) {
    this.dynamicDataTable = dynamicDataTable;
    I have tried dynamicDataTable.getRowIndex, but it returns -1
    Is there any other way?
    Thanks ,
    Chitra.

    When you dynamically populate a datatable, you're populating the columns, not the actual rows.
    Just add EL to the styleClass attribute, like:styleClass="#{myBean.myTable.rowIndex == 1 ? 'highlightedClass' : 'defaultClass'}"where 'myTable' refers to a HtmlDataTable property in the backing bean.

  • OTL hxc_timestore_deposit.create_attribute usage

    Hello Everyone,
    I have the following requirement:
    Users may enter timecards manually and submit it.
    I have to write a program which will pick up these submitted timecards and based on some validation, need to create some attribute for some detail entries.
    How do I go about using the API - hxc_timestore_deposit.create_attribute?
    I just have to create an attribute record against the already existing detail record.
    Regards.

    i have initialized the session.
    NOTE : (the earlierissueis with date formats)
    Also the latest update is , the program works fine with the single records like
    Project Task ExpenditureType mon tue wed thu fri
    ABCD 123 Admin 9 9 9 9 9
    but when there are mutiple projects on a single day like
    Project Task ExpenditureType mon tue wed thu fri
    ABCD 123 Admin 4 4 4 4 4
    XYZ 123 Admin 4 4 4 4 4
    the program hxc_timestore_deposit.execute_deposit_process completing normal with out populating the OUT variables. Also no error messages too.
    Hence the timecard is not visible from the application as the time is not deposited in time store.
    Advise please.

  • How to create Payment against the invoices in R12 using API/Interface table

    Hi Experts,
    I need your help.
    As per my requirement , we need to create the payments against the invoices using the payment information provided.
    Earlier the Payments against the invoice is done by (3rd party system) in 11i.
    But, as a part of R12 implementation,
    The requirement is like now they are going to provide us and flat file(having below payment information) and we need to create the payment with these information.
    COLUMNS PROVIDED
    SOURCE
    INVOICE INTERNAL NUMBER #
    ACCOUNTING SEGMENTS
    DEBIT/CREDIT
    AMOUNT
    CURRENCY
    BANK ACCOUNT
    PAYMENT DATE
    DUE DATE
    PAYMENT METHOD
    PAYMENT TERMS
    BATCH ID
    We need to create an inbound interface to achieve the below requirement.
    1. Create the payments in oracle R12 with the above payment information. (unable to find the way please suggest).
    2. Creating the Journal entries. -> We are having GL_INTERFACE & Journal Import program to import the journals.
    3. Finally we have to posting the same into GL.-- Interface & Import programs available.
    Is there any api or interface tables can be used to create the payment against the invoices in r12?
    Could you please help me to achive my above requirements.
    Any sample code or reference will be a great help for me.
    Waiting for your response.
    Thanks,
    Thiru.

    Hi Thiru,
    Perhaps these links can help:
    http://ccchuanblog.blogspot.in/2010/12/oracle-ap-payment-api.html
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/ap-invoice-payment-need-help-4037407
    See "Understanding Oracle Payments APIs" here:
    http://docs.oracle.com/cd/B40089_10/current/acrobat/120ibyig.pdf
    If this answers your question, please mark the post. Thanks.
    Kristofer Cruz
    Edited by: Kristofer Cruz on Sep 5, 2012 2:41 PM

  • Error in populating table data through forms

    I had one SIM REPLACEMENT Form which has a base block table PPBS_SIM_CHANGE.
    Once all the entires are entered the table gets populated.
    But some times it seen that the base table does not get populated.Also the form does not gives any error.Pl help me to find out the error.
    In the Save button the following code is written
    IF :SYSTEM.FORM_STATUS IN ('NEW','CHANGED') THEN
    commit;
    if not form_success then
    message ('Transaction Failed...');
    else
    message('Transaction Successfully Completed..');
    end if;
    END IF;

    Why do you create a Save button in the first place? Forms already has its own Save botton.

  • API Error: table does not exists

    Hello every one,
    I have a procedure to load the learning management data history through API. I get error that the table or view does not exists which I don't know why.
    Here is my procedure:
    CREATE OR REPLACE PROCEDURE OLM_CLASS_HISTORY
    AUTHID CURRENT_USER AS
    lv_BOOKING_ID NUMBER;
    lv_BOOKING_STATUS_TYPE_ID NUMBER;
    lv_EVENT_ID NUMBER;
    lv_PERSON_ID NUMBER;
    lv_DATE_BOOKING_PLACED DATE;
    lv_OBJECT_VERSION_NUMBER NUMBER;
    lv_FINANCE_LINE_ID NUMBER;
    CURSOR C1 IS
    SELECT OLM_NUMBER,
    OLM_DATE_OF_CLASS,
    OLM_CLASS
    FROM OLM_HISTORY_CLASS;
    BEGIN
    FOR C1_REC IN C1
    LOOP
    begin
    select PAF.PERSON_ID INTO lv_PERSON_ID
    from PER.PER_ALL_PEOPLE_F PAF
    where PAF.EMPLOYEE_NUMBER= C1_REC.OLM_NUMBER
    and to_date (C1_REC.OLM_DATE_OF_CLASS, 'DD-Mon-YY HH24:MI:SS ')
    between to_date(paf.effective_start_date, 'DD-Mon-YY HH24:MI:SS')
    and to_date (paf.effective_end_date, 'DD-Mon-YY HH24:MI:SS');
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('PID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    lv_DATE_BOOKING_PLACED:= C1_REC.OLM_DATE_OF_CLASS;
    BEGIN
    SELECT DISTINCT AOET.EVENT_ID INTO lv_EVENT_ID
    FROM APPS_APPLMGR.ota_events_tl AOET
    WHERE
    AOET.TITLE = C1_REC.OLM_CLASS;
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('EID Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    dbms_output.put_line('Event id:'||lv_event_id);
    dbms_output.put_line('Person id:'||lv_person_id);
    dbms_output.put_line('Booking date:'||lv_date_booking_placed);
    dbms_output.put_line('Ovn:'||lv_object_version_number);
    dbms_output.put_line('Finance line id:'||lv_finance_line_id);
    BEGIN
    APPS_APPLMGR.OTA_DELEGATE_BOOKING_API.CREATE_DELEGATE_BOOKING (P_VALIDATE => FALSE,
    P_EFFECTIVE_DATE => trunc(sysdate),
    P_BOOKING_ID => lv_BOOKING_ID,
    P_BOOKING_STATUS_TYPE_ID => '1016',
    p_delegate_person_id => lv_PERSON_ID,
    p_contact_id => NULL,
    P_BUSINESS_GROUP_ID => '0',
    P_EVENT_ID => lv_EVENT_ID,
    P_DATE_BOOKING_PLACED => lv_DATE_BOOKING_PLACED,
    P_INTERNAL_BOOKING_FLAG => 'Y',
    p_number_of_places => '1',
    P_OBJECT_VERSION_NUMBER => lv_OBJECT_VERSION_NUMBER,
    P_SUCCESSFUL_ATTENDANCE_FLAG => 'Y',
    P_FINANCE_LINE_ID => lv_FINANCE_LINE_ID);
    exception
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER :=SQLCODE;
    error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('.');
    DBMS_OUTPUT.PUT_LINE('API Error: ' || error_code || ' - ' || error_msg);
    DBMS_OUTPUT.PUT_LINE('.');
    END;
    END;
    END LOOP;
    COMMIT;
    --rollback;
    END;
    and now when I run this procedure,I am getting this error:
    PID Error: 100 - ORA-01403: no data found
    Event id:5684
    Person id:12530
    Booking date:14-DEC-11 00:00:00
    Ovn:
    Finance line id:
    API Error: -942 - ORA-00942: table or view does not exist
    I don't know if it is API which is making problem or my code. Please advice.
    Thanks,

    You are creating the procedure in which schema.
    does this user has permission to access the objects specified in the code.
    the issue must be with your code not the ebs api

  • Billing type is not populating table TVARVC

    Hi Expert
    My billing type is not populating the TVARVC table can any body explain whats needs to be done.
    Regards
    Sanjay

    Hi Sanjay,
    There is no such field in the table "TVARVC".I think you may be thinking that type field is for billing type.
    It is not billing type.It is Selection category type.It has two values "S" and "P".
    S means selection and P means Parameter.
    So your billing type will not populate at all.
    Hope this helps you.
    Regards,
    Krishna.

  • ResultSet updateRow ,insertRow ,deleteRow APIs on table with no PRIMARY KEY

    Hi,
    When I use ResultSet.insertRow , updateRow ,deleteRow API's on a table which contais no primary key column I find the following Exception ,
    java.sql.SQLException: Operation invalid. No primary key for the table
    at com.tandem.sqlmx.Messages.createSQLException(Messages.java:69)
    at com.tandem.sqlmx.SQLMXResultSet.getKeyColumns(SQLMXResultSet.java:3501)
    at com.tandem.sqlmx.SQLMXResultSet.prepareInsertStmt(SQLMXResultSet.java:3652)
    at com.tandem.sqlmx.SQLMXResultSet.insertRow(SQLMXResultSet.java:2073)
    at testdateupdate.main(testdateupdate.java:33)
    It looks like the table needs to have a primary key column to update or insert or delete rows using the ResultSret APIs.
    I use a proprietary JDBC driver. I find the Explanation for this behavior like this ,
    JDBC allows update stmts on tables w/out a primary key defined if the stmt is issued by the application. For updateable ResultSets, a primary key restriction is required to avoid updating more rows than desired.I dont understand this explanation and also I dont find this behavior is some other JDBC drivers that I tried with.
    Some one Please Clarify the same.
    Thanks in Advance.
    Thanks and Regards,
    Jay

    Hi,
    in simple words, when a table does not have primary key you can send update and delete on it only by using a Statement object. When using ResultSet.updateRow or ResultSet.deleteRow the jdbc looks for the primary key on the metadata in order to send the correct where clause to the rdbms. I think that this could maybe work with Oracle DBMS, which has a unique id (ROWID) for each record.
    Kiros

  • Adding primary key column in populated table

    Hi all,
    I am trying to add a column into a table which is already populated. The column which needs to be added has to be Primary Key.
    As expected, oracle popped up the error (ORA-01758) that, a NOT NULL column cannot be added unless the table is empty.
    One possibe way is to create a new temp table and then transfer all the current data...renaming the temp table later.
    Is there any other way to accomplish this task?
    Thanks

    Hello,
    As error suggested you cannot add a not null constraint on new column to table which is already populated. What else you can do beside you got fairly simple and quick idea of creating a temp table and moving data?
    You can add new column but null, update the column with the values and alter the table marking column as not null. But your idea of empty temp table is simple and quick one.
    CREATE TABLE my_objects
    AS
       SELECT 'my_new_column' my_new, owner
       FROM all_objects
       WHERE ROWNUM < 1;
    _Not Null_
    ALTER TABLE MY_OBJECTS
    MODIFY(MY_NEW  NOT NULL);
    _Primary key_
    ALTER TABLE MY_OBJECTS
    ADD CONSTRAINT MY_OBJECTS_PK
    PRIMARY KEY
    (MY_NEW);Regards

  • Populating table from database

    Number FoodItem Quantity Price Description
    1     Rice     1 bag     5000 Carbohydrate
    2     Beans     1 bag     4000 Protein
    3     Palm Oil 1 bottle 500 Fats & Oil
    i have a table like this in my database,need help in populating my list
    with "FoodItem" from the database when my GUI comes up.Also,want to display final result of selection in my table.
    '\n'
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.table.*;
    import static javax.swing.GroupLayout.Alignment.*;
    import java.sql.*;
    import java.util.*;
    public class Foodtable extends JFrame {
         //private JButton finish,view;
         private JTable table;
         private DefaultTableModel model;
         private JScrollPane pane,pane1;
         private JTextField currentamount,totalamount,qtyfield;
         private JList foodlist;
         private JComboBox box;
         private String[] qtybox={"cup","mudu","bag"};
         private DefaultListModel lm;
         Connection con=null;
         Statement st=null;
         private static ResultSet rs;
         public Foodtable(){
              JPanel p1 = new JPanel();
              p1.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"Food List",TitledBorder.CENTER,TitledBorder.TOP));
              p1.setLayout(null);
              p1.setPreferredSize(new Dimension(170,150));
              lm = new DefaultListModel();
              foodlist = new JList(lm);
              pane1 = new JScrollPane(foodlist);
              pane1.setBounds(10,20,148,180);
              p1.add(pane1);
              JLabel qty = new JLabel("Quantity:");
              qty.setBounds(10,210,60,20);
              p1.add(qty);
              qtyfield = new JTextField(5);
              qtyfield.setBounds(65,210,30,20);
              p1.add(qtyfield);
              box = new JComboBox(qtybox);
              box.setBounds(95,210,60,20);
              p1.add(box);
              JPanel p2 = new JPanel();
              p2.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),"Food Table",TitledBorder.CENTER,TitledBorder.TOP));
               model = new DefaultTableModel();
               model.addColumn("Number");
               model.addColumn("Food Item");
               model.addColumn("Quantity");
               model.addColumn("Price");
               model.addColumn("Description");
              table = new JTable(model);
              pane = new JScrollPane(table);
              pane.setPreferredSize(new Dimension(300,140));
              p2.add(pane);
              JPanel p = new JPanel();
              GroupLayout layout = new GroupLayout(p);
              p.setLayout(layout);
              layout.setAutoCreateGaps(true);
              layout.setAutoCreateContainerGaps(true);
              layout.setHorizontalGroup(layout.createSequentialGroup()
                   .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                             .addComponent(p1)
                        .addComponent(p2)
              layout.setVerticalGroup(layout.createSequentialGroup()
                   .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(p1)
                        .addComponent(p2)
              JPanel p4 = new JPanel();
              p4.setLayout(null);
              p4.setPreferredSize(new Dimension(200,30));
              /*finish = new JButton("Finish");
              finish.setBorder(BorderFactory.createEmptyBorder(0,0,0,0));
              finish.setRolloverEnabled(false);
              finish.setBounds(170,20,60,20);          
              p4.add(finish);*/
              JLabel currentlabel = new JLabel("Current Amount:");
              currentlabel.setBounds(300,10,100,20);
              p4.add(currentlabel);
              currentamount = new JTextField();
              currentamount.setBounds(395,10,50,20);
              currentamount.setEditable(false);
              p4.add(currentamount);
              JLabel total = new JLabel("Amount Spent:");
              total.setBounds(300,30,100,20);
              p4.add(total);
              totalamount = new JTextField();
              totalamount.setBounds(395,30,50,20);
              totalamount.setEditable(false);
              p4.add(totalamount);
              GroupLayout flayout = new GroupLayout(getContentPane());
              getContentPane().setLayout(flayout);
              flayout.setAutoCreateGaps(true);
              flayout.setAutoCreateContainerGaps(true);
              flayout.setHorizontalGroup(flayout.createSequentialGroup()
                   .addGroup(flayout.createParallelGroup(GroupLayout.Alignment.LEADING)
                        .addComponent(p)
                        .addComponent(p4)
              flayout.setVerticalGroup(flayout.createSequentialGroup()
                   .addGroup(flayout.createParallelGroup(GroupLayout.Alignment.LEADING)
                        .addGroup(flayout.createSequentialGroup()
                             .addGroup(flayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                                  .addComponent(p)
                        .addComponent(p4)
              setSize(640,460);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
         public static void main(String[] arg){
              new Foodtable().setVisible(true);
         public void showRecord(){
              try{
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con = DriverManager.getConnection("jdbc:odbc:food","","");
                   st = con.createStatement();
                   rs=st.executeQuery("SELECT*FROM tbl_food");
                   while(rs.next()){
                        lm.addElement(rs.getString("food_name"));
              catch(Exception sqle){
                   JOptionPane.showMessageDialog(null,"Exception.......\n" + sqle.getMessage() ,"Error Information",JOptionPane.ERROR_MESSAGE);
         /*public void query(){
              try{
                   Class.forName("com.mysql.jdbc.Driver");               
                   con = DriverManager.getConnection("jdbc:mysql://localhost/food?user=password=");
                   st = con.createStatement();
                   String sql = "SELECT foodlist.food,foodlist.description FROM foodlist";
                   rs = st.executeQuery(sql);
                   while(rs.next()){
                        lm.addElement(rs.getString(1)+'\n');
              }catch(Exception ee){
                   System.out.println(ee);
              finally{
                   try{
                        st.close();
                        con.close();
                   }catch(Exception ex){ System.err.println(ex);}
         public void actionPerformed(ActionEvent e){
              Object[] value = foodlist.getSelectedValues();
              if(e.getSource()==view){
                   query();
              if(e.getSource() == move){
                   for(int i=0;i<value.length;i++){
                        String word = (String)value;
                        //String foodclass = rs.getString("foodlist.description");
                        Vector<Object> data = new Vector<Object>();
                        data.addElement(word);
                        data.addElement(qtyfield.getText()+" "+box.getSelectedItem());
                        data.addElement("");
                        //data.addElement("foodclass");
                        model.addRow(data);

    This particular forum is about jdbc. Do you have a question about jdbc?
    If so then what specifically is it?
    If you have questions about GUIs (display, buttons, events, etc) then there are other forums for that.

  • API (interface tables) to synchronize Oracle EBS and outsourced functions?

    Hi,
    Our company is outsourcing the inventory and shipping functions. Now we'll need to synchronize the Oracle EBS with actual shipment data. We have've to use the APIs and keep Oracle tables in sync with the legacy system.
    Which API we can use for Pick Confirm, when we have to do WMS and LPN handling? Or is there some other way (like interface tables) to take care of this issue?
    APIs should be supported with our EBS version 11.5.9. EBS version upgrade is not possible for us now. We'll need info how to implement above issue asap.
    BR Mervi Malmi

    Hi;
    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Help populating table with applescript

    Hi
    I'm posting here in the hope that someone can give me a helping hand with an applescript. I myself know very little about applescript. I can create something very basic but thats about it.
    I have the following table
    Name
    Value
    Amount
    Donald Duck
    4
    5000
    Goofy
    10a
    7000
    George
    5
    4000
    Steve
    4
    6000
    Hank
    18
    9000
    Sue-Ellen
    5
    9050
    John
    18
    11000
    Hector
    18
    5500
    I would like to create an applescript that runs through this table and populates another table, we can call it "Results", that would look something like this
    Value 4
    Donald Duck
    5000
    Steve
    6000
    Value 5
    George
    4000
    Sue-Ellen
    9050
    A further complication is that this newly populated should only be populated if the following condition exists. The total sum of the newly created table (i.e the value column) should only be populated with posts from the original table as long as the sum of the newly created posts do not exceed the sum of a cell in a third table (we can call this the "sumtable").
    To make it clearer. If the sum of the "sumtable" is 24 050 then the newly created table will only create the posts I have made above. These posts must be made using the following values and in the order the values appear. The complete list of values is 3a, 4, 4a, 5, 6, 7, 10, 10a, 12, 13, 18 . So the script would start looking for values in that order and whenever it reaches a total sum that is equal to the sum in "sumtable" it will use those values, and only those, and populate the new table creating the necessary rows needed.
    It's possible that this is way to complicated to do. I have tried to make a formula in a table to do this but the problem is I ca never know how many rows are needed in advance.
    Hoping for some help or tips, but understanding if this is asking too much considering the amoutn of effort needed.
    Thanks

    consiglieri_swe wrote:
    i.e Goofy only gets part of his debt.
    The partial payment complicates the logic a little. Below is a script that can handle that. The usage is the same. Paste it into AppleScript Editor. Run. Paste results into A2 of the Results table and the table expands automatically to the number of rows needed. The Sum formula is in a Footer Row.
    The revised script, which now reads the available amount from a cell in a table (easily changed to another table as needed), is below.
    SG
    --accounts for partial payment of "last" creditor
    --reads available amount from a cell in a table
    property thePriorities : {"3a", "4", "4a", "5", "6", "7", "10", "10a", "12", "13", "18"}
    tell application "Numbers" to tell the front document to tell sheet "Sheet 1"
              tell table "Maximum"
                        set maxAmount to the value of cell "A2"
              end tell
              tell table "Table 1"
                        set {pasteStr, stillAvailable, allDone} to {"", maxAmount, false}
                        repeat with i from 1 to count of thePriorities --cycle through 3a, 4, 4a, etc
                                  set priorityBeingTallied to (item i of thePriorities)
                                  repeat with j from 2 to count of its rows
                                            tell row j
                                                   --get the values in a row
                                                      set thisName to value of its first cell
                                                      set thisPriority to my stripDecimal(value of its second cell)
                                                      set thisAmount to value of its third cell
                                                      if thisPriority is equal to priorityBeingTallied then --if it's in this priority
                                                                if stillAvailable > 0 then --include the row unless no more money
                                                                          set thisAllocation to my lesserOf(thisAmount, stillAvailable)
                                                                          set pasteStr to pasteStr & thisPriority & tab & thisName & tab ¬
                                                                                    & thisAllocation & return
                                                                          set stillAvailable to stillAvailable - thisAllocation
                                                                end if
                                                      end if
                                            end tell
                                  end repeat --rows
                        end repeat --priorities
              end tell --table
    end tell --app
    set the clipboard to pasteStr
    display notification "Click once in a cell and paste." with title "Numbers"
    pasteStr
    --handler needed because when asked for a cell value Numbers 3 adds .0
    to stripDecimal(val)
              set val to val as string
              set {oTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "."}
              set s to item 1 of val's text items
              set AppleScript's text item delimiters to oTID
              return s
    end stripDecimal
    to lesserOf(x, y) --used to calculate partial payment to "last" creditor
              if x < y then return x
              return y
    end lesserOf
    --end of script

  • Populating table from csv

    Hi all .. i need the syntax for populating a table from hard drive stored csv file. there are 6 fields in target table (named orgs) and i want to populate its fields 'in' and 'out' from csv file. can someone plz help me? for the time being i m doing it manually by creating scripts in excell sheet but thats not a good approach. i m using oracle 9i. thanx in advance

    Hi,
    Take this example:
    I made a directory 'scott_dir' in my drive & put my csv file in it.
    Then i created an external table using the following:
    create table emp_ext (
    EMPNO NUMBER(4),
    ENAME VARCHAR2(10),
    JOB VARCHAR2(9),
    MGR NUMBER(4),
    HIREDATE DATE,
    SAL NUMBER(7,2),
    COMM NUMBER(7,2),
    DEPTNO NUMBER(2))
    Organization external
    (type oracle_loader
    default directory scott_dir
    access parameters (records delimited by newline
    fields terminated by ',')
    location ('emp_ext.csv'))
    reject limit 1000;
    It will insert data from your csv file to the emp_ext table.
    You can verify data using the Select statement.
    Later on you can merge data in your original table.
    Thanks

Maybe you are looking for