Vb-oracle app - query failing
i am having a problem running a select statement from VB6 to an Oracle 8 database.
the SQL statement works when the number of records in the table PrData is small (300 records) but not when there are lots of records (166800 records). when the query is executed in VB, it runs for approximately a minute then fails with error 3669, description 'Execution cancelled'.
i can run the same query in the SQL Worksheet against the large database and it does not fail and give an error. it returns the correct records.
is there a setting i am missing to allow the query to finish? why does it work from the worksheet but not from VB? any help would be greatly appreciated.
here is how i'm connecting and opening the recordset:
'connect:
Set wrkMM = CreateWorkspace("WKS", "", "", dbUseODBC)
sStr = "ODBC;DSN=" + Trim(oCent.ODBCSource) + ";UID=" + xstrOracleName + ";PWD=" + xstrOraclePswd + ";"
' create connection
wrkMM.DefaultCursorDriver = dbUseODBCCursor
Set conMC = wrkMM.OpenConnection("", dbDriverNoPrompt, bReadOnly, sStr)
'get records
conMC.OpenRecordset(strSQL, dbOpenForwardOnly)
the SQL statement is:
SELECT PrData.ProjectID, PrData.MetricId, PrMetric.DisplayFormat, PrData.DataValue, PrData.CollectDate, PrData.ProductID FROM PrMetric, PrData WHERE (PrMetric.ProjectID in (71)) AND (PrMetric.DataType <> 3) AND (PrMetric.GlobalID = 34 AND (PrMetric.PushData = 1) AND PrMetric.MetricID IN (Select MetricID from PrCatMetric Where ProjectID in (71))) AND (PrData.MetricId = PrMetric.MetricID) ORDER BY PrData.ProjectId, PrData.CollectDate, PrData.ProductID;
null
i am having a problem running a select statement from VB6 to an Oracle 8 database.
the SQL statement works when the number of records in the table PrData is small (300 records) but not when there are lots of records (166800 records). when the query is executed in VB, it runs for approximately a minute then fails with error 3669, description 'Execution cancelled'.
i can run the same query in the SQL Worksheet against the large database and it does not fail and give an error. it returns the correct records.
is there a setting i am missing to allow the query to finish? why does it work from the worksheet but not from VB? any help would be greatly appreciated.
here is how i'm connecting and opening the recordset:
'connect:
Set wrkMM = CreateWorkspace("WKS", "", "", dbUseODBC)
sStr = "ODBC;DSN=" + Trim(oCent.ODBCSource) + ";UID=" + xstrOracleName + ";PWD=" + xstrOraclePswd + ";"
' create connection
wrkMM.DefaultCursorDriver = dbUseODBCCursor
Set conMC = wrkMM.OpenConnection("", dbDriverNoPrompt, bReadOnly, sStr)
'get records
conMC.OpenRecordset(strSQL, dbOpenForwardOnly)
the SQL statement is:
SELECT PrData.ProjectID, PrData.MetricId, PrMetric.DisplayFormat, PrData.DataValue, PrData.CollectDate, PrData.ProductID FROM PrMetric, PrData WHERE (PrMetric.ProjectID in (71)) AND (PrMetric.DataType <> 3) AND (PrMetric.GlobalID = 34 AND (PrMetric.PushData = 1) AND PrMetric.MetricID IN (Select MetricID from PrCatMetric Where ProjectID in (71))) AND (PrData.MetricId = PrMetric.MetricID) ORDER BY PrData.ProjectId, PrData.CollectDate, PrData.ProductID;
null
Similar Messages
-
Hi all....
I am using oracle 10g........
The following query is a union of two queries....The second query is a subset of the first meaning that it has fewer tables and fewer select columns as well....(I have to use union on the two queries....for a gud reason) .What i want is that the union return only the superset records from result of the union of the two queries when i pass a parameter at runtime like supplier_name as mentioned in the the query below .......
/* Formatted on 2012/05/14 16:49 (Formatter Plus v4.8.8) */
SELECT * FROM(SELECT DISTINCT reql.unit_meas_lookup_code "UNIT",
reqh.type_lookup_code "PR_TYPE",
reql.document_type_code "SUBTYPE",
reqh.segment1 "PR_NO", reqh.creation_date "PR DATE",
mtb.segment1 "ITEM_CODE",
pol.item_description "DESCRIPTION",
mcb.segment1 "INVENTORY_CATEGORY",
reql.manufacturer_part_number "MFG NO/DRG NO",
poh.authorization_status "AUTHORIZATION STATUS",
papf.full_name "BUYER", NULL "CUSTOMER",
DECODE (poh.type_lookup_code,
'RFQ', poh.segment1
) "RFQ NO",
DECODE (poh.type_lookup_code,
'RFQ', poh.creation_date
) "RFQ DATE",
NULL "RFQ SUPPLIER",
DECODE (poh.type_lookup_code,
'QUOTATION', poh.segment1
) "QTN NO",
DECODE (poh.type_lookup_code,
'QUOTATION', poh.reply_date
) "QTN DATE",
DECODE (poh.type_lookup_code,
'STANDARD', poh.segment1,
'BLANKET', poh.segment1,
'PLANNED', poh.segment1
) "PO_NO",
DECODE (poh.type_lookup_code,
'STANDARD', poh.creation_date,
'BLANKET', poh.creation_date,
'PLANNED', poh.creation_date
) "PO DATE",
pv.vendor_name "SUPPLIER",
NULL "SUPPLIER ACKNOWLEDGMENT DATE",
TRUNC
(reqh.creation_date
- TRUNC (poh.creation_date)
"NO OF DAYS TAKEN FROM PR TO PO",
DECODE (rcvh.asn_type,
'ASBN', rcvh.shipment_num
) "ASBN NO",
rcvh.receipt_num "RECEIPT NO",
rcvh.creation_date "RECEIPT DATE",
apia.invoice_num "INVOICE_NO",
NULL "QUALITY INSPECTION DATE",
rcvt.inspection_status_code "INSPECTION RESULT",
NULL "STOCKING DATE",
TRUNC (poh.creation_date)
- TRUNC (reqh.creation_date) "NO OF DAYS TAKEN FROM",
NULL "PV NO", NULL "PV DATE",
apc.amount "PAYMENT RELEASE AMOUNT",
apc.released_date "PAYMENT RELEASE DATE",
apc.payment_method_code "PAYMENT RELEASE MODE",
NULL "NO OF DAYS TAKEN FROM RECEIPT"
FROM po_requisition_headers_all reqh,
po_requisition_lines_all reql,
po_req_distributions_all reqd,
po_distributions_all pod,
po_headers_all poh,
po_lines_all pol,
po_line_locations_all poll,
rcv_shipment_headers rcvh,
rcv_shipment_lines rcvl,
rcv_transactions rcvt,
ap_invoice_distributions_all apid,
ap_invoices_all apia,
ap_payment_schedules_all aps,
ap_invoice_payments_all app,
ap_checks_all apc,
per_all_people_f papf,
po_vendors pv,
mtl_system_items_b mtb,
mtl_categories_b mcb,
mtl_item_categories mic
WHERE reqh.requisition_header_id =
reql.requisition_header_id
AND reql.requisition_line_id = reqd.requisition_line_id
AND pod.req_distribution_id = reqd.distribution_id
AND pol.po_line_id = pod.po_line_id
AND poh.po_header_id = pol.po_header_id
AND pol.po_line_id = poll.po_line_id
AND pod.po_distribution_id = apid.po_distribution_id
AND pod.po_distribution_id = rcvt.po_distribution_id
AND rcvl.shipment_header_id = rcvh.shipment_header_id
AND rcvh.shipment_header_id = rcvt.shipment_header_id
AND rcvt.po_distribution_id = apid.po_distribution_id
AND app.check_id = apc.check_id
AND apid.invoice_id = apia.invoice_id
AND apia.invoice_id = app.invoice_id
AND app.invoice_id = aps.invoice_id
AND poh.agent_id = papf.person_id
AND poh.vendor_id = pv.vendor_id
AND pol.item_id = mtb.inventory_item_id
AND mic.inventory_item_id = pol.item_id
AND poh.authorization_status = 'APPROVED'
AND mcb.category_id = mic.category_id
UNION
SELECT DISTINCT NULL "UNIT", NULL "PR_TYPE", NULL "SUBTYPE",
NULL "PR_NO", NULL "PR DATE",
mtb.segment1 "ITEM_CODE",
pol.item_description "DESCRIPTION",
mcb.segment1 "INVENTORY_CATEGORY", NULL,
poh.authorization_status "AUTHORIZATION STATUS",
papf.full_name "BUYER", NULL "CUSTOMER",
DECODE (poh.type_lookup_code,
'RFQ', poh.segment1
) "RFQ NO",
DECODE (poh.type_lookup_code,
'RFQ', poh.creation_date
) "RFQ DATE",
NULL "RFQ SUPPLIER",
DECODE (poh.type_lookup_code,
'QUOTATION', poh.segment1
) "QTN NO",
DECODE (poh.type_lookup_code,
'QUOTATION', poh.reply_date
) "QTN DATE",
DECODE (poh.type_lookup_code,
'STANDARD', poh.segment1,
'BLANKET', poh.segment1,
'PLANNED', poh.segment1
) "PO_NO",
DECODE (poh.type_lookup_code,
'STANDARD', poh.creation_date,
'BLANKET', poh.creation_date,
'PLANNED', poh.creation_date
) "PO DATE",
pv.vendor_name "SUPPLIER",
NULL "SUPPLIER ACKNOWLEDGMENT DATE", NULL,
DECODE (rcvh.asn_type,
'ASBN', rcvh.shipment_num
) "ASBN NO",
rcvh.receipt_num "RECEIPT NO",
rcvh.creation_date "RECEIPT DATE",
apia.invoice_num "INVOICE_NO",
NULL "QUALITY INSPECTION DATE",
rcvt.inspection_status_code "INSPECTION RESULT",
NULL "STOCKING DATE", NULL, NULL "PV NO",
NULL "PV DATE", apc.amount "PAYMENT RELEASE AMOUNT",
apc.released_date "PAYMENT RELEASE DATE",
apc.payment_method_code "PAYMENT RELEASE MODE",
NULL "NO OF DAYS TAKEN FROM RECEIPT"
FROM po_distributions_all pod,
po_headers_all poh,
po_lines_all pol,
rcv_shipment_headers rcvh,
rcv_shipment_lines rcvl,
rcv_transactions rcvt,
ap_invoice_distributions_all apid,
ap_invoices_all apia,
ap_payment_schedules_all aps,
ap_invoice_payments_all app,
ap_checks_all apc,
per_all_people_f papf,
po_vendors pv,
mtl_system_items_b mtb,
mtl_categories_b mcb,
mtl_item_categories mic
WHERE pol.po_line_id = pod.po_line_id
AND poh.po_header_id = pol.po_header_id
AND pod.po_distribution_id = apid.po_distribution_id
AND pod.po_distribution_id = rcvt.po_distribution_id
AND rcvl.shipment_header_id = rcvh.shipment_header_id
AND rcvh.shipment_header_id = rcvt.shipment_header_id
AND rcvt.po_distribution_id = apid.po_distribution_id
AND app.check_id = apc.check_id
AND apid.invoice_id = apia.invoice_id
AND apia.invoice_id = app.invoice_id
AND app.invoice_id = aps.invoice_id
AND poh.agent_id = papf.person_id
AND poh.vendor_id = pv.vendor_id
AND pol.item_id = mtb.inventory_item_id
AND mic.inventory_item_id = pol.item_id
AND poh.authorization_status = 'APPROVED'
AND mcb.category_id = mic.category_id) a
WHERE 1 = 1
AND ( a.pr_type = NVL (:pr_type, a.pr_type)
OR (:pr_type IS NULL AND a.pr_type IS NULL)
AND ( a.pr_no = NVL (:pr_no, a.pr_no)
OR (:pr_no IS NULL AND a.pr_no IS NULL)
AND ( a.unit = NVL (:unit_lookup_code, a.unit)
OR (:unit_lookup_code IS NULL AND a.unit IS NULL)
AND a.supplier = NVL (:supplier_name, a.supplier)
AND a.inventory_category = NVL (:inventory_category, a.inventory_category)
AND a.buyer = NVL (:buyer_name, a.buyer)
AND a.invoice_no = NVL (:invoice_no, a.invoice_no)
AND a.item_code = NVL (:item_code, a.item_code)
Edited by: Dave on May 14, 2012 5:08 AM
Edited by: Dave on May 14, 2012 5:14 AMDave wrote:
What i want is that the union return only the superset records from result of the union of the two queriesThat is what Union does.
If it doesn't, then it means it's not real duplicates.
For example :Scott@my11g SQL>with
2 table_A(val) as (
3 select 'This is a duplicate' from dual
4 union all select 'This is another' from dual
5 union all select 'This is not' from dual
6 )
7 ,table_B(val) as (
8 select 'This is a duplicate' from dual
9 union all select 'This is another' from dual
10 )
11 ------ end of sample data ------
12 select val from table_A
13 union
14 select val from table_B ;
Scott@my11g SQL>/
VAL
This is a duplicate
This is another
This is notSee ? only 3 rows from the 5 (3+2) originals.
But if I add some pseudo columns Which_table with different values for each table, then :Scott@my11g SQL>with
2 table_A(val) as (
3 select 'This is a duplicate' from dual
4 union all select 'This is another' from dual
5 union all select 'This is not' from dual
6 )
7 ,table_B(val) as (
8 select 'This is a duplicate' from dual
9 union all select 'This is another' from dual
10 )
11 ------ end of sample data ------
12 select val, 'from table_A' which_table from table_A
13 union
14 select val, 'from table_B' from table_B ;
VAL WHICH_TABLE
This is a duplicate from table_A
This is a duplicate from table_B
This is another from table_A
This is another from table_B
This is not from table_AThere is now 5 rows, they are no longer duplicates. -
User Function Name wrong resultset in Oracle Apps Query
Hi,
I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.
select distinct frv.menu_id, frv.responsibility_id, frv.responsibility_name, fff.function_name, ffft.user_function_name
from
fnd_responsibility_vl frv,
fnd_responsibility frp,
fnd_form_functions fff,
fnd_form_functions_tl ffft,
fnd_resp_functions resp,
fnd_menu_entries mnu,
fnd_menus fmn
where
fff.function_id = ffft.function_id
and mnu.menu_id=frp.menu_id
and mnu.menu_id=fmn.menu_id
and frv.responsibility_id=resp.responsibility_id
and mnu.function_id=ffft.function_id
and resp.rule_type='M'
and frv.menu_id in (select me.menu_id
from fnd_menu_entries me
start with me.function_id = fff.function_id
connect by prior me.menu_id = me.sub_menu_id )
and (frv.responsibility_name like '%Order%')
order by 1
Kindly any help will be helpful for meWhat is your application release?
I am using the below query to extarct the user function names alonng with responsilibity .But doing so i am getting a User Function Name for eg 'Cross Validation Rules' under Order Management User.But thats wrong.Cross validation rules should exists in Receivables,GL and Payables.Please try the queries in these docs.
Script To Extract Submenu And Function Information About A Menu [ID 458701.1]
HOW TO GENERATE MENU TREE FOR A MENU ATTACHED TO A RESPONSIBILITY IN ORACLE APPLICATIONS 11i ? [ID 312014.1]
Thanks,
Hussein -
Oracle APPS Query for Natural Accoun in the Chart of account
Hello Guys,
I am working on a query to display the natural account listing in a report, I have made the below query
select application_id ,SEGMENT_NAME, flex_value ACCOUNT_CODE , DESCRIPTION ACCOUNT_DESCRIPTION
from FND_FLEX_VALUES,FND_ID_FLEX_SEGMENTS ,fnd_flex_values_tl
where
FND_ID_FLEX_SEGMENTS.APPLICATION_ID='101'
AND SEGMENT_NAME='Natural Accounts'
and FND_FLEX_VALUES.FLEX_VALUE_SET_ID=FND_ID_FLEX_SEGMENTS.FLEX_VALUE_SET_ID
AND FND_FLEX_VALUES.FLEX_VALUE_ID=fnd_flex_values_tl.FLEX_VALUE_ID
Its showing me the correct values but there is repetition of record each row is displayed 4 times, I have checked the joins and fields but still cant find any idea what could be causing this duplication,
Any help will be appreciated
RegardsRefer this query, you can get
select FIS.SEGMENT_NAME, FFV.FLEX_VALUE, FIF.ID_FLEX_STRUCTURE_CODE , FSA.*
from FND_SEGMENT_ATTRIBUTE_VALUES FSA, FND_ID_FLEX_SEGMENTS_VL FIS, FND_FLEX_VALUES_VL FFV, FND_ID_FLEX_STRUCTURES FIF
where FSA.attribute_value='Y'
and FSA.ID_FLEX_CODE = 'GL#'
and FSA.SEGMENT_ATTRIBUTE_TYPE = 'GL_ACCOUNT' --Natural Account Segment
and FIF.ID_FLEX_STRUCTURE_CODE='ACCOUNTING_FLEXFIELD'
and FSA.APPLICATION_COLUMN_NAME = FIS.APPLICATION_COLUMN_NAME
and FIS.FLEX_VALUE_SET_ID = FFV.FLEX_VALUE_SET_ID
and FIS.ID_FLEX_NUM=FIF.ID_FLEX_NUM
and FIS.ID_FLEX_CODE=FIF.ID_FLEX_CODE
AND FSA.ID_FLEX_CODE= FIF.ID_FLEX_CODE
and FSA.ID_FLEX_NUM=FIF.ID_FLEX_NUM
thanks -
Dbconsole config in oracle apps 12i (db 11.1.0.7) failed with emca
Dear all,
I started configuring dbconsole for oracle apps 12 with oracle 11.1.0.7 database using emca.
It failed while supplying dbsnmp password.
CONFIG: Failed to update account status.
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACL
E not available
I changed the password manually using alter user cmd and tried to confiure it but it doesn't work.
I restarted the db tier and tried to configure it but with same error.checked the password policy for profile its unlimited.
I don't understand what is wrong.
Can someone throw some light on this.
Thanks & regards,Have you changed the password correctly? If yes, can you login using the new password via SQL*Plus?
Please see these docs.
EMCA Fails With Error "ORA-01034: ORACLE not available" and "Invalid username/password." For DBSNMP User [ID 550484.1]
How to Troubleshoot EMCA Failures Due to Connectivity Issue to Database [ID 1106623.1]
If none of the above helps, please log a SR.
Thanks,
Hussein -
Query or Profile Option to find Current logged in user in oracle apps R12
Query or Profile Option to find Current logged in user in oracle apps R12.
I want to get value of current user who is logged in to that particular session, based on the value of user_id or user_name returned i have to do a Forms Personalization.
Plz help.
Regards,
Sadiya P.Hi Sadiya,
do you have the answer for this? please send it to me because i am also have same requirement. so plz post it here.... -
OAF page : How to get its query performance from Oracle Apps Screen?
Hi Team,
How to get the query performance of an OAF page using Oracle Apps Screen ??
regards
sridharGo through this link
Any tools to validate performance of an OAF Page?
However do let us know as these queries performance can be check through backend also
Thanks
--Anil
http://oracleanil.blogspot.com/ -
SQL Query With Like Operator - Performance is very poor - Oracle Apps Table
Hi,
I'm querying one of the Oracle Applications Standard Table. The performance is very slow when like operator is used in the query condition. The query uses a indexed column in the where clause.
The query is..
select * from hz_parties
where upper(party_name) like '%TOY%'
In the above case, It is not using the index and doing full table scan. I have checked the explain plan and the cost is 4496.
select * from hz_parties
where upper(party_name) like 'TOY%'
If I remove the '%' at the begining of the string, the performance is good and it is using the index. In this case, the cost is 5.
Any ideas to improve the performance of the above query. I have to retrieve the records whose name contains the string. I have tried hints to force the use of index. But it is of no use.
Thanks,
RamaIf new indexes are disallowed, not a lot of good ones, no.
If you know what keyword(s) are going to be searched for, a materialized view might help, but I assume that you're searching based on user input. In that case, you'd have to essentially build your own Text index using materialized views, which will almost certainly be less efficient and require more maintenance than the built-in functionality.
There may not be much you could do to affect the query plan in a reasonable way. Depending on the size of the table, how much RAM you're willing to throw at the problem, how your system is administered, and what Oracle Apps requires/ prohibits in terms of database configuration, you might be able to force Oracle to cache this table so that your full table scans are at least more efficient.
Justin -
How to Implement KFF Range (Low and High) in query find form in oracle apps
Hi,
Please provide some sample script for using KFF range LOV (Low and High) in one of the query find form in Oracle apps R12.
I need to customize one of the standard form and add this range functionality for that search form.
Thanks,
PrasannaYuvaraaj,
Your request is unique to the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
Craig... -
Oracle Apps 11.5.10 installtaion fails on OEL-4.7
Hi Everybody,
while installing oracle apps 11.5.10 on OEL-4.7 i am facing following issue.
This issue comes in STEP 2 of 5
RW-50004: Error Code received when running external process check log files for details.
Running Database Install Driver for PROD instance.
In log file ($ORACLE_HOME/appsutil/log.....) i have found RW-50010 error: scrript has returned an error 2....name of scripts is adrundb.sh
I have given all 777 permission to the mount points as well as set LD_ASSUME_KERNEL=2.4.19 in bash profiles of users oracle and applmgr.
Environment Details:
Multi User installation
database: Fresh Database
Os: Oracle linux 4.7
apps Version:11.5.10
Please give some inputs.
Thanks,
SachinPlease see (Fresh Install On Linux fails with error: Ora-27102: Out Of Memory [ID 462077.1]).
Also, please run md5sum as per (MD5 Checksums for 11i10 Rapid Install Media [ID 289821.1]) to verify the integrity of the stage area directory.
Thanks,
Hussein -
While installing oracle apps 11.5.10 the post installion check JSP fails
Hi Guys,
While installing oracle apps 11.5.10 on oracle linux OEL4.7 i am facing one post installation check failure i.e JSP CHECK. even i tried aoljtest its getting fail.
I am output of error log file and access log files.
Environment:
Oracle apps version:11.5.10
Os :oracle linux 4.7
bit :32 bit
database : vision type
Error_log file contains
[Thu Aug 23 03:38:27 2012] [error] OPM:Can not find one alive process
[Thu Aug 23 03:38:27 2012] [error] [client 49.248.45.6] File does not exist: /oa_servlets/AppsLogin
[Thu Aug 23 03:38:37 2012] [error] OPM:Can not find one alive process
[Thu Aug 23 03:38:37 2012] [error] [client 49.248.45.6] File does not exist: /servlets/weboam/oam/oamLogin/oam/oamLogin
Access_log file contains
173.49.29.80 - - [23/Aug/2012:01:08:08 -0400] "GET /OA_HTML/jsp/fnd/fndhelp.jsp?dbc=/11i/applmgr/visappl/fnd/11.5.0/secure/VIS_ora11i/vis.dbc HTTP/1.1" 404 239
173.49.29.80 - - [23/Aug/2012:01:08:08 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.1" 200 3483
49.248.45.6 - - [23/Aug/2012:01:12:38 -0400] "GET /aplogon.html HTTP/1.1" 304 -
49.248.45.6 - - [23/Aug/2012:01:12:40 -0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 404 227
49.248.45.6 - - [23/Aug/2012:01:12:49 -0400] "GET /servlets/weboam/oam/oamLogin HTTP/1.1" 404 234
49.248.45.6 - - [23/Aug/2012:01:16:36 -0400] "GET /FND_WEB.PING HTTP/1.1" 404 218
smtp.ttml.co.in - - [23/Aug/2012:01:19:06 -0400] "GET /servlets/IsItWorking HTTP/1.1" 403 230
smtp.ttml.co.in - - [23/Aug/2012:01:19:11 -0400] "GET /servlets/IsItWorking HTTP/1.1" 403 230
smtp.ttml.co.in - - [23/Aug/2012:01:20:43 -0400] "GET /servlets/IsItWorking HTTP/1.1" 403 230
49.248.45.6 - - [23/Aug/2012:03:38:23 -0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 404 227
49.248.45.6 - - [23/Aug/2012:03:38:27 -0400] "GET /oa_servlets/AppsLogin HTTP/1.1" 404 227
49.248.45.6 - - [23/Aug/2012:03:38:32 -0400] "GET / HTTP/1.1" 304 -
49.248.45.6 - - [23/Aug/2012:03:38:32 -0400] "GET /apptitle.html HTTP/1.1" 304 -
49.248.45.6 - - [23/Aug/2012:03:38:32 -0400] "GET /applist.html HTTP/1.1" 304 -
49.248.45.6 - - [23/Aug/2012:03:38:32 -0400] "GET /aplogon.html HTTP/1.1" 304 -
49.248.45.6 - - [23/Aug/2012:03:38:32 -0400] "GET /appsmed3.gif HTTP/1.1" 304 -
49.248.45.6 - - [23/Aug/2012:03:38:37 -0400] "GET /servlets/weboam/oam/oamLogin HTTP/1.1" 404 234
49.248.45.6 - - [23/Aug/2012:03:38:44 -0400] "GET /appdet.html HTTP/1.1" 304 -
49.248.45.6 - - [23/Aug/2012:03:38:47 -0400] "GET /appdet.html HTTP/1.1" 304 -
Please provide some solution.Please see these docs.
Servlet and JSP Pages return a "Page Not Found" Error After Install of Applications [ID 372096.1]
"Unrecognized Option: -Client,Could Not Create The Java Virtual Machine." With Applications 11i [ID 358061.1]
Receiving ''Internal Server Error'' When Checking Out From Supplier Punchout After Upgrade to Java Development Kit (JDK) 6 [ID 781750.1]
Thanks,
Hussein -
Problem in enter-query and execute-query in TEMPLATE.fmb in Oracle Apps R11
I have created the form using TEMPLATE.fmb in Oracle Apps R11i. There is 2 problems listed below when it queries the records:-
1) Cannot query the record by the specific value e.g. Cannot retrieve the PO records by entering the specific PO number.
2) Always display the message 'Do you want to save the record?' whenever the <ENTER-QUERY> key (i.e. F11) is pressed.
HOWEVER, it works fine for ALL records without entering any specific values.
Does anybody help to solve these two problems? Any hints? Thanks for any helps.try setting the block status to query or record
status to new prior to getting in the enter-query
mode.
Thanks
TapashHi Tapash, Dun understand.. please give more details.. Thanks. -
Query regarding identification of Customizations done in Oracle Apps
Hi,
I am from an IT personnel from a banking industry.
Here we are using Oracle Apps (CU1) that too on Oracle 9i. In order to go ahead with
migration of Oracle to 10g we need to migrate the application from CU1 to CU2.
But before we go with this migration, at first place we need to identify what all
customizations have been done in CU1. The application is operational in our bank since 7-8
years, somewhere we have lost the tracking sheet of the customizations done earlier.
Please help out if there is anyway (tools, script, etc) to find what all customizations
have been done in the product.
Thanks & Regards,
Abhinov Asthana
MumbaiSorry - incorrect answer :-)
CUSTOM.pll does not capture ALL of the customizations/extensions that may be present.
As stated before, currently there is no tool or query that will give you this info - it can only be captured thru good documentation practices.
Srini -
All,
I am trying to create some reports using XML data Template in BI publisher. But when I just create a simple data template, I keep getting the error message as mentioned below.
[111907_101025922][][STATEMENT] Template parsing completed...
[111907_101026625][][STATEMENT] Start process Data
[111907_101026625][][STATEMENT] Process Data ...
[111907_101026625][][STATEMENT] Writing Data ...
[111907_101026625][][EVENT] Data Generation Completed...
[111907_101026625][][EVENT] Total Data Generation Time 1.0 seconds
[111907_102628031][][STATEMENT] Setting data definition:Sample_Data_Template type:oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11
[111907_102629516][][STATEMENT] Logger.init(): *** DEBUG MODE IS ON. ***
[111907_102629516][][STATEMENT] Logger.init(): LogDir=C:\Program Files\Java\jdk1.5.0_13\xmldebug
[111907_102629516][][STATEMENT] Template parsing started...
[111907_102629516][][STATEMENT] Data Template ......
[111907_102629516][][STATEMENT] oracle.xml.parser.v2.XMLDocument@1ab4586
[111907_102629516][][STATEMENT] Inside dataQueryParser...
[111907_102629516][][STATEMENT] Inside dataStructureParser...
[111907_102629516][][STATEMENT] Group ...report
[111907_102629516][][EXCEPTION] oracle.apps.xdo.XDOException: Group G_EMP has incorrect Query Source : Q1
at oracle.apps.xdo.dataengine.DataTemplateParser.groupParser(Unknown Source)
at oracle.apps.xdo.dataengine.DataTemplateParser.groupParser(Unknown Source)
at oracle.apps.xdo.dataengine.DataTemplateParser.dataStructureParser(Unknown Source)
at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(Unknown Source)
at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(Unknown Source)
at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataProcessor(AdvancedQueryBoundValue11.java:117)
at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(AdvancedQueryBoundValue11.java:101)
at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:389)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:132)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:62)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:638)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:237)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:279)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:199)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:222)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:65)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Could any one of you please help me out :)
Thanks,Hi King,
Find below the data template I am using. I have defined a Q1 in my data template. Let me know where I am going wrong.
Thanks,
Ram
<dataTemplate name="Emp" dataSourceRef="EBS">
<dataQuery>
<sqlstatment name="Q1" dataSourceRef="EBS">
<![CDATA[ SELECT empno, empname FROM APPS.EMP ]]>
</sqlstatment>
</dataQuery>
<dataStructure>
<group name="G_EMP" source="Q1">
<element name="empno" value="empno"/>
<element name="empname" value="empname"/>
</group>
</dataStructure>
</dataTemplate> -
Need Query for Item Relationship of Oracle Apps
Hello Team,
I need the Query to select the Item Relationship.
In Oracle Apps we have different tyes of Structure
ItemA -> ItemB
ItemB -> ItemC
ItemC -> ItemD
ItemG -> ItemH
ItemK -> ItemL
ItemW -> ItemQ
and this also is possible (meand many to one relationship)
ItemA -> ItemB
ItemB -> ItemC
ItemC -> ItemD
ItemT -> ItemD
and in the Select Query i want the below result
ItemA -> ItemB 1
ItemB -> ItemC 2
ItemC -> ItemD 3
ItemG -> ItemH 1
ItemK -> ItemL 2
ItemW -> ItemQ 1
and this also is possible (means many to one relationship)
ItemA -> ItemB 1
ItemB -> ItemC 2
ItemC -> ItemD 3
ItemT -> ItemD 1
means i want the Hierarchy number also
Please help me to in order to get the relationship by sql query.
Kind Regards,thanks for the quick response and i would love to spend time perusing the forum for this question but i didn't have time today. i'll do that now though.
what i'm mostly interested in is a chronological view (lastUpdateDate) of the change to pricing for an item in the system. there is a lot of activity in our system around price changes for promotions and i want to keep track of when it's changed in the source system and pair that with our other downstream systems.
i'm assuming we can add this functionality through a udf some way or maybe sp_TransNotification proc?
Maybe you are looking for
-
Hi! On a HP Server I have installed Weblogic 8.1 and I have created a Domain. If I try to start this Domain me it gives this message of error. Can you help me? Considered also that the installation procedure that I have used is the same one that I ha
-
Hi every1, i am in a very bad situation as i am very new to AS3, so i need some help from any one who can help me out of this. I have created a FLV Player using FLVPlayback Component everything is working fine but the only problem is the rewind and f
-
TOSlink optical cable for a Ma Pro? How does it work?
Not sure if this is the place for this question or not, but I am trying to find out more information about the optical audio in/out section of the Mac Pro. On Apple's description page it claims that a regular TOSlink optical cable will work in those
-
Hello - I'm hoping someone can help me. I'm using Powerpoint 2007 and adobe presenter. I've created SWF files in both captivate and camtasia. So when I try to import the swf into powerpoint using presenter, nothing happens. I click import swf, choose
-
Error: Master Copy for Type Definition Could Not Be Found
See screenshot below please. The typedef is there (I navigated to it via windows explorer and it's not greyed out in the code), and my FPGA VI is not broken, which uses the exact same control. I also created these constants by right clicking and choo