Problem With Org Id - Operating Unit
Hi All,
I open a session in an instance of database. I set the org_id in this way :
begin
dbms_application_info.set_client_info(131);
end;
When I run this query "select org_id from po_headers", the only purchase orders that appear are related with org_id 131.
However, if I want to get the number of org_id with the following statement the number with shows the database is 81.
FND_PROFILE.VALUE('ORG_ID');
In addition, if I show a message inside a concurrent report, like this :
srw.message('02','profile : '||fnd_profile.value('ORG_ID'));
And I'm with 131 responsibility, the number that shows me the concurrent is 81 too.
I don't understand whay it happen.
Best Regards,
Mariano.-
What is your EBS version ? Pl see if MOS Doc 397362.1 (Multi Org Access Control (MOAC) in Oracle Purchasing) can help
HTH
Srini
Similar Messages
-
Problem with FTP put operation..??
hi frendz,
i'm facing some problem with FTP put operation. The Get operation(reading a file) is working fine. i'm using Apache FTP server.FTP User is having all read/write permissions. When i putthe file using FTP command prompt then its working fine. But using BPEL/FTP adapter put operation is not working.
Main thing is its not giving any error but When i check the directory then i dont fine any file ther. In fact BPEL process is detecting directory where i'm going to write the file. But after completing the BPEL process i dont get any file.
i am using opaque fomat. n just passing some data into input string which i'm assigning to <invoke>'s variable.
Thanks a lot
-MishitError itself indicates the potential issues -
Please ensure
1. Specified remote output Dir has write permission
2. Output filename has not exceeded the max chararters allowed by the OS and
3. Remote File System has enough spaceRegards,
Anuj -
Problem with field KONWA-Rate Unit(Currency or Percentage) of table KONP
Hi Gurus,
I m facing problem with field 'KONWA -Rate Unit (Currency or Percentage)' of table KONP. This field is showing Currency and '%' both in table KONP. For some materials its showing currency value and for some its showing '%'. Due to which its creating load problems. My question is how this '%' is coming (means is there any calculation behind that or something else) in table KONP and how can I identify this.
I am sure u will have the answer for this question so Thanks in advance.
Message was edited by:
Amit Rajput
Message was edited by:
Amit Rajput
nullHi,
take the following example: you sell liquor to customers; in your country, when you sell liquor your company is entitled to pay customs and excise fees to governamental authorities.
These excises and duties are a percentage of the retail price. You'll then create such a condition record with this rate so that you calculation schema will post the correct value during the processing of billing documents...
hope this shed light
Olivier.
Message was edited by:
Olivier Cora -
I am not getting any sound input on my microphone. There is no microphone input on my new macbook pro, so I am using my old one. Is this a problem with the new operating system? Did they simply remove any microphone software?
Check System Preferences > Sound > Output
Make sure the correct device is selected. -
OneKey Recovery 6.0. Problem with back up operating system from recovery cd'ies
Hello, i have problem with back up operating system from recovery cdies.
When i acceped start button to backup partition system i get an alert "space not enough"
I had linux before and i whant change it to windows back. i deleted all ext partitions. I have all unlocated space.I shouldnt have problems.
Please help meI would use something like Partition Magic or Acronis Disk Director to first create a FAT32 partion for your C: Drive where your OS will go and be sure to leave 10GB or so unallocated for the secondary FAT32 Partition where your "factory image" will go.
You then create a Logical Drive with the unallocated space and make it hidden (PM or ADD will do this). Install your OS (preferably Windows XP if you want less problems) and then after you have setup everything the way you want (drivers, applications, etc), then use Acronis True Image to create your "factory restore" image on the hidden partition and activate the Startup Recovery Manager.
This is the way I do it and it works like a charm! -
Problems with Assign Task operation
I'm having a problem with the Assign Task operation. When I export an application of the LiveCycle ES2 environment and import into another environment LiveCycle ES2, my process get stalled in the all Assign Task operations, and the only way to solve the problem I found is to redo all the Assign Task operations. But in an application with many Assign Task operations, this solution becomes very complicated.
Anyone who has encountered this problem could help me better to fix it?
Thanks for any help!
Following is the error message:
StackTrace:
java.lang.NullPointerException
at com.adobe.idp.taskmanager.dsc.util.UserManagerUtils.getUserOID(UserManagerUtils.java:959)
at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createTaskFromDialogPropertie s(UserServiceImpl.java:941)
at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1631)
at com.adobe.idp.taskmanager.dsc.userservicev2.UserServiceImpl.createLongLivedTask(UserServi ceImpl.java:1506)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
at sun.reflect.GeneratedMethodAccessor643.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy378.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:619)Hi javier,
1. record = <DATOS>
If possible, try to use
a pre-defined strucure of type P9069
for putting data into this infotype.
2. Avoid using field symbols.
3. Try with P9069
regards,
amit m. -
Relation between item master org and operating Unit
How single item master org can relate to multiple operating Unit so that items defined at Master Org level can be accessed in other operating units ?
Hi,
Item will be accessed in inventory organizations which you assigned the item to.
To access items from particular Operating Unit in Purchasing module
define Operating Unit Organization as a Inventory Organization as well.
Then choose this Organization as a Inventory Organization in Purchasing : Setup>Organizations>Financial Options.
In Order Management you choose an Operating Unit which items can be accessed.
Each item assign to Item Master Organization and to Operating Unit Organization and to required Inventory Organizations.
This works in 11i. I dont know how it is in R12.
regards,
Marcin -
Problem with ORG Determination in Transactions
I am having an issue with ORG determination in Business Transactions
The Organization area is not being populated as required.
I want to pull in the org data from the User (Org data set in Sales Area section of the BP), all users have the same org data, when running the transaction this is not working, this used to work ok but no longer does??
Settings in org data profile is set to '14000146 - Org. Unit Using Transaction Type', this brings back two errors:
1 - No organizational units found
2 - No organizational unit could be selected
I have tried using the 10000194 - UserOrgUnit but this causes a pricing determination error relating to config
any ideas anyone??
regards
BarryHello Barry,
To use rule 14000146, you need to add the used transaction type as an attribute of the org. unit that you want it to be determined.
To do this, please execute t-cd ppoma_crm, open your org. unit, go to the [Attributes] tab, add the transaction type into the 'Transaction Type' attibute, then check on 'Obj. permitted in determination' save.
Wiith rule 10000194 you got the org. unit determined. For the pricing error, I think it might be related to the pricing procedure determination. If yes, please check your IMG activity:
SPRO
- CRM
- Basic Functions
- Pricing
- Pricing in the Business Transaction
- Determine Pricing Procedures
Here, the Sales organization, Dis. Channel, Division are the org. data determined in the transaction; the Doc. Pricing Procedure is the one defined in the transaction type (IMG activity: Define Transaction Types->Assignment of Business Transaction Categories-> BUS2000115 -> Customizing header -> field 'Doc. Pric.Proc.'); the Cust. Pricing Procedure is taken from the sold-to party's BP master sales area data (in the billing) tab.
Hope the information could be helpful.
Best regards,
Maggie -
Problems with multiple row operations in a dataTable
Dear fellows,
I have a strange problem, i want to do multiple row deletion in a dataTable. Can any one tell me a better way to do it. Because the way i am doing it, it is causing me strange problems. In some places it start working and in some it dont.
The way i am doing it, it has the following code:
<h:form>
<h:dataTable id="list" value="#{availableRoomsList}" var="RoomTypes" >
<h:column>
<f:facet name="header">
<h:outputText value="Select"/>
</f:facet>
<h:selectBooleanCheckbox value="#{roomSelection[RoomTypes]}" >
</h:selectBooleanCheckbox>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Available Date"/>
</f:facet>
<h:outputText value="#{RoomTypes.availableDate}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Available Rooms"/>
</f:facet>
<h:outputText value="#{RoomTypes.noOfRooms}"/>
</h:column>
</h:dataTable>
<h:commandButton value="delete Selected Rooms" action="#{RoomResvAction.deleteRooms}" />
</h:form>Now the back end code that i am using is as follows:
private List<HotelRoomTypes> availableRoomsList;
Map<HotelRoomTypes, Boolean> roomSelection = new HashMap<HotelRoomTypes, Boolean>();
public String deleteRoom(){
System.out.println("In the delete selection method aad.");
try{
for (HotelRoomTypes item: availableRoomsList) {
Boolean selected = roomSelection.get(item);
if (selected!=null && selected) {
roomSelection.put(item, false);
//deleteRoom(item);
}catch(Exception e){
//e.printStackTrace();
return null;
}The problem with the JSF code is when i click the command button it do not calls the associated action method with it. i dont know what is the problem with the code.
And as far as the backend code is concern it should work fine.
can anybody help me on this matter.thanks BalusC ,
I will see this example and let you know, thanx for the help.
but also please try and see my code and tell me what is wrong in it. because at some places it works and at some it simply dont . dont know why?
well once again thanx for the help -
Hello Experts.
We have a problem here.
There is an employee say : X in position ABC which belongs to Org Unit XYZ.
Now, there is a change in the Org Structure. The postion has not changed, the employee belongs to the same position. But the Org Unit has changed to PQR and has a new chief.
The problem is, in the SAP Portal, the Organization assignment is picking up the Chief of XYZ instead of the new chief.
What could be the reason for this?
Regards
AvikHi Avik,
Check dates on records for ABCu2019s A|003 relationship to PQR and chiefu2019s A|012 relationship to PQR. Maybe the old records were not delimited and hence they are getting picked up.
Donnie -
Problem with the PUT operation some files won't transfer help please
Hi everyone,
I am using DWCS3 on OS X Leoard 10.5 and MAMP
I am putting together a basic index.html page and then I want to template it. Pretty basic stuff.
However when I want to view the index.html page in my MAMP testing server, In the middle of the PUT operation I get a message saying;
File activity incomplete 1 file or folder was not completed.
index.html - Put operation successful
- error occurred - An error occurred - cannot put . An unknown error occurred.
css:index.css - same - not transferred
SpryAssets:SpryMenuBar.js - same - not transferred
SpryAssets:SpryMenuBarHorizontal.css - same - not transferred
SpryAssets:SpryMenuBarDown.gif - same - not transferred
SpryAssets:SpryMenuBarRight.gif - same - not transferred
SpryAssets:SpryMenuBarDownHover.gif - same - not transferred
SpryAssets:SpryMenuBarRightHover.gif - same - not transferred
SpryAssets:SpryMenuBarVertical.css - same - not transferred
File activity incomplete. 1 file(s) or folder(s) were not completed.
Files updated: 1
Files skipped: 8
Files with errors: 1
Finished: 23/07/2010 13:30
I am aware that files are not transferring over to the testing server but I don't understand why or how to fix the problem. I don't think the problem lies with the path from Dreamweaver to the testing server because I have been working on the page and viewing it in the testing server. It's only just started displaying the message above and not passing some of the files over. It will for example pass the index.css page over.
I have copied the code over for index.html, SpryMenuBar.js, SpryMenuBarHorizontal.ccs and SpryMenuBarVertical.css.
In the hope that someone will not mind taking a look at this for me.
Below is the code for my home page in case the problem lies here
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Home Page Geoff Hyde is Innocent</title>
<link href="//index.html" rel="stylesheet" type="text/css" media="all" />
<link href="css/index.css" rel="stylesheet" type="text/css" />
<!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body class="twoColFixLtHdr">
<div id="container">
<div id="header">
<h1><u>Geoff Hyde is Innocent!</u></h1>
<!-- end #header -->
</div>
<div id="nav">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.html" title="Home page">Home</a> </li>
<li><a href="about.html" title="About the campaign">About us</a> </li>
<li><a href="updates1.html" title="links to updates" class="MenuBarItemSubmenu">Updates</a>
<ul>
<li><a href="confisupdate.html" title="Confiscation update">Confiscation</a></li>
<li><a href="appealupdate.html" title="Appeal update">Appeal</a></li>
<li><a href="petitionupdate.html" title="Petition update">Petition</a></li>
<li><a href="newspdf.html" title="News articles">News articles</a></li>
</ul>
</li>
<li><a href="charity.html" title="About charity for Geoff Hyde" class="MenuBarItemSubmenu">Charity</a>
<ul>
<li><a href="friends.html" title="About the people supporting Geoff Hyde" class="MenuBarItemSubmenu">Friends</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#" title="Links to the petition">Petition</a></li>
</ul>
</div>
<br/>
<div id="sidebar1">
<h3> </h3>
<ul id="MenuBar2" class="MenuBarVertical">
<li><a href="case.html" title="What happened on 27 Feb">The case</a> </li>
<li><a href="invest1.html" title="Links to investigation" class="MenuBarItemSubmenu">Investigation</a>
<ul>
<li><a href="tipoff.html" title="Some things we are not allowed to know">Tip off</a></li>
<li><a href="whyg.html" title="Why arrest Geoff?">Why Geoff</a></li>
<li><a href="int27.html" title="27 minute interview">27 minutes</a></li>
<li><a href="cops.html" title="What the Police did not do">Police</a></li>
</ul>
</li>
<li><a href="evi.html" title="Links to evidence" class="MenuBarItemSubmenu">Evidence</a>
<ul>
<li><a href="calls.htnl" title="Fictional phone calls">Phone calls</a> </li>
<li><a href="timing.html" title="It's all in the timing">Timing</a></li>
<li><a href="lie.html" title="Can you convict on a lie">Lucas directive</a></li>
<li><a href="all.html" title="That's all folks">That's all</a></li>
</ul>
</li>
<li><a href="confis.html" title="Links to Confiscation" class="MenuBarItemSubmenu">Confiscation</a>
<ul>
<li><a href="claners.html" title="Taken to the cleaners">Cleaners</a></li>
<li><a href="ruin.html" title="Family faces ruin">Ruin</a></li>
<li><a href="won.html" title="We won the Confiscation">We won</a></li>
</ul>
</li>
<li><a href="biog.html" title="About Geoff Hyde">Biography</a></li>
<li><a href="#" title="Link to the Petition">Petition</a></li>
<li><a href="friends.html" title="About the Charity Friends of Geoff Hyde" class="MenuBarItemSubmenu">Charity</a>
<ul>
<li><a href="supp.html" title="About the people who supprt Geoff Hyde">Supporters</a></li>
</ul>
</li>
<li><a href="about.html" title="About the Geoff Hyde is Innocent campaign">About us</a></li>
</ul>
<h3> </h3>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<h1>An Innocent Man</h1>
<p>On February 27, 2006, haulier Geoff Hyde took a call on his mobile. Taking that call changed his life forever; because it ended up with the 59-year-old grandfather with no previous convictions to his name being found guilty of drug smuggling. He was sentenced to 22 years in prison. This website is devoted to showing how the Crown Prosecution Service conspired to put an innocent man behind bars, and once they did set about siezing the fruits of nearly four decades of hard work.</p>
<h2> </h2>
<!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<p>©copyright2010</p>
<!-- end #footer --></div>
<!-- end #container --></div>
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
This is the SpryMenuBar.js code which is not being transferred
var Spry;
if(!Spry)
Spry = {};
if(!Spry.Widget)
Spry.Widget = {};
// Constructor for Menu Bar
// element should be an ID of an unordered list (<ul> tag)
// preloadImage1 and preloadImage2 are images for the rollover state of a menu
Spry.Widget.MenuBar = function(element, opts)
this.init(element, opts);
Spry.Widget.MenuBar.prototype.init = function(element, opts)
this.element = this.getElement(element);
// represents the current (sub)menu we are operating on
this.currMenu = null;
var isie = (typeof document.all != 'undefined' && typeof window.opera == 'undefined' && navigator.vendor != 'KDE');
if(typeof document.getElementById == 'undefined' || (navigator.vendor == 'Apple Computer, Inc.' && typeof window.XMLHttpRequest == 'undefined') || (isie && typeof document.uniqueID == 'undefined'))
// bail on older unsupported browsers
return;
// load hover images now
if(opts)
for(var k in opts)
var rollover = new Image;
rollover.src = opts[k];
if(this.element)
this.currMenu = this.element;
var items = this.element.getElementsByTagName('li');
for(var i=0; i<items.length; i++)
this.initialize(items[i], element, isie);
if(isie)
this.addClassName(items[i], "MenuBarItemIE");
items[i].style.position = "static";
if(isie)
if(this.hasClassName(this.element, "MenuBarVertical"))
this.element.style.position = "relative";
var linkitems = this.element.getElementsByTagName('a');
for(var i=0; i<linkitems.length; i++)
linkitems[i].style.position = "relative";
Spry.Widget.MenuBar.prototype.getElement = function(ele)
if (ele && typeof ele == "string")
return document.getElementById(ele);
return ele;
Spry.Widget.MenuBar.prototype.hasClassName = function(ele, className)
if (!ele || !className || !ele.className || ele.className.search(new RegExp("\\b" + className + "\\b")) == -1)
return false;
return true;
Spry.Widget.MenuBar.prototype.addClassName = function(ele, className)
if (!ele || !className || this.hasClassName(ele, className))
return;
ele.className += (ele.className ? " " : "") + className;
Spry.Widget.MenuBar.prototype.removeClassName = function(ele, className)
if (!ele || !className || !this.hasClassName(ele, className))
return;
ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
// addEventListener for Menu Bar
// attach an event to a tag without creating obtrusive HTML code
Spry.Widget.MenuBar.prototype.addEventListener = function(element, eventType, handler, capture)
try
if (element.addEventListener)
element.addEventListener(eventType, handler, capture);
else if (element.attachEvent)
element.attachEvent('on' + eventType, handler);
catch (e) {}
// createIframeLayer for Menu Bar
// creates an IFRAME underneath a menu so that it will show above form controls and ActiveX
Spry.Widget.MenuBar.prototype.createIframeLayer = function(menu)
var layer = document.createElement('iframe');
layer.tabIndex = '-1';
layer.src = 'javascript:false;';
menu.parentNode.appendChild(layer);
layer.style.left = menu.offsetLeft + 'px';
layer.style.top = menu.offsetTop + 'px';
layer.style.width = menu.offsetWidth + 'px';
layer.style.height = menu.offsetHeight + 'px';
// removeIframeLayer for Menu Bar
// removes an IFRAME underneath a menu to reveal any form controls and ActiveX
Spry.Widget.MenuBar.prototype.removeIframeLayer = function(menu)
var layers = menu.parentNode.getElementsByTagName('iframe');
while(layers.length > 0)
layers[0].parentNode.removeChild(layers[0]);
// clearMenus for Menu Bar
// root is the top level unordered list (<ul> tag)
Spry.Widget.MenuBar.prototype.clearMenus = function(root)
var menus = root.getElementsByTagName('ul');
for(var i=0; i<menus.length; i++)
this.hideSubmenu(menus[i]);
this.removeClassName(this.element, "MenuBarActive");
// bubbledTextEvent for Menu Bar
// identify bubbled up text events in Safari so we can ignore them
Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
return (navigator.vendor == 'Apple Computer, Inc.' && (event.target == event.relatedTarget.parentNode || (event.eventPhase == 3 && event.target.parentNode == event.relatedTarget)));
// showSubmenu for Menu Bar
// set the proper CSS class on this menu to show it
Spry.Widget.MenuBar.prototype.showSubmenu = function(menu)
if(this.currMenu)
this.clearMenus(this.currMenu);
this.currMenu = null;
if(menu)
this.addClassName(menu, "MenuBarSubmenuVisible");
if(typeof document.all != 'undefined' && typeof window.opera == 'undefined' && navigator.vendor != 'KDE')
if(!this.hasClassName(this.element, "MenuBarHorizontal") || menu.parentNode.parentNode != this.element)
menu.style.top = menu.parentNode.offsetTop + 'px';
if(typeof document.uniqueID != "undefined")
this.createIframeLayer(menu);
this.addClassName(this.element, "MenuBarActive");
// hideSubmenu for Menu Bar
// remove the proper CSS class on this menu to hide it
Spry.Widget.MenuBar.prototype.hideSubmenu = function(menu)
if(menu)
this.removeClassName(menu, "MenuBarSubmenuVisible");
if(typeof document.all != 'undefined' && typeof window.opera == 'undefined' && navigator.vendor != 'KDE')
menu.style.top = '';
menu.style.left = '';
this.removeIframeLayer(menu);
// initialize for Menu Bar
// create event listeners for the Menu Bar widget so we can properly
// show and hide submenus
Spry.Widget.MenuBar.prototype.initialize = function(listitem, element, isie)
var opentime, closetime;
var link = listitem.getElementsByTagName('a')[0];
var submenus = listitem.getElementsByTagName('ul');
var menu = (submenus.length > 0 ? submenus[0] : null);
var hasSubMenu = false;
if(menu)
this.addClassName(link, "MenuBarItemSubmenu");
hasSubMenu = true;
if(!isie)
// define a simple function that comes standard in IE to determine
// if a node is within another node
listitem.contains = function(testNode)
// this refers to the list item
if(testNode == null)
return false;
if(testNode == this)
return true;
else
return this.contains(testNode.parentNode);
// need to save this for scope further down
var self = this;
this.addEventListener(listitem, 'mouseover', function(e)
if(self.bubbledTextEvent())
// ignore bubbled text events
return;
clearTimeout(closetime);
if(self.currMenu == listitem)
self.currMenu = null;
// show menu highlighting
self.addClassName(link, hasSubMenu ? "MenuBarItemSubmenuHover" : "MenuBarItemHover");
if(menu && !self.hasClassName(menu, "MenuBarSubmenuVisible"))
opentime = window.setTimeout(function(){self.showSubmenu(menu);}, 250);
}, false);
this.addEventListener(listitem, 'mouseout', function(e)
if(self.bubbledTextEvent())
// ignore bubbled text events
return;
var related = (typeof e.relatedTarget != 'undefined' ? e.relatedTarget : e.toElement);
if(!listitem.contains(related))
clearTimeout(opentime);
self.currMenu = listitem;
// remove menu highlighting
self.removeClassName(link, hasSubMenu ? "MenuBarItemSubmenuHover" : "MenuBarItemHover");
if(menu)
closetime = window.setTimeout(function(){self.hideSubmenu(menu);}, 600);
}, false);
The code below is the SpryMenuBarHorizontal.css
@charset "UTF-8";
/* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
LAYOUT INFORMATION: describes box model, positioning, z-order
/* The outermost container of the Menu Bar, an auto width box with no margin or padding */
ul.MenuBarHorizontal
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: 780px;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 156px;
float: left;
/* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarHorizontal ul
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 156px;
position: absolute;
left: -1000em;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
left: auto;
/* Menu item containers are same fixed width as parent */
ul.MenuBarHorizontal ul li
width: 156px;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
ul.MenuBarHorizontal ul ul
position: absolute;
margin: -5% 0 0 95%;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
left: auto;
top: 0;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Submenu containers have borders on all sides */
ul.MenuBarHorizontal ul
border: 1px solid #CCC;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarHorizontal a
display: block;
cursor: pointer;
background-color: #CC0000;
padding: 0.5em 0.75em;
color: #FFFFFF;
text-decoration: none;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
background-color: #000000;
color: #FFF;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
background-color: #33C;
color: #FFF;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenu
background-image: url(SpryMenuBarDown.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarDownHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarHorizontal iframe
position: absolute;
z-index: 1010;
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarHorizontal li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF;
Below is the code for SpryMenuBarVertical.css
@charset "UTF-8";
/* SpryMenuBarVertical.css - Revision: Spry Preview Release 1.4 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
LAYOUT INFORMATION: describes box model, positioning, z-order
/* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
ul.MenuBarVertical
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
cursor: default;
width: 8em;
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
z-index: 1000;
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
width: 8em;
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
ul.MenuBarVertical ul
margin: -5% 0 0 95%;
padding: 0;
list-style-type: none;
font-size: 100%;
position: absolute;
z-index: 1020;
cursor: default;
width: 8.2em;
left: -1000em;
top: 0;
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
ul.MenuBarVertical ul.MenuBarSubmenuVisible
left: 0;
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
width: 8.2em;
DESIGN INFORMATION: describes color scheme, borders, fonts
/* Outermost menu container has borders on all sides */
ul.MenuBarVertical
border: 1px solid #CCC;
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
border: 1px solid #CCC;
/* Menu items are a light gray block with padding and no text decoration */
ul.MenuBarVertical a
display: block;
cursor: pointer;
background-color: #000000;
padding: 0.5em 0.75em;
color: #FFFFFF;
text-decoration: none;
/* Menu items that have mouse over or focus have a blue background and white text */
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
background-color: #666666;
color: #FFF;
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
background-color: #33C;
color: #FFF;
SUBMENU INDICATION: styles if there is a submenu under a given menu item
/* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenu
background-image: url(SpryMenuBarRight.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
/* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
ul.MenuBarVertical a.MenuBarItemSubmenuHover
background-image: url(SpryMenuBarRightHover.gif);
background-repeat: no-repeat;
background-position: 95% 50%;
BROWSER HACKS: the hacks below should not be changed unless you are an expert
/* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
ul.MenuBarVertical iframe
position: absolute;
z-index: 1010;
/* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
@media screen, projection
ul.MenuBarVertical li.MenuBarItemIE
display: inline;
f\loat: left;
background: #FFF;I've only encountered two instances where the PUT operation failed on certain files. One, the server does not like the particular file type, and two, when the file was open in another program.
Other than that, I could only guess that it may have something else to do with the web server configuration and not DW. -
Problems with reinstallation - new operating system mac
Back in 2009 I bought the Adobe Creative Suite 4 for mac. Installation was no problem. A few weeks ago I got a new operating system, i.e. mountain lion.
Since the Adeobe suite didn't work properly anymore I deinstalled the whole packe and tried to reinstall it with the old licence number. Unfortunately it doesn't work anymore. What can I do? Thanks very much in advance for your help. ewhat doesn't work? installation? some or all the programs?
and what error do you see? (attach a screenshot of the error.) -
HT201366 Problem with Mountain Lion operating system
Hi All, Any advices appreciated.
I recently upgraded the operating system on my Imac to the new Mountain Lion OS. I purchased this via Apple Application store. The installation went fine, but then it started stuffing up my E-mail accounts - and eventually deleted all my historical E-mails. The new OS wouldn't recognise my mail accounts or allow me to send E-mails. I tried all the online tips with regards changing mail preferences and editing ingoing and outcoming server info and passwords and changing ports utilised. I spent endless hours on phone to internet provider, only to be told in the end that it was a Mac OS problem. In utter frustration I did a System Restore and re-installed the old operating system, which also restored the lost E-mail history.
I'm already out of pocket the $20 for Mountain Lion, but can anyone tell how you can safely install Mountain Lion so that it works with E-Mails? Has Apple released a fix for Mountain Lion?The problems you describe are usually resolved by reindexing the mail database after the upgrade, a procedure that takes a few minutes.
Lion Mail: Reindex messages -
Please can someone help? I have 2 tables which I can join as follows:
select nlfull0604.accountid,company,entrydate from nlfull0604,live0604 where
nlfull0604.accountid=live0604.accountid
This returns the rows I expect, however I want to get some new Companies that might not be in live0604 but will be in nlfull0604 so I have added this:
select nlfull0604.accountid,company,entrydate from nlfull0604,live0604 where
nlfull0604.accountid=live0604.accountid or (entrydate > '01-JUN-04')
The problem is I am getting thousands and thousands of rows not just the 2,000 live companies + the 50 or so new ones - probably something to do with my brackets!
Thanks very much for your help.
Regards
AndrewHello
Yes I think you're going to need to use a union, try this out...
SQL> select
2 accountid,
3 entrydate
4 FROM
5 nlfull0604
6 WHERE
7 entrydate > TO_DATE('30/07/2004','dd/mm/yyyy')
8 UNION
9 select
10 accountid,
11 entrydate
12 FROM
13 live0604;
ACCOUNTID ENTRYDATE
1 25/08/2004
2 26/08/2004
3 27/08/2004
4 28/08/2004
5 29/08/2004
6 31/07/2004
6 30/08/2004
7 01/08/2004
8 02/08/2004
9 03/08/2004
10 04/08/2004
11 05/08/2004
12 06/08/2004
SQL> update live0604 set entrydate=to_date('31/07/2004','dd/mm/yyyy') where accountid=6;
1 row updated.
SQL> select
2 accountid,
3 entrydate
4 FROM
5 nlfull0604
6 WHERE
7 entrydate > TO_DATE('30/07/2004','dd/mm/yyyy')
8 UNION
9 select
10 accountid,
11 entrydate
12 FROM
13 live0604;
ACCOUNTID ENTRYDATE
1 25/08/2004
2 26/08/2004
3 27/08/2004
4 28/08/2004
5 29/08/2004
6 31/07/2004
7 01/08/2004
8 02/08/2004
9 03/08/2004
10 04/08/2004
11 05/08/2004
12 06/08/2004Note that in the first run account id 6 appeared twice because the entrydate in live0604 was different to the entrydate in nlfull0604 and so it was not a duplicate, after the update, it is picked up as a duplicate.
If you have the situation where you have the same account id and 2 different entry dates in each table, you could pick the most recent(or the oldest using min) like so...
SQL> update live0604 set entrydate=to_date('31/08/2004','dd/mm/yyyy') where accountid=6;
1 row updated.
SQL> SELECT
2 all_accts.accountid,
3 MAX(all_accts.entrydate)
4 FROM
5 (
6 select
7 accountid,
8 entrydate
9 FROM
10 nlfull0604
11 WHERE
12 entrydate > TO_DATE('30/07/2004','dd/mm/yyyy')
13 UNION
14 select
15 accountid,
16 entrydate
17 FROM
18 live0604
19 ) all_accts
20 GROUP BY
21 all_accts.accountid;
ACCOUNTID MAX(ALL_AC
1 25/08/2004
2 26/08/2004
3 27/08/2004
4 28/08/2004
5 29/08/2004
6 31/08/2004
7 01/08/2004
8 02/08/2004
9 03/08/2004
10 04/08/2004
11 05/08/2004
12 06/08/2004
HTH -
2.1.0.62: Problem with Package.Functions and Unit Tests
I like the new Sqldeveloper - I startet trying Unit Tests as described here: Link: [http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/sqldev/sqldev_unit_test/sqldev_unit_test.htm#t4]
It worked with a test-procedure. Now i am trying to test my package functions, but all i get is this:
Die folgende Prozedur wurde ausgeführt.
Ausführungsaufruf
BEGIN
:1 := "PKG_MYPACK"."CREATEFUNCTION"(IN_PROGRAMMEID=>:2,
IN_AMOUNT=>:3,
IN_SWS=>:4);
END;
Bind-Variablen verwendet
1 INTEGER OUT (null)
2 INTEGER IN 1
3 INTEGER IN 10
4 INTEGER IN 11
Ausführungsergebnisse
ERROR
Ungültige Konvertierung angefordert
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:439)
oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7723)
oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7496)
oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7978)
oracle.jdbc.driver.OracleCallableStatement.setObject(OracleCallableStatement.java:4063)
oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:221)
oracle.dbtools.raptor.datatypes.strategies.callablestatement.CallableBindingDatum.customBindIN(CallableBindingDatum.java:135)
oracle. ...
what can i do?Created
Bug 8976245 - EA1: UNIT_TEST: INVALID CONVERSION ERROR USING INTEGER PARAMETER
and have asked bug responder to keep you updated on status here in the forum.
Bad news is that any INTEGER parameter for which you specify a non-null value will fail.
Possibly helpful news is that if you create a 'clone' of you function using NUMBER as the data type, you can continue to experiment with how unit testing may be of use to you.
Sorry no instant answer. :(
Brian
SQL Developer Team
Maybe you are looking for
-
What is the lifetime of a session?
Hi all, I am writing a .NET application that queries an Oracle Database. I am altering the Session variable current_schema in order to execute commands with a different default schema than that of the logged in user. The change to current_schema shou
-
Text box in page setup for P6 V8 is not working
I tried to make my own footer & header for the layout of my report for the software P6 V8 but it is not functioning in the field of Text/Box only. Even editing on this field is not working. I tried to reinstall the software, but nothing happen What
-
My facetime on iphone 4 is not working after the update to IOS7
Hi guys, can you help me about my problem? My Facetime on Iphone 4 is not working after The update to IOS7 Thanks xxx
-
Upgrade to Mountain problems. No longer able to "save as" a document
I upgraded today from Snow Leopard 10.6.8 to Mountain Lion 10.8.4. I am sorry I did. I needed it for a new software I wanted to get - Sketchup Pro 2013. Here are some of my issues: My system is running slow! When I try to do a "save as" in preview, p
-
that didn't help, would rollback to previous IOS work? if so best way to do this? thanks.