Show detail rowcount in master
Hello,
i´ve got a mister-detail link between to tables.
In my application there is a a Window for the masterinformation and a button to open the detailtable.
now i want to show number of detailrows in the masterwindow.
aku
Isn't it a whole lot easier to create a transient field in the Master. Let's say DetailRowCount and change the getter code in something like:
public String getDetailRowCount()
return String.valueOf(getViewMyDetailView().getRowCount());
}Just my 2 cents
Johan
Similar Messages
-
UPDATE DETAILS IN BP MASTER DATA
Dear All,
Recently we had updated PATCH LEVEL 36.After updated patch 36.In
Business Partner Master Data any detail updating in master it shows the
error "2039 Another user-modify table [Message 7001-13]"
Any detail such as updating e-mail id from contact person table to
general(copy - paste),updating detail in tax information.
Please help me on this error,
Respectfully,
CHETAN
Edited by: Keshava Chandran on Feb 7, 2008 7:38 AM
Edited by: Keshava Chandran on Feb 7, 2008 7:42 AMHi Keshava,
Please log a message on the portal for this. This is a program error and and an update needs to be done on the db.
The note 1131133 describes the issue.
In the note there is a select query, export the results to xl and attach it to the message and prepare a recent backup for support.
Support will fix the issue.
Jesper -
BC4J - To get the detail of details in a Master-Detail relationship
Hi,
I am developing an application in JDev using Buss Components for Java.
I need to show the details from the details in a Master-Detail relationship of ViewLink Objects.
e.g I am browsing through a list of book publishers, if I pick one book publisher, all the books published by this publisher should be displayed. And when I pick one book out of these, the list of buyers should appear for this book.
Is it possible to do it via the wizards in JDev?
If not, is their any other way of doing it?
Thanks,
Any help would be appreciated.
nullSure. Arbitrary levels of master/detail are easy to handle. It's just the first time you set it up in the "Data Model" panel of your Application Module, the UI gestures may not be the most obvious.
Depending on whether you need to just browse the data, or both browse and update it, you would decide whether or not you need underlying Entity Objects for Publisher, Book, and Buyer.
To keep it simple, just assume you want to browse so the Entity Objects are not required to be involved.
You would develop three View Objects:
[list=1]
[*]Publishers - with a query like SELECT publisher_name, publisher_id FROM PUBLISHER ORDER BY publisher_name
[*]Books - with a query like SELECT title, isbn FROM book ORDER BY Title
[*]Buyers - with a query like SELECT name, company FROM buyer ORDER BY company, name
[list]
Then, you define two View Links:
[list=1]
[*]BooksFromPublisher - linking the Publishers view to the Books view, and
[*]BuyersForBook - linking the Books view to the Buyers view
[list]
Then, you define an Application Module that sets up the data model you want to work with in a particular application that reuses these reusable view object and view link components.
On the "Data Model" tab, you'll see the master/detail views available in the "Available" list like this:
- Publishers
|
+- Books
- Books
|
+- BuyersTo construct a master/detail/detail view with these "raw ingredients" do the following:
[list=1]
[*]Click on Publishers in the Available list, and click (>) to shuttle it into the data model
[*]In the data model tree, select the Publishers view to make it the active selection.
[*]Back in the Available list, click on the Books view that is indented under Publishers and click (>) to use Books as a detail of the current view in the data model.
[*]In the data model tree, select the Books view to make it the active selection.
[*]Back in the Available list, click on the Buyers view that is indented under Bookss and click (>) to use Buyers as a detail of the current view in the data model.
[list]
Hope this helps.
null -
When creating a portlet using Oracle PDK Java Portlet in Show Detail Mode clicking on the title takes you to a different page, can this render within the same portlet instead of going to an entirely new page?
Thanks.Hi Mehdi,
Is this the form (master) - form (child) you talked about in another topic?
Are you sure this is a bug in JHeadstart, or is this (funny) behaviour of ADF? If you can create a reproduceable testcase that clearly shows there is something wrong with the behaviour of JHeadstart, then we can do something about it.
If you want to do so, could you please create a test case based on the HR Schema (see http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html#setuphrschemaanddata)? Please e-mail it to idevcoe_nl "at" oracle "dot" com,
* (10.1.2) removing the cabo folder from the web root (public_html) before zipping, it makes the zip much smaller
* (10.1.3) removing the WEB-INF/lib folder from the web root (public_html) before zipping, it makes the zip much smaller
* renaming the .zip file to something like .zipped before attaching it to the e-mail (otherwise our mail server will not process it)
* including detailed steps to reproduce the problem.
Thanks.
For general ADF support you can always ask at the JDeveloper forum.
Thanks!
Evert-Jan de Bruin
JHeadstart Team -
I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
Is there any workaround to this error? so that drillthrough can be done even with multiple selection.Hi Vikas,
The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted.
For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
1. Select a single Item.
2. Select all items.
Hope this helps!
Please mark as Answer if this helps! Thanks, Rajasekhar. -
How to stretch background image, How to change show detail item header
Hello all I have a few questions I would like to pose humbly to your collective wisdom, FYI I use Jdeveloper 11.1.3 and ADF Fusion
First, how do I stretch the background Image? I have a background image in a show detail item but it is very small. 400 by 400. Thing is it's just a pic of the color red gradually moving from bright to dark in the image. So stretching it should not make it look horrible, but also repeating it makes it look silly, because you have 50 little images of dark red to bright red, instead of one big image of dark red to bright red. Can this be done and how?
Secondly how do I change the header of the show detail item in a Panel Accordion? I have 8 Show detail items, in the middle of my page and the user can click and switch between which one is open, which makes for a nice effect, but I would like to give each of the show detail items a particular color. I did this with the backgrounds but I can't do it with the header, which are always visible, while only one background is visible at a time. I tried using the skinning technique but I wasn't able to change the header (I changed the background so the skinning was done correctly). I used
af|panelAccordion::header
color: blue;
font-family: Arial, Helvetica, sans-serif;
background: Maroon;
background-color: Maroon;
}Because I read in the Fusion Guide (or somewhere) that the show detail item cannot be skinned and therefore doesn't have a property like af panel Accordion.
Can it though be achieved through some other means?
Third when I drop the data control on the page and if I pick search form, why can't I use the CreateInsert button? Why can't I use the form to Create new rows? It keeps giving me some type of error, like Row is out of bounds or something? Is that some mistake with my database, or page, or is it not possible to do it like that?
I welcome your words of guidance and also happy new year Huzzah!!!
Edited by: Dino2dy on Jan 4, 2011 2:01 AMThanks I haven't really had time to play around with this, as I have other concerns, but I do plan on coming back to it, and it is one of the things about ADF that really is bothersome. Creatively it means I can choose between 2 styles when making an app Blaf Rich and Fusion (the other ones are just worse versions of the two) while I will concede that the superb out of the box functionalities and things I can do declaratively probably mean I won't have a Dreamweaver type freedom of design I thought there might be a way to do some of these custom design changes.
A few questions though
When you skin the accordion are you able to propagate the changes to show detail item headers? Because that is one thing that I really want to change, just the color of the headers but I was unable to do so.
Also there is a component that is not part of a panel accordion or panel tabbed called panel box. Again I changed the backgrounds to great effect but I need to change the panel header and in this I failed.
Granted I used the css color attribute for both not a picture so maybe that is the reason. Just wondering if you succeeded.
Cheers -
Dear Experts ,
I want to maintain the bank details of a vendor in its masters . Kindly tell me if it is correct to maintain "Vendor Bank account details " in Vendor master: payment Transaction tab ?
Regards ,
anisHello Jurgen ,
We donot have the data migration at our place .
My client wants to maintain the bank details of the vendor along with the MICR code.
This is purely for reporting purpose .
Kindly let me know if Payment transaction is the correct place to still do it ?
Also where do i maintain the MICR code of the bank ?
Regards
Anis -
Vendor bank details in vendor master
Dear All,
where do we maintain the bank details of the vendor so that they would appear in payment advise to bank( Developed form). Is it in vendor master details. Then
How do we come to know which bank if the vendor has more than one bank account. How to display the same in the form.
In short the relevance of bank details in vendor master and how to display them in payment advice(when multiple bank accounts are there)
Please help to resolve the issue
SapfridoHello All,
If there are multiple bank accounts specified in the vendor master data, and if it is required to select desired one while making the payment, then the field Bank Type can be used in the vendor master data.
Against each bank of vendor specify a bank type say 0001, 0002 , 0003 etc...
In the invoice, under the payment tab there is field name Partner Bank wherein you can specify the bank type mentioned in the vendor master. This will make sure the payment to this invoice happens through a specified bank.
Regards,
Sameer -
Dear all
I want to take the following details from vendor master for a bulk of vendor
1.Vendor addresses like street 2 and street 3
2. Email ids
3. Country
4. Under bank details the type of account
Kindly let me know what table i have to use to get the above detailsHi Chandra
Check MKVZ
Or U can get above details by joining table <b>LFA1</b>( except email address contains all details) and <b>ADR6</b>( For email address)
To join table for desired output check following
1)Make a simple query using <b>SQVI</b>,
2)just clik the quick viewer button,
create a new quick viewer, name it,
3)select <b>data souce</b> as table join basis mode.
Then go to edit,insert table LFA1 and ADR6,Join the same(Drag the parameter and drop in another table to establish link and link all the tables)
Press check to check whether your link is correct, then press back
4)You will be able to see the tables and fields on left hand side
Vishal... -
How to show details from web part as pop up window
Hello
I designed few web pages in SharePoint Designer 2010 and trying to customize it. I have a XSLTListView web part that is displaying filtered data from the external SQL database. When user choses the item from this list, I need it to show in the new pop
up window. I can't seem to find the way to do it. Saw multiple references to use SP.UI.ModalDialog.ShowPopupDialog(url), but I don't know how and where to incorporate it, since there is no place in the page where it actually specifies that url
of the page that I need to show as pop up.
Below there is a code for the XsltListWebPart, where I'm hoping I could make changes to make it pop up (it seems that this is the part that is calling the display details form). The form that I'd like to pop up is DispForm.aspx
<script>
function showpreview<xsl:value-of select="$ViewCounter" />(o) {
count = 1;
for(i = 0; i < o.childNodes.length; i++)
var child = o.childNodes[i];
if (child.style.display == "none" && child.tagName == "DIV")
f = document.getElementById("n" + count + "<xsl:value-of select="$WPQ" />");
f.innerHTML = unescape(child.innerHTML) + ' ';
count ++;
</script>
<div id="previewpaneerror{$ViewCounter}" style="width: 801px"></div>
<table cellspacing="0" cellpadding="0" border="0" id="previewpanetable{$ViewCounter}" dir="{List/@Direction}">
<xsl:choose>
<xsl:when test="not($dvt_RowCount=0)">
<tr>
<td valign="top" style="width: 186px">
<div class="ms-ppleft" style="width: 100px">
<table cellspacing="0" cellpadding="0" border="0" style="width: 122%">
<xsl:apply-templates select="." mode="RenderView"/>
</table>
</div>
</td>
<td valign="top">
<div id="preview1{generate-id()}" class="style2" style="width: 690px; margin-left: 30px;">
<table border="0" cellpadding="0" cellspacing="0">
<xsl:for-each select="ViewFields/FieldRef[not(@Explicit='TRUE')]">
<tr>
<td nowrap="nowrap" valign="top" class="ms-formlabel" style="width: 143px">
<nobr>
<xsl:value-of select="@DisplayName"/>
</nobr>
</td>
<td valign="top" class="ms-formbody" id="n{position()}{$WPQ}" style="width: 370px">
</td>
</tr>
</xsl:for-each>
</table>
</div>
</td>
</tr>
</xsl:when>
<xsl:otherwise>
<tr>
<td class="ms-vb">
<table class="ms-summarycustombody" cellpadding="0" cellspacing="0" border="0">
<xsl:call-template name="EmptyTemplate" />
</table>
</td>
</tr>
<tr>
<td height="5">
<img src="/_layouts/images/blank.gif" width="1" height="5" alt="" />
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
</table>
</xsl:template>
Alla SandersHi Alla,
You can show details from web part as pop up window using JavaScript with SP.UI.ModalDialog.ShowPopupDialog(url). Here is a demo you can refer to:
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
var obj1=$("a[id='forum0-NewPostLink']");
url="http://sp13"+obj1.attr("href");
//alert(url);
obj1.removeAttr("href");
obj1.click(function(){
openDialogBox(url);
function openDialogBox(url) {
var pageUrl=url;
var title="New Discussion";
SP.UI.ModalDialog.showModalDialog(
url: pageUrl,
autoSize: true,
title: title,
dialogReturnValueCallback: function (result){
if(result== SP.UI.DialogResult.OK){
//refresh parent window
window.location.href=window.location.href;
</script>
Reference:
https://social.technet.microsoft.com/Forums/en-US/f18062ed-2e17-440e-8e00-2904f5316802/discussion-board-forum-opens-in-other-page?forum=sharepointdevel
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Make detail items in master/detail form read only
I want to make detail items in master/detail form read only for certain conditions (master STATUS = Closed). I see how to do this on the master record items but not on detail items.
Take a look at this thread: Re: Conditionally make a tabular form uneditable
You will need to modify the code, but it should help since a master detail is just a standard form with a tabular form attached to it..
Thank you,
Tony Miller
Webster, TX
Time flies like the wind, but fruit flies like bananas. -
Hello
I have a number of PDFs that have user permissions. When the files are opened in Adobe Reader the document's restriction summary lists differ and the form cannot be used as intended.
Example Open PDF Properties /Document Protection/ Security/ Show Details Properties/ Document Restriction/Security/Summary (I have changed
the order to make easier for comparison.)
Doc. Open Password NO
Permissions Pass Word YES
Printing High Resolution YES ......................................................................................... .....................................................YES
Changing the Document ALLOWED ........................................................................................... ..........................................NOT ALLOWED
Commenting ALLOWED.......................................................................................... ............................................NOT ALLOWED
Form Fill-in and Sign ALLOWED ......................................................................................... ........................................... Fill ALLOWED........ Sign NOT ALLOWED
Document Assembly ALLOWED............................................................................................ ..........................................NOT ALLOWED
Content Copying NOT ALLOWED.................................................................................. ............................................NOT ALLOWED
Accessibility ENABLED.................................................................................. ....................................................YES (Content copy for Accessibility)
Page Extraction NOT ALLOWED.................................................................................. ............................................NOT ALLOWED
Template NOT SPECIFIED................................................................................ .............................................NOT ALLOWED.
I am mystified why the two lists differ and the document when in use seems to be controlled by the list on the right, which takes away some of the user rights.
Is there an explanation for this. I would have thought that as the documents were password protected for permissions such as commenting and signing Adobe Reader could not change this.
Eric.Yes, thats right. I used Open Office 3 to generate the pdf. I have also tried using pdftk and Adobe Distiller 5 with the same result.
Your statement implies, the 'Adobe Reader' features cannot be fully utilized without a valid Adobe Acrobat Pro.
This is a document to which I have the source. I have been able to create the pdf with the required set of permissions based on standards. But I am being hassled because I didn't generate it with Adobe Pro! Well, I suppose this must have been a business decision, but its one thats standards contrary and morally low!
Adobe just lost an avid Reader user. I shall circulate my findings within my work and social circles. Thanks to competition and open source, I am sure to find a standards compliant reader without much delay.
Thanks for your help - graffiti
Rahul Iyer -
Update of Intrastat details against Item Master Data
Hi I'm looking to import Intrastat details against item master data. I understnad from the portal that this needs to be imported to UDO but need some guidance in terms of template set up.
Grateful for any help
Regards
DavidHi,
If you have made already the transactions you cannot update the G/L method.
Secondly if you have set G/L by Item level then you need to define the inventory accounts for all the items in your template then only you will be able to proceed further
Regards
Md.nazeer Shaikh -
Multiple Credit card details in HR master data
Hello Experts,
Can anyone please suggest me how can I record multiple credit card details in HR master record. your early reply is very much appreciated.
Thanks&Regards
Srinivashi,
You can first ask them the max limit of the card details that they will store.
Then
1. You can configure multiple sub types for the same
2. You can enhance the infotype for the credit card sub type for including multiple flds
Regards
sameer -
Hi All,
When i select CIN details in MK02, nothing is coming. pls tell me is theresettings to be done?
regards
B Shar
Edited by: Scorpio n on Feb 6, 2008 5:04 AMHi,
Goto SPRO-Logistics(general)Tax on goods movement-India---Master Data - Assign Users to Material Master Screen Sequence for Excise Duty - User screen reference : Enter your user name by which you will get details in Vendor Master
Rgds,
Vikas
Maybe you are looking for
-
Premiere Pro CS4 - editing video from GoPro video camera
I am having a problem trying to edit video from the GoPro camera in Premiere Pro CS4 (PP). Have not been able to get much help from GoPro - they just tell me to speak with Adobe. I think the video codec used by the camera is MJPEG (?). It won't play
-
How can i buy a book in another language ?
Hi I'm french and i want to buy a book in english but I don't know how to do. My device is already in english, but my country in the "iBookStore" hasn't changed. Can you help me please. Thanks
-
Pages App Not Selecting Correctly
Hi all, Using Pages on my iPad; since updating to iOS7 can no longer drag the selection to select more text; nor can I alter the size of objects like text boxes. Seems that iOS7 has broken dragging behaviour in Pages. Anyone having similar problems?
-
Can anyone tell me why my computer is so slow. Even typing suddenly stops on the screen. Its a Mac OSX desktop.
-
Date Prompt in Direct DB Request
Hi I have to pass the below filter in Direct Database Request but when I do as Filter in Report its working good T522452.ORDERED_DATE =EVALUATE('TO_DATE(%1,%2)', '@{Date1}','MM/DD/YYYY HH:MI:SS AM') but when I give the same sql in Direct db request i