Master-Detail Forms (Populating a Foreign Key Automatically)
Master-Detail Form
When inserting a MD Form, the Master ID (e.g. Deptno,the Primary Key) is generated.
How is it possible for this also to be generated in the Detail Form (as the Foreign Key)? The requirement is for the foreign key to be populated automatically.
Any help would be much appreciated.
Thanks.
This item is discussed earlier in this group.
It's solved in version 3.0.8
Regards,
Anna
Similar Messages
-
Master detail form issue retrieving service price automatically
Hi,
I developed a master detail form in order to process service requests.
On details block I'm trying to retrieve automatically service price after I select service name from LOV.
For this purpose I created a application plsql process
declare
v_price service.price%type;
begin
select price into v_price
from service
where service_no = 1;
htp.prn(v_price);
exception when others then htp.prn('An error occurred retrieving the PRICE');
end;
Which process I'm calling through javascript function in order to retrieve service price.
<script type="text/javascript">
function GetServicePrice(pThis)
var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
html_GetElement('f07_'+vRow).value = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=getPrice',0);
</script>
Instead of price it returns this value: "[object Object]".
Is it possible to work as I intended or it should other way around?
I appreciate your help/comments.
Application Express 4.2.1.00.08
Oracle Database 11g Express Edition Release 11.2.0.2.0
Regards,Tonito99 wrote:
Hi Tom,
I applied these changes on page HTML Header, but now it's not returning nothing.
f07_ (price column) is empty.
<script type="text/javascript">
function GetServicePrice(pThis)
var ajaxRequest = new htmldb_Get(null, $v('pFlowId'), 'APPLICATION_PROCESS=getPrice', 0);
var ajaxReturn = ajaxRequest.get();
$s('f07_'+vRow, ajaxReturn);
</script>
Any other suggestion?
Regards,
Edited by: Tonito99 on Mar 8, 2013 3:32 PMIf you are on apex 4.2 why are you still using the legacy/undocumented methods?
You should use new javascript API apex.server.process
apex.server.process ( "getPrice", {
success: function( pData ) { $s('f07_'+vRow, pData);}
} ); -
Old items are not populated after adding items into a master/detail form
Hi,
I am relatively new to APEX. I am creating a master/detail form. It works well. When I add new items the older items are no more populated. Why ?
For example I have an itme which is a select list as a Named LOV. At creation of the row I want the user to choose from this select list. It works well.
But when modifying the record, I don't want the user to change this name. For that purpose, I create an item which is a display only item. This item is conditional and appear only when the record has been created.
And this is where the problem comes. It seems to work but, if I logout of the application and login, then values are no more populated to the items and I get an error when trying to update the form.
I hope I make it clear. I have been trying a lot of times and found that if I add items, then everything goes wrong.
Thank you for your kind help.
ChristianHi Christian,
You don't say what the error is that you are getting - this may help us with your problem!
On the form, do you now have TWO fields - one being the original select list and the other being a read-only version of it? Is it likely that BOTH fields could appear on the page at the same time AND that both are connected to the field on the table?
You can set the select list to be read-only conditionally - in this case you could make it read-only on the condition of the primary key field not being null.
Andy -
Master Detail Forms with 2 composite primary keys - Is there a workaround?
Hello All,
I have been searching for a workaround to the maximum 2 part primary key restriction on the multi-row updates, and master-detail forms, and am hoping that someone can help me. I am using HTMLDB v2.0.0.00.49 with IE 6 against a 9.2 DB.
I successfully implemented the workaround of Fred Stoopendaal's (see Updata PK on HTML DB ) and it works fine for single page multi-record updateable forms, but alas I haven't been able to extend it to master detail forms (I think it is something to do with Oracle not allowing the "returning" clause on views).
Here is what I tried:
two tables, one with a 2 part composite primary key, which is the master table, and a detail table with 3 part composite primary key -
--------- BEGIN SQL ---------
create table master_table
( master_col1 number
, master_col2 number
, master_col3 varchar2(30)
, constraint master_pk primary key (master_col1,master_col2));
create table detail_table
(detail_col1 number
,detail_col2 number
,detail_col3 number
,detail_col4 varchar2(30)
, constraint detail_pk primary key(detail_col1,detail_col2,detail_col3)
, constraint master_detail_fk foreign key (detail_col1,detail_col2) references master_table(master_col1,master_col2));
create or replace view v_master_table as
select rowid mata_rowid,mata.*
from master_table mata;
create or replace view v_detail_table as
select rowid deta_rowid,
(select rowid from master_table mata where mata.master_col1 = deta.detail_col1 and mata.master_col2 = deta.detail_col2) deta_mata_rowid
, deta.*
from detail_table deta;
create or replace trigger mata_ins_upd_trg
instead of insert or update on v_master_table
referencing new as new old as old
for each row
begin
if inserting then
insert into master_table (master_col1, master_col2, master_col3)
values (:new.master_col1, :new.master_col2, :new.master_col3);
end if;
if updating then
update master_table
set master_col1 = :new.master_col1,
master_col2 = :new.master_col2,
master_col3 = :new.master_col3
where rowid = :old.mata_rowid;
end if;
end;
create or replace trigger deta_ins_upd_trg
instead of insert or update on v_detail_table
referencing new as new old as old
for each row
begin
if inserting then
insert into detail_table ( detail_col1, detail_col2, detail_col3, detail_col4)
values (:new.detail_col1, :new.detail_col2, :new.detail_col3, :new.detail_col4);
end if;
if updating then
update detail_table
set detail_col1 = :new.detail_col1,
detail_col2 = :new.detail_col2,
detail_col3 = :new.detail_col3,
detail_col4 = :new.detail_col4
where rowid = :old.deta_rowid;
end if;
end;
--------- END SQL ---------
Then I created a master-detail form in Apex on the two views, using the mata_rowid and deta_rowid as primary keys, and mata_rowid=deta_mata_rowid as the link. I realise that using a function to fetch the master rowid within the detail view query is costly, but it was my intention to modify the record fetch queries to use the real FK columns once things were up and running.
It seems to generate the pages ok, and I can insert/update master table records, but as soon as I modify records in the detail table things go a bit haywire. I can't find any documentation on how the inbuilt MRU/MRD logic works, so can't figure out the issue.
Can anyone out there tell me what the problem is with the logic above, or if they have come up with a neat solution to this annoying limitation. I know that many will say that I should modify the data model to use surrogate primary keys, but many of the uses for HTMLDB are new interfaces for old schemas, so a workaround that doesn't involve wholesale data model changes would be preferable.
Thanks in advance,
Mike CretanHi, this is likely not the most elegant way...but perhaps the simplest -- and I didn't have much time to play.
I used Wizard to create two separate Master Detail forms, each with a separate detail table. Thus I ended up with four pages:
Page "A" - "Selector" page for Master (Report), with Edit link driving to Detail-1
Page "B" - Editable Master/Detail-1 page (HTML / Report)
Page "C" - "Selector" page for Master (Report), with Edit link driving to Detail-2
Page "D" - Editable Master/Detail-2 page (HTML / Report)
Then I selected the primary key column TWICE on the Report on Page A. Modified the second instance of this column to navigate to Page D (passing primary key) exactly the way the original instance of this column navigates to Page B. Then I deleted Page C.
Since you can have only one Tabular Entry form per page, this seemed the best way to drive two separate detail tables from a common interface. -
Primary key in master detail form
i have a situation where i need to access the value of primary key (primary key is hidden) in a master-detail form.
i need to access the primary key in the javascript onClick event of the button. i'm using the following code in the ...before displaying the form event :-
htp.p('<script language="JavaScript1.3">
<!--
function getField(form,fieldName)
var objName = "";
var tmp = "";
var dAction = "";
var sel_idx = 0;
var cnt = 0;
var instance = 0;
var slicedName;
var fillData = new Array();
for (var i = 0; i < form.length; i++)
slicedName = form.elements.name.split(".");
tmp = slicedName[2];
instance = parseInt(slicedName[3],10);
if (!tmp)
continue;
objName = tmp;
if (objName == fieldName)
return form.elements[i].value;
//-->
</script>');
and then i'm calling this javascript in onClick event of the button as follows :
var_get_val = getField(this.FORM,'PROD_ID');
this script works for a form with single block but, does not work with the master detail form.
what is wrong here ... ??
any ideas or suggestions ...??
thanx a lot.
nullThank you, Denes,
but isn_t there a simplier way to use a third column ?
I will keep your idea in mind and try out as soon as possible.
With kind regards,
Hergen. -
Hi cant see the primary key column in master detail form
I have a master detail form .In the first master form i am unable to see the primary key
Now the form is built completley and i also will like to see the primary key column visible in master report
If i had set the primary key as rowid then i could have seen the primary key ..
Now i can see the pencil icon (The eidt row pencil icon) instead of the actual primary key column . .which is a number data..
I will like that too be visible ..Can any one guide what should i do for this..
ThanksHi Mat,,
I am using apex 4.2 db version 11g and in the first master page i had set the value of combo which is primary key column as text
But still iam not able to see the number ..Note if i recreate the form ..with rowid as primary key i am able to see the column since the pencil icon(edit icon) is on row id..
Currently All i see is the edit icon ..I need both the edit icon and also the number ..
Thanks -
Primary key updation in the Master details form.
Hi All,
I am struggling with Master Detail form in apex 3.12.
I have two tables.
SaleMaster ( TRN_ID as PK ) Created from Sequence.
SaleDetail ( TRN_ID , TRN_TYPE as PK) TRN_ID FK from SaleMaster , TRN Type is user Input in SaleDetail.
What is best simple way to create the master details form for the above master details tables.
Thanks.I found a way. I dont like it - but it works.
I made a column link in the detail with the following:
javascript: doSubmit('NAVIGATE@#ROWNUM#);
This way I obtain information in the :REQUEST object about which row was clicked.
In a After submit process on the page I then parse this :REQUEST object like this:
DECLARE
v_row NUMBER;
v_pos NUMBER;
BEGIN
v_pos := instr(:REQUEST,'@',-1);
v_row := substr(:REQUEST, v_pos+1);
IF APEX_Application.g_f02(v_row) IS NOT NULL THEN
:P_PRIMARY_KEY_ID:= APEX_Application.g_f02(v_row);
ELSE
:P_PRIMARY_KEY_ID:= -1;
END IF;
END;
I know that my "Id" column is named f02 in the form, so this way I can find the id. I then assign this id to a kind of global variable - on the page I redirected to I can now find the Id.
Talk about ugly code :P -
Master-Detail Form - implementing some thing like Post-Query trigger
Hi all,
I am struggling to implement an eqivalent of a post-query trigger in Oracle Forms. Please bear with me as I am trying to explain in detail what the problem is.
Here is my situation.
I have three tables EMP, DEPT and LOCATION. I created a Master/Table pages on EMP and DEPT.
Basic relationships.
Each LOCATION has one or more DEPTs; Each DEPT is at one and only one LOCATION.
Each DEPT has one ore more EMPs; Each EMP is assigned to only and only DEPT.
Not getting too complicated, here are the table layouts:
LOCATION:
ID number(10,0) not null,
NAME varchar2(20) not null
DEPT
ID number(10,0) not null,
NAME varchar2(20) not null,
LOC_ID number (10,0) not null foreign key from LOCATION
EMP
ID number(10,0) not null,
NAME varchar2(20) not null,
DEPT_ID number (10,0) not null foreign key from DEPT
Assume I have all the constraints, BIU triggers, sequences defined properly.
I am using the APEX page wizard to create a Master/Detail Form on DEPT and EMP. The first page is the Master Report on DEPT. I want to display the Location Name on this page also. Because the Master Report allows
you to change the query, I was able to add the Location Name as part of the
query. This was very simple.
Select a.name "Department_Name",
b.name "Location"
from dept a, location b
where a.loc_id = b.id
Moving on, In the Master Detail Form, I would like to get the Location Name as part of the first Region (Dept Region).
In this region, I would like to include the Location Name also. So my first region on the Master Detail form includes:
Dept Id: ________
Dept Name: _______
Location Name: __________
As Region are automatically populated using using a Fetch Row from EMP table (Automated Row Fetch) on an After Header process point, I don't have a way of including the Location as part of query. So I created a Region level Item called Location Name, made it Display only.
In the old SQL*Forms, or Oracle Forms days, I used to use a Post-Query trigger, or Post-Change trigger to fire on the Loc_Id column to populate the Location Name. Simple fetch like:
Select name
into :P80_location_name
from location
where loc_id = :P80_loc_id
However, I am struggling to implement some thing simple like this in APEX. Tried creating a processes, computatations etc, but nothing is working.
I have seen some previous responses to fetching values from a foreign table
using a button or AJAX script, but this should be very basic. What am I
missing here?
Appreciate any insights.
Thanks.
JohnHi John,
I'm not too familiar with the post-query triggers in Oracle Forms, but the use of a List of Values (LOV) on your LOCATION table might do the trick for you. If you create a dynamic LOV based on your LOCATIONS table, it can then be referenced by the LOC_ID item on the Master-Detail page, to display the Location Name. You could try doing the following:
1. Create a new dynamic LOV, LOCATIONS, using a query similar to the following:
select Name d, ID r
from LOCATION
order by 1
2. Edit the "Create" button on the Master report page, and in the "Optional URL Redirect" section set "Request" to CREATE. Click Apply Changes, to save the setting.
3. Edit the LOC_ID item on your Master-Detail page, and set the following:
* in the "Name" region change the "Display As" setting to Select List
* in the "Label" region change the Label to Location Name.
* in the "List of Values" region set the "Named LOV" to LOCATIONS
* in the "Read Only" section, set the condition to Request != Expression 1, and set Expression 1 to CREATE.
Click Apply Changes to save the settings.
When you run the pages now, the Location Name field will appear as Read-Only when editing a selected Master row. The item will appear as a Select List when the user clicks "Create" on the Master page, to create a new Master row.
I hope this helps.
Regards,
Hilary -
Inserting records in master detail form
I am moving an existing Webdb Application to portal. In the application there is a master detail form along the following lines
Dept Id: 10
Dept Name: IMS
Employee ID Employee Name etc
1586 Julie Wilks
Currently users can insert/update/delete detail lines. When inserting, the dept_id foreign key is automatically inserted into the dept_id column in the detail table. My understanding is that for some reason this does not happen in portal. Instead, the user is expected to input any foreign keys manually. As this could lead to all sorts of problems I'd rather not have to do this.
Has anyone found a means to get around this problem?
If solutions have already been posted, please point me in the right direction as a search on the forum hasn't come up with anything.
Many thanks,
Julie WilksHi,
Am I the only one having this problem?
Thanks,
Diana -
Master-Detail Form in Form6i Developer
First of All Hi to all Respected Gurus.
I am stuck in a very basic element and that is Primary-Key/Foreign-Key relation. I am trying to create a Master-Detail Form based on following structure. Records in Master Table and Child Table are saving (inserting) but Primary Key of Master Table is not saving (inserting) as "Foreign Key" in Detail Table.
Here is Table Structure(s)
Master Table Name : MGTC_EDM
CREATE TABLE MGTC_EDM
EDM_ID NUMBER, -- PRIMARY KEY
BILLING_DATE DATE,
CONSTRAINT PK_MGTCEDM_EDMID PRIMARY KEY (EDM_ID)
CHILD TABLE : MGTC_EDD
CREATE TABLE MGTC_EDD
EDD_ID NUMBER; -- PRIMARY KEY
EDM_ID NUMBER; -- FOREIGN KEY RELATION WITH MGTC_EDM
MEM_ID NUMBER;
AMOUNT NUMBER;
CONSTRAINT PK_MGTCEDD_EDDID PRIMARY KEY (EDD_ID),
CONSTRAINT FK_MGTCEDD_EDMID FOREIGN KEY (EDM_ID)
REFERENCES MGTC_EDM (EDM_ID)
TRIGGER OF "BEFORE_INSERT" IS APPLIED ON BOTH TABLES TO AUTO-POPULATE INCREMENTAL ID
IN FORM6I, I'VE APPLIED A 'KEY_NEXT_ITEM' TRIGGER ON BILLING_DATE FIELD OF MASTER TABLE TO COMMIT THE RECORD AND TO MOVE THE CURSOR TOWARDS DETAIL BLOCK
AND THERE ARE NO MORE TRIGGERS IN THE FORM.
AS CURSOR MOVES TOWARDS DETAIL BLOCK, RECORD IN MASTER TABLE SAVES (COMMITTED) ON AUTO AND WHEN I PRESS "SAVE" BUTTON TO SAVE THE RECORD IN CHILD FORM DETAIL TABLE ALSO COMMITTED
BUT WHEN I PRESS F8 TO EXECUTE THE QUERY ONLY MASTER RECORD SHOWS AND NO RECORD SHOWS IN THE DETAIL TABLE. WHEN I CHECKED IN DETAIL TABLE IN TOAD, IT FOUND THAT PRIMARY KEY OF MASTER TABLE (EDM_ID) NOT SAVED IN DETAIL TABLE.
PLEASE HELP.Dear Mr. O.Developer, Many thanks for your reply.
Yes, I've created relationship. Relationship exist in Master_Block and below is the detail
Relationship Name = MGTC_EDM_MGT_EDD
Relation Type = Join
Detail Data Block = MGTC_EDD
Join Condition = MGTC_EDD.EDM_ID = MGTC_EDM.EDM_ID
Delete Record Behavior = Non Isolated
Prevent Masterless Operations = No
Deferred = No
Automatic Query = No -
HELP: Error while insert in master-detail form!!!
Hello
I have created a master-detail form and when I tried to insert a new record I got an error that the field on the detail table that references the primary key on the master table can not be null. I don't understand this error because I thought that when you create a master-detail form and you insert a new record the field that make the references in the detail table to the primary key on the master table will be automatically filled, am I wrong??. Can anybody tell me what is going on??. The primary key of my master table is filled with a trigger before insert, is that the problem??.
Please Help me is really urgent
Ana MariaI am still new to this, but maybe this will help.
1. Double check that your foreign key link definition in the detail table is referencing the correct column in the master table. If this is not present or referencing the column, this may be causing the problem. Self evident, but sometimes it is the simple things that get us.
2. I have not used a trigger yet, but could there be validation being done in the form before the trigger is firing. Therefore, there would not be a value in the detail part of the form.
Hope this was of some help. -
Master Detail Form is ignoring the 4th join condition
Hello All,
I have master detail relationship between two tables with a
composite foreign key (of 4 columns). I'm creating a master
detail form in O9iAS Portal 3.0.9.8.0 on these 2 tables
successfully with no errors. The only thing I have noticed, is
that the wizard does not populate the join conditions
automatically in step#3. The form runs Okay but it ignores the
last condition (i.e., 4th), which means that it brings too many
details records.
Any ideas
Much appreciated if you can CC me: [email protected]
Hamada HimaI had this same problem with master/detail form and 4 join conditions. I opened up a TAR and after several weeks
Oracle determined this to be a bug and submitted it to developers.
For a work around, I created a view with two of the join fields concatenated together, then created another md form
with 3 join conditions and it worked. Good luck. -
We are facing problems for a master detail form using Wizard. The details are as follows : >>
1) Master table : TS_ENTRY_TXN
trans_id P.K.
2) Detail table : TS_ENTRY_TXN_DETAIL
a)trans_id
b)sub_trans_id Composite P.K.(trans_id,sub_trans_id) & these are based on sequences.
If i try to build a master detail form using the Wizard, the options for providing P.K. for master & detail are listed which we used.
As it is a master detail form, we want to carry trans_id to the detail for updations/insertions which doesn't happen.
The MRU fails with oracle error :
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400: cannot insert NULL into ("TS_APEX"."TS_ENTRY_TXN_DETAIL"."ENTRY_ID"), insert into "TS_APEX"."TS_ENTRY_TXN_DETAIL" ( "ENTRY_ID", "SUB_ENTRY_ID", "SMR_ID", "TASK_ID", "SUB_TASK_ID", "TIME_SPENT", "REMARKS") values ( :b1, :b2, :b3, :b4, :b5, :b6, :b7)
Is there any other way to build master detail wihout wizard.
Could you please suggest us better way to complete this task.Hi San Mat,
I would never recommend having a composite PK on any table. Use the sub_trans_id as the PK in its own right and have trans_id as a Foreign Key pointing to the master table.
However, given your existing table structure, what you need to do is add a Default value for the ENTRY_ID field on the child table that points to the Page Item used for the PK field on the master table (you've said trans_id but do you mean ENTRY_ID??). On the column's Column Attributes page, set Default Type to Item (Application or page item name) and the Default to P1_ENTRY_ID (or whatever the name is of field is on the master table's form that holds the PK)
When a new row is added to the child table, the ENTRY_ID from the master table is inserted automatically.
Regards
Andy -
Parameter on Master Detail Form
How do I set a bind variable in a Master Detail Form?
I suspect that he may have the same question I do. Namely, if I have four tables (employees, projects, tasks, and project_assignments) how do I create a master detail form where I can specify the project and the employee via LOVs? The project_assignments table contains foreign keys for employee, project, and task, as well as additional fields relating to the task status.
Currently, I have it set up so that the employee name can be selected and the project is hard coded to the current project.
Is there an easy way to populate the detail records based on two LOVs in the master form?
Thanks in advance,
Fritz -
Requerying on Master Detail form
Hi,
Does anyone know how to set up PL/SQL code to automatically requery on a master detail form after insert/update? For example, if I insert a record on the master part of the form, I would like that record to automatically show up after the insert/update. Also, if I insert a record on the detail part of the form, I would like that record to automatically show up after an insert/update.
Thanks,
MartinHi Krishnamurthy,
Thank you very much for the code. The code for the most part acts like I want it to except when I initally insert a master record. In my case, I have the form set up so you have to insert a master record before you can insert any detail records. Therefore, after the user clicks save, that master record needs to come up. The code you gave me only brings up the current master record if you are inserting detail records (which is great, that is what I want it to do). I have modified the code you gave me so when a user is just inserting the master record, the master record automaticaly comes up rather than the first record in the table. However my code makes the form run slow (about 13 seconds to save). Do you know of another way that I can make the form act like I want it to. Below is my code.
Thanks again,
Martin
declare
l_msg varchar2(255);
l_key_value number(10);
l_key_value2 number(10);
v_get_id number(9);
v_check_detail number(9);
CURSOR GET_ID IS
SELECT MAX(A.PCH_ID)
FROM PORTAL30.PCHEADER A;
CURSOR CHECK_DETAILS IS
SELECT DISTINCT B.PCD_ID
FROM PORTAL30.PCDETAILS B WHERE B.PCD_PHC_ID = v_get_id;
begin
/*get the key field value from the Master Detail form to requery the details since the form will be cleared out after update */
l_key_value := p_session.get_value_as_NUMBER(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'A_PCH_ID',
p_index => 1
doSave;--- This is the default handler
OPEN get_id;
FETCH get_id into v_get_id;
CLOSE get_id;
OPEN check_details;
FETCH check_details into v_check_detail;
IF check_details%NOTFOUND
THEN
CLOSE check_details;
/*get the key field value from the Master Detail form to requery the details since the form will
be cleared out after update */
l_key_value2 := v_get_id;
/*get the message which is going to be displayed after update */
l_msg := p_session.get_value_as_varchar2(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => '_STATUS');
/*now set the key field value in the Master Detail */
p_session.set_shadow_value(p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'A_PCH_ID',
p_value => l_key_value2,
p_language => PORTAL30.wwctx_api.get_nls_language);
WWV_MASTER_GENSYS_1(p_block_name => null,
p_object_name => null,
p_instance => null,
p_event_type => null,
p_user_args => null,
p_session => p_session);
/*put the message(like 'Updated one master record' ) back in the screen */
p_session.set_value(p_block_name => 'MASTER_BLOCK',
p_attribute_name => '_STATUS',
p_value => l_msg);
p_session.set_value
(p_block_name => 'MASTER_BLOCK'
,p_attribute_name => '_MASTER_ACTION'
,p_value => 'NONE');
p_session.save_session();
ELSE
CLOSE check_details;
/*get the message which is going to be displayed after update*/
l_msg := p_session.get_value_as_varchar2(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => '_STATUS');
/*now set the key field value in the Master Detail*/
p_session.set_shadow_value(p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'A_PCH_ID',
p_value => l_key_value,
p_language => PORTAL30.wwctx_api.get_nls_language);
WWV_MASTER_GENSYS_1(p_block_name => null,
p_object_name => null,
p_instance => null,
p_event_type => null,
p_user_args => null,
p_session => p_session);
/*put the message(like 'Updated one master record' ) back in the screen*/
p_session.set_value(p_block_name => 'MASTER_BLOCK',
p_attribute_name => '_STATUS',
p_value => l_msg);
p_session.save_session();
END IF;
END;
Maybe you are looking for
-
HT4759 how do i free up 4 gb of space so i can download mountain lion os x
what is the best way to free up 4 gb of space to download mountain lion os?
-
Have run into an interesting issue that I haven't been able to get to the bottom of. The font in question is "Century Gothic", a fairly well-known and used font. When using the "regular" setting, everything seems to space out just fine. But if I atte
-
Flash Display Through Dreamweaver
Hi i've been trying to display a flash menu i made on an html page in dreamweaver and i am losing my mind. I can see it in the editor(dreamweaver) when i hit play but when i save the file and view it online its only a white space help!!!!!
-
Warning message about non XA connection factory
Hi, I'm using 10.0 MP2 and deployed an MDB which uses TransactionManagementType.CONTAINER with TransactionAttributeType.NOT_SUPPORTED. As I don't need a transaction I am referencing a non XA Connection Factory. I am seeing this message in the logs..
-
Retrieve Catalog details after the processing of SC
Hi Experts, Scenario: After selecting a product from the catalog, the shopping cart is waiting for approval or is with the operational purchaser. At that point if the price in the catalog for the product changes then it should be be retrieved from th