Problem with reports and forms
Hello,
I have a problem regarding a report and a problem regarding a form.
My tables are as follows:
Account customer account_customer (intersecting table because of N:M relationship)
Account_id Customer_id Account_id
Account_name Customer_name Customer_id
Account_date Customer_date
Account_by Customer_by
I need a report that shows all the accounts and for every account all the customers connected to it.
The results I get now is i.e:
1 Account1 2007-09-17 admin Customer1
1 Account1 2007-09-17 admin Customer2
1 Account1 2007-09-17 admin Customer3
I want it to be like this or any other suggestion you have:
1 Account1 2007-09-17 admin Customer1
Customer2
Customer3
The form-problem is that I have two select lists where the first one (group) determines what is included in the second one (group members)
I want to choose group in the first select list and then only get the selected groups members in the second select list. How have you solved this?
Best regards
//Jens
Hi
For the form with the select list either:
1. make the GROUP item type as select list with submit and include an unconditional page process to return to that page after page processing, computation and validation. The GROUP MEMBER should be normal select list.
2. Else use AJAX select list as mentioned in the following example: http://apex.oracle.com/pls/otn/f?p=11933:37:1556916731898705::NO:::
Thanks,
Similar Messages
-
I have problems with buttons and Forms in my trial proof of Indesign CC, how can I fix it?
Moved to InDesign forum.
You can start by telling us what the problem is. -
Problems with reports and XML-publisher - No XML
Hi!
I'm having a problem with Apps and XML-publisher. I made a report file, which queries some views. When executing in reports, I get all the data I expect.
Now, when I upload the reportfile to Apps and let it generate XML, my xml-file is empty (well, almost empty)
<?xml version="1.0" ?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<T03501684>
<LIST_G_PERSOON>
<LIST_G_PERSOON />
</T03501684>
Anyone who can shed any light upon this problem?OK, finally solved the problem... A good night's sleep always helps ;).
After just trying each queried table one after an other, I found the problem:
The difference between Oracle Apps (Dutch locale) and the reports builder (English) is the language... And our functional people have changed some names, but the Dutch ones, leaving the english names in place and one of the tables I query has language specific data, which is also appears in a where clause. -
Problem in reports and forms 9i
hi
i want to know the steps to show icons on button in the run time forms
i also want previous and next button in report which show the next and previous page of report
its urgent please reply as soon as possible
thanks
monikaHi
For the form with the select list either:
1. make the GROUP item type as select list with submit and include an unconditional page process to return to that page after page processing, computation and validation. The GROUP MEMBER should be normal select list.
2. Else use AJAX select list as mentioned in the following example: http://apex.oracle.com/pls/otn/f?p=11933:37:1556916731898705::NO:::
Thanks, -
Problem with Report and distribution file
Hi.
I have a report that create the paycheck for my customer's employe.
My first group on the report is the email adresse of the employe, so i can cut the report end send it by mail to the said employe.
95% of the time it's working perfectly. But when i encouter a blank adresse or simply no result (no line return by the query)
then the report execute, and crash giving me this error.
access control disabled, clients can connect from any host
REP-0177: Erreur au cours de l'exécution sur serveur éloigné
Paramètre de référence 'REFADRCOU' non valide dans la liste de diffusion
Sorry i did not find the equivalent in english. It say that the email field (REFADRCOU) that i am using for the TO is invalid and make the whole report crash.
I'm not sure how i could deal with this.
I had a idea of executing the query before report, in the afterpform, and if i have no result, add a blank line with select XXX from dual for exemple so it would have at least 1 row and won't crash. but it's not very elegant.
Any idea or suggestion on how i could handle this problem.Hi.
Thanks for answering.
I solved the problem.
First I stored the file into a string variable.
And on that variable I do
some processes. (Analyze the read
bytes and add more text to the original file)
Before I did that processes on
.Text property on the object. -
Need help with Report and Forms
I have a report that shows all the information of an employee, say sales information of that employee on page 1. when I create NEW record, it'll direct me to page 2 which is a form to fill in the details. How do I get certain fields of that form filled automatically, fields like Last Name, First Name, Employee ID?
Thank you.
AndyCan you show me the pl/sql process that you have? get
me started off?
Thanks,
AndySure , See Below. Its just a PL/SQL Block. Enter it into the box named Source.
I have a button (called reactivate in my case). This process is made conditional on the page being submitted.
Process Point: after computations and validations
Run process: Once per Page Visit.
P38_CARDHOLDER_REF is an item on my form on which the SQL is based.
declare
v_sysdate date := sysdate;
BEGIN
delete
from ci_deleted_cardholder
where cardholder_ref = :P38_CARDHOLDER_REF
and deleted is null;
update bp_partner
set disable_date = add_months(v_sysdate,5000),
statuscode = 1,
last_update_date = v_sysdate
where partner_ref = :P38_CARDHOLDER_REF;
insert into bp_partnerstathist
(partnerstathist_id,
partner_id,
changeddt,
statuscode,
changedby,
reasoncode,
Signature
values(
bp_partnerstathist_seq.nextval,
:P38_cardholder_ref,
v_sysdate,
1,
v('APP_USER'),
1012,
NULL);
COMMIT;
END; -
Problems with Reports and AppletViewer
Hi:
I'm using Netscape 4.7 and JInitiator 1.1.7.18, but I3ve two more
questions:
1.- Using JInitiator, I've a poor performance, works two or three
times, then it crashes. Do you have this problem?
2.- Instead of JInitiator, I've to use Appletviewer (JDK 1.1.7),
works much better and the performance is higher, but a calling to
a WebReport using web.show_document built-in doesn't work. How
can I run a WebReport using the Appletviewer?
Thanks.
Polo Alvarez
nullOK, finally solved the problem... A good night's sleep always helps ;).
After just trying each queried table one after an other, I found the problem:
The difference between Oracle Apps (Dutch locale) and the reports builder (English) is the language... And our functional people have changed some names, but the Dutch ones, leaving the english names in place and one of the tables I query has language specific data, which is also appears in a where clause. -
Which modules of oracle apps have reports and forms?
which modules of oracle apps have reports and forms? Do I need to have strong programming knowledge to learn these?
Plz try to respond as I need to get started with the traiining asap.Most of Oracle Apps modules come with reports and forms. You would probably need to create your custom module (with custom forms/reports) instead of modifying the standard Oracle Apps forms and reports. Start with "Oracle Applications Developer's Guide" and "Oracle Applications Concepts" manuals, it should be helpful.
Oracle Applications Concepts
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf
Oracle Applications Developer's Guide
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115devg.pdf
Applications Releases 11i and 12
http://www.oracle.com/technology/documentation/applications.html -
Problem with custom Reports and forms in R12
Hi All,
we are upgrading from 1103 to R12. In R12 we are facing a peculiar problem with Reports. All seeded reports are running perfectly. But no data is coming while running the custom reports. The operating unit field in the SRS window is getting populated automatically while running the seeded reports but getting greyed off while running custom reports.
We are facing the same problem with forms even, data is not getting retrieved in custom forms. Can any one suggest wether there is any profile option which is being missed out by us. ..
Thank you,
Regards
RajAdd SRW.USER_EXIT('FND SRWINIT') in the afterPForm trigger.
This will set the org context for reports.
~Sukalyan Ghatak -
Very big problem with JSF about FORM and "id=" for HTML form's elements and
I have discovered a very big problem with JSF about FORM and "id=" for HTML form's elements and java instruction "request.getParameterNames()".
Suppose you have something like this, to render some datas form a Java Beans :
<h:dataTable value="#{TablesDb2Bean.myDataDb2ListSelection}" var="current" border="2" width="50%" cellpadding="2" cellspacing="2" style="text-align: center">
<h:column>
<f:facet name="header">
<h:outputText value="Name"/>
</f:facet>
<h:outputText id="nameTableDb2" value="#{current.db2_name_table}"/>
</h:column>
</h:dataTable>
Everything works fine...
Suppose you want to get the name/value pairs for id="nameTableDb2" and #{current.db2_name_table} to process them in a servlet. Here is the HTML generated :
<td><span <span class="attribute-name">id=<span class="attribute-value">"j_id_jsp_1715189495_22:0:nameTableDb2">my-table-db2-xxxxx</span></td>
You think you can use the java instructions :
Enumeration NamesParam = request.getParameterNames();
while (NomsParam.hasMoreElements()) {
String NameParam = (String) NamesParam.nextElement();
out.println("<h4>"++NameParam+ "+</h4>);
YOU ARE WRONG : request.getParameterNames() wants the syntax *name="nameTableDb2" but JSF must use id="nameTableDb2" for "<h:outputText"... So, you can't process datas in a FORM generated with JSF in a Servlet ! Perhaps I have made an error, but really, I wonder which ?
Edited by: ungars on Jul 18, 2010 12:43 AM
Edited by: ungars on Jul 18, 2010 12:45 AMWhile I certainly appreciate ejb's helpful responses, this thread shows up a difference in perspective between how I read the forum and how others do. Author ejb is correct in advising you to stay inside JSF for form processing if form processing is what you want to do.
However, I detect another aspect to this post which reminds me of something Marc Andreesen once said when he was trying to get Netscape off the ground: "there's no such thing as bad HTML."
In this case, I interpret ungar's request as a new feature request. Can I phrase it like this?
"Wouldn't it be nice if I could render my nice form with JSF but, in certain cases, when I REALLY know what I'm doing" just post out to a separate servlet? I know that in this case I'll be missing out on all the nice validation, conversion, l10n, i18n, ajax, portlet and other features provided by JSF".
If this is the case, because it really misses the point of JSF, we don't allow it, but we do have an issue filed for it
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=127
If you can't wait for it to be fixed, you could decorate the FormRenderer to fix what you want.
I have an example in my JSF book that shows how to do this decoration. http://bit.ly/edburnsjsf2
Ed -
More than one column retrieved in "report and form" page
HELLO!
let's see if anybody can help me with this... i'm sure it's a stupid problem but i really don't know how to solve it.
when i create a new application with APEX, i want to add a "report and form" page. i select the table where de data is, and then click on add page. then i go to the page definition for the form that just has been created but there's no option for selecting more than one column as the link column...
i mean, i want to show a report with all the columns from the table and then, by selecting one of them, the form should display that column but the problem is that the primary key of the table is formed by 6 columns and i always receive the "more than one column retrieved" message as it's trying to retrieve the information using only one column. is there any way to make the link column be composed by 6 or 7 columns??APEX can handle 2 primary key for one table (if you are using the automated fetch row and the automated process row).
In your case, you'll have to create your own "fetch process (page rendering)" and "DML process (page processing)".
Flex
Homepage : http://www.insum.ca
InSum Solutions' blog : http://insum-apex.blogspot.com -
i have installed PCM14 and BI Publisher, when i want to import reports and forms in PCM administrition, problem happened, " data model definition not found for "us/sql/ ",how to do it?Primavera Contract Management User Community
Hi Liu, It could be a bunch of things, but as a start point I would suggest: 1) The Reports & Forms path being entered in Contract Management Administration is incorrect. If working with Multi-Project Reports or Group Level Letter Templates, the incorrect path may be located in the Primavera Administrator Utility (admincm.cmd). 2) Make note of the data model or report being referenced in the error message. Locate that affected data model or report on the BI Publisher server, and remove it. Then attempt to Import Reports and Forms again. Best regards, Matías
-
Problems with Safari and Firefox (HTTP?)
Problems with Safari and Firefox (HTTP?)
On a laptop G4, 10.5.8 and Safari 5.02 I experience the following:
On the account of my oldest daughter everything works fine, i.e. wireless internet works and no problems with mail or safari.
On the same laptop, on the account of my other daughter, the wireless is OK, she can mail etc. But safari nor firefox works. It says: can’t find server (whatever site) and in the activity window it looks if safari tries to open files (in the safari preferences-folder) in stead of http. Same applies to Firefox, so maybe it has more to do with HTTP in general?
What goes wrong? What to do? I tried the following on the host terminal (tips from Apple)
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false
and
defaults delete com.apple.safari WebKitDNSPrefetchingEnabled
but that did not help,
NanneI'm still wondering why it happens now at this moment in time...
PC does seem to be a bit odd & inconsistent, the few times I've tested with it, at least so far as we content filtering goes; and if I remember rightly, you're not the first to report previously ok settings suddenly preventing some or all internet until pc is switched off altogether.
It may work when re-enabled -
Problem with trigger and entity in JHeadsart, JBO-25019
Hi to all,
I am using JDeveloper 10.1.2 and developing an application using ADF Business Components and JheadStart 10.1.2.27
I have a problem with trigger and entity in JHeadsart
I have 3 entity and 3 views
DsitTelephoneView based on DsitTelephone entity based on DSIT_TELEPHONE database table.
TelUoView based on TelUo entity based on TEL_UO database table.
NewAnnuaireView based on NewAnnuaire entity based on NEW_ANNUAIRE database view.
I am using JHS to create :
A JHS table-form based on DsitTelephoneView
A JHS table based on TelUoView
A JHS table based on NewAnnuaireView
LIB_POSTE is a :
DSIT_TELEPHONE column
TEL_UO column
NEW_ANNUAIRE column
NEW_ANNUAIRE database view is built from DSIT_TELEPHONE database table.
Lib_poste is an updatable attribut in TelUo entity, DsitTelephone entity, NewAnnuaire entity.
Lib_poste is upadated in JHS table based on TelUoView
I added a trigger on my database shema « IAN » to upadate LIB_POSTE in DSIT_TELEPHONE database table :
CREATE OR REPLACES TRIGGER “IAN”.TEL_UO_UPDATE_LIB_POSTE
AFTER INSERT OR UPDATE OFF lib_poste ONE IAN.TEL_UO
FOR EACH ROW
BEGIN
UPDATE DSIT_TELEPHONE T
SET t.lib_poste = :new.lib_poste
WHERE t.id_tel = :new.id_tel;
END;
When I change the lib_poste with the application :
- the lib_poste in DSIT_TELEPHONE database table is correctly updated by trigger.
- but in JHS table-form based on DsitTelephoneView the lib_poste is not updated. If I do a quicksearch it is updated.
- in JHS table based on NewAnnuaireView the lib_poste is not updated. if I do a quicksearch, I have an error:
oracle.jbo.RowAlreadyDeletedException: JBO-25019: The row of entity of the key oracle.jbo. Key [null 25588] is not found in NewAnnuaire.
25588 is the primary key off row in NEW_ANNUAIRE whose lib_poste was updated by the trigger.
It is as if it had lost the bond with the row in the entity.
Could you help me please ?
Regards
LaurentThe following example should help.
SQL> create sequence workorders_seq
2 start with 1
3 increment by 1
4 nocycle
5 nocache;
Sequence created.
SQL> create table workorders(workorder_id number,
2 description varchar2(30),
3 created_date date default sysdate);
Table created.
SQL> CREATE OR REPLACE TRIGGER TIMESTAMP_CREATED
2 BEFORE INSERT ON workorders
3 FOR EACH ROW
4 BEGIN
5 SELECT workorders_seq.nextval
6 INTO :new.workorder_id
7 FROM dual;
8 END;
9 /
Trigger created.
SQL> ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS';
Session altered.
SQL> insert into workorders(description) values('test1');
1 row created.
SQL> insert into workorders(description) values('test2');
1 row created.
SQL> select * from workorders;
WORKORDER_ID DESCRIPTION CREATED_DATE
1 test1 30-NOV-2004 15:30:34
2 test2 30-NOV-2004 15:30:42
2 rows selected. -
Problem with JTextPane and StateInvariantError
Hi. I am having a problem with JTextPanes and changing only certain text to bold. I am writing a chat program and would like to allow users to make certain text in their entries bold. The best way I can think of to do this is to add <b> and </b> tags to the beginning and end of any text that is to be bold. When the other client receives the message, the program will take out all of the <b> and </b> tags and display any text between them as bold (or italic with <i> and </i>). I've searched the forums a lot and figured out several ways to make the text bold, and several ways to determine which text is bold before sending the text, but none that work together. Currently, I add the bold tags with this code: (note: messageDoc is a StyledDocument and messageText is a JTextPane)
public String getMessageText() {
String text = null;
boolean bold = false, italic = false;
for (int i = 0; i < messageDoc.getLength(); i++) {
messageText.setCaretPosition(i);
if (StyleConstants.isBold(messageDoc.getCharacterElement(i).getAttributes()) && !bold) {
bold = true;
if (text != null) {
text = text + "<b>";
else {
text = "<b>";
else if (StyleConstants.isBold(messageDoc.getCharacterElement(i).getAttributes()) && bold) {
// Do nothing
else if (!StyleConstants.isBold(messageDoc.getCharacterElement(i).getAttributes()) && bold) {
bold = false;
if (text != null) {
text = text + "</b>";
else {
text = "</b>";
try {
if (text != null) {
text = text + messageDoc.getText(i,1);
else {
text = messageDoc.getText(i, 1);
catch (BadLocationException e) {
System.out.println("An error occurred while getting the text from the message document");
e.printStackTrace();
return text;
} // end getMessageText()When the message is sent to the other client, the program searches through the received message and changes the text between the bold tags to bold. This seems as if it should work, but as soon as I click on the bold button, I get a StateInvariantError. The code for my button is:
public void actionPerformed(ActionEvent evt) {
if (evt.getSource() == bold) {
MutableAttributeSet bold = new SimpleAttributeSet();
StyleConstants.setBold(bold, true);
messageText.getStyledDocument().setCharacterAttributes(messageText.getSelectionStart(), messageText.getSelectionStart() - messageText.getSelectionEnd() - 1, bold, false);
} //end actionPerformed()Can anyone help me to figure out why this error is being thrown? I have searched for a while to figure out this way of doing what I'm trying to do and I've found out that a StateInvariantError has been reported as a bug in several different circumstances but not in relation to this. Or, if there is a better way to add and check the style of the text that would be great as well. Any help is much appreciated, thanks in advance.Swing related questions should be posted in the Swing forum.
Can't tell from you code what the problem is because I don't know the context of how each method is invoked. But it would seem like you are trying to query the data in the Document while the Document is being updated. Try wrapping the getMessageText() method is a SwingUtilities.invokeLater().
There is no need to write custom code for a Bold Action you can just use:
JButton bold = new JButton( new StyledEditorKit.BoldAction() );Also your code to build the text String is not very efficient. You should not be using string concatenation to append text to the string. You should be using a StringBuffer or StringBuilder.
Maybe you are looking for
-
Provident fund configuration for coal project
Dear all my requirement is to maintain pf rates for our coal mines.we have already maintained pf rates for our organization i.e plant .but now we have created new pf id for coal project.and we have different calculations for coal project employees wh
-
Hi, I am trying to create a gui where I can browse on my desktop and load a file from there to take it to the server. Below I have taken a snipet of the code where I browse on my desktop, but my problem is this is not displayed in the textfield...(an
-
Please advise on the the alternative sol
When using the FM RZL_READ_DIR_LOCAL i get the list for files name in the importing directory (let's say ITAB) With the list of file name i need to chek whether the file name exit in table KNA1 for the field KUNNR I firstly thought of Loop at itab. w
-
Front Row missing artwork issue
Hello everyone, Here is what i've experienced with missing artwork in front row. 2 albums of my collection refused to display their artwork in front row (these artworks were displaying perfectly fine in itunes, coverflow, finder songs icons and ipods
-
Hi, I have a list with 3 columns Column Name| Column Type Employee | Person/Group First Name | Single Line Text Last Name | Single Line Text As the Employee column is of type "Person/Group", I want to apply item based security on this list. For examp