How to check customer reference no. not being use more than once
I have the following situation and appreciate if some one could show me a simple solution.
On the Sales order window, when user enter a value for Customer Ref. No, check if the entered value has already been used on any existing Sales Order, and give message eg. this Ref. No already been used in SO. 257
What is the easiest way of implementing the validation?
Using Formatted Search?
Triggers or Stored Procedure?
Or one must go about doing this simple task using SDK, DIAPI?
sample code illustrating solution would be much appreciated.
I tried to create a query and used it with Formatted search on the Field, but failed on an error.
the code using temporary hard coded value instead of $[$x.0.0] looks like this
if (SELECT COUNT(*)
FROM dbo.ORDR
WHERE (NumAtCard = 'AAA' and CardCode ='1234')
) =0
Begin
select 'AAA' --redisplay value
end
else
begin
SELECT TOP 1 'already used in SO '+ Convert(Char(3),DocEntry)
FROM dbo.ORDR
WHERE (NumAtCard = 'AAA')
end
where 'AAA' is the reference no. to check for customer '1234', this code works when I run it in SQL query analyser, but failed when I run it as query in Business one. the idea was to redisplay the entered No. 'AAA' if it is not found in any existing SO for cust ='1234'
can anyone point out what the error is or show alternative code for the query.
thanks
Hi Andy,
I believe the best way to do this is probably to use the SDK as (to my knowledge) this is the only way you can get a message to be displayed and to stop the actual processing of the document.
If you want to go the formatted search route I would suggest you change your query a bit. I have played with your query and the following is an example as I got it working in SBO. I think SBO gets confused if there is more than one select statement that returns a result and I have started using variables to save the results of the select statements in.
[code]Declare @Val varchar(100)
declare @Count integer
set @Val = $[$14.0.0]
if (SELECT COUNT(*) FROM dbo.ORDR WHERE (NumAtCard = @Val and CardCode = $[$4.0.0])) > 0
begin
SELECT TOP 1 @Val = 'already used in SO '+ Convert(Char(3),DocEntry) FROM dbo.ORDR WHERE (NumAtCard = @Val)
end
select @Val[/code]
I hope it helps a bit,
Adele
Similar Messages
-
How to tell which Indexes are not being used?
We are a large development shop and have many customers. Our database design is very generic so that it works for all of our customers. Each night we use an SSIS ETL process to bring down large amounts of data from the iSeries into SQL. One
particularily large customer takes a very long time and we are looking for ways to speed up thier data import and transformation. I would like to see which indexes he does not use and possibly remove them. Each night we fully repopulate hundreds of staging
and ods tables and incrementally delete and repopulate the days work for a handful of history type tables. Removing some indexes off of the large tables could make a big impact.
How can i tell which indexes the customer does not use?> IDENTIFYING UNUSED INDEXES IN A SQL SERVER DATABASE
Just because an index is not being used does not necessarily mean it should be removed.
> Index This: All About SQL Server Indexes
sp_BlitzIndex
José Diz Belo Horizonte, MG - Brasil -
HT5878 how to check the detail of font being used for reading the file received by an email
I received word file as an attachment with email on my iphone. I want to check the detail on font being used for reading the word file received as attachment in an email.
ThanksYou don't need to copy the cert out of your configuration. OpenSSL has an "s_client" subcommand which can open an SSL connection and verify the cert for you. It even knows how to do STARTTLS. Something like this ought to do it:
openssl s_client -starttls smtp -CAfile /path/to/ca/file -connect your.ironport:25
The /path/to/ca/file is necessary to provide openssl with a cache of root CA certs. You could use -CApath instead of -CAfile if you have a hashed directory of root CA certs instead of a single file containing them all.
You can also point this at your partner's SMTP server as well. -
How to retrict user cannot open the same form more than once (Forms 6i)
Our users always open the same forms more than once. For example the customer form, the user may access a customer record in the first form, however, he will open a new customer form to edit the same record, the result is he cannot save the record because the record is locked in the first customer form.
How can I control the user cannot open the same form more than 1 time.
Best Regards,
KaneThe customer form is only an example, I found there will cause a lot of problems is I cannot control the user from calling 1 program more than 1 than within application. Sometimes a user (not good in using computer) will overlap the form for many times.....
Is there any simple way to do that?...can I have some PL/SQL statement or build-in functions that let me easily found our what forms the user has already opened, then I can control whether I let him open this form or not.
Urgent...please
Thanks -
To check that the ligical file is used more than one program.
HI all,
Is there any way to check that the one logical file are used more than one program.
Ex: one logical file is used in one program. I want to check that the same logical file are used in any other program.Hi To all,
NO ideas... -
Geo Location Custom Form is not Being Used
Hi Experts,
I extended the Geo Location class and added a few fields that I needed. Also in the same XML/MP I added a custom form for it using Authoring Tool. Imported the management pack and didn't get any error. But when I open any locations still it uses the default
form rather than the custom one I created. Is there any dll or any other file that I should inject into SCSM folder? Is there any where I can troubleshoot why my custom form is not loading.
My SCSM is 2012 R2 with UR5 and Authoring Tool is on version 2012 R2 (7.5.3079.0).
Thank you
SoroushHi,
How ahout adding the custom filed to extend the existing form?
You can refer to the link below as an example:
Adding a custom field to Incident Forms
If you are creating a new form template, you may refer to below link:
http://blogs.litware.se/?p=1402
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
How to find which table is not being used ?
Hi,
I am in need of releasing space from the common schema we have. i have been permitted to drop the tables which has not been used for the last three months.
Can anyone please suggest how to find the tables that has not been used for a given amount of time.
Thanks and Regards.
Rajibi have been permitted to drop the tables which has not been used for the last three months.Can I just chip in an observation on this premise? It's not unusual for systems to have processes that run quarterly or even annually. You need to be very careful about dropping "unused" tables - you might just kill your organisations end of year reporting system.
Is buying more disk space really not an option?
Cheers, APC -
Check if function is not being used
Hey all,
I am wondering if there is a way to write an if statement that asks if a function is not currently being used. For instance, I have a couple of movie clips. If one is clicked, I have a mouse event function that does something. I also have a boolean called selected, which traces if it is currently the movie clip clicked. When I click another one, the boolean is returning true to a movie clip that I clicked previously. Meaning it's not the currently selected one. This always happen especially the first tile I click when the game starts.if you are using MovieClips you can dynamically create any property you need.
So instead of storing the selected property on the application level you could attach a selected property to each of your movieclips
Then push all your MovieClips into an Array and when you select a MovieClip, parse through the array and set all the mcs selected property to false (except the one you clicked last) -
How to free space that is not being used?
I have a tablespace with very few data (0.18 Mb) but somehow Oracle is using 10Gb for this tablespace, the tablespace is this one:
Tablespace Name and Mb FREE_SPACE USED_SPACE TOTAL_SPACE
HIST_PROMOTIONS_IDX 10099,8125 ,1875 10100
The tablespace is composed by this 3 data files:
FILE_NAME ALLOCATED_MB USED_MB FREE_SPACE_MB
/oraindices/IRI9/data/HIST_PROM_ID1.dbf 5000.00 .06 4999.94
/oraindices/IRI9/data/HIST_PROM_ID2.dbf 100.00 .06 99.94
/oraindices/IRI9/data/HIST_PROM_ID3.dbf 5000.00 .06 4999.94
Is there any way to reasign the space usage for this tablespace?
thanksIf I read this correctly, only a couple of MB are used in that tablespace.
The resize should work, but you'll still have 3 datafiles where 1 would suffice. Also, sometimes, it will give you an error because blocks are located towards the end of the file.
I would create a new tablespace using the size being used and move the objects in the large tablespace into this new one (move tables and rebuild indexes). When all is completed, take the large tablespace offline and, if all works well after a couple of days, drop that large tablespace. -
How to identify SQL_PROFILES that are not being used?
In dba_hist_sqlstat table were found 26 Sql_Profiles, some of them are not used.
Questions:
- Is there any way to identify which one are not used?
I tried verifying DBA_SQL_PROFILES but this does not help to much.
- Analyzing one by one, Is the only way to find why they are not used?
Thanks,
DeyaniraHello;
You should be able to Join the views DBA_USERS and DBA_PROFILES to see whats in use. ( or not in use )
select distinct
profile
from
dba_profiles
where
profile not in ( select profile from dba_users ) On the second question I would ask the DBA.
Best Regards
mseberg
Dan is correct. I have misread the question. Sorry about that.
Edited by: mseberg on Jun 28, 2012 3:06 PM -
I have a new 13" retina MacBook Pro - I have wi-fi connection but also a thunderbolt/ethernet adapter that allows me to connect to my network
Sometimes, the ethernet connection does not connect and I do not notice for a while (possibly a dodgy TP-LINK plug adapter thingy)
My question is - how can I display that I am connected/using the ethernet connection rather than the wi-fi? The wi-fi symbol stays in the menu bar but it would be nice to see that I am using the ethernet connection instead
Many thanks
MikeI don't think you can do that. You can only display the WiFi connection on the menu bar.
-
How to check whether INSO Filer is being used or not?
Hi,
We have created full text search indexes using the default syntax -
CREATE INDEX FTI ON DOCUMENTS(DOC_FILE) INDEXTYPE IS CTXSYS.CONTEXT;
How can I find out whether the INSO filter is used or not. Also a basic question, INSO filter helps in reading and "crawling" some 100+ document formats and creating an index against which search could be executed.... right?
Please do let me know.
Thanks & Regards,
Dhwanilyou can specify the inso filter in index code creation.
create index TEST_IDX
on TEST_TABLE (TEXT)
indextype is ctxsys.context
parameters('filter ctxsys.inso_filter'); -
AJVOAF: not allowing searching more than once
Dear Friends
I did a vo extension in R12 to add extra fields to material LOV.
Here for material LOV ,one can give search crieteria through
1.Material
2.Description
3.Crossreference etc.
Here when we are searching for first time like by giving % OR any alphabets % OR any numericals % it s working (searching) fine .
But in the same field if we are changing crieteria OR if we are changing the search crieteria item name (1.Material / 2.Description / 3.Crossreference ) it is giviing the following error .how to resolve this any idea please. ( In breif it is not allowing to search for second time in any way )
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT *
FROM (select msix.concatenated_segments,
msix.description,
msix.organization_id,
msix.PRIMARY_UOM_CODE,
LOCATION_CONTROL_CODE,
RESTRICT_LOCATORS_CODE,
RESTRICT_SUBINVENTORIES_CODE,
msix.inventory_item_id,
lot_control_code,
serial_number_control_code,
REVISION_QTY_CONTROL_CODE,
eam_item_type,
cross_reference_type,
cross_reference,
description2,
mfnum.manufacturer_name,
mfnum.mfg_part_num,
msix.subinventory_code,
msix.LOCATOR,
xxsfipackagevoext.SFI_EAM_tranqty
(msix.organization_id,
msix.subinventory_code,
msix.locator_id,
msix.inventory_item_id
) available_to_transact,---------- 1
MSIX.total_qoh
FROM (select msi.concatenated_segments,
msi.description,
msi.organization_id,
msi.PRIMARY_UOM_CODE,
LOCATION_CONTROL_CODE,
RESTRICT_LOCATORS_CODE,
RESTRICT_SUBINVENTORIES_CODE,
msi.inventory_item_id,
lot_control_code,
serial_number_control_code,
REVISION_QTY_CONTROL_CODE,
eam_item_type,
ItemXRef.cross_reference,
ItemXRef.cross_reference_type,
ItemXRef.description as description2,
mohd.subinventory_code,
milkfv.concatenated_segments LOCATOR,
mohd.locator_id,
xxsfipackagevoext.SFI_EAM_tranqty
(msi.organization_id,
mohd.subinventory_code,
mohd.locator_id,
msi.inventory_item_id
SUM (mohd.primary_transaction_quantity) total_qoh
from mtl_system_items_vl msi
LEFT OUTER JOIN MTL_CROSS_REFERENCES ItemXRef
ON (ItemXRef.inventory_item_id = msi.inventory_item_id)-----------------seeded join
LEFT OUTER JOIN mtl_onhand_quantities_detail mohd
ON (ItemXRef.inventory_item_id = mohd.inventory_item_id)
and (mohd.inventory_item_id = msi.inventory_item_id) -----------------custom join 1
LEFT OUTER JOIN mtl_item_locations_KFV milkfv
ON (ItemXRef.inventory_item_id = milkfv.inventory_item_id)
and (milkfv.inventory_item_id = msi.inventory_item_id)
AND mohd.locator_id = milkfv.inventory_location_id -----------------custom join 2
where STOCK_ENABLED_FLAG = 'Y'
AND BOM_ITEM_TYPE = 4
AND (EAM_ITEM_TYPE IS NULL or EAM_ITEM_TYPE = 3 or
EAM_ITEM_TYPE = 1)
and mohd.organization_id = (SELECT DISTINCT organization_id-------------------------------6.cond
FROM wip_discrete_jobs
WHERE wip_entity_id = :1
AND msi.inventory_item_id <>
(SELECT NVL (asset_group_id, rebuild_item_id)
FROM wip_discrete_jobs
WHERE wip_entity_id = :2))
--3159--8940 --------- 3. given cond for single record -- and msi.inventory_item_id = 5664848 --------- 4. given cond for single record
AND (ItemXRef.organization_id = msi.organization_id OR
ItemXRef.organization_id is NULL)
GROUP BY msi.concatenated_segments,
msi.description,
msi.organization_id,
msi.PRIMARY_UOM_CODE,
LOCATION_CONTROL_CODE,
RESTRICT_LOCATORS_CODE,
RESTRICT_SUBINVENTORIES_CODE,
msi.inventory_item_id,
lot_control_code,
serial_number_control_code,
REVISION_QTY_CONTROL_CODE,
eam_item_type,
ItemXRef.cross_reference,
ItemXRef.cross_reference_type,
ItemXRef.description, --as description2,
mohd.subinventory_code,
milkfv.concatenated_segments, --LOCATOR,
mohd.locator_id,
xxsfipackagevoext.SFI_EAM_tranqty
(msi.organization_id,
mohd.subinventory_code,
mohd.locator_id,
msi.inventory_item_id
SUM (mohd.primary_transaction_quantity) total_qoh
) msix
LEFT OUTER JOIN (SELECT mcr.cross_reference as cref,
mcr.description as desc1,
msi.inventory_item_id as inv1,
msi.organization_id as org1,
mpn.mfg_part_num,
mfg.manufacturer_name
FROM MTL_MFG_PART_NUMBERS MPN,
MTL_MANUFACTURERS MFG,
mtl_parameters mp,
mtl_system_items_vl msi
LEFT OUTER JOIN MTL_CROSS_REFERENCES mcr
ON (mcr.inventory_item_id = msi.inventory_item_id)
WHERE (mcr.description =
(SELECT xref.description
FROM mtl_system_items_vl msi
LEFT OUTER JOIN MTL_CROSS_REFERENCES
xref
ON (msi.inventory_item_id =
xref.inventory_item_id)
WHERE msi.inventory_item_id =
mcr.inventory_item_id
AND ROWNUM <= 1) OR mcr.description IS NULL)
AND (mcr.organization_id =
(SELECT xref.organization_id
FROM mtl_system_items_vl msi
LEFT OUTER JOIN MTL_CROSS_REFERENCES xref
ON (msi.inventory_item_id =
xref.inventory_item_id)
WHERE msi.inventory_item_id =
mcr.inventory_item_id
AND ROWNUM <= 1) or
(mcr.organization_id is NULL))
AND (mcr.cross_reference =
(SELECT
cross_reference
FROM mtl_system_items_vl msi
LEFT OUTER JOIN MTL_CROSS_REFERENCES xref
ON (msi.inventory_item_id =
xref.inventory_item_id)
WHERE msi.inventory_item_id
= mcr.inventory_item_id
AND ROWNUM <= 1) OR mcr.description IS NULL)
AND MPN.MANUFACTURER_ID = MFG.MANUFACTURER_ID
AND mpn.organization_id = mp.master_organization_id
AND msi.inventory_item_id = mpn.inventory_item_id
AND mp.organization_id = msi.organization_id) mfnum
ON (((mfnum.cref = msix.cross_reference) OR
(mfnum.cref IS NULL
AND msix.cross_reference IS NULL)) AND
((mfnum.desc1 = msix.description2) OR
(mfnum.desc1 is NULL AND msix.description2 IS NULL)) AND
mfnum.inv1 =
msix.inventory_item_id AND mfnum.org1 = msix.organization_id))) QRSLT WHERE (organization_id = (select distinct organization_id from wip_discrete_jobs where wip_entity_id = :1 and inventory_item_id <> (select nvl(asset_group_id, rebuild_item_id) from wip_discrete_jobs where wip_entity_id = :2)) AND ( UPPER(concatenated_segments) like UPPER(:3) AND (concatenated_segments like :4 OR concatenated_segments like :5 OR concatenated_segments like :6 OR concatenated_segments like :7)))
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2978)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
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:619)
## Detail 0 ##
java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:8516)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8034)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8767)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8748)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11907)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:743)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2334)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequestAfterController(OAListOfValuesHelper.java:1584)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:851)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequest(OAListOfValuesHelper.java:1490)
at oracle.apps.fnd.framework.webui.beans.layout.OAListOfValuesBean.processFormRequest(OAListOfValuesBean.java:423)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
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:619)
java.sql.SQLException: Invalid column type
at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:8516)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8034)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8767)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8748)
at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:11907)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObjectAtName(OraclePreparedStatementWrapper.java:815)
at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:743)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2334)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequestAfterController(OAListOfValuesHelper.java:1584)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:851)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.OAListOfValuesHelper.processFormRequest(OAListOfValuesHelper.java:1490)
at oracle.apps.fnd.framework.webui.beans.layout.OAListOfValuesBean.processFormRequest(OAListOfValuesBean.java:423)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
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:619)
Logout
Copyright (c) 2006, Oracle. All rights reserved.
how to resolve this. please help.
let me know for any clarification, plz help.
Thanks
AravindaHi Aravinda,
There is data type mismatch . One the datatype that you are passing for searching is mismatching .
Below is the error you are getting from error stack
java.sql.SQLException: Invalid column type
Thanks -
Events being triggered more than once
HI All,
I am using SAP Business One 2007 A SP:01 PL:07
I have created a form using SAP Business One UI API Version 2007 A 8.0.When i open the form first time all item events and menu events are working properly..
When i close the form and open it again all the menu and items events get fired twice.Again i close and reopen the form all Item and Menu events are triggered thrice on a single click.
Any help to solve this problem will be highly appreciated.
Warm Regards,
PrernaHello,
Maybe You using a global variable for the form. Try to swicth to local variable and use sbo_application.form.GetForm(pval.formtypeex, pval.formtypeCount), or check you application really closes the window (window menü, and see the list of opened forms).
Try to use EventSpy, which is a part of the SDN tools, you can download from /docs/DOC-8857#section6
Regards,
J -
Prepared statement st in servlet - not executing more than once!
Hi,
my problem is that the following piece of code in a servlet does not get executed more than once:
myQuery = "DELETE FROM MREMINDERS WHERE username=? AND reminders=?";
PreparedStatement st = conn.prepareStatement(myQuery);
st.setString(1,usern);
st.setString(2,oldRem);
st.executeUpdate();
st.close();
The above code is called in a servlet to delete fields from a table. I call this code in a for loop from another method in the servlet. It executes the first time in the loop, but the second time onwards it throws an error!!! please let me know how to solve this ASAP since i am at the point of frustration now!!!
thanx...Hi,
sorry... i got it fixed!!!! :-)
i was closing a JDBC connection which was generating that error!!
thanx again..
Maybe you are looking for
-
The "Know your rights" bar appears below the normal Firefox bars and I can get rid of it by clicking on the X at it's right end. I would like to stop this from appearing when I start Firefox but I don't know how to do it.
-
Records print on next page in samrtforms
Hi all gurus and experts of sap .... I had created P.O layout in smartforms .....when number of line items increased that time it breaks the page and footer area print on next page .... kindly suggest me how to print remaining lines on next subsquen
-
Acrobat XI pro - quits after initial launch
I cannot use Acrobat XI - I can use all the other products in my cloud - but not XI - it simply refuses to accept any agreement on a blank Adobe Software License Agreement page. Please help - this is driving me insane.
-
hello friends, i want to print box symbol in L/C application form. I am developing this form using smartforms. we can get box symbol in MS WORD. i am trying to cut and paste it in smartforms. but it is paste as ? in smartforms. please suggest me if
-
Methods to transfer Customer objects while Upgrading.
Hi, What are the possible methods of transferring Customer objects/programs etc while upgrading from 4.6 to 4.7 or ECC ? Any information will be helpful. Thanks, s<i><b>A</b></i>mik.