Query Mapping in R12

Hi All,
I have below query in my form. This was Oracle 11.0.3 version query. But Now I want to use this qury in Oracle R12.
Can anybody help me to map this query in R12
SELECT order_number_source_id
FROM apps.so_order_types_all
WHERE order_type_id = :Profile.returns_order_type_id;
Thanks in advance

This forum is for general Oracle Forms questions. Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Tax_recovery_rate column mapping in R12 tax tables

    Hi ,
    Can anyone pleasehelp me out. I am trying to remediate a view which originally in 11i was consisting of the following columns:
    org_id,
    tax_id,
    name,
    tax_rate,
    tax_recovery_rate,
    offset_tax_code_id,
    start_date,
    inactive_date end_date,
    enabled_flag enabled
    (table used: ap_tax_codes_all)
    I was able to map the coluumns using the zx_rates_b and zx_accounts as
    internal_organization_id org_id,
    source_id tax_id,
    zrb.tax_rate_code name,
    percentage_rate tax_rate,
    zrb.tax_rate_id offset_tax_code_id,
    effective_from start_date,
    effective_to end_date,
    active_flag enabled
    except for the tax_recovery_rate column.
    Can anyone please explain how this column is mapped in r12 tables?
    Thanks in advance
    -Chetan Verma

    Hi Chetan ;
    Please check e-trm site for table integrity and relations
    Regard
    Helios

  • Oracle XML to HSBC XML mapping for R12 AP Check Printing

    Hi,
    Our environment is Oracle APPS R12.
    We need to send an electronic payment information to HSBC bank.  So this will be generated 'like' a check from the payments process, but for payment types of WIRE, ACH, etc...and the output is an XML file in a format specified by the bank HSBC.  We need to send an XML file to HSBC per their spec.  The data that needs to go in this file is the same payment information that Oracle already provides in the standard check printing.  We need to take that data and turn it into XML matching the HSBC spec (hence the XML to XML mapping).
    I am not sure how to get the source for standard check printing prog. Any idea of how to do Oracle XML- HSBC XML Mapping? Any help is really appreciated.
    Thanks
    Valli

    Review this note, you will get source of check printing program
    R12: Master Troubleshooting Guide for Oracle Payables Check Printing issues (Doc ID 1353280.1)
    thanks

  • Table for Webtemplate and Query mapping

    Hi Experts,
    Is there any table which has the mapping for BW Web template and the Query on which this Web Template is built.
    Any help would be highly appreciated.
    Regards,
    Rk.

    >
    Matthias Nutt wrote:
    > Hi,
    >
    > the WebTemplate is stored as XML document. This is the XML code which is shown in the Web Application Designer. You need to read throught the XML using the Web Application Designer or using report RS_TEMPLATE_MAINTAIN_70.
    >
    > Regards Matthias Nutt
    > SAP Consulting Switzerland
    Hi,
    Thanks for the reply.
    What is the output for this report?
    I just need the query name which is used for creating the Web Template.
    Any table, FM or ABAP program for getting the query name for a Web Template will be sufficient for my requirement.
    Regards,
    Rk.

  • Profit & Loss Query in oracle R12

    hi
    Anybody know that how to get profit and loss in oracle apps R12 and if any person have the Profit & Loss Query, so plz send me query.
    Thanks
    Zulqarnain

    Hi Everyone,
    Thks for your help.
    @ Srini and John:
    Yes, this happens to all the users connecting to the system. Its kind of funny when a user comes and says "My screen has gone green" :-)
    But it is a bit serious since we are going into UAT, and the client will definitely complain of this.
    @ John:
    It does not seem to be a Client Side Problem, as I have made everyone clear their cache and try again.
    And what's intruiging now, is that this issue never occurred on one of the instances we have been using, and suddenly yesterday we started encountering this on that instance as well. As per a Metalink Note referred by Hussein, I have forced the Color Scheme and Look and Feel to Swan and Oracle at Site Level. Yet the problem is encountered.
    However, there is one thing that I will try and revert back. With R12, Java Version 1.5.* is shipped.
    All the machines here have the 1.6 Version
    I will try to downgrade and re-install the 1.5 Version and verify
    @ Hussein:
    Where can I locate the Application File and verify pls ?
    How do I compile all the JSP Files (Using adadmin? )
    Thks everyone
    Ravi

  • SQL Query - Mapping Groups to Batches

    I am using Oracle 11g Release 2.
    I have the following dataset:
    CREATE TABLE RoomGroups
    (group_id NUMBER,
    group_name VARCHAR2(30),
    group_capacity NUMBER);
    INSERT INTO RoomGroups VALUES(1, 'SEECS UG Block', 100);
    INSERT INTO RoomGroups VALUES(2, 'IAEC Building', 70);
    INSERT INTO RoomGroups VALUES(3, 'RIMMS Building', 90);
    Commit;
    CREATE TABLE DegreeBatches
    (batch_id NUMBER, batch_name VARCHAR2(30), batch_strength NUMBER);
    INSERT INTO DegreeBatches VALUES(10,'BIT-10',35);
    INSERT INTO DegreeBatches VALUES(20,'BIT-11',40);
    INSERT INTO DegreeBatches VALUES(30,'BSCS-2',35);
    INSERT INTO DegreeBatches VALUES(40,'BSCS-3',40);
    INSERT INTO DegreeBatches VALUES(50,'BEE-4',50);
    INSERT INTO DegreeBatches VALUES(60,'BICSE-7',25);
    INSERT INTO DegreeBatches VALUES(70,'BESE-3',30);
    Commit;
    I want to achieve the following thr single or multiple SQL queries:
    Firstly, get all possible sets of DegreeBatches for each group - in such a way that for each set the SUM(batch_strength) <= Capacity of that group as show below.
    GroupId     Batches     StrengthStr     StrengthTotal     Capacity
    1.     {BIT-10, BIT-11, BICSE-7}     {35, 40, 25}     100     100
    1.     {BSCS-2, BSCS-3, BICSE-7}     {35, 40, 25}     100     100
    1.     {BEE-4, BSCS-3}     {50, 40}     90     100
    2.     {BIT-10, BSCS-2}     {35, 35}     70     70
    2.     {BSCS-3, BESE-3}     {40, 30}     70     70
    2.     {BIT-11, BICSE-7}     {40, 25}     65     70
    and so on...
    Secondly, I want to retrieve only non-overlapping sets based on minimum value of Capacity-StrengthTotal for each group
    GroupId     Batches     StrengthStr     StrengthTotal     Capacity
    1.     {BIT-10, BIT-11, BICSE-7}     {35, 40, 25}     100     100
    2.     {BSCS-3, BESE-3}     {40, 30}     70     70
    3.     {BSCS-2, BEE-4}     {35, 50}     85     90
    And finally, the final result must have all the batches in it...
    Which in this case is true...
    Any help will be highly appreciated...
    Thanks
    Bilal

    Is this not a duplicate thread?
    Re: SQL Query for mapping a set of batches to a class rooms group

  • Query map the DB Link Table

    Hi Team
    I have query like
    select site_id from site;
    O/P :-
    12323
    12444
    12333
    but i want to stored this date on variable like
    v_site (12323,12444,12333)
    because i about using dblink for other be i need to put this values like
    select * from table@dblink
    where site_id in ( v_site);
    Thanks for Advance...

    Hi,
    why dont you put like
    ----Not tested-----
    site_id in (select site_id from site)Regards,
    CKLP
    Pls mark posts and answered/helpful it you consider it really was.
    Edited by: CKLP on Sep 26, 2011 5:12 AM

  • Dynamic Query Mapping using Toplink Entity

    Hi,
    We have a requirement that the column names of the table dynamically gets changed for different customers.
    eg;
    Client 1 , will have
    Select EMP_ID, EMP_NAME from EMPLOYEE
    Client 2 will have
    SELECT CEMP_ID, EMP_NAME, CEMP_ADDR from EMPLOYEE
    Is it possible to make a Toplink Entity Employee object to support both the queries at runtime ?ie; we should not modify the java entity object for each customer.
    With normal JDBC , we can perform SELECT * from EMPLOYEE ,get the resultset , and using metadata , we can find the column names and process it accordingly.
    Is this functionality possible with toplink JPA at all ?
    Thanks
    prabu

    Hi,
    I am trying to use DynamicEntity class. Is Joined Table Inheritance supported in DynamicEntity ? Since I need to create an HybridEntity on the fly by selecting all the fields from TABLE A and TABLE B by joining key fields, whose fields will dynamically change based upon the customer. Below is what I am currently trying to do. But the Entity Object that I got contains fields only from TABLE A and not from TABLE B
    EntityManagerFactory emf = new EntityManagerFactoryImpl(setup,EclipseLinkJPATest.getEMFProperties());
    SchemaManager manager = new SchemaManager(JpaHelper.getServerSession(emf));
    Vector <DatabaseRecord>tableAEntityFieldNames = manager.getAllColumnNames("TABLE A");
    Vector <DatabaseRecord>tableBFieldNames = manager.getAllColumnNames("TABLE B");
    EntityType tableAType = EntityTypeFactory.create("TableAEntity","DynamicEntity$TableAEntity", "TABLE A", loader);
    String columnName = null;
    for(DatabaseRecord tableAObj: tableAEntityFieldNames){
    columnName = tableAObj.get("COLUMN_NAME").toString();
    EntityTypeFactory.addBasicProperty(tableAType, columnName, columnName,
    "TABLE A_ID".equals(columnName) ? Long.class : String.class, "TABLE A_ID".equals(columnName) ? true : false);
    EntityTypeFactory.addToPersistenceUnit(emf, tableAType);
    EntityType stepType = EntityTypeFactory.create("TableBEntity","DynamicEntity$TableBEntity", "TABLE B", loader);
    for(DatabaseRecord tableBObj: tableBEntityFieldNames) { 
    columnName = tableBObj.get("COLUMN_NAME").toString();
    EntityTypeFactory.addBasicProperty(tableBType, columnName, columnName,"TABLE B_ID".equals(columnName) ? Long.class : String.class, "TABLE B_ID".equals(columnName) ? true : false);
    EntityTypeFactory.addToPersistenceUnit(emf, tableBType);
    EntityManager em = emf.createEntityManager();
    List <DynamicEntity> entityList = null;
    entityList = em.createQuery("select s from TableAEntity s, TableBEntity st where s.TABLE A_ID= st.TABLE B_IDand s.TABLE A_ID=?1")
              .setParameter(1, 1397)
              .getResultList();
    System.out.println("entityList..."+entityList);
    Thanks
    Prabu

  • Unable to find Searchable Item in Query Criteria Map

    Hi ,
    Am try to personalize Advacned Search Region to Include new search Criteria in R12 iSupplier Portal->Home->Orders Tab->Advanced search.
    Am trying to create new search field in the Add another row field through personalization.
    I have created new row criteria,when am trying to create Query Criteria Map,Am unable to list the Searchable Item as it is Drop down list.
    This causing unable to query the records based on the newly created row criteria item.
    Please advise.
    Thansk<Sarath.

    Hi Jobnish,
    There is no code in this requirement.
    There is no error...Issue is unable to query data based on newly create criteria row in Advanced search.
    I can give you navigation:
    iSupplier Portal->Home->Orders Tab->Press advanced search Region
    Click on the Personalize Page(I hope you know how to enable the personalize link using profile option).
    In SupplierRN ->Advanced Search Criteria and creating custom item Criteria Row..
    We need to map this field in Advanced Query Mapping.
    However the issue is the Am unbale find the Searchable item (which is created in Criteria Row) in the drop downlist.
    I can provide screen-shot if you need.
    Thanks,Sarath.

  • Mapping of columns from 11i to R12 0 - AP Bank Accounts

    Hi All,
    We are working on application migration from 11i to R12.
    In our report columns bank_account_uses_id, customer_site_use_id and primary_flag from table AP_BANK_ACCOUNT_USES_ALL are used. Can some one help me to find how these columns are mapped in R12.
    I have all ready searched in tables IBY_PMT_INSTR_USES_ALL, IBY_EXTERNAL_PAYEES_ALL and IBY_EXT_BANK_ACCOUNTS but not able to locate exact columns.
    Regards,
    Nandeep

    Hi,
    Please refer to:
    Note: 579132.1 - R12 Payments and Payment Reports 'How To' documents), 2. How to Setup Banks in R12
    Note: 434195.1 - Bank Setups in R12 Question
    Regards,
    Hussein

  • Query change from 11i to R12

    Hi,
    Please help me out from the below query.....
    In 11i we are using the below Query.
    SELECT a.AE_HEADER_ID,a.AE_LINE_NUMBER,
    a.AE_LINE_ID, a.AE_LINE_TYPE_CODE,a.CODE_COMBINATION_ID,
    a.CURRENCY_CODE,a.ENTERED_DR,a.ENTERED_CR,a.ACCOUNTED_DR,a.ACCOUNTED_CR,a.SOURCE_TABLE,
    a.SOURCE_ID,a.LAST_UPDATE_DATE FROM
    AP_AE_LINES_ALL a,
    AP_AE_LINES_Local_table e, ap_invoice_distributions d
    WHERE a.source_table = 'AP_INVOICE_DISTRIBUTIONS'
    AND a.source_id = d.invoice_distribution_id AND
    a.last_update_date -(sysdate - 10) > 0
    AND a.AE_LINE_ID = e.AE_LINE_ID(+)
    I need to change this query related to R12 changes.
    Please help me whether i need to use xla_ae_lines table from R12. if yes there are AE_LINE_ID, AE_LINE_TYPE_CODE columns are not there in xla_ae_lines table. Pls let me know where to refer the AE_LINE_ID, AE_LINE_TYPE_CODE columns in R 12.

    Hi,
    In R12 ae_line_id replaced with ae_line_num,
    Pls. find the sample query.
    SELECT a.ae_header_id, a.ae_line_num, a.accounting_class_code,
    a.code_combination_id, a.currency_code, a.entered_dr, a.entered_cr,
    a.accounted_dr, a.accounted_cr, a.source_table, a.source_id,
    a.last_update_date
    FROM xla_ae_lines a, apps.ap_invoice_distributions_all d
    WHERE a.source_table = 'AP_INVOICE_DISTRIBUTIONS'
    AND a.source_id = d.invoice_distribution_id

  • Impact on OAF Personalization/Customizations - Upgrade from R12.1.3 to 12.2.4

    Hi All,
    1) I would like to know if we need to re-deploy the OAF personalizations if we migrate from EBS 12.1.3 to 12.2.4?
    As per my understanding, after upgrade, personalizations would remain intact in MDS (jdr_* tables) layer but we need to perform testing and correct any layout error etc. if it is not in line with 12.2.4. However, re-deployment is not required.
    2) I also have a second questions wrt OAF customizations (i.e; VO extension, CO extension, Custom pages/regions). I assume we need to redeploy the customizations.
    It would be great if you can guide me on this.
    Regards,
    K

    1. Would R12.1.5 need separate license? Or, R12.1.3 license would cover R12.1.5 as this looks like an incremental upgrade.Same license (assuming you already have HRMS license).
    2. Not finding good documentation on R12.1.5 on metalink. Is there a RVP that can be shared if any of you have it with you.If you are referring to HRMS Release Update Pack 5 for Release 12.1 then you should have the docs referenced above.
    3. This probably should have been my first question. Is R12.1.5 a public release? I ask this question as I do not see good information available on upgrade road map to R12.1.5.The latest 12.1.x release is 12.1.3 and Oracle has no plans to release any higher 12.1.x releases -- The next release will be 12.2
    4. Can these features in R12.1.5 be applied as one-off patches on R12.1.3?Again, if you are referring to HRMS Release Update Pack 5 for Release 12.1 then the answer is "Yes".
    Thanks,
    Hussein

  • Mapping an object's property to a field computed from 2 database fields

    Hi,
    Is there a way to do a WorkBench mapping of a business object's property to a field computed from 2 separate database fields?
    If not in WB, how would you do that?
    Thanks,
    Michal

    You could define this mapping through a TransformationMapping using you own code in the mappings transformer to divide the values. However you are probably much better off to just map the two values directly, and add a method in your object model to get the rate buy dividing the values.
    If terms of being able to order-by the calculated value in the a TopLink query, mapping the calculated value using a transformation mapping would not help this.
    To do this order by you can use,
    query.addOrdering(ExpressionMath.multiply(ExpressionMath.divide(builder.get("numberOfSuccess"), builder.get("numberOfAttempts")), 100);

  • Common query method

    Hi,
    I need to query an oracle database using bind variables. To do so, I have a method to execute any query, that would receive the query in a "SELECT fieldFROM table WHERE id = :param1" fashion, and a list of the params for the binded variables in the where clause. This params them need to be set by its type's corresponding method, for example, ints would use the preparedStatement.setInt(index, integer) method.
    I might try to receive as the parameters list an object of type List<Object> and then map the each item in the list with instance of, for every method declared in the PreparedStatement interface, like
    if (parametro instanceof Short) {
         statement.setShort(index, (Short) parametro);
    }but surely there is a better way...
    Since this would be used by any query, would you suggest to design it as a class where all related methods to execute the query, map the fields to set methods, and, transform result sets into domain objects live?
    Thanks in advance.

    I have fixed a template method structure where the abstract class is holding the executeQuery method, that will first call a method to prepare de query, then set the paramethers for the query and finally delegate de execute query on the preparedStatement. Both the prepareQuery and the setParameters methods are left for the extending classes to implement, so they will know what method on PreparedStatement to use to add the named variables with its right type.

  • R12 EBS

    Dear all,
    In R12 EBS,from my server, when I try to create a location in inventory, after entering all the details on the form, when I try to save, it gives me this error message: FRM-40735: ON-INSERT trigger raised unhandled exception ORA-29273". What do I do to solve this problem?.
    Thanks.
    Regards
    Clement.

    Hi Hussein,
    I do not have csi to access the documents, can you please copy and paste the solution for me here?
    Remember my query:
    Re: In R12 EBS,from my server, when I try to create a location in inventory, after entering all the details on the form, when I try to save, it gives me this error message: FRM-40735: ON-INSERT trigger raised unhandled exception ORA-29273". What do I do to solve this problem?.
    Required details are:
    Application: R12.1.3
    Database: 11.1.0.7
    Operating System: Oracle Unbreakable Linux 5
    Navigation path:
    Inventory, Vision Operations (USA): Setup – Org – Location
    complete the location form, when I try to save, then error message: FRM-40735: ON-INSERT trigger raised unhandled exception ORA-29273". What do I do to solve this problem?.
    Form name: Location.
    This is my first time to actually use it.
    I hope you can give me the solution.
    Thanks Regards
    Clement Ikolo

Maybe you are looking for