Unable to see the values in detail block

Hello,
I have a master detail block, when I query the form, I am unable to see the values for a particular field(Column), all other columns appear properly in the details block, Upon checking the same table(s) in SQL ( by using the JOIN defined in the where clause of the relationship in Forms) , it shows the relevant records for all fields. So what could be wrong with the Form, please advise.
Thanks
FM

IQ wrote:
I have just checked the field its a non-database field which is being used as a LOV column to display a value derived from LOV. How do I make this populate at Query time, as obviously this works when the Form is in a insert mode but not for Query mode. How to make it work for Query ? As it for LOV column and non-database filed, ignore my first suggestion.
Does your non-database filed has associate any column ?
For example, you have SUPPLIER_ID (database column) and SUPPLIER_NAME (non-database column). SUPPLIER_NAME has LOV column. And when selecting supplier name from LOV value also assign at supplier_id.
Now to show supplier name when querying, you have to write POST-CHANGE trigger at supplier_id. like
SELECT ASSC_CODE INTO :MST_SUPPLIER.ACC_CODE
FROM ACC_SUB_SUB_CONTROL
WHERE ASSC_ID=:MST_SUPPLIER.SUPP_ASSC_ID;Hope this helps

Similar Messages

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

    Hi,
    In version 6i forms, I have a field in data block which is not set as a database item. I am using that field to store a value from detail block. If I want to query the form using that field (which represents one of the values from detail block), how do I do that? Any pointers?
    TIA,

    Do you want to query a master, which contains a specific detail? If so, here's an example how you could do it with a PRE-QUERY-trigger:
    DECLARE
      vcQuery VARCHAR2(4000);
    BEGIN
      IF :MASTERBLOCK.THE_DETAIL_SEARCH_ITEM IS NOT NULL THEN
        -- Build up an exists Sub-Query
        vcQuery:=' MASTERBLOCKID IN (SELECT FK_TO_MASTERBLOCK FROM DETAILTABLE WHERE DETAIL_COLUMN=''' || :MASTERBLOCK.THE_DETAIL_SEARCH_ITEM|| ''')';
      END IF;
      SET_BLOCK_PROPERTY('MASTERBLOCK', DEFAULT_WHERE, vcQuery);
    END;

  • Unable to see the values from the FM in the ICSS application

    Hi Gurus,
    I am trying to call a custom function module in the ICSS application but it's not returning me any values in the application whereas it's showing values in the GUI for the same input.
    One more strange thing is when we are hardcoding the values in the output table of this FM then i am able to see the values in the front end application.
    I am clueless as what could be the reason.
    Please help me.
    Thanks,
    Gary

    Hi Saurabh,
    This is really a strange problem as you said.
    May be your fm is getting called more than once and in the second call there is no input data for the
    fm and that's why its returning blank and your business objects are getting overwritten with blank values but when you are hardcoding you are getting the data.
    Can you please debug and see if your fm is being called twice.
    Instead of hardcoding data to output tables, check once by hardcoding input to java backend object
    while calling the fm.
    Regards,
    Arshi

  • When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totaly invisible why So ?

    When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totally invisible why So ?

    Hi Ranendra,
    For basic understanding of Dashboards and Models you can use standard Templates or samples which ll come along with dashboard designer(Formly Xcelsius) installation.
    For path   File-->Templates(or Samples).
    Under Templates you ll have different categories and for each you ll find the dashboard Templates.
    Regards,
    Venkat P

  • Searching master block based on value in detail block

    I have two blocks on a form. A master block for purchase orders and a detail block for the line items. I need to provide users with the ability to search the purchase orders based on the values entered into the detail block (line items), during the query entry. I am considering to check to see which block the cursor resides by using the :SYSTEM.CURSOR_BLOCK variable, then retrieving the value from the current item and running a query, using that query. The problem is that I am not very familiar with Forms and do not know how to implement my idea. Any ideas?
    null

    I copied you an example from metalink. Hope it will help.
    Doc ID:
    Note:109583.1
    Subject:
    How to query a Master record from a Detail Block
    Type:
    BULLETIN
    Status:
    REVIEWED
    Content Type:
    TEXT/PLAIN
    Creation Date:
    22-MAY-2000
    Last Revision Date:
    03-AUG-2001
    PURPOSE
    ------- To query a master record from a detail record. DESCRIPTION
    =========== The user would like to enter a query criteria in the detail block
    and then query the master record based on the above user input. SOLUTION
    ======== Create the master and detail blocks and the relationship in the usual
    manner. We will consider here the blocks DEPT and EMP based on the
    SCOTT schema. 1. Create a KEY-ENTQRY trigger at the block level of the detail block
    (EMP) and add the following code in it : GO_BLOCK('dept');
    CLEAR_BLOCK(no_commit);
    GO_BLOCK('emp');
    ENTER_QUERY; 2. Create a KEY-EXEQRY trigger for the detail block and add
    this : EXECUTE_QUERY;
    :global.deptno := :emp.deptno;
    :global.flag := 'T';
    GO_BLOCK('dept'); This will store the value of the deptno (primary key) in a global variable
    :global.deptno and set another global variable :global.flag to 'T'. This
    will be explained as we progress. 3. Create a WHEN-NEW-RECORD-INSTANCE trigger for the detail block
    and add the following : -- This is used to populate the MASTER block with the corresponding
    -- record whenever the user navigates through all the records in the
    -- DETAIL block if get_record_property(:system.cursor_record,:system.cursor_block,status) = 'QUERY' then
    SELECT rowid,deptno,dname,loc
    INTO :dept.rowid,:dept.deptno,:dept.dname,:dept.loc
    FROM dept
    WHERE deptno = :emp.deptno; -- This is to set the status of the record populated
    -- to QUERY and not to create a new record SET_RECORD_PROPERTY(1,'dept',status,QUERY_STATUS);
    end if; 4. Create a WHEN-NEW-BLOCK-INSTANCE trigger for the master block again
    and add this : if :global.flag = 'T' then -- set the variable to a different value
    :global.flag := 'F';
    :dept.deptno := :global.deptno; -- This will query the master table for the record based on the
    -- deptno of the detail table which is stored in :global.deptno -- For ex: if an employee of department 10 has been queried in
    -- the detail, then the global.deptno will have the value 10,
    -- which is used in the query below to fetch the master record. SELECT rowid,deptno,dname,loc
    INTO :dept.rowid,:dept.deptno,:dept.dname,:dept.loc
    FROM dept
    WHERE deptno = :global.deptno;
    set_record_property(:system.cursor_record,'dept',status,QUERY_STATUS);
    GO_BLOCK('emp'); end if; EXPLANATION
    =========== Actually in the above method we are using the base table blocks as a
    non-base table block when we query the master from detail. We are
    displaying the master record fetched from the table based on
    the query supplied in the detail. So after the fetch, if we clear the
    block or form then we get a "Do you want to save the changes you have made"
    alert. So in order to supress this while entering a normal master-detail
    query, we have created the global variable, :global.flag. There is a limitation though, if you query detail records and then
    navigate to the master block and then press the down arrow( i.e.,
    navigate to the next record) and then presses the up arrow to
    navigate back to the same record, then the detail records that
    were originally populated will change and a new set of records will
    get displayed. This is because the normal master-detail query is
    taking place during MASTER record navigation. This can be controlled by creating a flag (global variable) and setting
    its value and thus preventing the user from navigating to the next master
    record. Do the following : 1) In the KEY-EXEQRY trigger of the detail add the following :global.control_master := 1; 2) Create a KEY-EXEQRY for the master and add this : :global.control_master := 0;
    EXECUTE_QUERY; 3) Create a KEY-DOWN in the master with the following in it: IF :global.control_master <> 1 THEN
    down;
    END IF; Declare all the global variables before running the Form. RELATED DOCUMENTS
    Note:611.1

  • Unable to see the personalization link on any page

    Hi,
    I am unable to see the personalization link on any of my pages (not even on login page).
    I am setting the profile option value to "Yes" for the profile option
    FND: Personalization Region Link Enabled
    Also I have bounced the Apache.
    Please help me as I am stuck due to this.
    Thanks,
    Anoop

    Did you enabled the profile option Personalize Self-Service Defn (FND_CUSTOM_OA_DEFINTION) .It must be set to Yes.
    Abhay

  • Unable to see the pageviewer in a page from pages library in a custom page layout

    <File Url="Inbox.aspx" Type="GhostableInLibrary" Level="Published" Path="myPages\Pages\Inbox.aspx" >
    <AllUsersWebPart WebPartOrder="0" WebPartZoneID="Header" ID="inboxwp1">
    <![CDATA[<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Title>Inbox</Title>
    <FrameType>Default</FrameType>
    <Description>Displays another Web page on this Web page. The other Web page is presented in an IFrame.</Description>
    <IsIncluded>true</IsIncluded>
    <ZoneID>wpz</ZoneID>
    <PartOrder>0</PartOrder>
    <FrameState>Normal</FrameState>
    <Height></Height>
    <Width />
    <AllowRemove>true</AllowRemove>
    <AllowZoneChange>true</AllowZoneChange>
    <AllowMinimize>true</AllowMinimize>
    <AllowConnect>true</AllowConnect>
    <AllowEdit>true</AllowEdit>
    <AllowHide>true</AllowHide>
    <IsVisible>true</IsVisible>
    <DetailLink />
    <HelpLink />
    <HelpMode>Modeless</HelpMode>
    <Dir>Default</Dir>
    <PartImageSmall />
    <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
    <PartImageLarge>/_layouts/15/images/mscntvwl.gif</PartImageLarge>
    <IsIncludedFilter />
    <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
    <TypeName>Microsoft.SharePoint.WebPartPages.PageViewerWebPart</TypeName>
    <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/PageViewer">/_layouts/15/AppPages/InboxRedirectPage.aspx</ContentLink>
    <SourceType xmlns="http://schemas.microsoft.com/WebPart/v2/PageViewer">URL</SourceType>
    </WebPart>]]>
    </AllUsersWebPart>
    <AllUsersWebPart WebPartOrder="0" WebPartZoneID="LeftWP" ID="wpLeft">
    <![CDATA[
    <webParts>
    <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
    <type name="myWebParts.ProjectLinks.ProjectLinks, m, Version=1.0.0.0, Culture=neutral, PublicKeyToken=52f3214933d771f7" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">myprojectLinks</property>
    <property name="Description" type="string">My Visual Web Part</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    ]]>
    </AllUsersWebPart>
    <Property Name="ContentTypeId" Value="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390076F7B5D03DD146D699D042E1C5D76EF7" />
    <Property Name="FileLeafRef" Value="Inbox.aspx" />
    <Property Name="Title" Value="Inbox" />
    <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/myPageLayout/myPage.aspx, my custom Page Template"/>
    <Property Name="ContentType" Value="myPageCT" />
    <Property Name="_ModerationStatus" Value="3" />
    <Property Name="FileDirRef" Value="Pages" />
    <Property Name="FSObjType" Value="0" />
    </File>
    I have created a custom page layout in my site collec. using VS 2012 and deployed am able to see the page in the pages lib [inbox.aspx].
    Here, I have added a page viewer web part and I want to redirect to another application page, which is already coded [inboxredirect.aspx] in my solution[its another dll - another SP solution which has appln pages and web parts
    etc - ] 
    The issue is that, i am unable to see the page viewer web part when the page is displayed. inbox.aspx is a page which is created once my custompagelayouts solution is deployed and when i navigate to this page, i am stuck . i am getting
    the  " access denied " message is displayed.  
    can anyone help why this  error is displayed?
    in my inboxredirect.aspx page i am inherting from unsecuredlayoutspagebase class, so  i dont think , access denied message should come.
    using System;
    using System.Configuration;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    namespace myproj.Layouts.AppPages
    public partial class InboxRedirectPage : UnsecuredLayoutsPageBase
    string projectName = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    string siteUrl = SPContext.Current.Web.Url;
    using (SPSite site = new SPSite(siteUrl))
    using (SPWeb web = site.OpenWeb())
    string urlProjectName =Request.UrlReferrer.ToString();
    projectName = urlProjectName.Split('/')[5];
    //end
    SPUser user = web.CurrentUser;
    if (user != null)
    above is my appln page to which i am redirecting.

    Solved it myself guys... (Well the major part)
    Got help from here...
    https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/blank-open-save-dialog-when-browsing-document-library-from-office-clients.aspx
    and
    http://www.sharepointconfig.com/2011/02/vs2010-list-definition-template-missing-file-dialog-view/
    with some tweaks of my own..
    Still working on it because its showing SharePoint 2010 header... And I need 2013 look...

  • Unable to see the application in BPM Workspace for Sales Quote tutorial

    I have created the Sales Quote tutorial steps and deployed the process. The Enter Quote Details user task is in the "SalesRep" role and I have assigned a user from WebLogic user store to "SalesRep" role in the BPM Organization artifact.
    In order to kick off the process, I logged-in to BPM workspace with the user I have assigned as "SalesRep" role but don't find the Sales Quote application under the "Applications" tab.
    I am using 11g PS4(11.1.1.5) and didn't seed the demo users, instead just created the user using WLS console.
    Any thoughts why the user is unable to see the application in BPM Workspace?
    Thanks,
    Satya

    Check two things:
    1. Login to Workspace as weblogic and click the Administration link at the top to verify the role is actually set to a user (just to double check this).
    2. Login to EM, click the SalesQuote composite, scroll down and click the EnterQuote human task component, and click the Administration tab.
    This shows you if there is a task form URI associated with this human task. If not, the initiate link won't show up in the Applications menu in Workspace.
    If not, you can either deploy again from JDeveloper, making sure you have selected the task forms in the deploy wizard and making sure the deployment is successful in the Deployments log window.
    Heidi.

  • I am unable to see the created AD RMS Templates office 2010

    Hi,
    We have a SBS 2011 server (AD, exchange, DNS, ...etc) and a File server 2008 R2.
    We installed the AD RMS feature on the File server and created the templates needed.
    On AD RMS client (W7):
    -We run the task scheduler.
    -We create the registry key:
          HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\DRM  for office 2010 clients
          HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\DRM  for office 2007clients
    On all MS 2007 client hasn't any problems but on all MS 2010 has a problem that: "unable to see the created AD RMS Templates.
    Please advise,
    Note: I prefer to contact me using my email
    [email protected] to acceleratre our communication.

    Hi,
    We need to check the templates in the path: C:\Users\martinr\AppData\Local\Microsoft\DRM\Templates
    first.
    Then, if you use 32-bit editions of Office running on 64-bit versions of Microsoft Windows,please try the following command:
    HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Office\<version>\Common\DRM.
    Following this, I recommond do the two methods:
    The permission policy path in the ADMX file is setup to use EDITTEXT (Regular Reg_sz), instead of EXPANDABLETEXT (REg_Expand_Sz).
    The policy template is setup out of the box expects a static path (i.e. c:\templates, and cannot use %localappdata%\Microsoft\DRM\Templates)
    For more detail information, please refer to the following link:
    http://technet.microsoft.com/en-us/library/cc179103.aspx
    http://technet.microsoft.com/en-us/library/dd772637(v=ws.10).aspx
    Here is a similar issue, we could refer to:
    http://social.technet.microsoft.com/Forums/en-US/224574c4-599b-4843-b235-f86ac74d03e9/ad-rms-template-problem?forum=rms
    Regards,
    George Zhao
    TechNet Community Support

  • Compare values in detail block

    Hi everyone,
    I have a detailed block which has many records. What's the best way to loop though the detail records and compare the values in the same field in the next, previous record or all detail records.
    Thanks for your help.

    For example, in field A you can only add a record where the value in field A is
    ABC. for this master record.Ok, it sounds like you want a field (field A) to be the link between the master and detail records, which is a common situation. Forms will handle this for you if you use a relationship between the master and detail blocks - the value of the link field in the master will be put into the detail block automatically.
    I would like to look at record 3 value in field A (CBA) and compare it to record 1 and 2.Now I'm confused. Do you have a master record or will you simply be setting field A to the same value for every record? If so then why display the field on each row? You could have a single field at the top of the form and populate each row before inserting it. Is it possible to have a mix of values in field A after querying the records? If so then how do you decide what value should be used for new records?

  • Not able to see the values properly

    Hi,,
    I am using Jdev 11.1.1.5.
    I see the value of “val.toString()” is correct and the Sql of the view is fine. Then what can be the reasons that no values come out in the popup?
    Why do I get “No data to display” within the popup once I clicked the link?
    Could any other people help pls?
    Edited by: Hua Min on Apr 4, 2012 5:02 PM

    Hua, you must be kidding...
    Do you expect us to read and somehow digest your other 30+ post long thread?
    You don't even bother to give the minimal needed information (which you should know by now!).
    Timo
    Edited by: Timo Hahn on 04.04.2012 09:18
    OK we are half there. You edited your original post. so let me do the same.
    I don't see a jdev version...
    No use case?
    What do you try to do?
    What does ExecuteWithParam execute?

  • Unable to capture the value of vbrk-vbeln value from VF02

    Hi All,
    am printing form from VF02 ,,,once i execute the VF02 , and select Billing Document -> Issue Output to  option .., my printi program gets triggered ,......,
    but in my print program am unable to capture the value of VBRK-VBELN which i have entered in the VF02 tcode..
    any other table the value of  VBELN is stored???
    pls help me out with the alternatives...
    thanks
    john

    Hi Dhiraj
      One doubt how the value is populating in the NAST  in the Print Program . While debugging i'm getting the Values from NAST but i want to know from where NAST is loading with these data.
    Thanks
    Bintu

  • Unable to get the values from PAYLOAD

    Hi,
    i'm unable to get the values of payload. When i use
    currentTask = client.getTaskQueryService().getTaskDetailsById(workflowContext, taskID);
    Element payload = (Element)currentTask.getPayloadAsElement();
    node = (Element)payload.getFirstChild();
    System.out.println(node.getElementsByTagName("documentName").item(0).getNodeValue());
    I get null but i instantiate the bpel process with a value and i have
    - <payload>
    - <ns1:DocumentReviewProcessRequest xmlns:ns1="http://xmlns.oracle.com/bpel/Review">
    <ns1:documentTitle>vbvnmbvn</ns1:documentTitle>
    <ns1:documentName>bvnbvnvn</ns1:documentName>
    <ns1:URI>http://www.first.pt</ns1:URI>
    <ns1:assignees>gestdoc</ns1:assignees>
    <ns1:groups />
    </ns1:DocumentReviewProcessRequest>
    </payload>
    if i use System.out.println(node.getElementsByTagName("HELLO").item(0).getNodeValue());
    I get a normal erro 'cause this variable don't exist...
    Can someone please help me?
    Thanks!!

    I think the problem is UME related. I had the same problem once. Try using a system user for searching, instead of the logged on user.
    Like this:
    com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getUser("cmadmin_service");
    Please reward the points if this helps.

  • Unable to see the csv option while scheduling the report

    I'm using BO XI 3.1. While i'm trying to make a schedule of a report, i am unable to see the csv export option.  Is there a way to enable in the csv option?
    Build version : 12.1.0.882
    Edited by: mhsrinivasan on Mar 10, 2011 2:36 AM Added the version details

    Scheduling the reports in CSV formate is possible in BO XIr3.1.
    I would suggest you to contact to your BO Admin to check weather you have proper rights or not, in CMC scheduling part.

  • I am unable to see the airplay icon on my macbook air, iphone or iPad which would enable me to use my Bose speaker through airplay. I set this up in the UK but have taken my macbook and bose speaker travelling with through Thailand. Ive wifi in my room an

    I am unable to see the airplay icon on my macbook air, iphone or iPad which would enable me to use my Bose speaker through airplay. I set this up in the UK but have taken my macbook and bose speaker travelling with through Thailand. Ive wifi in my room and am able to access the internet on my laptop, Ive also been able to through the Bose Soundlink air wifi set application connect the bose speaker to the Wifi too.
    I am only able to play my itunes through my macbook speakers and cannot find the airplay button which should be next to the volume slide once turned down to less than 1/3 of the volume..

    Thanks for your help.  Since I'm uninterested in loading all my photos (the only option) into photostream, I won't be able to use the settings in ATV.  I guess I'm just stuck with using iPhoto on my MB Air.  Thanks again.
    paul

Maybe you are looking for