Frm-40502: oracle error: unable to read list of values
Hi All,
I am personalizing the assignment form, where we need to restrict the JOB LOV based on Organization value.
In Forms Personalization we are creating the record group from query and attaching to Job field.
The query is,
SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
j.job_id job_id
FROM per_jobs_v j
WHERE j.business_group_id + 0 = :CTL_GLOBALS.BUSINESS_GROUP_ID
AND j.date_from <= :CTL_GLOBALS.SESSION_DATE
AND ( (j.date_to IS NULL)
OR (j.date_to >= :CTL_GLOBALS.SESSION_DATE)
ORDER BY j.NAME
When we use this query, we are getting the error "frm-40502: oracle error: unable to read list of values"
If i replace the bind variable with values we are not getting the error and its working fine.
Replace query:
SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
j.job_id job_id
FROM per_jobs_v j
WHERE j.business_group_id + 0 = 202
AND j.date_from <= TRUNC(SYSDATE)
AND ( (j.date_to IS NULL)
OR (j.date_to >= TRUNC(SYSDATE))
ORDER BY j.NAME
how to use bind variables (Block.field) here? We are getting this error only when using the bind variable in the query.
Please share your ideas.
Thanks.
Hi;
What is your EBS version? There are 96 docs avaliable about similar error message. I suggest use metalink for your issue
You can also check:
FRM-40502: Oracle Error: Unable To Read List Of Values [ID 1161404.1]
Frm-40502: Oracle Error: Unable To Read List Of Values. [ID 351931.1]
FRM 40502: Oracle Error:Unable to Read List of Values [ID 179162.1]
Regard
Helios
Similar Messages
-
Forms Personalization - FRM-40502: ORACLE error: unable to read list of val
Hi,
I am using Forms Personalization to create an LOV using builtin. In the Builtin, I have put the sql query under create record group from query. In the query, when I hardcode a value, in a where condition, the LOV works fine but when I replace the hardcoded value with :block.field value, it gives the error, FRM-40502: ORACLE error: unable to read list of values. Below is the part of the sql query where I am facing this issue.
"WHERE related_customer_id = :ORDER.INVOICE_TO_CUSTOMER_ID"
Please get back to me if anyone has faced similar problem.
Thanks all in advance,
Regards,
ANPlease post a new thread for each issue. Tacking onto a 2 year old post is generally a bad idea.
Forms personalization is a feature in Oracle E+Biz Suite and as such you should post your question in this forum:
OA Framework -
FRM-40502 unable to read list of values
Hi all
FRM-40502 unable to read list of values
am getting this error when i try to populate list of values for some employees only
The LOV query is as follows
Select dsm_code,dsm_desc,dsm_content from deschange_master
where dsm_orgn=:parameter.p_orgn
and (dsm_ctry =:parameter.p_ctry or :parameter.p_ctry is null)
and(dsm_loc =:parameter.p_loc or :parameter.p_loc is null)
and( dsm_oru =:parameter.p_oru or :parameter.p_oru is null)
and
((DSM_CODE like '%PWI%' and DSM_CODE like '%INCR%')
and (select count(eih_emp_code)from employee_increment_header
where eih_emp_code =:edcd_emp_code and
to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))=1)
or
((DSM_CODE not like '%PWI%' and DSM_CODE not like '%INCR%')
and (select count(eih_emp_code)from employee_increment_header
where eih_emp_code = :edcd_emp_code and
to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))<>1)
order by dsm_codeHi,
You have missed 1 equal sign in the last portion of the query. Check the below code. (Not tested)
Select dsm_code,dsm_desc,dsm_content from deschange_master
where dsm_orgn=:parameter.p_orgn
and (dsm_ctry =:parameter.p_ctry or :parameter.p_ctry is null)
and(dsm_loc =:parameter.p_loc or :parameter.p_loc is null)
and( dsm_oru =:parameter.p_oru or :parameter.p_oru is null)
and
((DSM_CODE like '%PWI%' and DSM_CODE like '%INCR%')
and (select count(eih_emp_code)from employee_increment_header
where eih_emp_code =:edcd_emp_code and
to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))=1)
or
((DSM_CODE not like '%PWI%' and DSM_CODE not like '%INCR%')
and (select count(eih_emp_code)from employee_increment_header
where eih_emp_code = :edcd_emp_code and
to_date(eih_eff_date,'DD-MON-RR') = to_date(:desig_date,'DD-MON-RR'))=1)
order by dsm_codeRegards,
Manu. -
[SOLVED] FRM-40508:ORACLE error: unable to INSERT record
Hi all,
I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
I also generated to object list report and tried to find some answer, but no use.
Please help me in debugging this form.
Edited by: Charan on Aug 18, 2011 4:05 PMI think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
columns in there that the type does not match the table. (check the sizes of things too while you're at it.) -
"FRM-40501: Oracle error: Unable to Reserve Record For Update or Delete"
"FRM-40501: Oracle error: Unable to Reserve Record For Update or Delete"
as I can unblock a session in the graphical surroundings of administration of the BD 10g of OracleFrom experience with this problem since the blocked customer form has been coded not to wait for the updating session to complete then there is likely no waiter on the system now so you cannot find the blocking session.
What you need to do is determine what row the Form was going after then using SQLPlus issue an update on the row. If the blocking session has not yet committed then this update will wait. Now if you look for blocking sessions you will be able to find it and make a determination if the session should be killed or if someone needs to call the user and ask he or she to flip through their screens and get out of the blocking screen.
Applications screens written not to wait on currently being updated data need to also be written to expose the information necessary to identify the row(s) in question.
HTH -- Mark D Powell -- -
FRM-40505 Oracle Error: Unable to perform query(URGENT)
Hi I developed a form with a control_block and table_block(based on table)
in same Canvas.
Based on values on control_block and pressing Find button detail block will be queried.
Control_block ->
textitem name "payment_type" char type
text item name "class_code " char type
push button "find"
base table: --> payment_terms(termid,payment_type,class_code,other colums)
table_block is based on above table
Now I have written when-button-pressed trigger on find button..
declare
l_search varchar2(100);
BEGIN
l_search := 'payment_type='|| :control_block .payment_type||' AND class_code='||:control_block .class_code ;
SET_BLOCK_PROPERTY('table_block',DEFAULT_WHERE,l_search);
go_block('table_block');
EXECUTE_QUERY;
EXCEPTION
when others then
null;
END;
I am getting
FRM-40505 Oracle Error: Unable to perform query
please help..You don't need to build the default_where at run time. Just hard-code the WHERE Clause property as:
column_x = :PARAMETER.X
But, if for some compelling reason, you MUST do it at run time this should work:
Set_block_property('MYBLOCK',Default_where,
'COLUMN_X=:PARAMETER.X');
Note that there are NO quotes except for first and last. If you get some sort of error when you query, you should actually see :Parameter.X replaced with :1 when you do Help, Display Error. -
Frm-40505:ORACLE error: unable to perform query in oracle forms 10g
Hi,
I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
Please let me know what do i need to do to correct this problem.
Regards,
PriyaHi everyone,
I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
Regards,
Priya -
FRM-40509: ORACLE error: unable to UPDATE record.
FRM-40509: ORACLE error: unable to UPDATE record.
what can i do?There will always be another error which tells you what the actual problem on the database is. Use the Display message key, or message out DBMS_ERROR_TEXT
-
About the FRM-40508 ORACLE ERROR, Unable to insert'
Dear Friends:
I use the Toolbar button to insert one record -- do_key('CREATE_RECORD') in the Toolbar_actions procedure, and then, input the value for this record, and then, click the "Save" button -- commit_form; in the when_button_pressed trigger. There will be the problem FRM-40508 ORACLE ERROR, Unable to insert' .
Please kindly help to fix it...........Hi,
See...just for a test, please give whatever u input in the form, give the same in the sql query
like
insert into tablename etc in sql builder and see what happens,
This error will come,
if input value does not meet the datatype in the table or
if u fail to input value for not null column or
access rights pbm(check whether you have rights to insert in to the table)
Regards
Priya -
FRM-40506: Oracle error: unable to check for record uniqueness
Hello everyone
I have an emergency problom. the context is:
I have a master -detail structure in a form. first, my detail is a tabulation view, so it has severals records. Then, when i try to commit the form ii received the message <<<FRM-40506: Oracle error: unable to check for record uniqueness>>.
i made a test by changing the detail block presentation to Form. and i could save because my detail has one record.
Could someone has any idea how can I save my master-detail form with severals records in my detail.
Master
[code_p] [non_P]
Detail
[code_p] [product1]
[code_p] [product2]
[code_p] product3]
[code_p] [productn]
thanks!Error Cause:
Processing error encountered while checking a record's primary key items for uniqueness. The table associated with the current block of the form does not exist, or you do not have authority to access the table.
You can review the error documentation:
http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=FRM-40506&Submit=Search -
FRM-40501 ORACLE error: unable to reserve record for update or delete when
Hello.
I have two tab pages and one item on each page. Second tab page item, is mirror item of the first one. I use synchronize property on the mirrored one.
When i try to update mirrored one i get that error: FRM-40501 ORACLE error: unable to reserve record for update or delete when.
How can i solve that?
Thankshi dejan,
the error u r getting means that the record cannot be locked. This is ussually caused if u had locked the record from somewhere else (u or another user) or when forms cannot find corresponding column to the base table to lock the record.. U probably r facing the second situation. I'm not sure that forms can commit a change to an item that is synchronized cause synchronized items ignore their base table attribute and just copy their value from the other item.
Why don't u try Copy Value from Item property using <block_name>.<item_name> syntax and your item will have a value copied from the other item but u will have no problem with the db transactions. I suppose..
hope this helps,
teo -
FRM-40512 ORACLE ERROR UNABLE TO ISSUE SAVE POINT COMAND
Dear Friends
I am getting this FRM-99999 ERRORE 408 OCCURRED FRM-40655 SQL ERROR FORCED ROLLBACK CLEAR FROM AND RE-ENTER TRANACTION.
FRM-40512 ORACLE ERROR UNABLE TO ISSUE SAVE POINT COMAND.
I am calling the form using the following script :
:global.command_line := 'C:\SALES\NEW_ITEMS.FMX' ;
CALL_FORM(:global.command_line);
go_block('COP_ORDER_DETAILS');
go_record(:global.l_n_curr_rec2);
:COP_ORDER_DETAILS.ITEM_CODE :=:GLOBAL.ITEM_CODE_VAR;
:COP_ORDER_DETAILS.COLOR := :GLOBAL.COLOR_CODE ;
:COP_ORDER_DETAILS.SHAPE_CODE := :GLOBAL.SHAPE_CODE ;
:COP_ORDER_DETAILS.DELIVERY_QUANTITY := :GLOBAL.QTY ;
:COP_ORDER_DETAILS.VOLUME := :GLOBAL.VOLUME;
It works fine for one record, when I try to create another record by calling the called form it gives the above messages.
Waiting for your valuable replay.
Best regards
JamilHi!
May you try to open your form, compile all pl/sql (shift-ctrl-k) and compile the form (ctrl-t).
Take a look at triggers like pre-insert, on-insert, post-insert and key-commit.
What's happen there?
I don't know, if the default username feature in 10g is still supported.
So may the logon ( '/' ...) fails and for this the login screen os shown.
Regards -
FRM-40509: ORACLE error : Unable to update the record.
Hi,
I am having the following code in delete button.
declare
v_button NUMBER;
begin
IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
IF ( v_button = alert_button1 )
THEN
message('before insert');
insert into chng_cntrl_job_dtls_log
select * from chng_cntrl_job_dtls
where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
and sent_date is null;
message('before delete');
delete from CHNG_CNTRL_JOB_DTLS
where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
and sent_date is null;
message('before commit');
silent_commit;
go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
P_DELETE_SET_PROPERTY;
clear_form;
ELSIF ( v_button = alert_button2 )
THEN
null;
END IF;
ELSE
p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
END IF;
exception
when others then
message ('Exception in delete version button');
end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
i am getting message till before commit.
i am not able to check the error message in help as it is diabled in our form builder.
I have checked the privileges also. they are fine.
Please advice.
Edited by: Sudhir on Dec 7, 2010 12:26 PMThis error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
I see in the OP that this key is disabled. Change the on-error code then:
begin
message(dbms_error_code||'-'||dbms_error_text);
raise form_trigger_failure;
end; Edited by: InoL on Dec 7, 2010 8:50 AM -
FRM-40505 ORACLE error: unable to perform query
I have a block based on a table but when I issue an execute_query in "WHEN_NEW_BLOCK_INSTANCE" I get the above error.
I know can access this table because immediately after this I select some fields from the table into variables and display them. However when I try and assign them to the fields in the block I get "FRM:41051 You cannot create records here."
Can you please help.If I set "Insert Allowed" and Update Allowed" to yes I can assign values I've selected form the table to the fields but the execute_query still fails.
By the way, I have a where clause in the property block to limit the number of rows brought back to 1 -
FRM-40512 ORACLE error: unable to issue SAVEPOINT command
Anybody, know , how can i to increse the savepoints value in init.ora in 9i ?
regards.
MDFthanks, sir,
u have got the point. problem is that the oacle system doesnt kill that session; instead it hold the session. where i could do nothing. and moreover, if i was performing any dml operation then it(oracle system) locks the very records.
if i log-on next time & want to retrieve & perform the same dml operation again then
it gives me the message:
"Resource busy & acquire no wait ........."
then i have to kill the previous session manually.
now, please give me a solution where i want to reconnect holding the current session & perform the desire tasks assuming that nothing has happened.
please give me some examples.
saiful
Maybe you are looking for
-
We have a query on an InfoSet in production system (BW 3.0B) that is working fine. The same query on the same InfoSet in development system (BI 7) is not displaying master data attribute values. It does show values only for navigational attributes. M
-
Sales Orders with CO-PA characteristics
Hello, We are using BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders. According to the project specifications, we need to fill the Profitability Segment data, found in the Account Assignment tab of the item screen in transaction VA01. So far, we
-
Help! My Macbook Pro will not recognise my M-Audio Firewire 410 interface
Hi I'm new here and fairly new to Macs having only recently bought a Macbook Pro. My plan is to use the Macbook primarily for music but I can't get my M-Audio Firewire 410 audio interface working. I have installed the latest Intel driver but when I p
-
How to read a C structure with string and int with a java server using sock
I ve made a C agent returning some information and I want to get them with my java server. I ve settled communication with connected socket but I m only able to read strings. I want to know how can I read strings and int with the same stream because
-
my ipad will not work it will be black when you hit the power button thn you slide your finger at the bottom like you are unlocking it even though you cant see the screen. then it will show like purple,red, and blue picture for half a second then it