How to get VO.getAllRowsInRange () form a Nested AM
Hellonot able to get the AM nested, use this code:
AtchAM OAApplicationModule = (OAApplicationModule) am.findApplicationModule ("OAAttachmentsAM");
and
AtchAM OAAttachmentsAMImpl = (OAAttachmentsAMImpl) am.findApplicationModule ("OAAttachmentsAM");
but for both cases, it is not the AM.
but using the am.getApplicationModuleNames (); be able to see that the OAAttachmentsAM is a nested AbsenceSuppDocAM AM
Hello
Use the following code
OAApplicationModule am = pageContext.getRootApplicationModule (webBean);
OAApplicationModule childAM = (OAApplicationModule) am.findApplicationModule ("child_AM_name");
thanx
Pratap
Tags: Oracle Applications
Similar Questions
-
How to get A JAVASCRIPT FORM to APPEAR in the CENTER OF WEB page
I HAVE A FORM UTILITY PASSWORD WRITTEN IN JAVASCRIPT AND ADDED TO THE PAGE VIA THE INSERTION OF HTML.
HOWEVER, THE FORM DISPLAYED AT THE TOP OF THE WEB PAGE...
HOW CAN I GET THIS CENTER ON THE PAGE?
Put a div around it and format its CSS rules accordingly, even though I have a suspicion that you did not follow the guidelines of all script you insert and forgot a few essentials...
Mylenium
-
How to get out sytem (form + menu) by pressing a button?
We want to get the whole system (i.e., the form and the form of menu) when we press a button in the form?
Cannot use exit_form because need us to your menu.
We want also to exit the menu screen.
How to do this?
It's Forms 10g Release 2.
Published by: user12240205 on May 15, 2012 01:58
Published by: user12240205 on May 15, 2012 01:59
Published by: user12240205 on May 15, 2012 02:00Hello
Is there a way to close the browser? Then, everything will be.
Oh Yes close the browser window.
Create a file named close.html with the following code
Enter the close.html in the form of post like this
WEB.SHOW_DOCUMENT('/forms90/myhtml/close.html','_self');
You need to make the directory map
Kind regards
Amatu Allah
-
How to get around a form if the person is in the database
I am trying to build a database of PDF files online that my trade association members can download for free. One aspect of what we're trying to implement is to use forms, or some other method so it's easier to track how many times a file is downloaded and which download files. We have 40 + files and right now, our goal is to create a form for each file. The way it works is that they click on the download link, please fill out the form and then download the file. The problem is that we do not want someone to have to fill in the form of 40 + times. I came across a little tutorial on how to do a database search to pre-fill forms, which work, but what we really want is the person be able to click on the download link and Eloqua check to see if they have a "profile witness", and if this cookie profile has some basic info (name, e-mail etc.) in the annex in the database if they are not in the database (or lack some data) as they present the form to fill out. If they would have the information in the database already, then they jump the form and download the file without ever seeing the form. Is this possible in E9? If so, how?
Any help you could provide would be greatly apprecaited. I thank very you much in advance!
Hello
Have you tried solution Eloqua Gated forms? It is quiet, advanced in a sense that you must handle some Javascript and HTML codes.
More info on: http://eloqua.blogspot.com/2010/06/gated-forms-asking-for-just-right.html
Thank you
Ravi
-
How to get information from forms osuser
Hello
We use Forms 10 of IAS 10.1.2 (with plugin Sun Java) with old fashioned defined database users (IE select user of double shows the database user connected to the application Forms).
Now, I want to get my hands on the user name of the operating system (in this case, the lan account) to the user from a form.
If I try SYS_CONTEXT ('USERENV', 'OS_USER') I'll of course only 'oracle' since it's oracle who runs the container or the applet or whatever on the application server.
When I look in the "User Sessions" tab in the Application server control I can see the database user and an IP address, but no osuser it no more.
Is it not possible to do? I googled my fingers off...
We have logging the osuser which goes back into the client-server version but now it shows just oracle for all users which is quite unnecessary to open a session.
Someone has an idea?
Thank you
JosefineTry webutil_clientinfo.get_user_name
-
I want to activate a button when my form is only record insert mode.
Please tell me what level and which trigger do I apply on my form.
SYSTEM. FORM_STATUS represents the State of the current form.
The value can be one of three character strings:
- CHANGED Indicates that the form contains at least a block with a Changed record. The value of the SYSTEM. FORM_STATUS becomes CHANGED that once at least one record in the form has been changed and the associated navigation device has also changed.
- NEW Indicates that the form contains only new records.
- QUERY Indicates that a query is opened. The form contains at least one block with the records in the QUERY and not blocks with CHANGED records.
-
How to get a form empty when we run the page?
Hi all!
Hope you are well
My question is, How to get empty a form at run time? means that when we run the page, text fields is filled with white... Could someone please help me with this...
Thanks in advance,
Nanda.
Hi Nanda,
Just follow these steps:
(1) create a stubborn taskflow (uncheck create with fragments box)
(2) drag the CreateInsert operation on your narrow-minded taskflow and mark it as the default activity
(3) drag a view and the CreateInsert a link to the component view using a case of control flow
(4) double click on the view to create the page
(5) slide the view object in the page as a form of ADF
6) back to your narrow-minded taskflow and the general tab make sure you under visibitliy you select "url-invoke-enabled.
You run tasfklow and your form will be rendered in insert mode.
Concerning
Antonis
-
How to get current Login user in Oracle Forms?
Hi friends...
How to get current Login user in Oracle Forms?
using the PL/SQL Editor on triggers.
Please tell me...
You have plsql function USER.
For example:
CURRENT_USER: = USER;
Concerning
-
How to get Nested table function
Hi friends,
In a package, I created a nested table type name Varchar2 EmployeeCodeList.
Then, I created a function whose return type is EmployeeCodeList. But I don't get how to get the values of this function?
TYPE EmployeeCodeList IS TABLE OF THE VARCHAR2 (30);
FUNCTION GenerateRandomEcF (Ec_length NUMBER, NumberOfEmp NUMBER)
< < the function code > >
RETURN v_RandomEmpCodes; END GenerateRandomEcF;
PROCEDURE GenerateEmpFile (NumberOfEmp NUMBER, Start_SN NUMBER, EmpValue NUMBER, VARCHAR2, VARCHAR2, Ec_length NUMBER EmpGroup HireDate) IS
v_Filename VARCHAR2 (40);
v_EmployeeCodes EmployeeCodeList;
v_EmpBatchF UTL_FILE. TYPE_DE_FICHIER;
BEGIN
v_Filename: = 'EMPLOYEE_BATCH_ ' | TO_CHAR (SYSTIMESTAMP, 'YYYYMMDD_HHMISS'): '. DAT';
v_EmployeeCodes: = EmployeeCodeList (NumberOfEmp);
v_EmployeeCodes: = SELECT * FROM TABLE (GenerateRandomAcF (Ac_length, NumberOfVoucher));
v_EmpBatchF: = UTL_FILE. FOPEN ('EXT_VOUCHER_DIR', v_Filename, 'W');
IF UTL_FILE.IS_OPEN (v_EmpBatchF) THEN
FOR i IN 1.NumberOfVoucher LOOP
UTL_FILE. Put_line (v_EmpBatchF, v_EmployeeCodes (i) |) ',' || Start_SN + (i-1). «, » || EmpValue | «, » || HireDate. «, » || EmpGroup);
END LOOP;
END IF;
END GenerateEmpFile;
How the line highlighted code above must be written so that I can get value of function in a variable of the same type of nested table.
If you use the second approach, I mean
56 v_EmployeeCodes: = GenerateRandomAcF (Ac_length, NumberOfEmployee);
then the collection must be initialized using the constructor method. Change line 33.48 as number below
33 v_RandomEmployeeCodes EmployeeCodeList: = EmployeeCodeList();
48 v_EmployeeCodes EmployeeCodeList: = EmployeeCodeList();
This is because when you use BULK COLLECT, Oracle automatically populates the collection without initialization. But if you do not COLLECT in BULK, then the collection must be initialized before filling / extending. Otherwise, you will get error of REFERENCE to the COLLECTION that is not INITIALIZED. So this should be the code, you should use. When you do not select... INTO, you might well declare the function is private and it is not necessary to declare in the package specification.
SQL > CREATE OR REPLACE PACKAGE BODY GenerateEmployeePackage AS
2 PROCEDURE Get_AC_Range (Ac_length NUMBER, Range_Start SERIES, certain Range_End NUMBER)
3 EAST
4 BEGIN
5 If Ac_length = 8 THEN
6 Range_Start: = 10000000;
7 Range_End: = 99999999;
8 Ac_length ELSIF = 9 THEN
9 Range_Start: = 100000000;
10 Range_End: = 999999999;
11 Ac_length ELSIF = 10 THEN
12 Range_Start: = 1000000000;
13 Range_End: = 9999999999;
14 Ac_length ELSIF = 11 THEN
15 Range_Start: = 10000000000;
16 Range_End: = 99999999999;
17 ELSIF Ac_length = 12 THEN
18 Range_Start: = 100000000000;
19 Range_End: = 999999999999;
20 Ac_length ELSIF = 13 THEN
21 Range_Start: = 1000000000000;
22 Range_End: = 9999999999999;
23 Ac_length ELSIF = 14 THEN
24 Range_Start: = 10000000000000;
25 Range_End: = 99999999999999;
26 END IF;
27 END Get_AC_Range;
28
GenerateRandomAcF FUNCTION 29 (Ac_length NUMBER, NumberOfEmployee NUMBER)
30 BACK IS EmployeeCodeList
31 NUMBER Range_Start;
32 Range_End NUMBER;
33 v_RandomEmployeeCodes EmployeeCodeList: = EmployeeCodeList ();
BEGIN 34
35 Get_AC_Range (Ac_length, Range_Start, Range_End);
36 v_RandomEmployeeCodes.extend (NumberOfEmployee);
37
38 FOR I IN 1.NumberOfEmployee LOOP
39 v_RandomEmployeeCodes (i): = TRUNC (DBMS_RANDOM.value (down-online Range_Start, high-online Range_End));
40 END LOOP;
41
42 v_RandomEmployeeCodes RETURN;
43
END 44 GenerateRandomAcF;
45
GenerateEmployeeFile PROCEDURE 46 (NumberOfEmployee NUMBER of Start_SN NUMBER, EmployeeValue NUMBER, displayed EmployeeGroup VARCHAR2, VARCHAR2, Ac_length NUMBER) IS
47 v_Filename VARCHAR2 (40);
48 v_EmployeeCodes EmployeeCodeList: = EmployeeCodeList ();
49 v_EmployeeBatchF UTL_FILE. TYPE_DE_FICHIER;
BEGIN 50
51 v_Filename: = 'Employee_BATCH_ ' | TO_CHAR (SYSTIMESTAMP, 'YYYYMMDD_HHMISS'): '. DAT';
52 v_EmployeeCodes: = EmployeeCodeList();
53
54 get nested table function
55 - SELECT * COLLECT in BULK IN TABLE v_EmployeeCodes (GenerateRandomAcF (Ac_length, NumberOfEmployee));
56 v_EmployeeCodes: = GenerateRandomAcF (Ac_length, NumberOfEmployee);
57 v_EmployeeBatchF: = UTL_FILE. FOPEN ('EXT_Employee_DIR', v_Filename, 'W');
58
59 if UTL_FILE.IS_OPEN (v_EmployeeBatchF) THEN
60. FOR i IN v_EmployeeCodes.FIRST... v_EmployeeCodes.Last LOOP
UTL_FILE 61. Put_line (v_EmployeeBatchF, v_EmployeeCodes (i) |) ',' || (Start_SN + (i-1)). «, » || EmployeeValue | «, » || Posted | «, » || EmployeeGroup);
LOOP END 62;
63 END IF;
64
END 65 GenerateEmployeeFile;
66
END 67 GenerateEmployeePackage;
68.
-
How to get the values of the shape of the object in the form of process field?
Hello
I created the resource object and it has the shape of the object that are associated with him. When the user self praying for this user RO add information in the form object field ho can I get these values as a process?
How to get the values of the shape of the object in the form of process field?Hello
If you want to map the form field Number in the form of process field go process definition - Data Flow Mapping tab you can add the field map.
Thank you
Patricia -
How to get the computer name - forms 10g
Hello
How to get the name of the server or some other identification forms 10g Application?
We have several servers and host load balancing redirects user to the X Server and the forms application, I have to get information from the server to which the user was redirected? Is there a way how to do?
It can be the name of the server, Ip or other identifying information...
Thank you.As the client that connects to the database is the application server
CHE_TEST@tcp_asterix_impl> select sys_context('userenv', 'host') from dual; SYS_CONTEXT('USERENV','HOST') ---------------------------------------------------------------------------- LINZ\CHE-WS
Should return you the host name of your application server.
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions165.htm#SQLRF06117 for more information you can get with sys_context
see you soon
-
Forms 6i: how to get the UNC path? SOLVED
Anyone know how to get the UNC path of in Oracle Forms 6i
For example, if the user enters an output file:
j:\Data.txt
How I translated that UNC path:
\\serv-123\cfs\data.txt
Basically, I need to pass the UNC path to a regular DB procedure that later would be to copy an output file at the location specified by the user. "J:" being a network drive mapped, the database server would not be able to copy the file.
Thank you
JimIt's perhaps easier: read the registry using WIN_API_ENVIRONMENT. READ_REGISTRY. The key is HKEY_CURRENT_USER\NETWORK\
\RemotePath. -
How to get multiple rows in the table is displayed on the form
I am looking for a way to get more table rows that appear on the form. I created a table with a header and a line with the add-in and remove button option. I like how the sample purchase order form has it setup in the designer it shows one line and it appears on the form so the table has three rows to start with. How do I do that? I looked at the code on the sample and I couldn't find it anywhere. Please help, thanks.
Hello
I have an example here in the construction of a dynamic array markets.
http://www.assuredynamics.com/index.php/category/portfolio/building-dynamic-tables/
You must select the line and then go to object > Binding palette and set it to repeat. You can set the minimum and initial number to what you want.
The form should be saved in a dynamic form of XML in the Save as dialog box.
Also the page must be set to Flowed, so that as the table grows, push another object down. In addition, you need to configure the paging settings so that the flow of the page as the number of lines is superior to a single page.
Give a start and if you need more help,
Niall
-
How to get the dialog box print forms 6.0.8.8.0 (6i)
Hello
I want to get a print dialog box when the button is pressed. For this I need to use win_api_dialog.select_printer that I found in the library of d2kwutil.pll.
I created a simple form using Developer 6.0.8.8.0.
I have attached the d2kwutil.pll lib
I have the d2kwutil.pll in the directory where forms_path is pointing to in my registry.
There is only a single block and a button on the form. Here is the code on the when button pulled the trigger
declare
vcPrinter varchar2 (200);
vcPort varchar2 (200);
Start
win_api_dialog.select_printer (vcPrinter, vcPort, TRUE);
: PRI. PRI_PRINTER: = vcPrinter;
: PRI. PRI_PORT: = vcPort;
end;
When I run the form, the form compiles well but I
FRM-40734 internal error PL/SQL ERROR OCCURRED.
Can you please tell me what must I watch or even step by step instructions on how to get this working. ?
Thank you
LabaHi Laba!
Your form is not the d2kwut.dll, I think.
Try to put in the \bin folder in your home of developer.Cordially and Pauline halla!
-
I accidentally deleted run form my work computer to windows 7, how I get it back?
How to get back on my computer?
If it does not display? Make a right click on the ORB start, properties, customize, the entrance to Run is very close to the bottom of the list.
Maybe you are looking for
-
I have a HP DV6-6001TX with the 6770 m GC. I tried to boot my laptop for a while now, but every time he says hard disk not detected and undetected boot device. I tried to secure the connection from the HARD disk several times without success. What sh
-
What I would do, my computer has so many unwanted programs, is to reinstall Vista and not all HP programs that I don't want. It seems to make the computer too slow. I don't have a Vista disc, only the recovery CD I did in the beginning. Can I recov
-
Shutdown innacurate and ensures state-DRIVER_POWER_STATE_FAILURE (9f)
I can't find a solution to find frequent errors in trying to put the PC into standby or sleep mode. Help, please! Here are the results of debugger Windows: Loading dump file [C:\Windows\Minidump\100210-18844-01.dmp]The mini kernel dump file: only reg
-
Smartphones blackBerry enhanced Gmail Plugin
Please can you provide a list of which is synchronized between the handset and the server updated. For example, marking an unread email / reading. Thank you
-
HelloI have an obligation to update a field in a table with a value in another table without any common field, there is only 1 field that is common, but is not unique, so join on it will produce a Cartesian join. I tried to create a number line in ta