Ora 02292 FRM 40735
I have a form with two data blocks. There is a foreign key relationship between the two tables. Let me give an example. If I have two tables with the following primary keys:
Folder (folder_id);
Message (message_id, folder_id);
I want to write a trigger that will update the key in Message:
BEGIN
UPDATE Message
SET folder_id = 8432
WHERE sender = :VARIABLE;
END;
If I try this, I get the ora 02292 FRM 40735 error message within the Forms runtime. I know that it has to do with the primary key integrity constraint, which is obvious. Is there a way around this?
I treid the following:
CREATE TABLE FOLDER (FOLDER_ID NUMBER NOT NULL, FOLDER_NAME VARCHAR2(20));
ALTER TABLE FOLDER ADD CONSTRAINT FO_PK PRIMARY KEY (FOLDER_ID);
CREATE TABLE MESSAGE(MESSAGE_ID NUMBER NOT NULL, FOLDER_ID NUMBER NOT NULL, SENDER VARCHAR2(30));
ALTER TABLE MESSAGE ADD CONSTRAINT ME_PK PRIMARY KEY (MESSAGE_ID,FOLDER_ID);
ALTER TABLE MESSAGE ADD CONSTRAINT ME_FO_FK FOREIGN KEY (FOLDER_ID) REFERENCES FOLDER (FOLDER_ID);
INSERT INTO FOLDER (FOLDER_ID, FOLDER_NAME) VALUES (1, 'Folder 1');
INSERT INTO FOLDER (FOLDER_ID, FOLDER_NAME) VALUES (2, 'Folder 2');
INSERT INTO MESSAGE(MESSAGE_ID, FOLDER_ID, SENDER) VALUES (11, 1, 'Sender 1');
INSERT INTO MESSAGE(MESSAGE_ID, FOLDER_ID, SENDER) VALUES (22, 2, 'Sender 2');
UPDATE MESSAGE SET FOLDER_ID=1 WHERE SENDER='Sender 2';
UPDATE MESSAGE SET FOLDER_ID=3 WHERE SENDER='Sender 2';
ORA-02291: Integritäts-Constraint (HR.ME_FO_FK) verletzt - übergeordneter Schlüssel nicht gefunden
DELETE FOLDER WHERE FOLDER_ID=1;
ORA-02292: Integritäts-Constraint (HR.ME_FO_FK) verletzt - untergeordneter Datensatz gefundenSo did you try to call your update manually in SQL*PLUS. I should show you the violated constraint with that you can check where the error lies.
Similar Messages
-
ORA-01031,FRM-40735 when log in.
Hi, friends,
We complied a form, it was successfully completed. But when we use the schema owner to log in, we got two errors:
ORA-01031 insufficient privileges,
FRM-40735
But we log in as this schema owner, we should have all the privileges.
Anyone can help? Many thanks!Hi,Gerd,
I imported the schema from a dump file and give the schema's username and password to our developer.Of course, I can log in SQL*PLUS by the schema owner's username. We use browse to open the form, and we also can log in. AFTER log in, we saw a error message below the page. But when I click help or what ever button,the error disappeared. When I tried to log in again,the same error, same thing happened. I just can't understand this error.Can we just ignore it since we can click open whatever button we want. Thanks! -
ORA-04103,FRM-40735,ORA-04062.
Hi Expert ,
how can resolve following error.
After refresh the clone by prod backup ,the i have faced problem at ap module at front end level
i have got following error
1. FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-04062.
2. ORA-04103: no data found--------On click Pay In Full
3. An Unexpected Error-4062 has occured, An alert has been sent to the system administrator,
ORA-04103: no data found
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04062.Please post the details of the application release, database version and OS.
how can resolve following error.
After refresh the clone by prod backup ,the i have faced problem at ap module at front end level
i have got following error
1. FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-04062.
2. ORA-04103: no data found--------On click Pay In Full
3. An Unexpected Error-4062 has occured, An alert has been sent to the system administrator,
ORA-04103: no data found
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04062.Is this issue with all forms or specific ones only? If the latter, please post the form name/version and the navigation path.
Please confirm that you have no invalid objects in the database and you have no errors in the database log file.
Have you tried to regenerate the form manually or via adadmin and see if it helps?
Thanks,
Hussein -
FRM-40735 ON-UPDATE triggered raised unhandled exceptions ora-01422
Hi Everyone,
when I;m trying to terminate an employee, i got this error "FRM-40735 ON-UPDATE triggered raised unhandled exceptions ora-01422"
Please can anyone provide me the solution for this.
Thank YouDid you go through this note Cancel Hire Errors ORA-06512, ORA-01422, FRM-40735: ON-UPDATE trigger raised unhandled exception ORA-01006 [ID 744522.1]
-
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
I am getting the above error when i am trying to change the Assignment Category field of
an employee from Junior Staff to Senior Staff.
Navigation People> Enter & Maintain> (B)Assignment.
Kindly assist me to resolve this error.
Plz note there is a promotion that is suppose to be given to some employees in our company as of
01-APR-2010 so i had to open the closed payroll periods and do the changes. I managed to change for all
the 9 employees but 1 employee's assignment is giving me an error as follows :
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
The error displays after i try to save the changes made to the Assignment Category from Junior Staff to Senior Staff.
NB: i have also tried to switch off the custom code...but its giving me same error.
Also the element links have been defined for employment category on the links window.
please help!!
Edited by: 594647 on Jul 20, 2010 10:26 PMRelease 12.1.1.
OS is Red Hat Ent Ed 4
i am trying to change the employee assignment category from Junior to Senior. so when i am updating the assignment details on the assignment screen (Navigation is People >Enter & Maintain> Assignment) and trying to save, the system gives error on the status bar of the application as follows:
FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
NB: Error is appearing on the Assignment screen.
Please help!!
Edited by: 594647 on Jul 21, 2010 2:48 PM -
FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-
Hi,
In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
ORA-01403: no data found
FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
This error is not happening when we search for the SYSADMIN user....
Any idea why this error happening...
Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined Exception
Thanks
Joseph
Edited by: 783717 on Sep 27, 2010 10:49 PMHi,
In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
ORA-01403: no data found
FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
This error is not happening when we search for the SYSADMIN user....
Any idea why this error happening...What changes have been done recently?
Please run AutoConfig and make sure it completes successfully.
Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined ExceptionCan you find any errors in the database log file?
Please compile CUSTOM.pll (and other files) as per these docs and try again (as you are on R12 use frmcmp_batch.sh instead of f60gen).
APP-FND-01926, ORA-06508 [ID 797242.1]
APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06508: PL/SQL: [ID 831159.1]
APP-FND-01926 when logon changed ORA-06508 [ID 334295.1]
Thanks,
Hussein -
FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065
Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
"FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"Welcome to OTN
Before posting on this forum please read
FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
you'll get some hint here
Oracle/PLSQL: ORA-06502 Error -
ORA-01403: no data found ---- FRM-40735: WHEN-VALIDATE-ITEM trigger raised
Scenario: I have one Master Detail form. after entering values in master Form, Navigate to Detail form, there I have to enter more that 5000 lines, it's very tough for user to enter huge amount of data.
Workaround: Give one button on Master form and written a cursor to populate all the 5000(relavent) number of record on detail block.
Issue: while populating detail data block after around 3000 record detail form start showing Error as
ORA-01403: no data found
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06502.
Need suggestion
Code Written on find button as below
BEGIN
--XX customized
if (:ADJ_IP_CTRL.DUE_DT_FROM is null OR :ADJ_IP_CTRL.DUE_DT_TO is null) then
fnd_message.set_string('Due Date from and Due Date To Must be entered.');
fnd_message.Show;
raise form_trigger_failure;
end if;
BEGIN
go_block('ADJ_INV_PAY');
clear_block(no_validate);
for inv_rec in (
SELECT v.invoice_num,
v.invoice_id,
v.invoice_type,
v.pay_alone,
v.exclusive_payment_flag,
v.payment_num,
v.amount_remaining,
--TO_CHAR (v.amount_remaining,fnd_currency.get_format_mask(v.currency_code, 42)) char_amount_remaining,
TO_CHAR (v.amount_remaining,'FM999G999G999G999G999G999G999G999G990D00') char_amount_remaining,
ap_payment_schedules_pkg.get_discount_available (
v.invoice_id,
v.payment_num,
:pay_sum_folder.check_date,
:pay_sum_folder.currency_code)
discount_available,
/*TO_CHAR (ap_payment_schedules_pkg.get_discount_available (
v.invoice_id,
v.payment_num,
:pay_sum_folder.check_date,
:pay_sum_folder.currency_code),
fnd_currency.get_format_mask (v.currency_code, 42))*/
TO_CHAR (ap_payment_schedules_pkg.get_discount_available (
v.invoice_id,
v.payment_num,
:pay_sum_folder.check_date,
:pay_sum_folder.currency_code),'FM999G999G999G999G999G999G999G999G990D00')
char_discount_available,
ap_payment_schedules_pkg.get_discount_date (
v.invoice_id,
v.payment_num,
:pay_sum_folder.check_date)
disc_date,
v.always_take_disc_flag,
v.discount_amount_available,
v.discount_date,
v.second_discount_date,
v.second_disc_amt_available,
v.third_discount_date,
v.third_disc_amt_available,
v.gross_amount,
v.description,
v.accts_pay_code_combi_id,
v.due_date,
v.REMIT_TO_SUPPLIER_NAME,
v.REMIT_TO_SUPPLIER_ID,
v.REMIT_TO_SUPPLIER_SITE,
v.REMIT_TO_SUPPLIER_SITE_ID,
v.RELATIONSHIP_ID,
v.external_bank_account_id,
ieba.bank_account_num external_bank_account_num,
ieba.bank_account_name external_bank_account_name
FROM ap_invoices_ready_to_pay_v v, iby_ext_bank_accounts ieba
WHERE v.party_id = :pay_sum_folder.party_id /* and v.invoice_num like :adj_inv_pay.invoice_num||'%' */
AND ( (:pay_sum_folder.payment_type_flag =
'M')
OR (:pay_sum_folder.payment_type_flag =
'R'
AND v.invoice_type IN
('CREDIT',
'STANDARD',
'DEBIT',
'EXPENSE REPORT',
'MIXED',
'AWT'))
OR /*Bug5948003, Bug6069211*/
(:pay_sum_folder.payment_type_flag =
'Q'
/*AND (v.vendor_site_id =
:pay_sum_folder.vendor_site_id
OR v.invoice_type =
'PAYMENT REQUEST')*/
AND ( (:SYSTEM.LAST_RECORD =
'TRUE'
AND :SYSTEM.cursor_record =
'1')
OR (NVL (
v.exclusive_payment_flag,
'N') =
'N'
AND NVL (
:parameter.pay_alone,
'N') =
'N'))))
AND v.currency_code = :pay_sum_folder.currency_code
AND v.payment_method_code = :pay_sum_folder.payment_method_code
AND NVL (v.payment_function, 'PAYABLES_DISB') =
NVL (:pay_sum_folder.payment_function, 'PAYABLES_DISB')
AND v.set_of_books_id = :pay_sum_folder.set_of_books_id
AND NVL (v.future_dated_payment_ccid, -1) =
DECODE (:parameter.manual_fdp_site_acct_src_flag,
'Y', NVL (:parameter.site_fdp_account_ccid, -1),
NVL (v.future_dated_payment_ccid, -1))
AND v.external_bank_account_id = ieba.ext_bank_account_id(+)
AND v.due_date BETWEEN :ADJ_IP_CTRL.DUE_DT_FROM and :ADJ_IP_CTRL.DUE_DT_TO
ORDER BY v.due_date, UPPER (invoice_num)
--added 08apr2012 (end)
removed 08apr2012 ORDER BY UPPER (invoice_num)
) loop
:ADJ_INV_PAY.INVOICE_NUM := inv_rec.INVOICE_NUM;
:ADJ_INV_PAY.INVOICE_ID := inv_rec.INVOICE_ID;
:ADJ_INV_PAY.INVOICE_TYPE := inv_rec.INVOICE_TYPE;
:ADJ_INV_PAY.EXCLUSIVE_PAYMENT_FLAG := inv_rec.EXCLUSIVE_PAYMENT_FLAG;
:ADJ_INV_PAY.PAYMENT_NUM := inv_rec.PAYMENT_NUM;
:ADJ_INV_PAY.AMOUNT_REMAINING := inv_rec.AMOUNT_REMAINING;
:ADJ_INV_PAY.DISCOUNT_AVAILABLE:= inv_rec.DISCOUNT_AVAILABLE;
:ADJ_INV_PAY.DISC_DATE := inv_rec.DISC_DATE;
:ADJ_INV_PAY.ALWAYS_TAKE_DISC_FLAG := inv_rec.ALWAYS_TAKE_DISC_FLAG;
:ADJ_INV_PAY.DISCOUNT_AMOUNT_AVAILABLE := inv_rec.DISCOUNT_AMOUNT_AVAILABLE;
:ADJ_INV_PAY.SECOND_DISCOUNT_DATE := inv_rec.SECOND_DISCOUNT_DATE;
:ADJ_INV_PAY.SECOND_DISC_AMT_AVAILABLE:= inv_rec.SECOND_DISC_AMT_AVAILABLE;
:ADJ_INV_PAY.THIRD_DISCOUNT_DATE:= inv_rec.THIRD_DISCOUNT_DATE;
:ADJ_INV_PAY.THIRD_DISC_AMT_AVAILABLE := inv_rec.THIRD_DISC_AMT_AVAILABLE;
:ADJ_INV_PAY.GROSS_AMOUNT := inv_rec.GROSS_AMOUNT;
:ADJ_INV_PAY.ACCTS_PAY_CODE_COMBINATION_ID := inv_rec.ACCTS_PAY_CODE_COMBI_ID;
:ADJ_INV_PAY.DUE_DATE := inv_rec.DUE_DATE;
:ADJ_INV_PAY.REMIT_TO_SUPPLIER_NAME := inv_rec.REMIT_TO_SUPPLIER_NAME;
:ADJ_INV_PAY.REMIT_TO_SUPPLIER_ID := inv_rec.REMIT_TO_SUPPLIER_ID;
:ADJ_INV_PAY.REMIT_TO_SUPPLIER_SITE := inv_rec.REMIT_TO_SUPPLIER_SITE;
:ADJ_INV_PAY.REMIT_TO_SUPP_SITE_ID := inv_rec.REMIT_TO_SUPPLIER_SITE_ID;
:ADJ_INV_PAY.APS_EXTERNAL_BANK_ACCOUNT_ID := inv_rec.EXTERNAL_BANK_ACCOUNT_ID;
-- go_item ('ADJ_INV_PAY.INVOICE_NUM');
-- EXECUTE_TRIGGER('WHEN-VALIDATE-ITEM');
validate(record_scope);
if form_success then
next_record;
end if;
end loop;
first_record;
exception
when others then
raise form_trigger_failure;
END;
synchronize;
END;
Thanks
-KrishnHello Krishn,
Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Oracle Forums FAQ
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>How to ask questions the smart way
</ul>
Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
user12266683 wrote:
Scenario: I have one Master Detail form. after entering values in master Form, Navigate to Detail form, there I have to enter more that 5000 lines, it's very tough for user to enter huge amount of data.
Workaround: Give one button on Master form and written a cursor to populate all the 5000(relavent) number of record on detail block.
Issue: while populating detail data block after around 3000 record detail form start showing Error as
ORA-01403: no data found
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06502.
Need suggestion
ORA-01403: no data found clearly indicate that you have SQL Select statement in WHEN-VALIDATE-ITEM trigger and does not handled EXCEPTION
add exception in your select statement.
Hope it's clear..
Hamid
If someone's response is helpful or correct, please mark it accordingly.* -
Filling datarows before creating a new record frm-40735 ora-01422
Hello
I want to create a user-control table where I Store in the Mastertable the user informations. in the 2 detail tables I store the programmnames of the first level, in the second table I store the name of the form and if the user is allowed to insert, amend or delete.
I use a Master/2 Detail-Form. When I create a new record in the master block, I want to fill in the first and second detail block, informations of another user of the 2 detail tables. therefore I created a when-new-block-instance trigger with the following code:
select programm
into :k_zugriff.Programm
from k_zugriff, K_benutzer
where r_benutzer_zaehler=k_benutzer.zaehler
and oracle_user='ROBERT';
because this sql serves more than one row I receive the error code frm-40735 ora-01422
so how could I solve the problem to insert 5-10 rows in :k_zugriff.Programm. I can not make an insert before I go to the block k_zugriff, because the user number is not commited known. Also I want to commit the form when all informations are filled in. in case of a mistake I want to exit the form with no commit;
has anyone a usefull Idea?
regards
robertit works thank you. where can I get further information about this technik. are there any turtorials or something where I get information how to build this complex forms??
right statement
DECLARE
CURsOR cr IS
select programm
from k_zugriff, K_benutzer
where r_benutzer_zaehler=k_benutzer.zaehler
and oracle_user='ROBERT';
BEGIN
FOR rec IN cr LOOP
IF :SYSTEm.RECOrD_STATUS!='NEW' THEN
CREATE_RECORD;
END IF;
:k_zugriff.Programm:=rec.PROGRAMM;
END LOOP;
END; -
FRM-40735: When validate item raised unhandled exception ora-04063
hi experts,
FRM-40735: When validate item raised unhandled exception ora-04063
I have noticed the below error on my instance while trying to test some functionality.
My EBS Version is R12.1.1 +11.1.0.7 db.
Please advise.
regards
Mohammed. Abdul MuqeetFRM-40735: When validate item raised unhandled exception ora-04063
I have noticed the below error on my instance while trying to test some functionality.How do you get this error?
What is the navigation path?
Please check the application.log file along with Apache log files for any errors.
Thanks,
Hussein -
FRM-40735 / ORA-06508 when calling an attached package's procedure
Hello all,
I've a problem when calling a procedure in one of my attached libraries. the code is :
when upper(trim(NOT_MSG_NAME)) = 'REN_MSG_REQ_REG_PERMENANT' then SERV.CLFRM_PBL_NRQP_F(:Parameter.NOTIFICATION_ID);
and it gives me FRM-40735 stating that an ORA-06508 has occurred when calling the procedure.
Important and funny thing is, when I add the path to the library , It works fine!
When I attach it, removing the path, It goes wrong like I said..
the location of the library is:D:\DevSuiteHome\cgenf61\ADMIN , the path is added in FORMS_PATH and all the other
libraries attached to the form in the same path are working fine !
I'm using forms builder 10.1.2.0.2, and the platform is windows and I've migrated from forms 9.0.4.0.19
anybody having any ideas what the problem may be?Thank you Sarah
In fact, somebody had modified the formsweb.cfg adding two working directory directives (It's a shared PC!). I recon none of them works though no configuration error is raised. I omitted both of them and the problem is gone .
thank you again. -
FRM-40735 on-error raised unhandled exception ORA-06502
Hi there,
I have a form and all the items on canvas are base table items. If iam in normal mode and click on buttons, the LOVs show up correctly.
If i query records and i click on any of buttons to get LOV i get " FRM-40735 on-error raised unhandled exception ORA-06502". I checked insert_allowed,enabled,update_allowed properties and also format mask for each items and all are correct.
ANy help is appreciated.
ThanksUse the debugger to single step through your code line by line. The debugger will stop at the line where the error is occurring. Look at that line of code. You will probably see a problem with a data type or the data length.
-
FRM-40735: ON-ERROR triggers raised unhandled exception ORA-06508
I get the following error message: FRM-40735: ON-ERROR triggers raised unhandled exception ORA-06508
after login in a Web forms application.
I tried the solution as described in the Headstart Manual, e.g. recompiling the libraries in the specified order.
All the libraries are in the working directory and has been included in FORMS60_PATH.
All the involved stored procedures and packages are valid.
the same application works fine as C/S.
Any clue?
Used configuration:
Forms 6i
Designer 6i r 4.11
Headstart 6.5
Oracle 8.1.7.4
Oracle 9ias r 1 running on Sun Solaris 64bit version 5.8This is actually a pretty generic error and I would suggest running through the debugger to see the line of code it is actually failing at - that may make it easier to track.
Regards
Grant Ronald
Forms Product Management -
FRM-40735: ON-ERROR trigger unhandled exception ORA-06508
Guru,
Today we changed few customization in CUSTOM.pll and regenerated it , but we received the following error message after login to application irrespective of any responsiblity/form
FRM-40735: ON-ERROR trigger unhandled exception ORA-06508
So we reverted CUSTOM.pll change and recompiled successfuly. However we are still getting same error.
Kindly give us little light on it.
Regards,
RajuHi Raju,
In addition to Hussein's post, Can you check the following notes, since you have changed & reverted the custom.pll
- Cannot Log into Oracle Applictions after the Custom.pll has been Changed [ID 146038.1]
Best Regards, -
Error FRM-40735, ORA-04062 While Making Payments
Hi, while making payments it raised following errors:
FRM-40735:POST-FORMS-COMMIT trigger raised unhandeled exception ORA-04062these are steps in navigation:
invoice >> action 1...pay in full>>>payment method (bill payables)
does anyone know how to overcome this error ??
thxWas this working before? If yes, any changes been done recently?
Do you have any invalid objects in the database?
Please see these docs.
Receipts Workbench Error: Listing of ORA Errors [ID 1364345.1]
Receipts Workbench Error: Listing of FRM Errors [ID 1361887.1]
Thanks,
Hussein
Maybe you are looking for
-
HI, Sorry for my BAD english, I'm Italian. I have an Iphone 4s.. four day ago, I upgraded my IOS from 5.1.1 to 6.1.1 (thinking that 6.1.1 was mature). This is WORST decision I was made. WIFI it's unusable. iPhone it's connected, but doesn't navigate.
-
Hi gurus, We're currently creating a new periodic statement specific for a new company code. I'm new to this so I'd like to ask your helping in mapping the open items per customer account. What we would like to map in our periodic statement are the f
-
i have a video camera that i got several years ago. It came with an a/v cable to connect the camera to the tv. if i use that cable with my ipod will it screw anything up?
-
Map 0MATERIAL to ZMATERIAL in Update Rules
Hi all, I have two separate InfoCubes for two different Regions. And because the both regions have overlapping Materials, I am asked to create a ZMATERIAL for the new region (Different Source System).I cannot compound 0MATERIAL to Source System since
-
Installer quits during Oracle 9i install on RedHat 7.1
I am attempting to install Oracle 9i (version 9.0.2.0.1.0) on RedHad 7.1.The installer quits after selection is made on Installation Types window.