Master Details Forms- Report getting error
Dear All,
I have used master details form . In details form , i am having 50 fields . i am able to add row. after that it is showing error ike below.
Error:
=============================================================================
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "D63F13336F2D8570B20FC4825A7B836A", item checksum = "809B7E0170040C75637E80BE2D464C77"., update "SIFY"."REG_MANAGER_DETAILS" set "RMD_ID" = :b1, "RMD_RM_ID" = :b2, "RMD_ACMAN_NAME" = :b3, "RMD_CONN_OT_CUR" = :b4, "RMD_CONN_RS_CUR" = :b5, "RMD_CONN_HW_CUR" = :b6, "RMD_HOST_OT_CUR" = :b7, "RMD_HOST_RS_CUR" = :b8, "RMD_HOST_HS_CUR" = :b9, "RMD_EAS_OT_
=============================================
What will be solution to resolve this type of error ?
Please help me to resolve this. Thanks in advance.
Regards
Dhanush.R
Dhanush,
This is an optimistic locking checksum error. It's trying to tell you that it can't save because someone/thing has updated the data already and it doesn't want to overwrite it. Is that always occurring?
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/
Similar Messages
-
Limit on number of columns details of a master detail form/report
Hi,
I understand that there is a limit to the number of columns you can have in a master detail form/report. I am on Apex 4.01 and have a detail section that shows 24 months at a time as columns with integer hours assigned each month. My master detail was working fine with as many as 24 months/columns in this detail section, but I tried to re-use months by 'recycling' months, clearing them out of values and adding the months to the end of each row but now I am getting errors even though I had more columns showing before my 'recycliing' of the columns. The error is:
"ORA-06502: PL/SQL: numeric or value error: character string buffer too small "
What I don't understand is -- why am I getting this error now when I actually had more columns in the detail section months ago, and all I am doing is 'recycling' prior columns back into the detail report, not actually adding columns.
Thanks for any insights anyone can give.
PatDBA tells me that we are at 9.0.2.2.14, (higher version than the one you suggested) but I still get the same error.
Thanks,
Karuna -
Search on Master Detail form/report
Hi,
I noticed that when I created a new application in Apex 4.01 basing the intial page on a Master Detail form/report, I was able to add a search item to the initial page. When I go to add another page with a different Master detail form/report, I did not have any option for adding a search item to the report page. Seems like an oversight?
I would appreciate any hints as to how to add same search item to my 2nd Master/Detail form/report.
Thanks,
PatMe too facing the some problem can some one pls help
-
NO dml Master / detail form/report
If I wanted to create a form or report that would only display one master record and its children records on one page. What would be the best way to do this?
The page would not support dml. Only display the data in a master/detail fashion. I tried creating a form thru the wizard but I dont need dml.
I tried creating a report but all the data is horizental and would prefer more of a form type of layout.
A simple illustration follows below. Above the line is the data from the master table. Below the line are the childern.
Columa pk
Columb columc columnd
column pk columndesc columna fk
column pk columndesc columna fkMe too facing the some problem can some one pls help
-
Error while creating the master-detail forms
on creation of a new master-detail form or on edit of a existing master-detail form, i get the following error -
******** START ERROR **********
Thu, 15 Mar 2001 23:02:16 GMT
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "CC_INTRANET.WWV_BIND", line 56
ORA-06512: at "CC_INTRANET.WWV_UI_LOVF", line 3123
ORA-06512: at "CC_INTRANET.WWV_UIFORM_BUILD", line 2850
ORA-06512: at "CC_INTRANET.WWV_UIFORM_BUILD", line 5567
ORA-06512: at line 8
DAD name: cc_intranet
PROCEDURE : CC_INTRANET.wwv_uiform_build.show_header
URL : http://webdb.us.colorcon.com:7777/pls/cc_intranet/CC_INTRANET.wwv_uiform_build.show_header?p_wizard_mode=MASTER&
********** END ERROR ********
any ideas anyone ... ?
thanx in advance ...
nullmore information on above -
i upgraded webdb 2.2 to portal 3.0.6 and the new master-detail form is been created in the upgraded site.
pls reply on this.
thanx a bunch
null -
Sequences in Master-Detail Forms
Whenever I try to use Sequences in the default values for the column (#schema.sequence.nextval) in Master Detail Forms I get the following error :
Exception from wwv_generate_component.build_procedure (WWV-01821)
Error creating module: ORA-06502: PL/SQL: numeric or value error:character string buffer too small (WWV-16042)
Error creating module: ORA-06502: PL/SQL: numeric or value error:
Error adding module attributes: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-16043)
Is this a bug in Portal ?
Has anyone faced this problem before ?
Any ideas or suggestions would be appreciated.
thanx.
nullhi there,
I got the same error, but i fixed it with a workaround by inserting the sequence in an insert trigger. It works better this way since the values of the sequence dont go up as fast as when you use (#schema.sequence.nextval in the form. This way I can be sure the sequence is only raised when an actual insert is made and not evertime the form is opened, which causes the nextval to be triggered.
hope this helps.
kasper -
Error creating Master/Detail Form
Hi,
I tried to create a master detail form. I went through all the steps fine, only when i click the button to create the form, i received the following errors:
ORA-20001: Unable to create master detail page. ORA-06502: PL/SQL: numeric or value error: character to number conversion error
Unable to create Master Detail pages.
Could someone please tell me what's wrong?
Thanks,
Patrick.We are getting this message in several areas in the development environmnet. It's happening in the developer login screen, when creating new tabs, and when tryig to create master detail reports. Here is our error from the Apache Log:
[Mon Mar 2 11:41:31 2009] [error] [client 10.64.8.231] [ecid: 1236012090:148.94.143.136:24226:0:1621,0] mod_plsql: /pls/apex_qmnt/wwv_flow.accept HTTP-404 ORA-06502: PL/SQL: numeric or value error\nORA-06512: at line 31\n
I think this is different from the issue above as that is due to too many items in a shuttle list. Ours seems to be related to our new APEX insstallation. Any help is appreciated here. -
Error ORA-01790: for INSERT in master detail form
Gidday;
I get the error message 'ORA-01790: expression must have same datatype as corresponding expression' when I attempt an insert operation in the detail region of a master/detail form.
I have checked previous entries of this error I could find - as far as I can tell the parent key defaults are correct.
It seems one of the factors could be that the tables are not within the 'home' schema for the application. I have created a similar default master detail form on the tables, with the home schema matching that for the tables. Within my major application I have ensured the correct schema is referenced in all fields (all those I could find - in the Report Attributes / Column Attributes area).
I just cannot find which expressions are mis-matching their datatypes.
thanks; DSHi,
According to [http://ora-01790.ora-code.com] the error is raised because "A SELECT list item corresponds to a SELECT list item with a different datatype in another query of the same set expression." Do you have any Select Lists on your page? If you do, is the "return value" of the same datatype as for the underlying field?
One thing to try in these circumstances is to click the Debug link on the Developer's toolbar at the bottom of the page and then try to insert your record. You will get a whole stream of messages appear on the left of the page and the error should become obvious.
You could also check that all the defaults you have set do not contain spaces or linefeeds at the end - I have seen this cause issues before.
Andy -
To attach a RTF template(Report for printing ) in the master detail form
I have an application in which I have 3 master detail forms of which one of the form is a gate pass form . Now this gate pass form has a report region as the detail.
All that i need help is to print the Gate Pass with few fields as information in the gate pass form , where an image or picture of the visitor is also a filed .
Now I have created an RTF Template which is the Gate pass layout with the pic.
So ultimately I have the application for the gate pass form and the RTF template ready with me .. Fixing this template with the application with a BUTTON called PRINT is the challenge am facing !
SELECT XVH.GPDATE
, TO_CHAR(XVH.VISITORTIMEIN, 'HH:MI') VISITORTIMEIN --, (XVH.VISITORTIMEIN )
, (TO_CHAR(XVH.VISITORTIMEOUT, 'HH:MI'))VISITORTIMEOUT
, XVH.VISITOR_NAME --, = XVH.PERSON_ID
, XVH.COMAPANY_NAME
, XVH.PURPOSE_OF_VISIT
, (SELECT A.FULL_NAME
FROM PER_ALL_PEOPLE_F A
WHERE A.PERSON_ID = XVH.PERSON_ID
AND SYSDATE BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE) To_meet
, XVH.VISITOR_PHONE
,APPS.GETBASE64 (XVH.VISITOR_PHOTO)
FROM xxcdot.XXBCT_VGPF_HEADER XVH
WHERE XVH.GP_HEADER_ID = :P_HEADER_ID
This is the query for the template ..
Please help me with this. I am very new to apex and learning it with help of online tutPars I need another Help
I am working with a master detail form where in the form region i have a Radio group . Lets say the Radio group is
o Returnable
o Non Returnable
o Other
so when i select Non returnable I want a particular column called
Line Status to get Disabled .
I have done that by a dynamic action - using jquery statement (.Disable) .
Defining the element attributes as Disable .
Now the problem is that ,, Line status is getting disabled on the selection of Non returnable radio button. but unless and until i dont press the Add row button it does not work ,, else i will have to switch over between the radio buttons to get this action done !! -
Adding button to report to link to master detail form
I want to add a button to a report to direct me to a blank master detail form to insert a new record. I have used the following code in the additional PL/SQL code section:
htp.formopen('PORTAL30.wwa_app_module.new_instance?p_moduleid=1271601405');
htp.formsubmit('p_request','Create New');
htp.formClose;
When I click this I get 'Page Not Found'.
But if I hit refresh I am directed to the correct form with the same url.
Any ideas on what the issue is?
Thanks.Hi,
Check this sample code.
tables:sscrfields. "Fields on selection screens
selection-screen function key 1.
selection-screen function key 2.
Initialization.
sscrfields-functxt_01 = 'Report'.
sscrfields-functxt_02 = 'Exit'.
at selection-screen.
if sscrfields-ucomm = 'FC01'.
perform f_alv_sub.
elseif sscrfields-ucomm = 'FC02'.
endif.
Hope it helps. -
Insert error in master-detail form
Probably a stupid question. When I populate the master block of
a master detail form from an LOV, I am asked to save the form.
Since the information is loaded from the LOV, there are no
changes to save. If I answer yes, it gives an Insert error due
to the primary key violation in the master block table. If I
answer no, it opens the detail block and gives the correct
information. The problem is that when I enter information into
the detail block and try to save it, I get the same error
message regarding the primary key violation in the master block.
The form works fine if I do not populate the master block from
the LOV (or from select statements in triggers). Any suggestions
will be appreciated.
LSHi,
Check for the form or block status.Looks like the status has
changed.Thats why u r getting the message.If any of the base
table item has changed then u will get such a message.Try
working on this an check it out.
Thanks
Vinod -
Dynamic action in a report region in a master detail form
hi
I have created a master detail form , in which many validation etc is done ,the MASTER is a FORM and DETAIL is a REPORT
Now I am stuck up with the detail region .i.e report
I have Line Detail where there are ITEMS such as SL NO: ,ITEM_ID , UOM ( Unit of measuremnt ) etc
Now here is where I need help .
Using POP UP LOV i have managed to fetch in LOV for the item "ITEM_ID",--- i can select an item name using the pop up LOV ,
Now all that I want is when I select an item name from the pop up lov , an Item Id is displayed or fetched in that particular place , now i want the corresponding UOM to be diaplayed ( i.e the UOM for that particular Item Id which has been selected by me from the pop up lov ).
In order to resolve this I created a Dynamic action where in I get the UOM . Bt the problem is that the ITEMS displayed for selecting in the WHEN section (
DYNAMIC action
-IDENTIFICATION section
-WHEN section----- items ( here i am not listed with ITEMS of the REPORT region instead ITEMS of the MASTER is available )
-TRUE ACTION section etc is only the
ITEMS of the MASTER region ..
Please help me sort this outMod: moved from Japanese Apex
-
Hi All,
i m getting the following error when i m creating a master entry ...
ORA-06550: line 5, column 23: PL/SQL: ORA-02289: sequence does not exist ORA-06550: line 5, column 16: PL/SQL: SQL Statement ignored ORA-06550: line 8, column 16: PLS-00364: loop index variable 'C1' use is invalid ORA-06550: line 8, column 9: PL/SQL: Statement ignored
but while creating the master detail form i had specified the corresponding sequences and they even exist in the DB.
Please ! do help me .
Thanks & Regards,
Nandini Thakur.Hi ,
Though u choose the schema name ...the sequence is not appended with the schema name .
Example you are craeting the application in schema 1 and ur database objects are in schema 2.
so while creating the Master detail form you will get the option of choosing the schema, but then also the sequence name is not appended (as this may be the problem or bug in apex) .
so one needs to manually go and append the schema name.
In master detail form one needs to append it
1) Form of the Master ...the process called as get primary key there the sequence name should be appended
ex:- myschema.seq
2) another is the detail tabular form . here you need to good to the id hidden field and edit it , then in the source column append it with the myschema.seq.
Regards,
Nandini Thakur -
Master Detail Form with Report - Referring a column in another table
I have master detail form with a report option. The master table has a column that also references a look up table.
When the report is displayed the lookup column id is displayed. Rather I want to get the look-up value from a lookup table
and display in the report.
When I see the report region Query definition , it just has the columns to add/remove only from the master table.
Could you pls help me with this regard.
Eg :
Dept Table
dept_id
dept_name
location_id
Employee Table
employee_id
employee_name
dept_id
location
location_id_id
location_name
Master is Dept, Detail is dept and lookup table is location.Simply add the lookup table to the FROM clause and join its PK with the FK in the master table in your query. That's basic SQL, and you definitely must get a good grasp of SQL to do more than very basic work in APEX.
For a good example, please see http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/build_app.htm#BCEBJJGB
While you're at it, read and implement the tasks outlined in the 2 Day + Application Express Developer's Guide - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/toc.htm. After that, read the "Oracle Application Express 3.0-- Building a Functional Application" OBE in http://www.oracle.com/technology/obe/apex/obe30/apexdev30.htm - great stuff.
Georger -
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.
Maybe you are looking for
-
Hi all, I have a very simple requirment yet it is driving me nuts... the requirment is to search the it table for a certain wage type (9901)and if found fill its amount with the value of another wage type(9801) hence i wrote the following PCR 9901 S.
-
Error message after install-now iPhoto will not open
After installing iPhoto, a message asks to upgrade the library. Soon, a message says There is a problem in your iPhoto library folder. In the finder, select the iPhoto Library Folder. Then choose file > Get Info. Make sure you have Read & Write permi
-
I pod classic, purchased and downloaded a MP3 song from amazon. Plays properly on computer, but only plays a short period of time on I pod by itself, then goes to another song. Snyc problem? Any ideas.
-
Hi all, We are currently building a recovery process for our Oracle 10gr2 32-bit software upgrade to Oracle 10gr2 64-bit. In the event something goes drastically wrong in our 64-bit environment, we would revert back to our 32-bit environment. The que
-
MacPro 4.1 Do I also need an Airport Card?
I have a MacPro 4.1, Quad-Core Intel Xeon, 2.66 GHz, 1 Processor, 4 Cores. I just purchased Airport Express ....not finding wireless network. The MacPro is connected to a Ethernet/Wireless Router. Do I also need an Airport Card? Thanks...!