Okc/okx table that contains Transaction Type from the pricing/billing tab

We are running 11.5.9 EBS, and the module is Service Contracts Authoring.
I have a sql script that pulls data from the header and subline level for service contracts. If possible I would like to get the Transaction Type form the Pricing/Billing Tab. Summary > Pricing/Billing - submenu "Billing". I have not been able to find a table in OKC or OKX that contains this Transaction Type ID which can be tied back the cust_trx_type_id in the AR.RA_CUST_TRX_TYPES_ALL and in turn get the NAME for the transaction.

I'm not sure where the cust_trx_type_id would be stored in OKC/OKS tables, but the table OKS_BILL_TRANSACTIONS stores the trx_number that you can link to ra_customer_trx_all and get the cust_trx_type_id.
HTH
Alka

Similar Messages

  • Accounting Rule query from the Pricing/Billing tab in Service Contracts

    Running Oracle Apps. 11.5.10.2. I have the query listed below which returns both header and live level data for service contracts. I am trying to add the Accounting Rule from the Pricing/Billing tab within service contracts, but I am not having luck finding a suitable join. I have tried joining ra_customer_trx_lines_all to okc_k_lines_b using the following join from etrm rctla.contract_line_id(+) = oklb.cle_id, but it does not return any records for accounting_rule_id. Once I can get records to return for accounting_rule_id, I can pull in the rule name from ra_rules.
    SELECT OKHB.CONTRACT_NUMBER                                         CONTRACT_NUMBER,
           NVL(OKHB.CONTRACT_NUMBER_MODIFIER, '-')                      CONTRACT_NUMBER_MODIFIER,
           OKHB.STS_CODE                                                STATUS,
           OKHB.START_DATE                                              START_DATE,
           OKHB.END_DATE                                                END_DATE,
           to_date(oklbs.attribute1, 'YYYY/MM/DD HH24:MI:SS')           WARRANTY_START_DATE,
           to_date(oklbs.attribute2, 'YYYY/MM/DD HH24:MI:SS')           WARRANTY_END_DATE,
           rctta.name                                                   PRODUCT_GROUP,
                           rctla.accounting_rule_id,
           P.PARTY_NUMBER                                               PARTY_NUMBER,
           P.PARTY_NAME                                                 PARTY_NAME,
           to_char(oklb.line_number)||'.'||to_char(oklbs.line_number)   SUBLINE_NUMBER,
           to_char(okcis.number_of_items, '9,999,999,999')              QTY,
           msib.segment1                                                ITEM_NUMBER,
           msib.description                                                      DESCRIPTION,
           to_char(oklbs.price_unit, '9,999,999,990.99')                UNIT_PRICE,
           to_char(oklbs.price_negotiated, '9,999,999,990.99')          EXTENDED_PRICE
      FROM OKC_K_HEADERS_B      OKHB,
           OKC_K_PARTY_ROLES_B  OKPRB,
           HZ_PARTIES           P,
           HZ_PARTIES           HP,
           OKX_CUST_SITE_USES_V C_BILL_TO,
           OKX_CUST_SITE_USES_V C_SHIP_TO,
           OKC_CONTACTS OC,
           OKC_CONTACTS OCS,
           OKX_RESOURCES_V ORV,
           OKC_K_LINES_B oklb,
           MTL_SYSTEM_ITEMS_B MSIB,
           OKC_K_ITEMS OKCI,
           OKC_K_ITEMS OKCIS,
           OKC_K_LINES_B OKLBS,
           OKX_SALESREPS_V OSV,
           RA_CUST_TRX_TYPES_ALL RCTTA,
                    ra_customer_trx_lines_all rctla
    WHERE OKHB.ID = OKPRB.CHR_ID
        AND OKPRB.JTOT_OBJECT1_CODE = 'OKX_PARTY'
        AND OKPRB.OBJECT1_ID1 = P.PARTY_ID
        AND C_SHIP_TO.PARTY_ID = HP.PARTY_ID
        AND OKHB.ID = OC.dnz_chr_id(+)
        AND okhb.id = ocs.dnz_chr_id(+)
        AND oc.jtot_object1_code (+) = 'OKX_RESOURCE'
        AND oc.OBJECT1_ID1 = orv.ID1(+)
        AND ocs.jtot_object1_code = 'OKX_SALEPERS'
        AND ocs.object1_id1 = osv.id1
        AND C_BILL_TO.SITE_USE_CODE(+) = 'BILL_TO'
        AND OKHB.SHIP_TO_SITE_USE_ID = C_SHIP_TO.ID1(+)
        AND OKHB.BILL_TO_SITE_USE_ID = C_BILL_TO.ID1(+)
        AND C_SHIP_TO.SITE_USE_CODE(+) = 'SHIP_TO'
        AND okhb.id = oklb.chr_id
        AND msib.inventory_item_id = okci.object1_id1
        AND msib.organization_id = 3
        AND okcis.cle_id           = oklbs.id
        AND okci.cle_id           = oklb.id
        AND oklbs.lse_id     <> '2'
        and oklbs.cle_id     = oklb.id
        AND rctta.cust_trx_type_id(+) = oklbs.attribute8
                 and rctla.contract_line_id(+) = oklb.cle_id

    Sorry for the late reply, but this solution worked great.
    and OKS_K_HEADERS_B.ACCT_RULE_ID = RA_RULES.RULE_ID
    and OKC_K_HEADERS_B.ID = OKS_K_HEADERS_B.CHR_ID

  • Invoice pricing procedure not using alt calc type from the pricing procedur

    The sales order has the same pricing procedure as the invoice but when the invoice is created it is not using the alt calc type that is on the pricing procured like it is on the sales order.  This is causing one of the condition types to have different values on the sales order vs. invoice.
    I am not sure what other areas to check to see why this is happening.  Any thoughts?

    I have checked and in the copy controls for Delv type = LF  and target Bill type = F2  the Pricing Type = G (copy pricing elements unchanged and redetermine taxes).   Condition types such as ZPR2 where there is condition record copy in correctly to the invoice.   It is condition type ZZIF where it is determined from a routine, not a condition record, where I am having this issue.
    Is there another place in config that I should be making a setting so that condition types determined by routines are copied to the invoice without being redetermined at invoice create?

  • Definition of Message Type and Transaction Type from the Implementation per

    My assumption is that both, Notification Type and Message Types are same.
    <b>Is the above assumption right?</b>
    In Sol Man 4.0, the notification types required are
    1)     ABSC  2) SLF1 3) TASK
    <b>Are there any other notification types required for Sol Man 4.0?</b>
    The main transaction types required in Sol Man 4.0 are
    SLFI, SLFT and SLFN
    <b>What is the significance of External Number range and Internal Number range used in the transaction type?</b>

    Hi
    1 > A data type</i> in a programming language is a set of data with values having predefined characteristics. Examples of data types are: integer, floating point unit number, character, string, and pointer.
    The characteristic of columns and variables that defines what types of data values they can store. Examples include character, floating point and integer
    Check out the details:
    http://en.wikipedia.org/wiki/Data_type
    A message type comprises a data type that describes the structure of a message. At the following points in SAP Exchange Infrastructure you can refer to the message to be exchanged at runtime by using the message type:
    details:
    http://help.sap.com/saphelp_nw04/helpdata/en/2d/c0633c3a892251e10000000a114084/content.htm
    2) Regarding the difference between XI 3.0 and PI 7.0, this threads will clear your doubts:
    difference between XI 3.0 and P.I 7.0
    Difference/ changes from XI 3.0 to PI 7.0
    Regard's
    Chetan Ahuja

  • Need to update a table that contains large volume of xml data

    Hi,
    i want to update a table that contains large amount of XML data.
    when execute the query it shows an error .
    Xml parsing is failed .But tghe data in xml is well formed.don't know why its happening .
    Pls help me on this.
    Thanks,
    Fahad

    below is my code..
    pls do the needful.
    create or replace
    PROCEDURE SPFETCHRETRIEVEDATA (
        p_txteordernum IN trnorderitem.TXTEORDERNUM%TYPE,
        p_intversionnum IN trnorderitem.INTVERSIONNUM%TYPE ,
        p_interrorcode OUT NUMBER)
        AS
        ------variable declaration---
        v_xmlorderitem XMLTYPE;
        v_trnsiebelmodification XMLTYPE;
        diff XMLTYPE;
            BEGIN
                BEGIN
                select xmlorderitemxml into v_xmlorderitem
                from trnorderitem
                where TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum;
                  END;
               --insert into tempxml values ('xmlorderitem',v_xmlorderitem);commit;
                BEGIN
                SELECT TrnSiebelModificationXML into v_trnsiebelmodification
                from trnsiebelmodification
                where TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum
                AND TXTSIEBELFIELDNAME='Asset XML';
              --  insert into tempxml values ('trnsiebelmodification',v_trnsiebelmodification);commit;
    --            EXCEPTION
    --            WHEN TOO_MANY_ROWS THEN
    --            dbms_output.put_line('Statement return multiple rows');
                 END;
    --------comparing differences between xml data and storing into a variable -----------
               BEGIN
               select xmldiff(v_xmlorderitem, v_trnsiebelmodification)
               into   diff
               from   dual;
               --insert into tempxml values ('diffxml',diff);commit;
               if diff IS NOT NULL THEN
               UPDATE trnsiebelmodification
                SET TXTACTIONTYPE='Update2'
                WHERE TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum
                 AND TXTSIEBELFIELDNAME='Asset XML';
                ELSE
                UPDATE trnsiebelmodification
                SET TXTACTIONTYPE='No Change2'
                WHERE TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum
                 AND TXTSIEBELFIELDNAME='Asset XML';
                END IF;
                END;
        END SPFETCHRETRIEVEDATA;Edited by: BluShadow on 11-Sep-2012 14:13
    added {noformat}{noformat} tags. Please read: {message:id=9360002} and learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Finding tables that contain a column

    Hi all,
    I am a relatively new SQL user and am trying to figure out how to find all tables that contain a particular column, eg, 'cust_id'. I have tried a bunch of different things and searched on Google but I think I don't quite have/understand the syntax I need.
    Also, how would I display a list of all the columns in all the tables?
    Thanks!

    Hi,
    apex wrote:
    Thanks for the input! I got my first question working.
    I am still trying to understand basic ideas in SQL, eg what is the all_tab_columns in Raj's link, as usually I call something from a particular table. All_tab_columns is a view in the sys schema. There are several tables and views in the sys schema whose names start with user_ or all_ (or dba_, but you may not have privileges to see those) which are collectively called the Data Dictionary . They contain information about the database itself, including the tables in the database.
    It states there that the ANALYZE command can be used to gather statistics for this view, but I have not been able to get it working.
    Eg, in Oracle SQL Developer, I type in "help <analyze>" but it doesn't tell me what the syntax of this command is, I had to use Google which gives the following
    To estimate statistics:
    ANALYZE TABLE tablename ESTIMATE STATISTICS SAMPLE 30 PERCENT;
    To compute statistics:
    ANALYZE TABLE tablename COMPUTE STATISTICS;
    But when I try the last one it just says
    table CUSTOMERS analyzed.
    but I don't see any output, and if I try to use ANALYZE all_tab_columns; it gives me an error message. When you analyze a table, a message like "table CUSTOMERS analyzed" is all you expect to see. The main purpose of anlyzing isn't to produce a report for you to read (as helpful as thant might be) but to update the data dictionary, so that Oracle knows how to do queries efficiently. For example, if you have a query like
    SELECT  *
    FROM    patients
    WHERE   birth_date  = DATE '1981-07-28'
    AND     state_abbr  = 'NY';How does the system decide whether to look for rows with the right birth_date first, or the right state? The statistics in the data dictionary might tell it that birth_date has many more ditinct values, so looking for a particular birth_date first will narrow down the search much faster than looking for a particular state.
    By the way, the ANALYZE command has been deprecated. Unless you're using a very old version of Oracle, you should be calling the dbms_stats package instead:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_stats.htm#CIHBIEII
    I am using Sam's teach yourself SQL in 10 minutes which is very good at the very specific commands and functions it describes but doesn't really orient me to the language, doesn't explain how to use the help functions, or any treatment of tasks not contanied in the book. If someone can recommend another source would appreciate it. Much thanks!That's the frustrating thing about books; you can't ask them questions. (On the other hand, that's one of the nice things about this forum.)
    I can understand why the book doesn't say much about analyzing. The book is about SQL (e.g., how to create a table or write a query). Statistics are not in the scope of that book. Actually, they're not really in the scope of this forum, either. If you have questions about statistics, you're better off posting them in the "Database - General" forum:
    General Database Discussions

  • Tables that contains the legacy systems authorization information

    Hi all,
    I'm setting up legacy systems in my SAP GRC 5.3. We would like to check if the information uploaded from the extractor is correct. Does anyone know what are the GRC 5.3 tables that contains all the systems authorization from the legacy system uploaded?
    Thank you in advanced.

    Hi,
    If I understand your question correctly, you wish to know the GRC 5.3 RAR tables that contains the authorization information and want to connect a legacy system.
    If you check the /VIRSA/* tables, you can find all the GRC related tables.
    However, if you are trying to perform an offline risk analysis, refer the below Article:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20a06e3f-24b6-2a10-dba0-e8174339c47c
    Hope this helps!!
    Regards,
    Raghu

  • Hyperion Explorer 8.3 querying multiple tables that contain a specific item

    I have 3 annual tables that contain data for 3 different years.  Each table has a sale amount, item sold, and customer ID.  I want to pull a specific customer ID from all 3 tables at once. 
    Is there a way to achieve this?
    Thanks!
    Johnny

    Add the 3 fields from the first table, then click Query > Append Query, then add the same 3 fields in the same order from the second table, then add the same 3 fields in the same order from the third table.  This creates a UNION between the three tables; which means they need to be in the same order and have the same datatype.
    If you want to show duplicate data found in the different sources, just change the UNION operator to a UNION ALL operator, otherwise it will suppress any duplicate rows.
    To limit the data to one specific customer ID, you can set a limit on each of the UNION tabs with 'Customer ID = <selection>'.
    Good luck!
    Jarod Vierstra

  • Batch Design Capture of tables that include Object Types

    When I attempt to use the Batch Design Capture facility to capture a table that includes an Object Type the facility dies without completing.
    I am using Designer 9i / Oracle Design Editor v9.0.2.80.4.
    The Batch Design Capture facility reports the following and then exits:
    Repository connected successfully
    Server Generator 9.0.2.80.4, Wed Jun 09 17:24:33 2004
    Copyright (c) Oracle Corporation 1995, 2002. All rights reserved.
    CDS-15334 Warning: The Oracle Object Type MESSAGEHEADER_TYPE already exists in the Repository. NOMERGE_AND_SAC Rule selected
    => the captured property values will not replace the existing property values in the repository but the Rules for the Secondary Elements (SACs) will apply for their own update
    CDS-11305 Warning: Column 'E2B.MESSAGEHEADER' property DEFAULT VALUE exceeds maximum length (60) - Truncated
    The table that I am trying to capture looks like this:
    E2B
    E2B_ID NOT NULL NUMBER
    MESSAGEHEADER MESSAGEHEADER_TYPE
    DATE_TRANSMITTED DATE
    DATE_RECEIVED DATE
    DATE_ACKNOWLEDGED DATE
    ... other columns ...
    MESSAGE CLOB
    and MESSAGEHEADER_TYPE looks like this:
    MESSAGEHEADER_TYPE
    MESSAGETYPE VARCHAR2(16)
    MESSAGEFORMATVERSION VARCHAR2(3)
    MESSAGEFORMATRELEASE VARCHAR2(3)
    MESSAGENUMB VARCHAR2(100)
    MESSAGESENDERIDENTIFIER VARCHAR2(60)
    MESSAGERECEIVERIDENTIFIER VARCHAR2(60)
    MESSAGEDATEFORMAT NUMBER(3)
    MESSAGEDATE NUMBER(14)
    Is is possible to use Designer to capture tables that include object types?

    hi,
    while running the package, use the activity "Maintain Table Reduction" in phase System Analysis to include / exclude / reduce the table from transfer.
    Srila.

  • Incorporating transaction types from F-43 to FB60...urgent help !!

    Hey guys...i need urgent help...my client is upgrading from ECC.5 to ECC.6 and in process they will no longer be using F-43 . Now they want me to incorporate all the transaction types from F-43 to FB60. Can someone explain the process. Thanks in advance.

    Dear Stiffler,
    The Payment Method field (ZLSCH) is not controlled via field status.
    This field cannot be set to required in the standard functionality in
    FB60.
    It means that for Vendor document entry for "payment method",
    you can only achieve it by creating a validation rule at call-up
    point 2.
    Or You can insert it into a Payment Term by OBB8 and insert the Payment Term into Your vendor/customer master data.
    I hope this helps.
    Mauri

  • ANYBODY GIVE ME THE TABLE/TABLES THAT CONTAIN TCODE AND DEVELOPMENT CLASS

    ANYBODY GIVE ME THE TABLE/TABLES THAT CONTAIN TCODE AND DEVELOPMENT CLASS

    Hi phani,
                 The table TSTC contains the transaction codes.
    Also the below links provides a lot of info on the Standard SAP Tables.
    http://www.sapdev.co.uk/tables/tables.htm
    Pls reward if useful..
    Thanks,
    Sirisha.

  • Table that contain epstp field

    dear all expert
    i want to create report for pr relase
    i have some problem, in item category i found epstp field, but i cannot found the table
    in eban i found pstyp, but its different with epstp
    please help me to found table that contain epstp field

    Hi,
    you can find in T163X and T163Y.
    epstp is Item category in purchasing document.
    Regrds,
    Nikhil.

  • When I execute my code that contains SetCtrlVal, I get the following error:

    When I execute my code that contains SetCtrlVal, I get the following error:
    “Invalid argument type found double expected int.”   The variable in question is declared double, and from reading the help info, the variable should adapt to the declared type.
    Solved!
    Go to Solution.

    A typical reason for this error is using a wrong panel handle in SetCtrlVal: check that the handle passed to the function effectively is the one returned from LoadPanel or NewPanel function.
    Another common issue it trying to address a control on a tab page using the handle of the panel that holds the tab control: you must consider that each tab page has its own panel handle as it were a separate panel; you can retrieve the handle associated with tab pages with GetPanelhandleFromTabPage () command.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How do you save dynamic data type, from the DAQ assistant, for use in Excel or matlab?

    Currently, I have the following basic VI setup to save Data from my PCI6221 Data Aquisition Card.  The problem I'm having is I keep getting the last iteration of the while loop in the measurement file and that's pretty much it.  When I try to index the data leaving the loop it gives me a 2D array of Data which cannot be input into the "Write to Measurement File" VI.  How would I save this to a useful Data/time step format?  I was wondering of a way to continuously collect the Data and then save it in a large measurement file that I would manipulate in Matlab/excel?  Am I using the wrong type of loop for this application?  I also noticed my Dynamic Data array consists of data, time, timestep and then a vector of the data taken.  Is it possible to just get a vector of the time change per sample alongside the data?    Sorry for the barrage of questions but any help would be greatly appreciated, and thanks in advance!
    -Bryan
    Attachments:
    basic DAQ.vi ‏120 KB

    There is a VI in the Express > Signal Manipulation palette called "From DDT" that lets you convert from the Dynamic Data Type to other data types that are more compatible with operations like File I/O....for instance, you could convert your DDT into a 2D array and use the Write To Spreadsheet File.vi.  Just a thought...
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

    In Mail 7.3 on my Retina MacBook Pro on OS 10.9.4, how can I type from the keyboard into a mail message using the Apple Symbols font?
    When I select the Apple Symbols font from the list accessed from under Format/"Show fonts"/collection-all fonts/Apple Symbol, and then continue typing, I get normal letters, if in a slightly different font.
    How can I type using the Apple Symbol font?  I want to use that font to include keyboard and cursor selections of actual screen symbols to help write easily understood explicit computer lesson emails to my 92 year-old mom from a few hundred miles away.
    Steve

Maybe you are looking for

  • 160gb ipod classic won't display album artwork...sometimes

    I have a 160GB iPod Classic (version 2.0.4 PC), and ran into a strange problem regarding displaying album artwork. Here's what I can describe: --> When browsing through albums, any albums that have been added to my iPod or had their info changed sinc

  • Problem in creating time series objects for a planning area

    Hi Friends, I am working on SCM 4.0 APO. I am trying to create the time  series objects for a  'Z'planning area which i have created. This Planning area is linked to a planning object structure which contains only three characteristics 9amatnr,9alocn

  • Problem with XMLDOM package (Oracle 10.2.0.1.0)

    Hi, I am using the dbms_xmldom package to generate xml files (specific structure). Below is the code but It produces nothing (dbms_output does not return) : DECLARE doc xmldom.DOMDocument; main_node xmldom.DOMNode; root_node xmldom.DOMNode; root_elmt

  • Iphone 4s gets too hot

    iphone 4s gets too hot

  • Macbook Pro Early 2011 13" Comptability

    I'd like some brief clarification on compatibility with RAM and SSD's on my Macbook Pro Entry-class 2.3Ghz Intel i5 Sandy Bridge (1199) with 2 x 2GB 1333mhz ram 1600Mhz ram will work correct? It won't run at 1600 but will still function at 1333 is my