Need query linking parent and child discrete jobs created through ascp planning

Could you help me create a query that will show both the parent and child discrete jobs created through ascp run? I do not need entire query. I need to know the names of tables and understand the links or joins between tables. Then, I shall be able to write the sql on my own.
Thanks

Just use a format like this:
http://<Server Name>:<port Number>/OpenDocument/opendoc/openDocument.jsp?sDocName=reportB&sType=wid&sRefresh=Y
&lsMObjectName=[test1],[test2]
Here in lsM[ObjectName] parameter [ObjectName] = the object name which you want to send data to ReportB
I can give you a idea of creating hyperlink for jumping another report (Here ReportB)
Just use  a formula like that in any cell:
="<a href=http://<Server Name>:<port Number>/OpenDocument/opendoc/openDocument.jsp?sDocName=reportB&sType=wid&sRefresh=Y&lsMObjectName=[test1],[test2]&sWIndow=New> Click here to view </a>
Now from the property select Read cell content as "Hyperlink"...
thats it......
For more information please see the
"OpenDocument" artile
Hope you can  get help from this
Edited by: Arif Arifuzzaman on Aug 20, 2009 7:24 AM

Similar Messages

  • Need query to link parent and child discrete job planned through ascp

    Could you help me create a query that will show both the parent and child discrete jobs created through ascp run? I do not need entire query. I need to know the names of tables and understand the links or joins between tables. Then, I shall be able to write the sql on my own.
    Thanks

    Hi;
    Please check below thread which could be helpful for your issue:
    http://forums.oracle.com/forums/thread.jspa?messageID=9155702
    Regard
    Helios

  • How to link parent and child relation in Metapedia

    How to link parent and child relation in Metapedia

    Vamsi,
    Did you every determine how to do what you were asking about? Where you thinking of how to link a parent term to a child term (i.e. like a related term) or was this about linking a term to a different metadata object (e.g. table or report) ?

  • How to use Opendoc to link parent and child

    I have parent and child reports, I want to link them. When I click parent id then it should display child report.
    How to use Opendoc for this?
    Thanks,
    Charita

    You can use openDoc selection variable method for link the reports.
    Refer this link
    http://book.soundonair.ru/sams/ch31lev1sec2.html#PLID2

  • How to persist parent  and child tree node data through JSF and Hibernate

    Dear dudes,
    I'm a novice to JSF and Hibernate
    Actually i want to create a tree structure where for each child node, i should have the parent node reference in my form and then when i save, i need to save the corresponding child node data in the database.
    node-1
      node 1-1
         node 1-11a
      node 1-2
    node-2
       node 2-1
       node2-2Whenever i click node 1-1 the corresponding parent node ( node-1) reference should appear in my form and when i save this data this data should be saved under parent node and the tree should be re-rendered.
    How this can be accomplished and if there are any URL's please refer.

    Everybody need not face the same problem you faced. And moreover, everyone out here have their own issues to solve. If people are helping out here, its cause of their passion. Please try to be polite.
    First of all, what is that you have tried on the issue? Could you please share your work so that we can try to fill the gaps?

  • How to build a query across parent and child object fields?

    As a part of an Integration Requirement, I need to query Opportunity records that have been Modified after a specific date and time?
    Now, Opportunity has a child object called ProductRevenue with a one to many relationship. Is there anyway I can construct a querypage that will fetch records whose Opportunity fields 'OR' its child ProductRevenue's fields have been modified after a specific date and time?
    I have tried using the SearchSpec argument, but it does not let me query across child object fields.
    For eg:-
    ObjOpptyQueryPageInput.ListOfOpportunity.Opportunity.searchspec = "([ModifiedDate] > '01/01/2013 00:00:00') OR ([ProductRevenueData.ModifiedDate] >= '01/01/2013 00:00:00')";
    [This above code written in C# thew me an error saying - The object Opportunity does not have an integration component called - ProductRevenueData.ModifiedDate.]
    Any help will be greatly appreciated. Thank you.

    Hi,
    As far as I know this can't be done at once because you have to consider :
    - Every Opportunity and their time-limited ProductRevenues
    AND
    - Time-limited Opportunities
    If you want to achieve this, you have to consider the 2 datasets separately and make your first query :
    ObjOpptyQueryPageInput.ListOfOpportunity.Opportunity.searchspec = "([ModifiedDate] >= '01/01/2013 00:00:00')";
    but also another query with the restriction on the ProductRevenue Searchspec.
    This shouldn't be too hard because the searchspec functionality is present at each level :
    - ListOfOpportunity -> Opportunity (the top-level that you used for your query)
    - ListOfOpportunity -> Opportunity -> ListOfProductRevenue -> ProductRevenue (the sub-level that you should use for the second query)
    Then in your C# code, you merge the 2 datasets and you end up with your expected result.
    Hope this helps,
    Charles.
    http://www.dubant.com

  • ORACLE SQL Query with Parent and Child structure

    I have 2 tables which are Account tbl and Customer tbl, the structure is like below:
    Account tbl
    Customer_ID    Account_ID    Parent_Account_ID    
    3780952        3780952         3780952
    3780997        3780997         3780997
    3781004        3781004         3780997
    Customer tbl (Customer_Group have different value, but im only interest on Personal)
    Customer_ID      Customer_Group
    3781004          Personal
    3780997          Personal
    3780952          PersonalThe rule to determine PS/NonPS, Principle, Supp as per below:
    **PS/NonPs**
    Customer_ID equal to Parent_Account and Parent_Account is unique (not exist more than 1)  then NonPs.
    Customer_ID equal to Parent_Account and Parent_Account is non unique OR -   Customer_ID is not equal to Parent_Account then PS    
    **Principle**  IF NonPS then Principle is Null IF PS - If Customer_ID equal to Parent_Account then Principle is Y else N
    **Supp** IF NonPS then Supp is Null IF PS - If Customer_ID not equal to Parent_Account then supp is Y else N The final output should be like this
    Customer_ID    Account_ID    Parent_Account_ID   PS/NonPS   Principle   Supp
    3780952        3780952       3780952             NonPS       Null        Null
    3780997        3780997       3780997             PS          Y           N
    3781004        3781004       3780997             PS          N           Y I alredy tried many times but still cant get the output..anyone can help ?

    hi,
    i hope this is what you want , this query matches all of your mentioned requirements .
    WITH accounts AS
         (SELECT 3780952 AS customer_id, 3780952 AS account_id,
                 3780952 AS parent_account_id
            FROM DUAL
          UNION ALL
          SELECT 3780997 AS customer_id, 3780997 AS account_id,
                 3780997 AS parent_account_id
            FROM DUAL
          UNION ALL
          SELECT 3781004 AS customer_id, 3781004 AS account_id,
                 3780997 AS parent_account_id
            FROM DUAL),
         customer AS
         (SELECT 3781004 AS customer_id, 'Personal' AS customer_group
            FROM DUAL
          UNION ALL
          SELECT 3780997 AS customer_id, 'Personal' AS customer_group
            FROM DUAL
          UNION ALL
          SELECT 3780952 AS customer_id, 'Personal' AS customer_group
            FROM DUAL)
    SELECT customer_id, account_id, parent_account_id, "PS/NonPS",
           CASE
              WHEN "PS/NonPS" = 'NonPS'
                 THEN NULL
              WHEN customer_id = parent_account_id
                 THEN 'Y'
              WHEN customer_id <> parent_account_id
                 THEN 'N'
           END principle,
           CASE
              WHEN "PS/NonPS" = 'NonPS'
                 THEN NULL
              WHEN "PS/NonPS" = 'PS' AND customer_id <> parent_account_id
                 THEN 'Y'
              WHEN "PS/NonPS" = 'PS' AND customer_id = parent_account_id
                 THEN 'N'
           END SUM
      FROM (SELECT   t1.customer_id, t1.account_id, t1.parent_account_id,
                     CASE
                        WHEN t1.customer_id = t1.parent_account_id
                        AND (SELECT COUNT (*)
                               FROM accounts
                              WHERE parent_account_id = t1.parent_account_id) = 1
                           THEN 'NonPS'
                        ELSE 'PS'
                     END "PS/NonPS"
                FROM accounts t1, customer t2
               WHERE t1.customer_id = t2.customer_id
            ORDER BY t1.customer_id)
    output
    CUSTOMER_ID     ACCOUNT_ID     PARENT_ACCOUNT_ID     PS/NonPS     PRINCIPLE     SUM
    3780952     3780952     3780952     NonPS          
    3780997     3780997     3780997     PS     Y     N
    3781004     3781004     3780997     PS     N     YThanks,
    P Prakash
    Edited by: prakash on Jan 17, 2012 3:38 AM

  • How to differentiate between Parent and Child in IBASE?

    Hi. I am working on enhancing a BAPI :BAPI_GOODSMVT_CREATE by calling the following function module IBPP_CREATE_IBASE at its exit.
    The BAPI is being called from an SAP ME system and will be passing MATNR and Serial Number of Parent and Child materials to create the IBASE in ECC system. I am confused as to how to differentiate between whether a object is Parent or a Child when the BAPI: BAPI_GOODSMVT_CREATE is called.

    if you have NULL valued fields. If
    you do a compare and one or both are NULL, then the result is always NULL,
    never true or false. Even comparing two fields which are both NULL will
    give NULL as result, not true! Or if you have something like "select
    sum(field) from ..." and one or more are NULL, then the result will be
    NULL. Use always "if field is NULL ..." for NULL checking and for safety
    maybe something like "select sum( IsNull(field,0) ) from ...". Check the
    function ISNULL() in the manual.

  • Query to delete both parent and child record....

    hai.........
    I tried to delete a record from the table.... but i get a error saying 'child record' exist cannot delete record'.... can u plz tell me the query to delete both parent and child record....
    plz help me.....
    anoo...

    Hello,
    Is already answered in {thread:id=824593}. Please mark the question as answered.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Hierarchy query showing  parent and their child records

    I'm a newbie on Oracle using Tora,
    I'm Trying to run a query that will show me a hierarchical view of parent and child records in a table.
    So far I"ve found a query format like this, but its not working
    SELECT employee_id, last_name, manager_id
    FROM employees
    CONNECT BY PRIOR employee_id = manager_id;
    but when running it with my tables and columns I get an error message
    saying something 'cannont run CONNECT BY in subquery'
    Any ideas?

    Thanks for all the help, I'm getting the error message
    'ORA-01473: cannot have subqueries in CONNECT BY clause'
    Here's my actual query
    select           resource_id, lname, org_id
    from           std_resource
    start with      resource_id = 413783
         connect by prior resource_id = org_id;
    I'm trying to display a hierarchical list of user resource_id's, last names, and org_id's from the std_resource table starting withe resource_id 413783

  • Need help with arranging Parent and Child item accordingly

    Hi Experts,
    I have a sales BOM in SBO, here we need to show both the Parent and child items. but we do not have to show the Sr.no and Qty for the child items.
    Kindly help me out how I can do it.
    Below pasted is the image of my sales order,
    Also i have attached the report with it.
    Requesting you to kindly help..
    thanks and regards,
    Nandish.

    The Sales BOM helps in identifying that. The product in Red is the Parent Item and the product in Grey are Child items.  The paretn item is the table OITT.Code and child items are in ITT1.code.
    Let me now if you require more information.
    Also how can I send you the layout here for your reference?
    thanks in advance,
    Nandish.

  • Session expiration issue with parent and child window

    Hi,
    We have two applications (App1 - Implemented using JSF, Spring and Hibernate and App2 -Implemented using Spring MVC, Spring JDBC).
    I have implemented 'Test Access Content' functionality in App1.
    First admin user (Role- Manager) needs to login to App1
    As part of 'Test Access Content' functionality, he enters URL with encrypted key and click 'Test Access' button.
    It opens new window (implemented using java script - window.open) and hits spring controller of App2.
    In spring controller of App2, I am decrypting the key to get user details. After that i am setting user details in session, constructing final URL to display actual content.
    Problem is parent window maintains session till child window renders response. Once child window renders response, parent window loosing session.
    So, if i click any button in parent window after child window renders response, it displays login page as there is no session for parent window.
    Please note that App1 and App2 are sharing same domain. only context paths are different for both apps (app1 and app2).
    Any suggestions on this issue are much appreciated. Please let us know if you have any questions.

    Hi,
    When you open a child window from parent window then you can access child data in the parent window through javascript.
    We have a main web page. There are quite many links on it from which >user can open new web pages but the data is saved when the submit >button on the main page is clicked. Also data that user entered on the >other sub pages is not displayed in the main window.
    1 is this a case of parent and child window.case 1 When you are submitting the main page you need to run javascript function and get data from child windows and save that to database or session. next time when you are displaying the main window you need to query session or database to display the child window data in the main window.
    Case 2> closing child window and you need data in the parent. This can be done in two ways.
    1> When you are closing the child window populate some variables of the main window using javasript.
    2> Save the values in the database or session and refresh the main window and extract data from database or session
    Where should the data be saved that user enetered on the sub pages as the data is not shown in the main page - should it be stored in the session?It is design decision. You can store data in either session or database when you are closing the child window. But ifyou are saving the data on the main page then you can populate main page with child windows data using javascript. Save the data t database when main window data is saved. Depends on business requirements.
    In short if you are saving child windows data in session or database then you need to refresh main screen to pull that data otherwise populate main screen using javascript.
    I hope i answered your questions :) best of luck

  • Check for same parent and child combination

    hi all i am using oracle 10g. can you please help me in this issue.
    how do i know if the same combination of parent and child present in the table
    key value and value are the values given by user.
    if the user try to create a same profile with same set of key_value and value then that should be avoided
    so how to achieve that.
    example profile already in the table
    -- PROFILE_ID,DETAIL_ID,PARENT_DETAIL_ID,KEY_VALUE, VALUE, LAST_IND
    100,               1,               NULL,                      1,              CDE,     N
    100,               2,              1,                            2,              XXX,     N
    100,               3,              1,                            2,              YYY,    N
    100,               4,              1,                            4,              NEW,    Ynew profile by user -- it should throw an error saying that same profile already present
    -- PROFILE_ID,DETAIL_ID,PARENT_DETAIL_ID,KEY_VALUE,VALUE,LAST_IND
    101,               5,               NULL,                      1,              CDE,    N
    101,               6,              5,                            2,              XXX,    N
    101,               7,              5,                            2,              YYY,    N
    101,               8,              5,                            4,              NEW,    YEdited by: DeepakDevarapalli on Dec 9, 2009 9:48 AM
    Edited by: DeepakDevarapalli on Dec 9, 2009 9:59 AM

    sir i have used your logic, each query works fine and displays the correct results below are the results.
    SELECT   SUBSTR (t.ptxt, 2, LENGTH (ptxt)) profile_values
        FROM (SELECT     SYS_CONNECT_BY_PATH (rtxt, ',') AS ptxt
                    FROM (SELECT key_value || '/' || VALUE AS rtxt,
                                 ROW_NUMBER () OVER (PARTITION BY profile_id ORDER BY key_value,
                                  VALUE) AS rnum
                            FROM sp_profile_detail
                           WHERE profile_id IN (100, 101))
                   WHERE CONNECT_BY_ISLEAF = 1
              START WITH rnum = 1
              CONNECT BY rnum = PRIOR rnum + 1) t
    GROUP BY ptxtresults from query 1
    profile_values
    1/CDE,2/XXX,2/YYY,4/111
    1/CDE,2/XXX,2/YYY,4/222
    SELECT   SUBSTR (s.ptxt, 2, LENGTH (ptxt)) profile_values
        FROM (SELECT     SYS_CONNECT_BY_PATH (rtxt, ',') AS ptxt
                    FROM (SELECT key_value || '/' || VALUE AS rtxt,
                                 ROW_NUMBER () OVER (ORDER BY key_value,
                                  VALUE) AS rnum
                            FROM sp_profile_detail1)
                   WHERE CONNECT_BY_ISLEAF = 1
              START WITH rnum = 1
              CONNECT BY rnum = PRIOR rnum + 1) s
    GROUP BY ptxtresults from query 2
    profile_values
    1/CDE,2/XXX,2/YYY,4/111
    but when i tried to combine both and do a minus it throws me an error .
    ORA-00600: internal error code, arguments: [expcmo_strdef1], [27], [27], [], [], [], [], []
    -- target
    SELECT   SUBSTR (t.ptxt, 2, LENGTH (ptxt)) profile_values
        FROM (SELECT     SYS_CONNECT_BY_PATH (rtxt, ',') AS ptxt
                    FROM (SELECT key_value || '/' || VALUE AS rtxt,
                                 ROW_NUMBER () OVER (PARTITION BY profile_id ORDER BY key_value,
                                  VALUE) AS rnum
                            FROM sp_profile_detail
                           WHERE profile_id IN (100, 101))
                   WHERE CONNECT_BY_ISLEAF = 1
              START WITH rnum = 1
              CONNECT BY rnum = PRIOR rnum + 1) t
    GROUP BY ptxt
    MINUS
    -- staging
    SELECT   SUBSTR (s.ptxt, 2, LENGTH (ptxt)) profile_values
        FROM (SELECT     SYS_CONNECT_BY_PATH (rtxt, ',') AS ptxt
                    FROM (SELECT key_value || '/' || VALUE AS rtxt,
                                 ROW_NUMBER () OVER (ORDER BY key_value,
                                  VALUE) AS rnum
                            FROM sp_profile_detail1)
                   WHERE CONNECT_BY_ISLEAF = 1
              START WITH rnum = 1
              CONNECT BY rnum = PRIOR rnum + 1) s
    GROUP BY ptxt

  • OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF. then 2.  need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that

    OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF; then 2. I need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that??
    I had been saving as a PDF and then reducing the size of the PDF by printing it as a PDF with a degree of image compression. I write manuals with a LOT of screen captures and line art that needs to be clear. So it is a balancing act between image clarity and PDF size. The PDFs on the web need to be smaller - sure you can undertsand.
    Anyway, when I print the PDF again, I lose both my destinations and bookmarks.
    Anyone know of any way to avoid that?

    Control the images by creating a custom PDF Job Options and then selecting it in the PDF Job Options drop-down of the PDF setup dialog box (File > Save as PDF...)
    Create the custom PDF Job Options file with Distiller. If you do not have Distiller, open the Printing Preferences of the Adobe PDF printer. Start with the Smallest File Size Job Options settings and Edit.

  • Delivery document how to print the BOM Parent and Child items

    Hi,
    I have a production BOM. In Delivery document how to print the Parent and Child items Item Code and Qty.At the time
    of add a delivery document Inventory stock redused only in Parent Item not child item because child item stock already reduced in issue for production.

    If you need to print both the BOM Parent and Child items, you have to create your own report. BOM is only for production if it is not Sales type.
    Thanks,
    Gordon

Maybe you are looking for

  • Non cumulative cube

    hi, i have a problem in changing the fields in validity table. in cube i went to extras->maintain non cumulative values in that along with 0calday i have ticked two more fields. now i want to remove those fields from validity table. but if i click on

  • Disable Clamshell Mode?

    Currently, I have a 3rd generation MacBook Pro hooked up to an external TV via the DVI output. When I close the laptop lid, the external TV becomes the primary (and only) active monitor, while the laptop stays awake. I believe this is called Clamshel

  • How to reformat my iphone

    How to reformat my iphone 4

  • Usb malfunction?

    so when i connect the ipod through usb to the laptop, it does not read my "ipod". Therefore i am not able to add or remove songs from the ipod. Yet, with the ipod schuffle, it reads it... would it be the usb cable for the ipod mini, causing the probl

  • RFQ Conditions automatically gets copied in new document

    Hello All, I have an issue. I maintain net price and discount condition in RFQ for service and save it. Whenever I maintain price for new service RFQ the discount conditions maintained in the previous RFQ gets automatically copied, which is undesirab