Query for Return component

Hi All!
I would like to create quey about return component ( production). BUt i don't know how to get only data relate return component because i can not discriminate data between  reciept Product and receipt component which issued for production.
The query:
Item code, Description, Quatity
Thanks!

Hi,
I am assuming you are using manual instead of backflush issue method, right?
Thanks,
Gordon

Similar Messages

  • Query for License Component Application

    Hi All,
    In OAM we can able to view the "License Component Application" which will give the list of components license.
    I need to get this from sql, can you please let me know which table is it.
    for example, in OAM license manager i can see that the "Project Collaboration" is licensed which is coming under "Projects" --> "Project Costing"
    fnd_product_installations gives the installed products, but not the components.
    I am getting the information which i require through OAM, but it would be useful if some one give the query to find this at backend.
    Thanks & Regards,
    Rakesh

    Hussein,
    All the options in the note is giving only the product/module installed.
    Let me clearly tell the requirement. I have got a request from asset team regarding the license of all the oracle applications.
    In that they have mentioned many oracle components, ex : Oracle Project Collabration.
    I can see this is licensed in the OAM through -> OAM --> License Manager --> Products -> License Component Application < In this all the conponents are displayed >
    From where we can get this infro from database. I am sure there will be some tables which is having these infromation.
    Thanks & Regards,
    Rakesh

  • Return Component flag in Good Receipt

    Hello, I'm creating a report which need to know which one is a Good Receipt and a Return Component from Production Order.
    I've tried to look at the table, but can't find which is the flag for Return Component and the other (Good Receipt).
    Does anyone can help?
    Thanks
    -Flo

    Hi,
    Try this:
    SELECT  T0.DocNum as [Receipt No.] ,T1.BaseRef as [Prod Order No.] ,T1.ItemCode ,T1.Quantity
    FROM OIGN T0
             INNER JOIN IGN1 T1 on T0.DocEntry=T1.DocEntry 
    WHERE TranType is null and BaseType=202
    Thanks,
    Neetu

  • Return Code - Query for Multiple Rows as XML

    Hi,
    I'm executing an MSSQL stored procedure through the "Query for Multiple Rows as XML" activity in LiveCycle ES. I do this through a call statement such as this:
    { call MyStoredProc(?) }
    This works great, the stored procedure always returns a record set (with or without records). I use this activity rather than "Call Stored Procedure" because I can transform the record set into XML right away within this activity. Unfortunately any exception arising from invoking this stored procedure cannot be handled within the workflow as this activity does not have an exception handler (lightning bolt). In an attempt to handle at least some exceptions we have decided to use try/catches within the stored procedures and return different error codes. Now the problem I am faced with is that there is no way to retrieve the returned code within any of the SQL activities. We don't want to have to write an execute script for each of these SQL calls. Is there any way to do this? Seems like I'm 95% there.
    Thanks
    Nic

    Thanks for the offer, unfortunately we would need something certified by Adobe.
    Nic

  • Query for file version less than 10.0 does not return expected data

    I'm trying to build a query for all PCs that have a version of Iexplore.exe in c:\windows\program files\ that is less than 10.0 .  When I run the query it returns no data. When I change 10.0 in the query to 9.9 it returns files with version 10.xxx in
    the results.  Its as if it is seeing 10.0 as 1.0.   Is this expected ?
    select SMS_R_System.Name, SMS_R_System.ADSiteName, SMS_G_System_SoftwareFile.FileName, SMS_G_System_SoftwareFile.FileVersion from  SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where
    SMS_G_System_SoftwareFile.FileName = "iexplore.exe" and SMS_G_System_SoftwareFile.FilePath = "C:\\program files\\internet explorer\\" and SMS_G_System_SoftwareFile.FileVersion < "9.9"

    It is because the values are not integer, they are a string. And therefore 1 is smaller then 9.
    http://www.enhansoft.com/

  • Function returning SQL query for mutiple series in a chart

    Hi,
    I would like to know if there is a way to specify a single PL/SQL function returning the queries for multiple series in a 2D Line Flash Chart. I have multiple series in my chart that has different values in the where clause. I can write a PL/SQL function that can return all these queries in one shot. Is there anyway that I can specify this function as returning the queries for all the series in the chart?
    As an example, assume that I am using the following three queries for the series in my chart:
    select deptno, count(*) from emp where deptno = 10 group by deptno
    select deptno, count(*) from emp where deptno = 20 group by deptno
    select deptno, count(*) from emp where deptno = 30 group by deptno
    I can't write a PL/SQL function that returns a query in the multiple series syntax (SELECT link, label, series_1_value [, series_2_value [, ...]]FROM ...) as I am using an aggregate function and my where clause is different for each series.
    Thanks,
    Rupesh

    Hi Roel,
    Thanks for your reply. I am already using an analytical function (RATIO_TO_REPORT(COUNT(*)) OVER () ) in my actual report. My problem is that the query for one series differs from the other only in one where clause. I will be able to dynamically able to generate all the queries for all the series in one pl/sql function. But the chart definition screen does not allow us to define a single function that returns queries for the all the series - possibly seperated by some seperator like S1: select.... S2:select and so on.
    Regards,
    Rupesh

  • No authorization for the component (query name)!

    Hello all,
    when i am publishing the query in web, the following error message is displayed!
    "No authorization for the component (query name)!"
    i had installed and configured everything here, so the person responsible for authorization is none other than me. what i shud do now? shud i add any other authorization profile to the username created? or still any configuartion is required?
    please let me know!
    Thanks,
    Ravi

    Hi ARK,
    thanks for the info.
    i had assigned SAP_ALL and SAP_NEW profiles to the user.
    let me say clearly that when i am executing the Query in the designer it is working fine,no issues in Bex browser too. but when i want to publish safely exexuted query in web (clicking the button publish the query in web) i am getting the above mentioned error!
    do suggest me what is the authorization profile that is needed to serve my purpose?
    hope this time i am clear!
    Ravi

  • Query is returning multiple records for a bank account id and party id

    Hi All,
    I am not getting why this query is returning multiple records for a particular bank account id and party id:
    SELECT instrument_payment_use_id
    ,instrument_type
    ,instrument_id
    ,start_date
    ,ext_pmt_party_id
    FROM iby_pmt_instr_uses_all
    WHERE instrument_id =:lv_num_ext_bank_account_id
    and exists (select 1 from iby_external_payees_all b where PAYEE_PARTY_ID= :lv_num_party_id and b.ext_payee_id = ext_pmt_party_id)
    I want above values to be used in api iby_disbursement_setup_pub.set_payee_instr_assignment in R12.
    Please help asap.
    Thanks

    O/P of query run for
    SELECT rowid, instrument_payment_use_id
    FROM iby_pmt_instr_uses_all
    WHERE instrument_id =6642
    AND EXISTS (
    SELECT 1
    FROM iby_external_payees_all b
    WHERE payee_party_id= 85470
    AND b.ext_payee_id = ext_pmt_party_id);
    is below:
    Rowid     INSTRUMENT_PAYMENT_USE_ID
    AABiDXAGIAABhiKAAS     236586
    AABiDXAGRAABSjtAAz     148437
    The version is R12

  • I need a query that returns the average amount of characters for a text colum in MS SQL.

    I need a query that returns the average amount of characters
    for a text colum in MS SQL.
    Could someone show me how?

    Sorted, i need the
    DATALENGTH
    function

  • Query to return week no. 1 for 01-04-1999.

    Dear Oracle users,
    I want suggestions for the query, which returns week no. 1 for
    starting Fiscal Year( 1-04-1999 ) and week no. 52 for the last
    day of the Fiscal Year. ( 31-03-2000 ). Oracle has format mask
    "WW" in Date Format Model, but it returns week no. 1 for
    starting calender year ( 1-01-1999 ).
    Thanks
    Nishit
    null

    Nishit Turakhia (guest) wrote:
    : Dear Oracle users,
    : I want suggestions for the query, which returns week no. 1 for
    : starting Fiscal Year( 1-04-1999 ) and week no. 52 for the last
    : day of the Fiscal Year. ( 31-03-2000 ). Oracle has format mask
    : "WW" in Date Format Model, but it returns week no. 1 for
    : starting calender year ( 1-01-1999 ).
    : Thanks
    : Nishit
    =================================================
    Hi Nishit,
    If you require only this logic in the particular
    program then use decode function ,in oracle financial apps
    you can set up your fiscal year any date.
    Bye
    Debasis
    null

  • QUERY FOR GOODS RETURN -- GRPO -- PO HISTORY

    HI Folks
    I need to write a query for the following requirement.
    Goods Return
    It's Base GRPO (no & date)
    and it's PO (date & no)
    The above fields should be in the same query.
    Can anyone help me on this please.
    regards
    karthik

    Hi
    Select  T0.Project AS 'Job Number', T0.DocDate as [Date of Goods Return],T0.DocNum As [Good Return Number],T2.DocNum as [GRPO Number],
    T2.DocDate as [GRPO Date],T4.DocNum as [PO Number],T4.DocDate as [PO Date],T0.CardName as 'Vendor Name',SUM(t1.linetotal) as ' Basic'  
    FROM ORPD T0
              Inner Join RPD1 T1 on T0.DocEntry=T1.DocEntry
              Inner Join OPDN T2 on T1.BaseEntry=T2.DocEntry and T1.BaseType='20'
              Inner Join PDN1 T3 on T2.DocEntry=T3.DocEntry
              Inner Join OPOR T4 on T4.DocEntry = T3.BaseEntry and T3.BaseType ='22'
    GROUP BY T0.Project , T0.DocDate,T0.DocNum,T2.DocNum,
    T2.DocDate ,T4.DocNum ,T4.DocDate ,T0.CardName
    *When i run this query the BASIC amt is calculated by Multiplying basic * no of line items. Can anybody guide me where changes has to be made. And also i am going to add Freight,Excise,CST & VAT at document level in thus query.*
    regARDS
    KARTHIK

  • OID-Query Entry Return Limit not functioning for OIM

    Hi,
    I have connected Thor Xellerate (Oracle Identity Manager is the new name) to OID 9i and reconciled users from OID. The Query Entry Return Limit set on OID by default is 1000 and I have 1100 hundred users in OID.
    I am able to get all users (means all 1100 users are reconciled) without any problem. I would like to know the significance of this Query Entry Return Limit in this context and whether my understanding is correct or not. Can anybody help me in this regard?
    Thanks & Regards,
    Krishna

    Krishna,
    it's interesting that despite the fact that the OID entry return size limit is set to 1000 the reconcile can retrieve 1100 entries. The default behaviour should be that you should see an error msg stating "size limit exceeded". Anyway set the size limit in OID to a higher value just to be on the save side.
    regards,
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Query to return list of all missing primary key ids from table T1

    I found this query online that returns a start and stop for a range of all missing primary key id values from table T1. However i want to rewrite this query to return a whole list of all the missing primary key ids and not a start and stop range. any help plz?
    select strt, stp
    from (select m.id + 1 as strt,
    (select min(id) - 1 from T1 x where x.id > m.id) as stp
    from T1 m left outer join T1 r on m.id = r.id - 1 where r.id is null)x where stp is not null

    with t as
              select  1 as id from dual union all
              select  2 as id from dual union all
              select  3 as id from dual union all
              select  5 as id from dual union all
              select  8 as id from dual union all
              select 10 as id from dual union all
              select 11 as id from dual union all
              select 20 as id from dual
    select  id_start + level missing_id
      from  (
             select  id id_start,
                     nullif(lead(id) over(order by id) - 1, id) id_end
               from  t
      start with id_end is not null
      connect by prior id_start = id_start
             and prior dbms_random.random is not null
             and level <= id_end - id_start
    MISSING_ID
             4
             6
             7
             9
            12
            13
            14
            15
            16
            17
            18
    MISSING_ID
            19
    12 rows selected.Or:
    with t as
              select  1 as id from dual union all
              select  2 as id from dual union all
              select  3 as id from dual union all
              select  5 as id from dual union all
              select  8 as id from dual union all
              select 10 as id from dual union all
              select 11 as id from dual union all
              select 20 as id from dual
    select  id_start + level - 1 missing_id
       from  (
              select  min(id) id_start,
                      max(id) id_end
                from  t
       connect by level <= id_end - id_start
    minus
    select  id
       from  t
    MISSING_ID
             4
             6
             7
             9
            12
            13
            14
            15
            16
            17
            18
    MISSING_ID
            19
    12 rows selected.SY.

  • Query to return next 7 dates

    Hello,
    is there a way to return the next 7 dates just using a query... for example, I need a query that returns:
    select (I don't know that put here) from dual
    Date
    2012-10-05
    2012-10-06
    2012-10-07
    2012-10-08
    2012-10-09
    2012-10-10
    2012-10-11
    If possible, I would like to know if there's a way to pass a date and based on it, the query returns the next 7 dates based on the passed date... for example:
    select (I don't know that put here) from dual where date > '2012-10-15'
    Date
    2012-10-16
    2012-10-17
    2012-10-18
    2012-10-19
    2012-10-20
    2012-10-21
    2012-10-22
    I really appreciate any help
    Thanks

    Sven W. wrote:
    I don't like connect by. That is fair enough, it is just your opinion.
    It is slow and shouldn't be used for real production code.This however, is absolute garbage.
    Changing the query to return 10,000 dates takes a little over 1s
    SQL> select date '2012-10-15' + level - 1 from dual
      2  connect by level <= 10000;
    <snip>
    28-FEB-40
    29-FEB-40
    01-MAR-40
    10000 rows selected.
    Elapsed: 00:00:01.26>
    In your case you can simply do this
    with inputdata as (select to_date('2012-10-15','yyyy-mm-dd') startday from dual)
    select startday+1 from inputdata union all
    select startday+2 from inputdata union all
    select startday+3 from inputdata union all
    select startday+4 from inputdata union all
    select startday+5 from inputdata union all
    select startday+6 from inputdata union all
    select startday+7 from inputdata ;
    Running your alternative for 10,000 dates took quite some time to create, needed to be put in a file to execute and has been running now for about 15 minutes
    select date '2012-10-15' + 1 from dual union all
    select date '2012-10-15' + 2 from dual union all
    <snip>
    select date '2012-10-15' + 9996 from dual union all
    select date '2012-10-15' + 9997 from dual union all
    select date '2012-10-15' + 9998 from dual union all
    select date '2012-10-15' + 9999 from dual union all
    select date '2012-10-15' + 10000 from dual
    ;It is much more code, takes more time to write, is proven to be incredibly slow and shouldn't be used for real production code.
    Edited by: 3360 on Oct 5, 2012 9:52 AM
    Sorry it took only 12 minutes, it seemed a lot longer when waiting for it
    29-FEB-40
    01-MAR-40
    01-MAR-40
    02-MAR-40
    10000 rows selected.
    Elapsed: 00:12:01.35

  • Help with query to return last possible value

    Can someone please help me create a query for the situation below?
    Table: TABLEA
    Columns:
    FACID VARCHAR2(10),
    DEPTID VARCHAR2(10),
    CHARGENUMBER NUMBER(10)
    I have the following data:
    A, B, 1
    A, B, 2
    C, D, 3
    C, D, 4
    Would like to return the following:
    A, B, 2
    C, D, 4
    In other words, I would like to return the last possible CHARGENUMBER for FACID and DEPTID.
    The table does not have any indexes and it gets loaded from a spreadsheet in that order.
    Thanks so much!

    amazongirl wrote:
    Can someone please help me create a query for the situation below?
    Table: TABLEA
    Columns:
    FACID VARCHAR2(10),
    DEPTID VARCHAR2(10),
    CHARGENUMBER NUMBER(10)
    I have the following data:
    A, B, 1
    A, B, 2
    C, D, 3
    C, D, 4
    Would like to return the following:
    A, B, 2
    C, D, 4
    In other words, I would like to return the last possible CHARGENUMBER for FACID and DEPTID.
    The table does not have any indexes and it gets loaded from a spreadsheet in that order.
    Thanks so much!Hi girl from amazon,
    I hope you give me a note because I answered for a lot of questions and nobody aprecieted that. If you don't me a little point I wil leave this forum because isn't so funny to work for nothing.
    You are my last chance to stay here!
    FACID      DEPTID     CHARGENUMBER
    A          B                     1
    A          B                     2
    C          D                     3
    C          D                     4
    HR: XE > select x.FACID, x.DEPTID , x.CHARGENUMBER from tableA x,
      2   (select DEPTID, FACID, max(CHARGENUMBER) max_val from tableA
      3    group by  DEPTID, FACID ) y
      4    WHERE x.DEPTID = y.DEPTID and
      5          x.FACID  = y.FACID and
      6          x.CHARGENUMBER =max_val;
    FACID      DEPTID     CHARGENUMBER
    A          B                     2
    C          D                     4Regards,
    Ion

Maybe you are looking for