Summary Item workaround

Greetings!!!
I have The following Master-Detail block in Forms 10g
Block A:(Single Record Block)
A_id
Block B:(Multiple Records Block)
B_id
A_id
Block C:(Multiple Records Block)
C_id
B_id
Qty
Is there a way to create a Summary Item'Summary_qty' in Block B which have
summarized Item 'Qty' in Block C. Tnx in advance 4 ur reply...

I'm assuming you want to display the qty before a record in block B is selected.
If so, then one way is to run a post query in block B that gets qty for each record in block B.
Another way is to create a database view that gets the records for block B, and also gets and returns the qty as an additional field.
Message was edited by:
Mark Roberts

Similar Messages

  • About a summary item

    Hi,
    I have a search form with a few blocks. Two of them are to list
    search results with multi-records. I create a summary item to
    show the number of search results in the blocks. But it shows
    multi-lines. so I create a display item in a single record block
    and put it in the same canvas with the search list block, then
    let it equal to the value of summary item in a block level
    post-query trigger.
    My problem is it works in the first search results block(I have
    two search list blocks for different search purpose.), but it
    didn't work in the second one. the display item value always
    shows 0 while the summary item value shows the number of exact
    records.
    could anybody tell me why like that?
    Thanks in advance
    Diana

    You can display the summary column on the same canvas. Set
    the "No of Items Displayed" property to 1 under the "Records""
    property of that column. So you dont have to create another
    block and item to display all this.

  • Summary Item Question

    hi all ,
    i have a summary item to sum the entered amount in the block
    i want to take 0 value instead of null at the first time and if i enter data in the amount and delete data from all records
    thank you

    create a second item in the same block as your summary-item with calculation_mode "formula", as forumla enter
    NVL(:BLOCK.SUMMARY_ITEM, 0)Edited by: Andreas Weiden on 10.11.2009 10:27

  • Summary item

    Need help.
    I have a summary filed (setup in property canculation item), if the value is null
    I want to display as 0.00, but for calculate mode = summary, and if no record it show null / blank, even I setup property format as 0.00.
    Anybody can help ?

    If your returning no rows - the nvl ( col1 ,'0.00' ) will never run.
    You need to check for no rows and put the 0.00 in their programmatically.

  • Report delimiteddata option. How to hide summary fields.

    Hi,
    I have a report which has Summary Items
    eg:
    Department: Production
    Name Salary
    John 1000
    Jack 2000
    Total 3000
    Department: Quality
    Name Salary
    Harry 1200
    Sally 800
    Total 2000
    This is how it comes in PDF format.
    Now I want to show the same report in Excel format also. Here I want it to be plain data without any formatting and Summary Items (Total field) as below
    Department Name Salary
    Production John 1000
    Production Jack 2000
    Quality Harry 1200
    Quality Sally 800
    I tried delimiteddata option. However the report comes as below
    Department Total Name Salary
    Production 3000 John 1000
    Production 3000 Jack 2000
    Quality 2000 Harry 1200
    Quality 2000 Sally 800
    How can I remove the column Total ??
    Thanks in Advance
    Regards
    Sajan

    Hi Sajan,
    Go to the property inspector of the summary field.
    Under XML settings, exclude from XML tag set it to Yes
    Best Regards
    Rajesh

  • Placing Summary column in master data block

    I have a master/detail datablock form. i want to show the sum of "amount" field that is present in detail datablock and this summar field must be placed in master data block but it does not compile the form and shows following error.
    FRM-30377: Summary item must reside in single-record block or in same block as summarized item.
    Item: S
    Block: PBL_PAYMENT_MASTER
    FRM-30085: Unable to adjust form for output.
    it works only by putting it in the same detail block with "Query All Records" to YES.
    But I want to place this summary column in master data block but then it is not working.
    How we can solve this problem.

    Hi,
    In this case:
    -- i put my summary column in the master data block with :Query_All_RECORDS set to yes
    --but Physically it is placed on detailed block on the canvas
    and it Works with this trick.
    Regards,
    Abdetu.

  • How to add text to the summary

    I wanted to add a text to my summ total on my report.
    The forum told me to add a boiler plate text item. However this item displays on every page.. I want it to only display where the summary is. I tried using anchors but it will not attach to the summary item.. Help
    howard

    Hi Howard,
    I guess you are referring to this post:
    How do i add text to the summary
    First make sure that you place the boilerplate exactly where you had (or currently have) the summary column, ie, in the SAME frame or repeating frame.
    Second, open the property inspector for your summary column. Find the properties "Print Object On" and "Base Printing on", and make sure that both of these are the same for your boilerpate as for your summary column.
    Navneet.

  • Removing items from sheet doesn't change SQL

    Discoverer desktop 10.1.2.1
    When I create a sheet, run it, then remove items from the sheet, and then refresh it, the SQL doesn't change (items/columns that were removed remain in the select statement). They (columns) are removed from the resulting report, but it's throwing off my results (number of rows due to summary items). In other words, I had detail numbers, replace them with summary numbers, now it should be grouping by the detail items, but it's isn't. Basically, the tool isn't removing those items from the SQL.
    Has anyone seen this?
    Thanks in advance.

    I'll chime in on this one - we're seeing this same behavior as well. I can reproduce the problem at will like so:
    1) Create a new sheet.
    2) Pick a table, any table, that has a data point.
    3) To this new sheet, add the DETAIL of the data point, and one other attribute.
    4) View the results - they are good.
    5) Realize you made a misteak, go to Edit Sheet, remove the DETAIL and replace it with the SUM of that same data point.
    6) View the results, and become dismayed that they are not grouping at all.
    7) Click on View->SQL Inspector, and observe the detail item is still in the SQL (along with the SUM) despite having removed it in the sheet editor.
    8) Edit sheet - remove all items leaving absolutely everything blank (no selected items, no columns, no calculations, no sorts, nothing)
    9) Click on View->SQL Inspector, and observe the detail item is still in the SQL. That's wrong!
    If that's not a bug, I'm czar of all the Russias.
    // Discoverer Desktop 10.1.2.1
    // Discoverer Desktop Client 10.1.2.48.18
    // EUL Library 10.1.2.48.18
    // EUL 5.1.1.0.0.0

  • Issue with new 'Display Summary Type in Table' Attribute

    JHeadstart Version: 10.1.3.1.26
    JDeveloper Version: 10.1.3.1
    We have configured our top level groups in our JHS Application Definition Editor to have each table's first column (Primary Key) set to 'count' for the 'Display Summary Type In Table' field level attribute.
    Our problem is that now that we have this handy counting functionality, we found that it breaks the row focus when entering data in a table-forum. To be precise, when typing in or modifying the field that contains the defined 'count' attribute, when we 'tab off' from that field the page seems to run some JavaScript (the recounting of the rows I presume) and loses the keyboard's focus from that row. This outright prevents users from tabbing to the next field to continue entering data - which is rather important for our application.
    I am presuming that this is a bug. Any ideas on how to fix it?

    Erik, Michael,
    I checked with ADF Faces development. I have a logged a bug for this against ADF Faces. Hopefully it will be solved in release 11.
    There is nothing JHeadstart can do to fix this. Wherever we have autoSubmit=true generated on an item to get AJAX-style partial page requests (LOV item, summary item, depends on item), then tabbing out the field will loose the cursor, and pressing Save immediately after entering a value in the item will not save the data.
    Steven Davelaar,
    JHeadstart Team.

  • How to show Summary label it in the first column of the sheet?

    Hi Gurus,
    I am wondering if i could show the Label of summary items in the first column instead of showing it along with the Summary data. As with the long worksheets if the summary column is at far right it doesn't look good and not readable too.
    Thanks.

    Thanks NP,
    Its really not good in Discoverer. Actually what I'm saying is as follows:
    EMPID EMPNAME SALARY
    emp01 EMPNMaa 100000
    emp02 EMPNMbb 500000
    emp03 EMPNMcc 1000000
    Sum:------------------- 1600000
    But what Discoverer does right now is:
    EMPID EMPNAME SALARY
    emp01 EMPNMaa 100000
    emp02 EMPNMbb 500000
    emp03 EMPNMcc 1000000
    --------------------------- Sum:1600000
    It really looks bad & not al all a user friendly. The sum label comes always with value. I think Oracle should improve it.
    Thanks.

  • Summary column restricted by a condition

    I have a table that returns, lets say, 20 rows. I have created a summary item that gives a total for these 20 rows. Is there a way of creating a Summary item that would give me a total across these 20 rows based upon a certain condition?
    As its an amount, I could create a hidden formula column and create a summary column on this new column, but it 'seems' like a simple requirement to want to create conditional summary columns.
    Any ideas?
    Richard

    I have a table that returns, lets say, 20 rows. I have created a summary item that gives a total for these 20 rows. Is there a way of creating a Summary item that would give me a total across these 20 rows based upon a certain condition?
    As its an amount, I could create a hidden formula column and create a summary column on this new column, but it 'seems' like a simple requirement to want to create conditional summary columns.
    Any ideas?
    Richard

  • Creating Calculated Item

    Dear All,
    I am a new here. Please help me to give solution about following topics.
    I have a tabular block containing a column 'price' which is calculated by (item*price) what I have made easy. I also create a text item in another block for showing total value of price. But I can not make it. summery or formula property cann't work. How can i calculate or sum all price values in tabular block when user will press his price once by once.
    Pleas help me.
    Thanks
    ALO

    Dear, Thanks for your solution. I am new in developer but I made try your method before you say. But I faied. May be you have not read my problem fully. Please show the error if I follow your method.
    Again - I have 3 blocks in a form. One of them are tabular which containing a field price which is not in database but calculating Qty field x Item Price (Qty*Price) which give result of specific item's price. But when user will input more item then in another block a "total" display item will be shown all the item's total price. If i make this total price display item to summary then following error show.
    FRM-30377: Summary item must reside in single-record block or in same block as summarized item.
    Item: TOTAL
    Block: OTHER
    FRM-30085: Unable to adjust form for output.
    Dear, If you have another solution please help me.
    Thanks again
    Iqbal

  • Item and cProjects link to PS - Mass Upload

    Hi,
    We are on PPM5.0, having PPM and SAP-PS on different servers.
    We have uploaded Item and cProjects to PPM (using excel upload).
    We are now required to link each of these projects to SAP-PS project.
    What program/function module can help? We are using manual, task-based costing.
    Also, to carry out Financial Plannig, it is required to object-link the SAP-PS project to the Item. Which program/FM will help achieve this link?
    Summary:
    - Item-cProjects uploaded (using excel upload)
    - Each of the cProjects projects is to be linked to a PS project programtically (like it is done under the "Accouting" tab, for costing).
    Please advise.
    Thanks.

    Hi,
    Try RPM_CREATE_OBJECT_LINK FM ...
    // Amit

  • Questions, Suggestions, Bugs - results from 7-day workshop

    Last week we (AMIS that is) finished yet another JHeadstart workshop with one of our customer’s development teams. In this workshop we focused on Struts, BC4J and both JSP and UIX. (so no Toplink this time). By the way: we used JHeadstart 9.0.4.5 in conjunction with JDeveloper 9.0.4.
    Over the course of this 7 day workshop we had several discussions, most of these the result of our customer’s ambition to generate all or most of an application they had already developed manually using the Web PL/SQL Toolkit and integrated with Oracle Portal. These discussions resulted in several questions/suggestions/enhancements requests. I list them below to inspire future releases.
    Questions:
    ·     Why does JHeadstart not make use of the UIX-Struts integration (see Chapter 15 of the UIX developer’s Guide)?
    ·     How do you specify which columns/attributes in a Table Layout are sortable?
    Suggestion/Enhancement Requests:
    ·     Offer the possibility to generate Regions “Side by side” instead of always below each other
    ·     Could you provide the same kind of “nested navigation” on persistentAttribute for BC4J as you offer for Toplink, e.g. through the use of Jakarta Commons BeanUtils in DataObjectImpl.getAttribute()?
    ·     Allow Master-Detail with Detail Table-Form layout style and same page is true (at least a recipe, preferably full generation) (I do understand that having multiple Child-table-layouts with Details-buttons on the same Master-page could be an issue due to the conflicting details-events, but surely one can be arranged?)
    ·     Generation of breadcrumbs for JSP
    ·     Allow us to specify for a file upload which attribute will hold the filename; allow us to specify for download which attribute will provide the filename (for the save as dialog in the browser) and possibly the mime-type.
    ·     Allow an Alt-text property to be defined for attributes with Display Type = Image; this alt-text property can refer to another attribute.
    ·     In Jsp: Display Type displayField should generate a <bean:write> instead of a disabled <html:text> field. For domain-based attributes that are normally rendered using a pop-list (Choice), a displayField requires additional logic to display (bean:write) the meaning rather than the value
    ·     Allow the prompt to be empty (if you leave the prompt property empty, the generator will use the attribute name; you can not explictly leave it empy; the workaround is to type a single space for the prompt)
    ·     Provide a way to preview the defaults that the generator will use for properties that are not explicity set OR provide a way to explicitly set those defaults as values on the Entity Object’s attributes
    ·     Allow the Domain and Region-properties to be set through a Combo-box with a list of the available Domains and Regions
    ·     Make the private members in oracle.jheadstart.model.bc4j.handler.DataObjectImpl protected, so that a subclass can access those variables
    ·     Allow us to specify a “split prompt” , for example Weight|kg that would display as Weight …. (field) kg; make the JDG pick up split prompt from Designer and set accordingly in the VO Attribute.
    ·     Allow the definition and generation of separate prompt and hint values for Find, Table and Form-page
    ·     Provide a utility to copy VO Attribute properties between ViewObjects (or even to copy entire ViewObjects)
    ·     Documentation: provide a JDG Reference “to-from” in addition to “from-to”: it is very convenient when trying to generate an application using the JDG if you can easily find out what you have to do set in Oracle Designer in order to achieve some result in the generated application. For example: how do I generate a Table-Form layoutstyle?
    ·     Provide a shortcut to run the JDG again, with the exact same settings as the previous run; this makes incremental development using the JDG a lot more convenient; having to walk through the entire wizard for every little change in Designer is rather a pain.
    ·     Provide properties in the Group, Lookup and Region elements in the Application Structure File (editor) for recording post-generation changes
    ·     Generate Regions (minus Table Summary items) in Detail Disclosure
    ·     Provide (style)Class property on ViewObject Attributes and generate the styleClass property for UIX elements or a class property for JSPs (if the Struts tags do not cater for a Class property, you can also generate a <SPAN class=””> around the JSP items)
    ·     Provide a shortDesc or altText property for VO Attributes; these are turned into popup texts on items and can for example provide popup hints in a Table Layout; generate the UIX shortDesc property.
    ·     Provide preComment and postComment properties on VO Attributes, Groups and Regions; the values of these properties should be generated into the UIX or JSP pages as <!-- preComment value --> and <!-- postComment value -->. Not only does this allow better documentation of the generated sources, it also provides hooks for post-generation utilities.
    ·     Support displayType numberField/numberItem; this in UIX would render a right-aligned input-item
    ·     Allow specification of dateFormat at VO Attribute level (in addition to Service Element)
    ·     Switch to JSTL from the Struts tags – at least for bean:write (c:out) and all logic tags; configure new JHeadstart projects for JSTL (libraries, taglibs, web.xml etc.)
    ·     Allow multiple values to be returned from a List of Values
    ·     Allow an onBlur property on VO Attributes; this property includes a piece of JavaScript to be executed on leaving the item; the code may refer to other items in the same record. Ideally also provide other event-triggers such as onFocus, onMouseOver etc.
    Bugs?? We ran into some issues that may indicate bugs
    ·     The Master-context in UIX pages for Detail Group, Table-Form (same page false) is missing
    ·     Master context in JSP voor Detail Group, Form page (same page false) is missing
      Watch this Topic      Copyright 2004, Oracle Corporation. All rights reserved. About OTN I Contact Us I About Oracle I Legal Notices and Terms of Use I ·     A ViewObject Attribute with displayType File Upload seems to result in a html:file element that pastes the contents of the file into the HTML Page: <input type="file" name="PublisherLogo" maxlength="100" size="30" value="ÿØÿà JFIF H H ÿÛ C ? $.&#39; &quot;,# (7),01444&#39;9=82&lt;.342ÿÛ C etc It would seem that the value attribute of the <html:file> element should explicitly be set to an empty string
    ·     (I am not absolutely certain that this is really the case, but we have seen this behavior several times) The JDG seems to generate a faulty BC4J Design for JDeveloper 9.0.4: when running the JDG for the second time for a Module, a second, similar ViewLink is created where the JDG should overwrite a previously created one. In the BC4J Tester we could still see the data, but in the generated application, we could not find the children of the masters through this duplicated ViewLink. Removing the second viewlink did not solve the problem. Creating the ViewObjects and ViewLinks from scratch in Jdeveloper (i.e. not through the JDG) worked fine.

    In the meantime, I can answer to your questions:
    · Why does JHeadstart not make use of the UIX-Struts integration (see Chapter 15 of the UIX developer’s Guide)?This has been done to allow the same page to be run both with Struts and MVC Framework, without needing to change the page. Using the UIX-Struts integration would have made the pages 'controller aware'.
    · How do you specify which columns/attributes in a Table Layout are sortable?As far as generation is concerned, you can only specify the whole table to be sortable. In case of UIX you can post-gen modify the <sortableHeader> tag of each column separately. In case of JSP you can remove the <a href> tag for each column that you do not want to sort on.
    Jan Kettenis
    JHeadstart Team

  • GO_BLOCK restricted procedure

    Hi, everyone:
    I have a multirecord block (on the multiblock form). One of the columns of this block has an LOV attached. When the value (selection) of the LOV gets changed, I would like to scan all the records of this block and search for the existance of a certain value at least in one of them. For that I created a little function that uses GO_BLOCK(...) and then first_record, next_record etc. Unfortunately, I can't use this function within POST-CHANGE trigger (or WHEN-VALIDATE-ITEM trigger either), since GO_BLOCK is a restricted procedure. Could you please, help me with the workaround this problem (Timer solution will not help me).
    Thanks a lot!
    Best regards,
    Eugene.

    You can do this as if by magic without navigating anywhere by using calculation properties.
    Create a control block item into which you will copy your value whenever you want to do a search.
    In your multi row block create a calculation formula item. For the formula write a little function taking the control field and the search field as input parameters, and returning 1 for a match otherwise 0.
    In the control block create a calculation summary item
    which sums the formula item. If this is ever >0 you have found a match.

Maybe you are looking for

  • SSO to IIS

    Hello, we tried to setup SSO between portal and an web application that runs in an IIS. I found several threads about this topic but non of them wer really specific. Like: /message/78763#78763 [original link is broken] I'm looking for a real easy sol

  • Re-saving docs in iCloud

    I have Pages and Numbers documents saved on my Mac. How do I now save them in iCloud? When I choose Save As, I get no iCloud option. Kind of a basic question, I know.

  • OBIEE 11.1.1.7

    Hello, My business users have recently complained that they were able to download to excel (in 10G) in spite of getting the error:   Exceeded configured maximum number of allowed input records. In 11.1.1.7 I see that this is no longer an option.  Is

  • How to execucte/calll a shell script from oracle

    hi all i want to execute a shell script from oracle...... how do i do that can any one send me a good link which i can refer and learn or if any one has already implemented anything like this plz let me know the code Regards

  • Required delivery date

    hi there, the requried delivery date in my sale sorder is 08.08.2008, but the items in the schedule lines are showing as a CONFIRMED qty for the 10.09.2008. We have