Knowing the status of validate-item trigger?
the 'when validate-item' trigger, when fired, does the validation part.
but is there a way of knowing the status of the validation.
ie. whether its
valid
invalid
new
changed.?
Hi,Thanks for ur replies
.I have checked the satus through tcode:stms not se01. Will there be any difference.
Here isthe status.
1) Selection for Import 11.01.2010 12:53:41 (0) Successfully Completed
2) Copy File Between Transport Groups 13.01.2010 17:14:50 (0) Successfully Completed
3) Import 14.01.2010 10:39:32 (4) Ended with Warning
4) Check Versions 14.01.2010 10:39:35 (0) Successfully Completed
For the '3' import the detailed view is given below,
Main import
Transport request : BSDK900590
System : BSP
tp path : tp
Version and release: 372.03.35 700
Main import
End date and time : 20100114103932
Ended with return code: ===> 4 <===
Similar Messages
-
Question on WHEN-VALIDATE-ITEM Trigger in Forms 6i
Hi,
I am working with a form which has two different database blocks. When I enter some valid data in block 1 and hit tab, a key-nxtblk trigger navigates the cursor to the next block. Now this second block has some fields which were disabled at the design time and I have a procedure which sets the properties of these items to enabled when required during runtime. From the first run, when I run this procedure and go to one of these items which has no data filled in yet and press tab, when-validate-item trigger is fired (I am confused with this kind of behavior).
Does anyone know why is it firing when-validate-item trigger and if yes how can we fix it?
My goal is to disable Block2.Item2 only if Block2.Item1 has some value in it.
Can anyone please look into it?
Thanks for your time.Thanks Steve, Vikas and Craig for your valuable suggestions.
Craig, to answer your question, I have no "Copy Value from Item" or "Synchronize with Item" property set on these disabled fields.
To elaborate my problem, I have three non database items in a database block. I have to set the properties during the runtime. Suppose the fields are named as field1, field2, field3. Now I have to have when-validate-item triggers on each item with the following content.
WVI trigger on field1
IF field1 IS NULL
THEN
activate field2 and field3.
ELSE
Disable field2 and field3.
END IF;
WVI trigger on field2
IF field2 IS NULL
THEN
activate field1 and field3
ELSE
Disable field1 and field3.
END IF;
WVI trigger on field3
IF field3 IS NULL
THEN
activate field1 and field2
ELSE
Disable field1 and field2.
END IF;I have a procedure which is called in WHEN-NEW-BLOCK-INSTANCE trigger to assign NULL to some fields and set the properties in the block and during this process when I first run the form, the record_status is set to NEW and after setting some fields to NULL the record_status is changed to INSERT. But both the times when-validate-item trigger on each of the fields 1,2, & 3 are fired. No matter we enter any value or not.
can you help in understanding the mistake I am doing or fixing this?
Thanks for your time.
Edited by: new_user on Oct 31, 2008 1:00 PM -
FRM-40735: When-Validate-Item trigger raised unhandled exception ORA-01861
Dear all, I runned a form designed by Developer 2000 version 4.5 and encountered a puzzling problem. The same program could be runned on one computer but not in another one. The error message is as below: FRM-40735: When-Validate-Item trigger raised unhandled exception ORA-01861. The OS of both computers are windows 2000 professional. The only difference between two computers is the patch files didn't installed on one of them. I don't know if it is the key point. Could you tell me why?
Thank you!!!I sure wish people would post the entire text of the error message. "ORA-01861: literal does not match format string."
What kind of field are you trying to validate? This message is usually due to a date format error. If you are trying to convert text into a date without using TO_DATE('some text','date-format'), then that is the problem. It sounds like you are, and the database default date format is different between the two systems. -
When-validate-item trigger restriction on open form or call form
W have when-validate-item trigger. I need to place a code here that will bring up a form when the "valid entry" on the item has been made. I am getting a frm-40737:Illegal restricted procedure COMMIT...
Code snippet on the procedure that I am calling from the when-validate-item:
IF :System.Form_Status = 'CHANGED' THEN
Commit_Form;
end if;
Call_Form ('MY_FORM', HIDE, NO_REPLACE, NO_QUERY_ONLY,'PARAM');
Is there a work-around. We also cannot use timers here.
Any help is appreciated?
TIAThanks Sudha, I tested and it worked with the key-next-item trigger.
The only thing though, I was told that the users will not use the enter key when they navigate out of the field, it is either clicking on an exit button or function key F4...so I am still stuck with the same problem.
This site is really helpful and I hope to receive more ideas.
Thanks! -
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.* -
Workarounds for clear_form in when-validate-item trigger
Hi,
I'm using forms6i
I want to call clear_form in when-validate-item trigger.
Since they are restricted procedures, i cant do that.
So what are the workarounds available?
There are items which are in control block and also records of a datablock available in the form,
I want to clear everything(control block items and datablock items)
ThanksDivya wrote:
Hi,
I'm using forms6i
I want to call clear_form in when-validate-item trigger.
Since they are restricted procedures, i cant do that.
So what are the workarounds available?
There are items which are in control block and also records of a datablock available in the form,
I want to clear everything(control block items and datablock items)
ThanksYou want the clear the form when you fire when-validate-item trigger
inside the when-validate-item trigger after you commit
COMMIT_FORM;
if form_success then
GO_ITEM(-------);
clear_form(no_validate,full_rollback); EXECUTE_TRIGGER('WHEN-NEW-FORM-INSTANCE'); -
How to know the status of concurrent program from back-end in oracle apps
Hi,
Can you please explain me step by step how to know the status of the concurrent program from back end in oracle apps.
Thanks,
RajWhen a record is being updated by a form, if you create a Pre-Update trigger on the block, the trigger will run for each record being updated.
Same thing happens with a Pre-Insert and Pre-Delete trigger. -
Tables to know the status of the workflow
Hi,
I am using a standard workflow for aproval of Appropriation Requests (App. Req.)
We have 5 approvals(persons) in the heiarachy.
I want to know the status of a App. Req.
i.e which persons are approved
at which person it is pending
or whether it is approved by all the 5 persons
In which table I get this information ois there any Function module to get this info?
Plz reply
ThanksHi Narendra,
You can check the following tables..:-)
SWW_OUTBOX Lists Workflows in outbox together with status
SWW_CONT Container Contents for Work Item Data Container
SWW_CONTOB "Container Cont. for Work Item Data Container
(Only Objects)"
SWWLOGHIST History of a work item
SWWORGTASK Assignment of WIs to Org.Units and Tasks
SWWUSERWI Current Work Items Assigned to a User
SWWWIHEAD Header Table for all Work Item Types
Regards,
Kanika -
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508
Hi all,
In Production instance we have an issue on AP invoice workbench, gives an error (FRM-40735 Post-Query Trigger On Quering Invoice ) when we retrieve the existing invoice data entered.
For this we compiled the invalid objects and applied the patch according to the metalink id [ID 1209736.1]
After that we came up with new error FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508.
Can any one help us
Thanks
SAIHi Thanks for the reply we have implemented the following things
1) Please download and review the readme for Patch 8671468:R12.AP.B
2) Please apply Patch 8671468:R12.AP.B in a test environment.
3) Check the file versions , they have to be the same as given below.
Patch/115/sql/aphanwfb.pls 120.64.12010000.11
4) Please retest the issue.
5) If the issue is resolved, please migrate the solution as appropriate to other environments.
APXINWKB : When Entering Invoice Details, Get Error: FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-06508 [ID 1284114.1]
This is done no luck.
Thanks
Sai -
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.
Hi All,
After Cloning the 11i instace to 12.1.3 and when trying to create an absence
am gettin the follwing Error
ORA-01403: no data found
FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-04063.
Please note I didnt get any of these kind of errors when cloned for CRP1 or CRP2.
ThanksHi,
Its because of the invalid objects. We have compiled the invalid objects again and the issue got fixed.
Thanks -
I created a validate-item trigger where I check if the user has entered a correct value;
if he didn't I show an alert and of course I want to force the user to enter a correct value; I planned to go back to this item with the command go_item but this is not allowed in a validate-item trigger
Is there another possibility to prevent the user from going on to another item?
thx in advance, michaelaI have a another idea. Since after validate-item trigger control will automatically go the next item in the sequnence. So if you cange the next_item property of that item and make that item itself as the next item in case of wrong data.
I believe that this should work fine.
Anyway you have to use the Raise_form_Trigger_failure Exception.
Try it and update back on the net. -
JSms 2.1.6:- how to know the status of message sent through GsmSmsService
hi,
i am using jSms 2.1.6
can any one help in knowing the status of the messege which i sent through GsmSmsService,
wheather messege reached the destination or not
is there any way to know this
please it is urgent
nalinI need jsms 2.1.6 package.
could you send that file? -
I need to know the status of this serial number...FK1P79T3G5QW
somebody trying to sell me the iPhone 6plus silver .the serial number is FK1P79T3G5QW.
i need to know the status of this device.That device is activation locked. In future cases, supply the serial number to Apple’s iCloud status checker instead of here.
(123784) -
To know the status of activation of Infoproviders, Query etc--
Hi,
How we can know the status of BI objects such as Infocubes,queries, process chains and so on whether they are activated or not?
what happens if u by mistake reinstall the object of already in activation state?
Rajhi
when we open the objects like info object, cube dso pc's etc .. its shows the status of objects like activte or new or modify
if it is alredy install, again re-install its over write the existing.
we all are know while install oe object its create a copy of object, while re-install its only over write
i think tis helps u
Regards,
SRINIVAS -
Script to know the status of existing FS
OS: SLES 10
Quite often we have FS unavilablilty issue.
FS become full, we need to request our Sys Admin group to increase the size.
Specially It is very painful when we are in the middle of soem thing.
Can I write script to know the status of existing FS in every 8 hours?
If yes, please give me the example. thanks
DNDas N wrote:
OS: SLES 10
Quite often we have FS unavilablilty issue.
FS become full, we need to request our Sys Admin group to increase the size.
Specially It is very painful when we are in the middle of soem thing.
Can I write script to know the status of existing FS in every 8 hours?
If yes, please give me the example. thanks
DNThe command:
df -h /+dirInMyProblemFS+
Should do the trick for a one off.
Perhaps as a starter for ten the easiest (?) way is add the following line to your crontab:
15 4,12,20 * * * ( date ; /usr/bin/df -h /dirInMyProblemFS ) >> /tmp/FSwatch.log 2>&1Note: crontab -e changes your crontab :: (or if 'fails' try: export EDITOR=vi; crontab -e). Your crontab may of course be deny'd.
Rgds- bigdelboy
Maybe you are looking for
-
Please help. I was prompted to update Adobe Reader when trying to open an interactive document on a government site. Since updating it, I cannot seem to access any .pdfs online. Very frustrating.
-
How to know which Action has been done by a Dialog in ControlsFX?
Hello! I am using ControlsFX for the "Dialog" class. This class lets you build a dialog with "Node" Content. I set the content to a GridPane and and had wanted to set up a custom Action. There are premade Actions like "OK" "CANCEL "YES" "NO" "CLOSE"
-
HT1414 after update of ipod touch ,,how could i get my music n videos back
hii i am using ipod touch of second generration afte update of ipod how could i get my videos n music back again into my ipod
-
Video Camera Zoomed In Too Much
I know there probably is not a fix for this but I just wanted to throw it out there. Why, when you switch from Camera to Video does it zoom in so much? I was trying to take video of my daughter in front of me and I couldn't back up enough where we we
-
I have Acrobat CS3 on Mac, and I know nothing about using the app. I am trying to swap out an image in a PDF. I have poked around the interface quite bit, but nothing works. I seem to be able to select the image, but the only options are to copy or