Row not creating in the results table of search page,plz help
hi,
i had created searchpage, and after giving the criteria ,after press the go button, its giving exception the row is not created
oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for DeptEO.
can anyone help regarding this.
Please post the full error stack.
This message is not enough to diagnose the problem.
--Prasanna
Similar Messages
-
Row not creating in the results table of search page,
hi,
i had created searchpage, and after giving the criteria ,after press the go button, its giving exception the row is not created
oracle.apps.fnd.framework.OAException: oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for DeptEO.
can anyone help regarding this..Try the OA Framework Forum
-
To get checkboxes in the results table of SEARCH page?
Hi,
I am trying to create a search form using 'Execute With Params', while doing this I am getting radiobuttons when I go for Enable Selections , but I want Checkboxes to be present there instead of Radio Buttons.
And also when the page is displayed I want only the search parameter to be prsent and not the results table by default.How can I do that?
Kindly tell me how can I acheive that?
Thanks,
ivaRHi,
a) create a table with no selection enabled. Then drag and drop the tableSelectMany component into the "Selection" facet of the table
b) make the default vaue of the bind variable so that no value is returned by the query. Then on the render property of the table, set #{bindings.tableIterator.estimatedRowCount>0}. This hides the table if not query is issued -
Bad file is not created during the external table creation.
Hello Experts,
I have created a script for external table in Oracle 10g DB. Everything is working fine except it does not create the bad file, But it creates the log file. I Cann't figure out what is the issue. Because my shell scripts is failing and the entire program is failing. I am attaching the table creation script and the shell script where it is refering and the error. Kindly let me know if something is missing. Thanks in advance
Table Creation Scripts:_-------------------------------
create table RGIS_TCA_DATA_EXT
guid VARCHAR2(250),
badge VARCHAR2(250),
scheduled_store_id VARCHAR2(250),
parent_event_id VARCHAR2(250),
event_id VARCHAR2(250),
organization_number VARCHAR2(250),
customer_number VARCHAR2(250),
store_number VARCHAR2(250),
inventory_date VARCHAR2(250),
full_name VARCHAR2(250),
punch_type VARCHAR2(250),
punch_start_date_time VARCHAR2(250),
punch_end_date_time VARCHAR2(250),
event_meet_site_id VARCHAR2(250),
vehicle_number VARCHAR2(250),
vehicle_description VARCHAR2(250),
vehicle_type VARCHAR2(250),
is_owner VARCHAR2(250),
driver_passenger VARCHAR2(250),
mileage VARCHAR2(250),
adder_code VARCHAR2(250),
bonus_qualifier_code VARCHAR2(250),
store_accuracy VARCHAR2(250),
store_length VARCHAR2(250),
badge_input_type VARCHAR2(250),
source VARCHAR2(250),
created_by VARCHAR2(250),
created_date_time VARCHAR2(250),
updated_by VARCHAR2(250),
updated_date_time VARCHAR2(250),
approver_badge_id VARCHAR2(250),
approver_name VARCHAR2(250),
orig_guid VARCHAR2(250),
edit_type VARCHAR2(250)
organization external
type ORACLE_LOADER
default directory ETIME_LOAD_DIR
access parameters
RECORDS DELIMITED BY NEWLINE
BADFILE ETIME_LOAD_DIR:'tstlms.bad'
LOGFILE ETIME_LOAD_DIR:'tstlms.log'
READSIZE 1048576
FIELDS TERMINATED BY '|'
MISSING FIELD VALUES ARE NULL(
GUID
,BADGE
,SCHEDULED_STORE_ID
,PARENT_EVENT_ID
,EVENT_ID
,ORGANIZATION_NUMBER
,CUSTOMER_NUMBER
,STORE_NUMBER
,INVENTORY_DATE char date_format date mask "YYYYMMDD HH24:MI:SS"
,FULL_NAME
,PUNCH_TYPE
,PUNCH_START_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,PUNCH_END_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,EVENT_MEET_SITE_ID
,VEHICLE_NUMBER
,VEHICLE_DESCRIPTION
,VEHICLE_TYPE
,IS_OWNER
,DRIVER_PASSENGER
,MILEAGE
,ADDER_CODE
,BONUS_QUALIFIER_CODE
,STORE_ACCURACY
,STORE_LENGTH
,BADGE_INPUT_TYPE
,SOURCE
,CREATED_BY
,CREATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,UPDATED_BY
,UPDATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
,APPROVER_BADGE_ID
,APPROVER_NAME
,ORIG_GUID
,EDIT_TYPE
location (ETIME_LOAD_DIR:'tstlms.dat')
reject limit UNLIMITED;
_***Shell Script*:*----------------_*
version=1.0
umask 000
DATE=`date +%Y%m%d%H%M%S`
TIME=`date +"%H%M%S"`
SOURCE=`hostname`
fcp_login=`echo $1|awk '{print $3}'|sed 's/"//g'|awk -F= '{print $2}'`
fcp_reqid=`echo $1|awk '{print $2}'|sed 's/"//g'|awk -F= '{print $2}'`
TXT1_PATH=/home/ac1/oracle/in/tsdata
TXT2_PATH=/home/ac2/oracle/in/tsdata
ARCH1_PATH=/home/ac1/oracle/in/tsdata
ARCH2_PATH=/home/ac2/oracle/in/tsdata
DEST_PATH=/home/custom/sched/in
PROGLOG=/home/custom/sched/logs/rgis_tca_to_tlms_create.sh.log
PROGNAME=`basename $0`
PROGPATH=/home/custom/sched/scripts
cd $TXT2_PATH
FILELIST2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
NO_OF_FILES2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
$DEST_PATH/tstlmsedits.dat for i in $FILELIST2
do
cat $i >> $DEST_PATH/tstlmsedits.dat
printf "\n" >> $DEST_PATH/tstlmsedits.dat
mv $i $i.$DATE
#mv $i $TXT2_PATH/test/.
mv $i.$DATE $TXT2_PATH/test/.
done
if test $NO_OF_FILES2 -eq 0
then
echo " no tstlmsedits.dat file exists " >> $PROGLOG
else
echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
echo "-------------------------------------------" >> $PROGLOG
fi
NO_OF_FILES1="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
FILELIST1="`ls -lrt tstlms*.dat |awk '{print $9}'`"
$DEST_PATH/tstlms.datfor i in $FILELIST1
do
cat $i >> $DEST_PATH/tstlms.dat
printf "\n" >> $DEST_PATH/tstlms.dat
mv $i $i.$DATE
# mv $i $TXT2_PATH/test/.
mv $i.$DATE $TXT2_PATH/test/.
done
if test $NO_OF_FILES1 -eq 0
then
echo " no tstlms.dat file exists " >> $PROGLOG
else
echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
fi
cd $TXT1_PATH
FILELIST3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
NO_OF_FILES3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
$DEST_PATH/tstlmsedits.datfor i in $FILELIST3
do
cat $i >> $DEST_PATH/tstlmsedits.dat
printf "\n" >> $DEST_PATH/tstlmsedits.dat
mv $i $i.$DATE
#mv $i $TXT1_PATH/test/.
mv $i.$DATE $TXT1_PATH/test/.
done
if test $NO_OF_FILES3 -eq 0
then
echo " no tstlmsedits.dat file exists " >> $PROGLOG
else
echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
echo "-------------------------------------------" >> $PROGLOG
fi
NO_OF_FILES4="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
FILELIST4="`ls -lrt tstlms*.dat |awk '{print $9}'`"
$DEST_PATH/tstlms.datfor i in $FILELIST4
do
cat $i >> $DEST_PATH/tstlms.dat
printf "\n" >> $DEST_PATH/tstlms.dat
mv $i $i.$DATE
# mv $i $TXT1_PATH/test/.
mv $i.$DATE $TXT1_PATH/test/.
done
if test $NO_OF_FILES4 -eq 0
then
echo " no tstlms.dat file exists " >> $PROGLOG
else
echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
fi
#connecting to oracle to generate bad files
sqlplus -s $fcp_login<<EOF
select count(*) from rgis_tca_data_ext;
select count(*) from rgis_tca_data_history_ext;
exit;
EOF
#counting the records in files
tot_rec_in_tstlms=`wc -l $DEST_PATH/tstlms.dat | awk ' { print $1 } '`
tot_rec_in_tstlmsedits=`wc -l $DEST_PATH/tstlmsedits.dat | awk ' { print $1 } '`
tot_rec_in_tstlms_bad=`wc -l $DEST_PATH/tstlms.bad | awk ' { print $1 } '`
tot_rec_in_tstlmsedits_bad=`wc -l $DEST_PATH/tstlmsedits.bad | awk ' { print $1 } '`
#updating log table
echo "pl/sql block started"
sqlplus -s $fcp_login<<EOF
define tot_rec_in_tstlms = '$tot_rec_in_tstlms';
define tot_rec_in_tstlmsedits = '$tot_rec_in_tstlmsedits';
define tot_rec_in_tstlms_bad = '$tot_rec_in_tstlms_bad';
define tot_rec_in_tstlmsedits_bad='$tot_rec_in_tstlmsedits_bad';
define fcp_reqid ='$fcp_reqid';
declare
l_tstlms_file_id number := null;
l_tstlmsedits_file_id number := null;
l_tot_rec_in_tstlms number := 0;
l_tot_rec_in_tstlmsedits number := 0;
l_tot_rec_in_tstlms_bad number := 0;
l_tot_rec_in_tstlmsedits_bad number := 0;
l_request_id fnd_concurrent_requests.request_id%type;
l_start_date fnd_concurrent_requests.actual_start_date%type;
l_end_date fnd_concurrent_requests.actual_completion_date%type;
l_conc_prog_name fnd_concurrent_programs.concurrent_program_name%type;
l_requested_by fnd_concurrent_requests.requested_by%type;
l_requested_date fnd_concurrent_requests.request_date%type;
begin
--getting concurrent request details
begin
SELECT fcp.concurrent_program_name,
fcr.request_id,
fcr.actual_start_date,
fcr.actual_completion_date,
fcr.requested_by,
fcr.request_date
INTO l_conc_prog_name,
l_request_id,
l_start_date,
l_end_date,
l_requested_by,
l_requested_date
FROM fnd_concurrent_requests fcr, fnd_concurrent_programs fcp
WHERE fcp.concurrent_program_id = fcr.concurrent_program_id
AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
exception
when no_data_found then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log, 'No data found for request_id');
fnd_file.put_line(fnd_file.log, sqlerrm);
raise_application_error(-20001,
'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
sqlerrm);
when others then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log,
'Error occured when retrieving request_id request_id');
fnd_file.put_line(fnd_file.log, sqlerrm);
raise_application_error(-20001,
'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
sqlerrm);
end;
--calling ins_or_upd_tca_process_log to update log table for tstlms.dat file
begin
rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
(l_tstlms_file_id,
'tstlms.dat',
l_conc_prog_name,
l_request_id,
l_start_date,
l_end_date,
&tot_rec_in_tstlms,
&tot_rec_in_tstlms_bad,
null,
null,
null,
null,
null,
null,
null,
l_requested_by,
l_requested_date,
null,
null,
null,
null,
null);
exception
when others then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log,
'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlms file');
fnd_file.put_line(fnd_file.log, sqlerrm);
end;
--calling ins_or_upd_tca_process_log to update log table for tstlmsedits.dat file
begin
rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
(l_tstlmsedits_file_id,
'tstlmsedits.dat',
l_conc_prog_name,
l_request_id,
l_start_date,
l_end_date,
&tot_rec_in_tstlmsedits,
&tot_rec_in_tstlmsedits_bad,
null,
null,
null,
null,
null,
null,
null,
l_requested_by,
l_requested_date,
null,
null,
null,
null,
null);
exception
when others then
fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
fnd_file.put_line(fnd_file.log,
'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlmsedits file');
fnd_file.put_line(fnd_file.log, sqlerrm);
end;
end;
exit;
EOF
echo "rgis_tca_to_tlms_process.sql started"
sqlplus -s $fcp_login @$SCHED_TOP/sql/rgis_tca_to_tlms_process.sql $fcp_reqid
exit;
echo "rgis_tca_to_tlms_process.sql ended"
_**Error:*----------------------------------*_
RGIS Scheduling: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
TCATLMS module: TCA To TLMS Import Process
Current system time is 18-AUG-2011 06:13:27
COUNT(*)
16
COUNT(*)
25
wc: cannot open /home/custom/sched/in/tstlms.bad
wc: cannot open /home/custom/sched/in/tstlmsedits.bad
pl/sql block started
old 33: AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
new 33: AND fcr.request_id = 18661823; --fnd_global.conc_request_id();
old 63: &tot_rec_in_tstlms,
new 63: 16,
old 64: &tot_rec_in_tstlms_bad,
new 64: ,
old 97: &tot_rec_in_tstlmsedits,
new 97: 25,
old 98: &tot_rec_in_tstlmsedits_bad,
new 98: ,
ERROR at line 64:
ORA-06550: line 64, column 4:
PLS-00103: Encountered the symbol "," when expecting one of the following:
( - + case mod new not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute forall merge time timestamp interval date
<a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
<an alternatively-quoted string literal with character set specification>
<an alternatively-q
ORA-06550: line 98, column 4:
PLS-00103: Encountered the symbol "," when expecting one of the following:
( - + case mod new not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql st
rgis_tca_to_tlms_process.sql started
old 12: and concurrent_request_id = '&1';
new 12: and concurrent_request_id = '18661823';
old 18: and concurrent_request_id = '&1';
new 18: and concurrent_request_id = '18661823';
old 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,&1);
new 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,18661823);
old 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,&1);
new 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,18661823);
old 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',&1);
new 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',18661823);
declare
ERROR at line 1:
ORA-20001: Error occured when executing RGIS_TCA_TO_TLMS_PROCESS.sql ORA-01403:
no data found
ORA-06512: at line 59
Executing request completion options...
------------- 1) PRINT -------------
Printing output file.
Request ID : 18661823
Number of copies : 0
Printer : noprint
Finished executing request completion options.
Concurrent request completed successfully
Current system time is 18-AUG-2011 06:13:29
---------------------------------------------------------------------------Hi,
Check the status of the batch in SM35 transaction.
if the batch is locked by mistake or any other error, now you can release it and aslo you can process again.
To Release -Shift+F4.
Also you can analyse the job status through F2 button.
Bye -
i have updated my iphone 3g and now the phone is not activating
Insert a valid, working SIM from the carrier it is locked to.
-
Is it possible to name the results table.
Hi, I'm new to java and have hit a brick wall devloping a GUI which access a SAPDB database.
They layout of the GUI is:
have a awt lists in card layout, which is populated with the results of a SQL query to table REGION.
However the number of results returned can be greater then 1Mill. To minimise the mem useage, i'm using the ResultSet absolute(), first() etc methods to collect and display small chunks of the data, for the different card in the gui. This works fine :)
However, the user is able to select an item from the list to perform a new query, which the results a presented in a dialog box, not dependent on the parent frame. Works :)
But, when the user (I) try to move anothe card in the parent frame I get this error:
SAP DBTech JDBC: Object is closed
com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech JDBC: Object is closed
at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(ConnectionItem.java:54)
at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSetSapDB.java:177)
at blastDb.Table.getResultSetSize(Table.java:205)
at blastDb.Table.setCursor(Table.java:227)
at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java:354)
at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:180)
at ViewDatabase$TabButtonListener.actionPerformed(ViewDatabase.java:289)
at java.awt.Button.processActionEvent(Button.java:381)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
After some reading I have come up with this hypothesis:
In the parent frame there is the object (class) RegionTable, which contains the ResultSet (rsR) of the sql query generated by it.
In the dialog box there is the object (class) ProteinTable which also contains the ResultsSet (rsP) of the sql query generated by it.
So when RegionTable querys the database the rsR points to the results table in the SAPDB. All good.
However when ProteinTable querys the database, rsR closes and rsP is valid ie. points to the results table in the SAPDB.
Thus after the second query RegionTable.rsR is unable to collect the results of its query. BAD :(
From what i have read, if the results table is named for the first query, the second call which results table is named something diff then rsR will not close, as the results table is not destroyed, thus rsR can read it's results after the second qury.
This problems occours when the objects share the same connection or diff connections.
As far as I'm aware i'm using JDBC 1.2 drivers and SAPDB latest build.
I know i could hold the results in a view, but that requies more coding, being able to name the results table in the SAPDB make it alot easier.
So my question is:
1. Are my assumptions correct??
2. is there a SQL statement to name the results table for a given query?
From SAPDB:
A result table name identifies a result table (see table).
Syntax
<result_table_name> ::= <identifier>
And I've got no idea what is beging impiled beyond that it is possible to name a results table. Obtained from :
http://www.sapdb.org/htmhelp/da/ed9036dfe4b903e10000009b38f889/frameset.htm
If anyone can help, that would be fantastic!!!
Cheers
fauxnI've check the code, when the dialog box is opened a new connection is made, and i still get the same error:
SAP DBTech JDBC: Object is closed
com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech
JDBC: Object is closed
at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(Connection
Item.java:54)
at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSet
SapDB.java:177)
at blastDb.Table.getResultSetSize(Table.java:205)
at blastDb.Table.setCursor(Table.java:227)
at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java
:354)
at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:1
80)
at ViewDatabase$TabButtonListener.actionPerformed(ViewDatab
ase.java:289)
at java.awt.Button.processActionEvent(Button.java:381)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3526
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Ev
entDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Even
tDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
ead.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
ead.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.jav
a:98)
when i ask rsR to collect the results from it's query.
Dosen't make sence, unless its they way I'm implementint the GUI???
I'll look into the JDBC driver bug.
Cheers -
After REFRESH the cached object is not consistent with the database table
After REFRESH, the cached object is not consistent with the database table. Why?
I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
JDeveloper.
How to make the JDeveloper's offline tables to be synchronized with the underling database tables?qkc,
Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
John -
Point cloud clip doesn't return anything in the result table
Hi experts,
I am wondering why my point cloud clipping function does not return anything into the result table.
The boundaries of my point cloud are:
min long 316,500
max long 316,643.21
min lat 234,000
max lat 234,105.38
min elevation -4.79
max elevation 30.87
For the ind_dimquery I have tried different geometry types, like 3003 and 3008, usually with the elem_info_array (1,1007,3)
like in the following example:
SQL> declare
2 inp sdo_pc;
3 begin
4 select pc into inp from base109 where rownum=1;
5 insert into restst
6 select * from table(sdo_pc_pkg.clip_pc(
7 inp,
8 sdo_geometry(3003, 29903, null,
9 mdsys.sdo_elem_info_array(1,1007,3),
10 mdsys.sdo_ordinate_array(316510, 234080, -3, 316550, 234100, 2)),
11 null, null, null, null));
12 end;
13 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.20
SQL> select count(*) from restst;
COUNT(*)
0
What am I doing wrong? This should be a query window within the right area and I know that at least one point lies within this defined window.
Any help is greatly appreciated!!!!!
Cheers,
F.yes exactly, I have tried all of this already.
For a further example, there is a point in:
POINTS(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
R G B I POINT_ID
SDO_GEOMETRY(3001, 29903, SDO_POINT_TYPE(316503.49, 234089.46, 3.32), NULL, NULL
71 91 78 70 55
so theoretically, I'd feel that at the VERY LEAST this point should be in the 3008geometry and 1007 elem array for the coordinates for xmin, y min, zmin, xmax, ymax, zmax for
316500, 234080, 2, 316510, 234100, 5
but...nothing. Nothing in the result table.
For full query:
SQL> declare
2 inp sdo_pc;
3 begin
4 select pc into inp from base109 where rownum=1;
5 insert into restst
6 select * from table(sdo_pc_pkg.clip_pc(
7 inp,
8 sdo_geometry(3008, 29903, null,
9 mdsys.sdo_elem_info_array(1,1007,3),
10 mdsys.sdo_ordinate_array(316500, 234080, 2, 316510, 234100, 5)),
11 null, null, null, null));
12 end;
13 /
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.13
SQL> select count(*) from restst;
COUNT(*)
0 -
Hi
I need to add a URL to the result table. My SQL is getting the complete URL.
I'm getting the URL as workFlowUrl in the underlying query.
I tried two ways
i) If I add a link item then the whole link is being shown instead of propt text. Prompt text is shown only as the column header.
ii) If I added Image item and if I make destination URI attribute to {@workFlowUrl} then the
the select image is being shown but the link is being added as http://servername:port/<<workFlowUrl -- with encoded characters>>
because of which the link is broken.
Can some body help me how can we achiev the above.
All I'm trying to do is I'm trying to take the user to the OA Framwork based work status monitor page with the help of URL generated by the procedure WF_MONITOR.GetEnvelopeURL('DUMMY','WFSPLPRC', p_item_key,'NO').
So, the final URL is being presented as:
http://server:8989/OA_HTML/http%3A%2F%2Fserver%3A8015%2Fpls%2Foapdev%2Fwf_monitor.buildMonitorUrl%3FakRegionCode%3DWF_G_MONITOR_RESPONSES_PAGE%26wa%3D%257B%2129CD6E4ACB2D5102F2A24C771BB8473A%26wm%3D%257B%21DBF7F8390B39B6B5%26itemType%3D%257B%215559198122C72D5AA4DC6050FED4AC45%26itemKey%3D%257B%218AB087B80198EEA3
I don't need leading http://server:8989/OA_HTML
Thanks
prasadHi
I fixed the issue on my own. I made the item as formatted text and getting the workflow link with VO query as below:
select b.batch_id,
b.modifier_list_name,
b.currency, b.price_list,
b.price_list_name,
b.request_date_from,
b.request_date_to,
u.user_name requestor_user_name,
p.person_id,
nvl(p.full_name, u.user_name) full_name,
p.email_address,
b.spa_status,
decode(item_key, null, 'Workflow not started', 'Workflow Status' workflow_url
from ldmf.ldmf_sp_batches b, fnd_user u, PER_PEOPLE_V7 p,
(select distinct item_key from wf_item_activity_statuses where item_type = 'WFSPLPRC') w
where
b.REQUESTOR_ID = u.USER_ID (+)
and u.EMPLOYEE_ID = p.person_id (+)
and w.item_key (+) = b.batch_id
order by b.batch_id desc -
Business Rule error: Accounts are not available in the rule table
Hi everybody,
I have a problem running the Business Rule for the profit/loss copy to the equity account.
The Business Rule I set reads from all P&L accounts, P&L specific flow, acual category, all datasources and then it writes everything keeping the source settings apart from the account destination (the equity profit/loss account) and the flow destination (I write in two different flows, so the rule is made up of two equal lines differing only in the flow destination). "PROFIT" is the ID I chose.
Then I created the related script logic (ID=CALCACCOUNT):
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY_M = %CATEGORY_M_SET%
CURRENCYLABEL = %CURRENCYLABEL_SET%
TID_RA = %TIME_SET%
CALC=PROFIT
*ENDRUN_PROGRAM
Finally, the prompt ( process chain: CPMB/RUNCALCACCOUNT):
PROMPT(SELECTINPUT,,,,"CATEGORY_M,CURRENCYLABEL,TIME")
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SUSER,%USER%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SAPP,%APP%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/RUNCALCACCOUNT_LOGIC,LOGICFILENAME,CALCACCOUNT.LGF)
But anytime I run the package it fails giving me the message error: "Accounts are not available in the rule table".
I tried every possible change but nothing; if someone could help me somehow I'd be really grateful!!
Thanks
FilippoHi James,
Thanks for your quick response. There is no currency dimension in the application... I've tested with the correct businessrule as CALC value, but this didn't do the trick.
Any other suggestions?
Regards,
Vincent -
Ship to record not populated in the CDHDR table at the time of creation
HI
I have created the Ship to party in R/3 and automatically i couldnt found the customer number entry with Change object as " I " in the table CDHDR. but ideally all the master data creation entries will be written in the CDHDR table with " I ".
Please help me out here.
Helpful answers will be rewarded.
Regards,
Ram.In that case, try maintaining only the dates in that table and execute. Once the data is populated, ensure that transaction code is XD01 and not XD02. Moreover, I am not sure, system will show the creation time there. May be you can try in KNA1 where also, you can see the creation date but not time.
As an alternative, execute XD02 for that ship to party where from top menu bar, click on Environment => Account changes => All fields. Again double click on "Entries", so that system will display the creation and changes made to that customer with date. Double click on the first record so that system will show when that particular activity was taken place and at what time.
thanks
G. Lakshmipathi -
Query Panel reset is clearing attribute level validations in the results table.
Hi,
I'm using JDeveloper 11.1.2.3.0.
I have a query panel with editable table in a jsf page.
In the EmployeesEO i have an attribute validation for Salary. that is Salary should not be a negative value.
I ran the Jsf page, click on Query panel Search, results are displayed.
I changed the salary to -100 from 50000 and tabout, error message is shown properly at attribute level.
I clicked on Query panel's Reset button, now Salary is showing as 50000 in the results table. But when i click on Commit button to save the changes, then -100 is showing and throwing the validation message.
Can you please let me know if there is any way to not clear the values in the Results Table?
Thanks,
VinodOnce you submit the values the reset button can't undo these changes. To reset the changes you either need to call rollback or you have set a save point before the changes and then reset to the save point.
What I don't understand is why the click on the reset does show you the old value.
Timo -
Could not create/access the TopLink Session.While invoking OSB proxy.
Hi,
While testing an OSB proxy ,which uses a multi datasource to connect to a remote database, from the sbconsole.I am getting exceptions and it is not able to create/access the TopLink Session.
I have checked the multi datasource jndi name ,which is correct.
The stack trace which I am getting while invoking the service is posted below:
oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/CRN_CommonServices/SaveTransactionBSV2 [ SaveTransactionBSV2_ptt::SaveTransactionBSV2(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'SaveTransactionBSV2' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
; nested exception is:
JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception.
Missing Property: [DBManagedConnectionFactory.userName].
Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:225)
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundBindingServiceImpl.invoke(JCATransportOutboundBindingServiceImpl.java:136)
at com.bea.wli.sb.transports.jca.JCAOutboundMessageContext.sendRequestResponse(JCAOutboundMessageContext.java:152)
at com.bea.wli.sb.transports.jca.JCAOutboundMessageContext.send(JCAOutboundMessageContext.java:113)
at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:464)
at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.wli.sb.transports.Util$1.invoke(Util.java:82)
at $Proxy76.sendMessageAsync(Unknown Source)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:543)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:478)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:544)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:422)
at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:583)
at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatchSync(PipelineContextImpl.java:466)
at stages.transform.runtime.WsCalloutRuntimeStep$WsCalloutDispatcher.dispatch(WsCalloutRuntimeStep.java:1401)
at stages.transform.runtime.WsCalloutRuntimeStep.processMessage(WsCalloutRuntimeStep.java:236)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
at com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:866)
at com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:141)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:866)
at com.bea.wli.sb.pipeline.PipelineNode.doRequest(PipelineNode.java:55)
at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:866)
at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:191)
at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:75)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:508)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:506)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:505)
at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:263)
at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:68)
at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:125)
at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:123)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:128)
at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:441)
at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:169)
at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:136)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:572)
at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/CRN_CommonServices/SaveTransactionBSV2 [ SaveTransactionBSV2_ptt::SaveTransactionBSV2(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'SaveTransactionBSV2' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
; nested exception is:
JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception.
Missing Property: [DBManagedConnectionFactory.userName].
Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:619)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:331)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:220)
... 57 more
Caused by: JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by javax.resource.spi.InvalidPropertyException: Missing Property Exception.
Missing Property: [DBManagedConnectionFactory.userName].
Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:473)
at oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:216)
at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:638)
at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:457)
at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:222)
at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1001)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:232)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:463)
... 59 more
Caused by: javax.resource.spi.InvalidPropertyException: Missing Property Exception.
Missing Property: [DBManagedConnectionFactory.userName].
Make sure the property is set in the interaction (activation) spec by editing its definition in the wsdl.
at oracle.tip.adapter.db.exceptions.DBResourceException.missingPropertyException(DBResourceException.java:348)
at oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:932)
at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:413)
... 64 more
Looking forward for your help.
Thanks a lot in advance.
SumitHave you created XA data source? If yes then make sure that in connection factory you are assigning the JNDI name of data-source in XAdataSource property (NOT in datasource property). Also make sure that your datasource is up and running and you are updating the dbadapter after creating connection factory.
Regards,
Anuj -
Currently when I double click it creates cpgz file and does not open. The only way to open pages doc is to manually ask to open with pages.
Hi Karen,
Sounds like OS X has lost the association between Pages and its files.
Start by quitting Pages, then going to Finder.
In Finder, locate a .pages file. Click on it (once), then press command-I (eye, not one) to Get Info.
In the Info window that opens, expand the Open With section.
In this section, click on the pop-up menu and choose Pages (even if Pages is already shown).
Click the Change All button to associate all files with the .pages extension with Pages.
Close the info window.
Double click any .pages file to check that Pages will now launch and open the file.
Regards,
Barry -
Accounting document not created at the time of capture and post excise duty
Hi
Accounting document not created at the time of capture and post excise duty
Please explain what the reason
Regards,
Channareloved myself
Maybe you are looking for
-
How can I remove my old phone number from my iPhone?
I want to sell my old iPhone 5 (Sprint), and I want to get everything off of it. Obviously I'd restore it and remove everything first, but how do I get the 'My number' to change from my current phone number (which was ported to T Mobile and is with a
-
PSE7 with Windows 7 - Drag & Drop Problems
Hello, have some people experince in PSE 7 with OS Windows 7? I have some problems with the Drag & Drop function. If I drag a picturce from the explorer into PSE7, PSE7 freeze and need two minutes to come back. Have somebody any idea / solution? -->
-
Unable to set the ip address for hosted network client after creating WIFI hotspot
Original Title: INTERNET CONNECTIVITY PROBLEM WITH MY LAPTOP WIFI HOTSPOT HI all I am able to use internet connection from my lap hotspot, when the internet source is Public or private wifi. so I know the cmd window commands for hotspot and settings
-
I keep getting a pop up in my adobe photoshop element 10"searching for missing file-to locate this y
i need to learn how to find missing files in adobe photoshop elements 10.i unistalled the program and reinstalled it but it made no difference.i keep getting a persistant pop up telling me to search for the missing file.IN PLAIN ENGLISH how do i reco
-
MY app store on mountain lion times out
Hi, My app store times out anytime i try and load the update page. The entire rest of my app store works just fine. I can buy apps, download apps, whatever else I need to do in the app store, but at soon as I click on the update tab, the app store ju