How to query the master block based on one of the values of the detail block

Hello
In the form of version 6i, I have a field in data block which is not defined as a database element. I use this field to store a block of retail value. If I want to ask the form using this field (which represents one of the values of retail block), how should I do this? Pointers?

TIA,

Yes, as Ammad10786 says, the ID's I mentioned are just placeholders for your real values. And done MASTERBLOCKID refers to columns in the masterblock which is the primary key or the join condition to the retail block.

Tags: Oracle Development

Similar Questions

  • Help, how to query the database using pagination

    Hello

    How to query the database using paging for large data.

    any API for this?

    Thank you in advance!

    Hello

    You can specify XmlQueryContext::Lazy as the type of assessment and only call XmlResults:: next() comes as many times as you need.

    John

  • How to extract the details of the application open

    How to get the details of the application opened by programming?

    http://www.BlackBerry.com/developers/docs/7.1.0api/NET/rim/device/API/system/ApplicationManager.html...

  • How to check the details of connection and disconnection of the team? I want to see the rate of use of the software.

    How to check the details of connection and disconnection of the team? I want to see the rate of use of the software.

    Hello

    I'm sorry but there is no option for monitoring the connection and disconnection of a user.

    You can see their activation of license through your admin console.

    Kind regards

    Sheena

  • How to query the data of Contact with multiple fields

    How can I query the data of Contact with multiple fields?

    For example, I'll get contacts which are changed after a point at the specified time and whose country is US. How could I make the chain of research of the SOAP API "Query"?

    And I also want to know how to make a search term for RESTful API for contacts above.

    Any suggestions?

    Thank you.

    Hi Biao,

    The following document describes how query for multiple fields using the SOAP API: request a Contact from several fields.

    And you can search multiple fields using the REST API with the & operator. For example, to search for a Contact by e-mail address and date of creation:

    Hope this helps and please let us know if you need more information.

    Thank you

    Fred

  • How to query the object attribute changed his mind in another display object

    JDeveloper 10.1.3.4

    My requirement is I want to be able to query an object (entity based) view on a nonkey attribute where the value I'm looking on can either be in the database on an existing record or only been experienced by updating a different point of view object based on the same entity (and still commit).

    When you query the second display of a value object just updated via a different point of view object, the second view object always returns no rows. I thought that the process is:

    EntityA
    ViewObjectA based on EntityA
    ViewObjectB based on EntityA

    ViewObjectA - line query with the key = 123. update the attribute Y with value 456 (attribute Y in the null database). Feature for EntityA cache, touch 123, attribute is updated with the value 456
    ViewObjectB - line application with attribute = y. wait record in EntityA just updated cache to be returned. Instead, nothing is returned

    Here is the code I was using (where RandScheduleEdit and RandScheduleSearch are the same view the entity RandSchedule object-based objects)
      public static void main(String[] args) {
        String        amDef = "test.cache.model.AppModule";
        String        config = "AppModuleLocal";
        ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);
        
        ViewObject rsEdit = am.findViewObject("RandScheduleEdit");
        Key rsKey = new Key(new Object[]{40});
        Row[] rsEditRows = rsEdit.findByKey(rsKey,1);
        Row rsEditRow = rsEditRows[0];    
        rsEditRow.setAttribute("SId", new Number(7827));
        
        ViewObject rsSearch = am.findViewObject("RandScheduleSearch");
        rsSearch.setWhereClause("S_ID = :SId");
        rsSearch.defineNamedWhereClauseParam("SId", null, null);
        rsSearch.setNamedWhereClauseParam("SId",new Number(7827));
        rsSearch.executeQuery();
        Row rsSearchRow = rsSearch.first();
        
        Configuration.releaseRootApplicationModule(am, true);
      }
    Why not rsSearch finds the S_ID = 7827 record? It seems to only be interviewing new records in the database and ignoring the record updated in cache just updated?

    Any help much appreciated.

    See you soon,.
    Brent

    rsSearch.setNamedWhereClauseParam ("SId", new Number (7827));

    This might help:
    rsSearch.setQueryMode (ViewObject.QUERY_MODE_SCAN_ENTITY_ROWS);

    rsSearch.executeQuery ();

  • How to query the current free memory in the shared pool

    Hello

    Someone please tell me how to check the current uses of shared pool.

    Any query/Tip/document would be appreciated?

    If you have found errors ORA-04030 then it is more likely at the PGA instead of the SGA. If you had problems with the shared pool you would probably see shared pool latch wait events and others.

    For the ORA-04030 errors, depending on your operating system, can be solved by adding more memory to the operating system or to reduce the amount of work that is performed.

    HTH!

  • How to query the total number of columns and lines filled with data?

    How to get the number of rows and columns in Exel file data using Excel report?

    Since you have posted this question in the forum of LabWindows/CVI, I guess you want to know how to do with CVI.

    You need to know how to open and activate the Excel data file.

    Depending on the function returns the total number of columns and lines col_count row_count, respectively.

    -----------------------------------------------------------------------------------------------------------------------------------------

    int CountColumnsAndRows (void)
    {
    Error HRESULT = 0;
    CAObjHandle rangeCurrentRegionHandle = 0;
    CAObjHandle rangeColumnsHandle = 0;
    CAObjHandle rangeRowsHandle = 0;
      
    unsigned long col_count = 0, row_count = 0;
      
    Must use the 'A1' property and CruuentRegion count the total of columns and lines, including the drafts!
      
    error = CA_VariantSetCString (& MyCellRangeV, 'A1');
      
    error = Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyCellRangeV, CA_DEFAULT_VAL, & ExcelRangeHandle);
    If (error<0) goto="">
      
    error = Excel_GetProperty (ExcelRangeHandle, & ErrorInfo, Excel_RangeCurrentRegion, CAVT_OBJHANDLE, & rangeCurrentRegionHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeColumns, CAVT_OBJHANDLE, & rangeColumnsHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeColumnsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & col_count);
    If (error<0) goto="">
      
    error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeRows, CAVT_OBJHANDLE, & rangeRowsHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeRowsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & row_count);
    If (error<0) goto="">

    Error:

    CA_VariantClear (& MyCellRangeV);
    CA_VariantClear (& MyVariant);
    ClearObjHandle (& ExcelRangeHandle);
    ClearObjHandle (& rangeCurrentRegionHandle);
    ClearObjHandle (& rangeColumnsHandle);
    ClearObjHandle (& rangeRowsHandle);
      
     
    If (error<>
    ReportAppAutomationError (error);
      
    error return;
    }

  • How to query the current setting of an element .css?

    I have an element on the stage that I'm changing when running.

    I need to know the current height of the element to be used in a calculation.

    I know how to reset the height, but is it possible, using the script, to determine the current height setting?

    TIA,

    Carolyn

    Any CSS property are accessible as mentioned seano. I would just add sym at the front, since you're on board animate. Just use the correct scope. Then you can use the variable as needed.

    var theHeight = sym.$("element1").height ();

  • How to query the attributes of xml documents

    I want to query only the details in the number = "705230" id (id is an attribute)

    I tried, but does not help. I should be able to query the value of the core_org_id attribute

    Select extract (CLOB_DATA, ' PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;
    -returns nothing...

    I tried to extract the value for the id of the issue for R_DATE & R_REVIEW_DATE = 705230, but unable to iam.
    The data for all the questions is returned.

    Here is the query used...
    Select extract (CLOB_DATA, 'PcrDocument, PcrOrganization, questions, problem') ISSUE of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;


    Here is the part of the XML document iam mark on...

    -< ns1:PcrDocument id = "PCR-13562" title = "disclosures of EU - CE-1060/2009" version = '1' pcrPublishDate = "' 2012-01 - 11 T 12: 49:02" container = "http://www.w3.org/2001/XMLSchema" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1 = "http://integration.mysite.com/ServiceSchema/v3" > "
    -ns1:PcrOrganization core_org_id = "345840" >
    < ns1:PcrLinkedTo value = "ISSUE" / >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:Issues >
    -< ns1:Issue id = "705230" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:IssueDetail id = "114766798" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    < / ns1:IssueDetail >
    < / ns1:Issue >
    -< ns1:Issue id = "727193" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:IssueDetail id = "117994574" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    < / ns1:IssueDetail >
    < / ns1:Issue >
    < / ns1:Issues >
    < / ns1:PcrOrganization >
    < / ns1:PcrDocument >

    Select extract (CLOB_DATA, ' PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;
    -returns nothing...

    Some remarks (apart the obvious syntax error ' to leave'):

    -You are missing the namespace declaration in the functions existsNode() and extract()
    -You must use extractValue() to extract scalar values
    -Given that core_org_id is an attribute, you must use an attribute axis to access (@core_org_id or attribute::core_org_id)

    SQL> select extractValue( CLOB_DATA
      2                     , '/PcrDocument/PcrOrganization/@core_org_id'
      3                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) CORE_ORG_ID
      4  from pcr_files
      5  where existsNode( CLOB_DATA
      6                  , '/PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]'
      7                  , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) = 1
      8  ;
    
    CORE_ORG_ID
    --------------------------------------------------------------------------------
    345840
    
    SQL>
    SQL> select extractValue( value(x)
      2                     , '/Issue/AdditionalInfo/Info[@type="R_DATE"]'
      3                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) as R_DATE
      4       , extractValue( value(x)
      5                     , '/Issue/AdditionalInfo/Info[@type="R_REVIEW_DATE"]'
      6                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) as R_REVIEW_DATE
      7  from pcr_files t
      8     , table(
      9         xmlsequence(
     10           extract( t.clob_data
     11                  , '/PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]'
     12                  , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' )
     13         )
     14       ) x
     15  ;
    
    R_DATE                                                                           R_REVIEW_DATE
    -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
    Credit  Release Date: 09-Apr-2010                                                Credit Last Review Date: 12-Oct-2011
     
    

    You don't mention the version of your database.
    The foregoing is deprecated in 11.2, use XMLTable/XMLQuery if you're on 11g.

  • To get started with Ajax - how to query the db without 'submit' page?

    Hi guys,.

    I'm building a simple "power point presentation" - essentially a CF page that can display a large jpg [slide]) all n seconds, I want the page to query the db to ask whether it is necessary to change the jpg and as appropriate who jpg to see her now. In this way, we can control the presentation by updating the database on the fly.

    So I think I will reach it as follows:

    1. a 'view' page that contains javascript that fires every n seconds code

    2. that js somehow pass 2 variables (GET?) to an action page (ie the user id and authentication var)

    3. the action page will be the query to the db (using the variables passed to step 2)

    4. the action page returns a result (path to jpg for display) which somehow (?) is passed back to the view page

    5. the view swaps page then the jpg is to show for the one passed to him to step 4

    6. Ideally the display page then also pass another variable 2 action page let us know it has received the update and changed the image accordingly

    I'm fine with all the code html and cfm stuff--where I'm stuck is bit of js, I've had a look through google and do not seem to make any progress so if someone could tell me please in the right direction I would be very grateful.

    Excerpts / very welcome advice

    TIA

    Nick

    As well as the very popular jQuery and prototype libraries already mentioned, ColdFusion uses for its wizardary Ajax extJS library and Adobe also provides the Spry library.  Or you can roll you own and upwards, use the function xmlHTTPrequest() JavaScript.

    But I would like to especially underline that all these libraries using the xmlHTTPrequest() feature and that really, you apply to the server, you use just of to do behind the scenes so that the user does not see this JavaScript.  But in regards to the client browser and the server is what are normal requests HTTP and not different responses so if the user clicked on a link or submitting a form.

  • How to find the details of the session of hexadecimal value 11g RAC deadlock

    Hello

    Version: 11.2.0.4 2 node RAC on AIX 7.1

    We place worldwide in our database, and we can see in the file path as:

    Submit application dump asynchronized [1 c]. Summary = [clear stack process GHG (kjdglblkrdm1)].

    Global end dump blockers: -.

    Wait-For-Graph (WFG) overall to DDT [0.2d7]:

    BLOCKED 0x700010448e88a48 wq 4 2 cvtops x 1 TM 0x1a3b3.0x0 (ext 0 x 0 0 x 0) [100 a-00AB-00000093] inst 1

    TRAINER 4 wq 0x70001043b5ffd50 2 cvtops x 1 TM 0x1a3b3.0x0 (ext 0 x 0 0 x 0) [200F-00F8-00000014] inst 2

    0x70001043b5ffd50 wq 4 2 cvtops x 1 TM 0x1a3b3.0x0 (ext 0 x 0 0 x 0) BLOCKED [200F-00F8-00000014] inst 2

    TRAINER 4 wq 0x700010448e88a48 2 cvtops x 1 TM 0x1a3b3.0x0 (ext 0 x 0 0 x 0) [100 a-00AB-00000093] inst 1

    So, here, the session had lock mode 4 on the 0x1a3b3 object. What is "wq 2 ' above the info? What are the 100 a-00AB-00000093 and 200F-00F8-00000014 indicates the above data of the WFG?.

    I want to see the details of each session of 0x700010448e88a48, 0x70001043b5ffd50 sessions and how can I get this info from the history views$ v?

    Thank you very much

    Kind regards

    '4' is actually the 5 lock mode.

    See https://orastory.wordpress.com/2011/11/23/wfg-mode-5-tm-deadlock/

    You can also use the raw data of ASH in V$ ACTIVE_SESSION_HISTORY and/or DBA_HIST_ACTIVE_SESS_HISTORY to complete.

    It will tell you which statement was the blocked session running and blocking the session details (but not which statement was responsible for blocking, unless you get very lucky).

    However, your scenario of lock mode 5 TM could match the scenario of blocking foreign key non-indexed in the article above.

    The TM, the 0x1a3b3 lock can be translated into decimal - 107443 - and used to match the object of dba_objects.object_id

    #define KJUSERNL 0         /* no permissions */   (Null)

    #define KJUSERCR 1         /* concurrent read */ (Row-S (SS))

    #define KJUSERCW 2         /* concurrent write */ (Row-X (SX))

    #define KJUSERPR 3         /* protected read */    (Share)

    #define KJUSERPW 4         /* protected write */ (S/Row-X (SSX))

    #define KJUSEREX 5         /* exclusive access */ (Exclusive)

  • How to retrieve the details of scaling of the cRIO channels, running in the Scan Mode.

    On the side of Windows, this can be done by reading the project folder and lifting some ProjectItem Properties at the Variable level. But how to get the information of scaling to a given variable, programmatically, the target of cRIO? THX.

    Look at the file variables.xml on the controller for cRIO to ftp: / //ni-rt/config/variables.xml

    It is not the cleanest way to get it, but it has the information you're looking for.

    Kurt

  • How to include the details and comments entered in the report?

    I need to support the details and comments entered in report... ? How do in hyperion planning... ?

    Thank you!

    To 'Support the detail' select a row in the grid of EN and turn on the right box-> "Display supporting detail" and the comments-> create a row or a column in the grid in the form of text and insert a function >, that's all.

    Concerning

    Altair

  • How to get the details of the item purchased in R12

    Hello everyone, use Oracle Application R12.
    I need the following information for all purchased object,
    How to get the nom_element, $vendor_name, ordered_quantity, rec eived_quantity item_id,
    returned_quantity.
    Thank you.

    Kind regards
    Gurujothi.

    Hi Gurujothi,

    PL.try following SQL. It will give you all the details of the purchase.

    SELECT PO_NO, B.LINE_NUM, C.SHIPMENT_NUM, A.SEGMENT1
    C.QUANTITY, C.QUANTITY_ACCEPTED, C.QUANTITY_BILLED, C.QUANTITY_CANCELLED, C.QUANTITY_RECEIVED, C.QUANTITY_REJECTED, D.QUANTITY QUANTITY_RETURNED,
    B.ITEM_ID, E.DESCRIPTION, F.VENDOR_NAME
    OF PO_HEADERS_ALL A, PO_LINES_ALL B, PO_LINE_LOCATIONS_ALL C, RCV_TRANSACTIONS D, MTL_SYSTEM_ITEMS_B E, PO_VENDORS F
    WHERE A.ORG_ID = & OU_NAME
    A.PO_HEADER_ID = & PO_HEADER_ID
    AND B.PO_HEADER_ID = A.PO_HEADER_ID
    AND C.PO_LINE_ID = B.PO_LINE_ID
    AND D.PO_LINE_LOCATION_ID (+) = C.LINE_LOCATION_ID
    AND D.TRANSACTION_TYPE (+) = "RETURN TO THE PROVIDER.
    AND E.INVENTORY_ITEM_ID = B.ITEM_ID
    AND E.ORGANIZATION_ID = C.SHIP_TO_ORGANIZATION_ID
    AND F.VENDOR_ID = A.VENDOR_ID

    concerning
    Sanjay

  • How to send the details of an event calendar by e-mail?

    I would like to send the details of a calendar event in lightning to a co-worker an e-mail in Thunderbird. I can convert the event, but everything that is sent is the title and none of the details such as dates or place.

    as an invitation? The recipient may have a status is non-member

Maybe you are looking for