Why my cfoutput returns nothing?
I apologize for the double posting but I have a deadline, I try to answer, and I won't go home until I understood that.I'm trying to return data based on two queries, I created, using a cfif. Currently, I'm * nada *, no error, either. And I know that there is a lot of information to return.
Is someone can you please tell me what is wrong with my code (attached)? I would be very grateful.
ETA: the part that amounts to nothing:
< cfif #getTeacherInfo.emp_SchoolID # eq #getSalutation.rc_SchoolID # >
< table >
< b >
#getTeacherInfo.TeacherName # < cfoutput > < / cfoutput >
< /tr >
< /table >
< / cfif >
OK... I had understood it - should be at work 12 hours, today! : Heh D.
This generates a list of teachers with their certification due dates. I will then link to individual pages. :)
Tags: ColdFusion
Similar Questions
-
Why my function returns nothing when I create as a schema object
I have the ABC's of the user who owns several paintings, some of which have foreign key constraints.
I have user XYZ who has access to all the tables belonging to the user ABC.
When I create a user XYZ feature to use more I get no return when I run:
Select XYZ.ztm_tables_depended_on ('ABC', 'A_TABLE_OWNED_BY_ABC') of double:
Please see after the function definition.
CREATE or REPLACE FUNCTION ZTM_TABLES_DEPENDED_ON (p_Owner VARCHAR2, nom_table_p VARCHAR2) RETURN VARCHAR2 IS
CURSOR C1 IS
SELECT CONSTRAINT_NAME, OWNER, R_CONSTRAINT_NAME, R_OWNER
OF ALL_CONSTRAINTS
WHERE OWNER = p_Owner
AND TABLE_NAME = nom_table_p
AND CONSTRAINT_TYPE = 'R '.
ORDER BY OWNER, CONSTRAINT_NAME, R_OWNER, R_CONSTRAINT_NAME;
--
v_Referenced_Owner VARCHAR2 (31);
v_Ret_Val VARCHAR2 (4000);
--
The FUNCTION CONSTRAINT_TABLE_NAME(p_Owner VARCHAR2, p_Constraint_Name VARCHAR2) RETURN VARCHAR2 IS
CURSOR C1 IS
SELECT TABLE_NAME
OF ALL_CONSTRAINTS
WHERE OWNER = p_Owner
AND the argument CONSTRAINT_NAME = p_Constraint_Name;
--
v_Ret_Val ALL_CONSTRAINTS. TABLE_NAME % TYPE;
BEGIN
OPEN C1;
FETCH C1 INTO v_Ret_Val;
CLOSE C1;
--
RETURN v_Ret_Val;
END;
--
BEGIN
FOR R IN C1 LOOP
IF (R.OWNER <>R.R_OWNER) THEN v_Referenced_Owner: = R.R_OWNER | '.';
ANOTHER v_Referenced_Owner: = NULL;
END IF;
--
v_Ret_Val: = v_Ret_Val | ', ' || v_Referenced_Owner | CONSTRAINT_TABLE_NAME (R.R_OWNER, R.R_CONSTRAINT_NAME);
END LOOP;
--
RETURN LTRIM (v_Ret_Val, ',');
END;
/
But if I enter the function within an anonymous block as follows, I get results:
DECLARE
CURSOR C1 IS
Select owner, table_name
From all_tables where owner = 'ABC ';--
The FUNCTION ZTM_TABLES_DEPENDED_ON(p_Owner VARCHAR2, p_Table_Name VARCHAR2) RETURN VARCHAR2 IS
CURSOR C1 IS
SELECT CONSTRAINT_NAME, OWNER, R_CONSTRAINT_NAME, R_OWNER
OF ALL_CONSTRAINTS
WHERE OWNER = p_Owner
AND TABLE_NAME = nom_table_p
AND CONSTRAINT_TYPE = 'R '.
ORDER BY OWNER, CONSTRAINT_NAME, R_OWNER, R_CONSTRAINT_NAME;
--
v_Referenced_Owner VARCHAR2 (31);
v_Ret_Val VARCHAR2 (4000);
--
The FUNCTION CONSTRAINT_TABLE_NAME(p_Owner VARCHAR2, p_Constraint_Name VARCHAR2) RETURN VARCHAR2 IS
CURSOR C1 IS
SELECT TABLE_NAME
OF ALL_CONSTRAINTS
WHERE OWNER = p_Owner
AND the argument CONSTRAINT_NAME = p_Constraint_Name;
--
v_Ret_Val ALL_CONSTRAINTS. TABLE_NAME % TYPE;
BEGIN
OPEN C1;
FETCH C1 INTO v_Ret_Val;
CLOSE C1;
--
RETURN v_Ret_Val;
END;
--
BEGIN
FOR R IN C1 LOOP
IF (R.OWNER <>R.R_OWNER) THEN v_Referenced_Owner: = R.R_OWNER | '.';
ANOTHER v_Referenced_Owner: = NULL;
END IF;
--
v_Ret_Val: = v_Ret_Val | ', ' || v_Referenced_Owner | CONSTRAINT_TABLE_NAME (R.R_OWNER, R.R_CONSTRAINT_NAME);
END LOOP;
--
RETURN LTRIM (v_Ret_Val, ',');
END;--
BEGIN
FOR R IN C1 LOOP
DBMS_OUTPUT. Put_line (ztm_tables_depended_on (R.Owner, R.Table_Name));
END LOOP;
END;
/Any ideas what is happening here?
Any ideas what is happening here?
Justin said the likely reason.
See the section "How to exercise roles in PL/SQL blocks" the doc of database security for details
http://docs.Oracle.com/CD/E25054_01/network.1111/e16543/authorization.htm#i1007304
Operation of the roles in PL/SQL blocks
The use of roles in a PL/SQL block depends on if it is an anonymous block, or a block named (stored procedure, function, or trigger), and if it runs with the rights of the author or the rights of the applicant.
Roles used in the appointed with rights to define blocks
All roles are disabled in any PL/SQL block named (stored procedure, function, or trigger) that runs with the rights of the author. Roles are not used to privilege control, and you cannot define roles within the procedure of a DEFINER rights.
The
SESSION_ROLES
view shows all roles that are currently enabled. If a named PL/SQL block that runs with Definer Rights queriesSESSION_ROLES
, then the query will return no rows.Roles used in blocks named with the rights of the plaintiff and anonymous PL/SQL
Named PL/SQL blocks that run with the rights of the applicant and the anonymous PL/SQL blocks are executed at the end of the privileges granted through active roles. Current roles are used for verification within rights Summoner of privilege the PL/SQL block. You can use dynamic SQL statements to define a role in the session.
See this line beginning by "all roles are disables in any PL/SQL block named"?
-
I develop a VI on a large scale with a VI of web service combined in 2010 SP1. The "auxiliary" VI is responsible for storage of data capture and analysis as well as data and communications. It's big enough and communicates with the web method VI through shared network variables [and I use the DSC module to allow the management of shared variables of events].
I can build and deploy the web method VI very well and it runs great. However, I need to communicate between the auxiliary and web method VI, and it seems that I can't do without including the auxiliaries vi when generating RESTful web services [also, is there a way to make this web service generates?]. When I added the auxiliary vi for the construction, he built very well, but then I got during deployment:
"Server returned nothing (no header, no data).
The next time I tried to deploy, I got a fake NI Auth dialog by this knowledge base article. By following the instructions for case 1 ["failure of Web application server since last started"], I ran Services.msc and found that NEITHER Application Web Service was not running. I tried to restart the service, but got this error:
"The NI Application Web Server service on Local computer started and then stopped. Some services stop automatically if they have no work to do, for example, the service logs and alerts. »
Knowledge base article suggests to restart at this point and I did, but I still see the same behavior. So really, I have a few questions:
1. is it possible to deploy a variable library shared on the network through a local web service deployed and VI?
2. What are the causes "server returned nothing (no header, no data)" in the deployment? A google search gave very little.
3. what this means: "NI Application Web Server service on Local computer started and then stopped... '. "and what do I do to get my Web Application Server up?
[to pile on the pile... I tried to re - activate the localhost:3580 Web application server and got an error. Localhost:3580 then offline also.]
Thank you!
Update.
I noticed that the Web application server attempted to deploy the web service broken and choke her. There seemed to be no way to clear the .lvws created at the origin of the construction. I was able to remove the deployment folder to \UserServices\deployed\ $(WebServicesRoot)
- , but it has been recreated from the .lvws whenever I tried to restart the service. So I called NOR and they told me this directory [XP]:
C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone
The .lvws has been in this folder. I deleted it and now I can run the ApplicationWebService. Apparently this file hidden undocumented is a "not-quite-bug" that is recognized as needing a fix in future releases.
-
I would like to know, why should I return the original HARD drive.
the original HARD disk, which was replaced by a new
subsequently to repair a reclamation of the software problem... problem was with a WINDOWS 10 installation, without aquiering the development of 100% of the WINDOWS UPDATES.
what ended up as a dead end...
But if the HARD drive is priceless, why should I give it.and one of the reasons why t I returned...
I JUST DON T WANT :)Thank you for answering,
AND HAVE a GREAT DAY, please
:)Nowak
Hello! If Dell sent you a replacement HARD drive, you have to send it back as the old HDD becomes the property of Dell. They refer to the manufacture for diagnosis and testing for future products. Technically, you can keep the old HDD, but Dell will charge you for him and he can score your account in which they can ask that future repairs are made by a technician on site if you have this warranty package or you may be forced to send your computer using the guarantee, if it happens in the future.
-
Why should I return my password every time I have to leave my computer idle for more than 30 seconds?
Why should I return my password every time I have to leave my computer idle for more than 30 seconds?
You set your options of power that computer goes to screen saver if you left computer idle for 30 minutes?
If so, and if you don't want to enter password once again, this...Start button > in the search box, type screensaver > press enter > in the settings window of the screensaver, uncheck "On summary, the logon screen" > click OK when finished.
-
create table ab (a number, b varchar2 (20));
Insert into ab
Select rownum, rownum. "" sample "
of the double
connect by level < = 10
create table bc (a number, b varchar2 (20));
Insert into BC.
Select rownum + 1, rownum + 1 | "" sample "
of the double
connect by level < = 10
Select * AB
where b in (select b BC where b = "2sample")
This query will return me 1 row, but there are cases where the value of the parameter b is null
and that it should return all rows in the table
as
Select * AB
where b in (select b BC where b = "2sample")
which return specific values, but I want to change in a way when the inner query returns nothing then outer query should return all the lines and works as
Select * AB;
Is it possible to put in a single query
Hello
You seem to ask for different things. You want all the lines AB when
- The parameter ("2sample' in the example) is NULL, or when
- There is no corresponding row in the 2 tables (which could happen even if the parameter is not NULL)
?
Assuming you want the option 2, here's one way:
WITH got_rnk AS
(
SELECT ab.*
DENSE_RANK () (ORDER IN CASE
WHEN b (IN)
SELECT b
BC.
WHERE b = "2sample" - parameter
)
THEN "A".
OF ANOTHER 'B '.
END
) AS rnk
AB
)
SELECT a, b
OF got_rnk
WHERE rnk = 1
;
This does not assume b is unique in each table.
Thanks for posting the CREATE TABLE and INSERT statements; It is very useful.
-
PowerCLI Get-AdvancedSetting returns nothing
Hello.
I have a problem with the Get-AdvancedSetting command.
The return is always nothing, unless an error occurs, which in this case indicates the error.
In the example below, it should return a list of required parameter for all virtual machines that have this setting:
PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > Get - vm | Get-AdvancedSetting - name disk. EnableUUID
PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI >
Also the same in this variant:
PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI > Get-AdvancedSetting - entity (Get - VM - name SRVNAME) - disk name. EnableUUID
PowerCLI C:\Program Files (x 86) \VMware\Infrastructure\vSphere PowerCLI >
As you can see, it only skips line and returns nothing. I am able to enumerate all the virtual machines if I just launched Get - vm and I get an error if I try the above without the entity.
I tried with arguments of different setting different disk . EnableUUID, but got the same result.
What could be wrong?
Thank you.
Ouch, that's a pretty old version.
No particular reason, you can not upgrade?
-
Get-VMHostSnmp returns nothing
Hi all
I need to get out a bunch of SNMP parameters for some 5.5 ESXi hosts.
This bit is easy. I say that because when I run the command set-vmhostsnmp to add the targets and community names, no error is returned.
It's when I try to check the settings, or search the SNMP settings on different hosts that I run into trouble.
I want to add that I tried the following on PowerShell (v3), Powershell ISE, with VMware PowerCLI (5.5 Release 1).
Always with the same results.
to connect-viserver MyESXiHost-credential (get-credential)
Get-VMHostSNMP #returns nothing
Get-VMHostSNMP-returns # server MyESXiHost the below error
Get-VMHostSnmp: 26/Jun/2015 12:14:18 Get-VMHostSnmp The method or operation is not implemented. On line: 1 char: 1
+ Get-VMHostSnmp-Server MyESXiHost
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:)) [Get-VMHostSnmp], VimException) + FullyQualifiedErrorId: Core_BaseCmdlet_UnknownError, VMware.VimAutomation.ViCore.Cmdlets.Commands.Host.GetVMHostSnmp I checked the snmpd Service and it is running
Get-VMHostService - VMHost MyESXiHost | where {$_.} Key - eq "snmpd"}
Required Label key running policy
--- ----- ------ ------- --------
snmpd snmpd on True False
I even restarted the snmpd service after adding the SNMP parameters using
Get-VMHostService - VMHost MyESXiHost | where {$_.} Key - eq "snmpd"} | Restart-VMHostService-confirm: $false
That is to say; Label Policy Running required --- ----- ------ ------- -------- snmpd snmpd on True Fake I even tried to Get-EsxCli
$esxcli = get-EsxCli - VMHost siprb3esx01.corp.emc.com
$esxcli.system.snmp.get)
several errors returned
Community string has not been specified in the trap target
When I put something inside the brackets, I get the following
The 'get' method is called with parameters '1', but the number of parameters expected is '0'
Any help that can be offered would be appreciated.
Thank you all
Problem solved.
I've updated since PowerCLI 5.5 Release 1 to PowerCLI version 5.8 Release 1 and the get-vmhostsnmp command now works.
Better yet Get-VMHostSnmp | Select VMHost, works of TrapTargets
-
Why photoshop print return the image horizontally and how to fix it?
Why photoshop print return the image horizontally and how to fix it? I'm using CS5.
I don't have CS5, but check for certain features in the box print dialog which allows to reverse or said something like the screenshot below:
-
Extract XML Value returns nothing
Hi, I have a table where I put an XMLTYPE column called XML_RESPONSE and a CLOB called XML_RESPONSE_CLOB with the same XML content each.
One of the values of records in the two columns look like this:
<? xml version = "1.0" encoding = "UTF - 8"? >< s : Envelope xmlns:S = » http://schemas.xmlsoap.org/soap/envelope/ « >< Body >< ns2:StampCFDBytesResponse xmlns:ns2 = » http://impl.Controllers.massive.Fe.STO.com/ "xmlns:ns3 = » http://exception.Fe.STO.com/ "><stampedDocument>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGNmZGk6Q29tcHJvYmFudGUgdmVyc2lvbj0iMy4yIiBmb2xpbz0Cinb2IubXgvVGltYnJlRmlzY2FsRGlnaXRhbCBodHRwOi8vd3d3LnNhdC5nb2IubXgvVGltYnJlRmlzY2FsRGlnaXRhbC9UaW1icmVGaXNjYWxEaWdpdGFsLnhzZCIgeG1sbnM6dGZkPSJodHRwOi8vd3d3LnNhdC5nb2IubXgvVGltYnJlRmlzY2FsRGlnaXRhbCIvPgogICAgPC9jZmRpOkNvbXBsZW1lbnRvPgo8L2NmZGk6Q29tcHJvYmFudGU+</stampedDocument></ns2:StampCFDBytesResponse></S:Body></S:Envelope>
I am trying to extract the base64 code, that is inside the < stampedDocument > element.
If I use this code, the procedure runs, but returns nothing:
Select apex_web_service.parse_xml (XML_RESPONSE, "/ / envelope/body/stampedDocument")
in v_stamped from f_cfdi_timbrados where id_cfdi_timbrado = 1002;
If I use the following the procedure returns an error:
Select apex_web_service.parse_xml (XML_RESPONSE, '//Envelope/Body/stampedDocument/stampedDocument ()')
Select apex_web_service.parse_xml (XML_RESPONSE, '//S:Envelope/S:Body/stampedDocument/stampedDocument ()')
Select apex_web_service.parse_xml (XML_RESPONSE, ' / / s: Envelope / Body / stampedDocument')
in v_stamped from f_cfdi_timbrados where id_cfdi_timbrado = 1002;
06503 00000 - "PL/SQL: function returned no value."
* Cause: A call to the PL/SQL function completed, but no RETURN statement has been
executed.
* Action: Function to rewrite PL/SQL, ensuring that it always returns
a value of the appropriate type.
I also tried with the ExtractValue function and retunrs null or an error.
SELECT id_cfdi_timbrado,
EXTRACTVALUE (e.xml_response, ' / envelope/body/stampedDocument ')
'CFDI_BASE_64 '.
OF e f_cfdi_timbrados
WHERE id_cfdi_timbrado = 1002;
Please notify. It's my first experience of XML parsing and it seems that I am lost.
Francisco
The error message provides the clue that you need. If you were to search on this error message, you will see he's trying to tell you that you are missing a RETURN statement at the end of your function. Something like
RETURN v_stamped;
That would resolve the issue causing the error ORA.
Regarding the second question, that you will encounter, your clips are not correctly name space which is part of the XML. For extractValue, there is a third parm
If your query would look like
EXTRACTVALUE (e.xml_response, ' / s: Envelope/Body / ns2:stampedDocument ',' xmlns:S = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns2 = "http://impl.controllers.massive.fe.sto.com/"')
I leave you to you of apex_web_service.parse_xml of research
That said, depending on your version of Oracle, extractValue might be obsolete and you will have to go in a different direction.
Here are a few tips to post on the forums
-
QueryUnresolvedVMFSVolumes() returns nothing
Hi @all,
I build a PowerShell script to mount the snapshot LUN in a case of DR. But my QueryUnresolvedVMFSVolumes returns nothing in my script. If I use all the lines manually I get the expected return. There is nothing in the script. Can anyone help?
function Getunresolved(){$hostdetail = get-VMHost $vmhosts [0]$hostview = get - see $hostdetail. ID$hostss = get - see $hostview. ConfigManager.StorageSystem$hostds = get - see $hostview. ConfigManager.DatastoreSystem$hostss. RefreshStorageSystem()$hostuvmfs = $hostds. QueryUnresolvedVMFSVolumes()Write-Host $hostuvmfs.count}Thanks Klaus
Maybe try to wait between the RefreshStorageSystem and the QueryUnresolvedVMFSVolumes of the calls.
For example put a 10 ' sleep ' cmdlet between 2 calls. "
You probably play with the duration
-
What is a good way to check if the selection ADB sql cursor returns nothing
Hi all
I am trying to find a good way to identify that a select SQL basic cursor return nothing.
I know that or we use exception when no data found or count (*) to check how many rows are returned.
I have a cursor based on a long statement select.
As
Is there a way other than the above?CREATE OR REPLACE PROCEDURE aaa (v_input IN NUMBER, v_output OUT VARCHAR2) CURSOR long_cursor IS --long select statement(with input variable) ; BEGIN Select count(*) Into v_count From -- a long select statment with input again ; IF v_count > 0 then For record in long_cursor loop --Get information from cursor --other processing for output End loop; END IF; END;
I would like to reduce the amount of typing. I know that repetition in code is not good.
Thanks in advance,
Ann
Published by: Ann586341 on February 28, 2013 14:29Hello Ann,.
Apart from the possibility has already been mentioned that other users can change the data during execution of your process, you can check if something needs to be done without the COUNTY. Set a flag in the cursor for loop. When there is no data, then the flag will not change one you can perform the necessary procedure.
CREATE OR REPLACE PROCEDURE aaa (v_input IN NUMBER, v_output OUT VARCHAR2) v_data_found BOOLEAN := FALSE; CURSOR long_cursor IS --long select statement(with input variable) ; BEGIN For record in long_cursor loop v_data_found := TRUE; --Get information from cursor --other processing for output End loop; IF NOT v_data_found THEN -- set processed flag END IF; END;
Concerning
Marcus -
Custom view get-inventory returns nothing
Here is an excerpt of what I'm trying to accomplish (I filter certain fields/results)
Get-Inventory | %{ $type = $_.Id if($_.Id.Contains("-")) { $type = $type.Substring(0, $type.IndexOf("-")) } switch ($type) { "ClusterComputeResource" { select @{name="[MACHINE_NAME]"; expression={$server}}, @{name="[PATH]Id"; expression={$_.Id}}, @{name="[PATH]Name"; expression={$_.Name}}, @{name="Name"; expression={$_.Name}}, @{name="HA Enabled"; expression={$_.HAEnabled}}, @{name="HA Admission Control Enabled"; expression={$_.HAAdmissionControlEnabled}}, @{name="HA Failover Level"; expression={$_.HAFailoverLevel}}, @{name="HA Restart Priority"; expression={$_.HARestartPriority}}, @{name="HA Isolation Response"; expression={$_.HAIsolationResponse}}, @{name="DRS Enabled"; expression={$_.DrsEnabled}}, @{name="DRS Automation Level"; expression={$_.DrsAutomationLevel}}, @{name="VM Swapfile Policy"; expression={$_.VMSwapfilePolicy}}, @{name="Custom Fields"; expression={$_.CustomFields}}, @{name="Type"; expression={$type}} } "HostSystem" { select @{name="[MACHINE_NAME]"; expression={$server}}, @{name="[PATH]Id"; expression={$_.Id}}, @{name="[PATH]Name"; expression={$_.Name}}, @{name="Name"; expression={$_.Name}}, @{name="State"; expression={$_.State}}, @{name="VM Swapfile Datastore Id"; expression={$_.VMSwapfileDatastoreId}}, @{name="VM Swapfile Policy"; expression={$_.VMSwapfilePolicy}}, @{name="Custom Fields"; expression={$_.CustomFields}}, @{name="Type"; expression={$type}} } ...
It returns nothing every time. If I just run Get-inventory I collect a lot of data. My guess is that I do something wrong in a perspective of PowerShell, not a point of view CLI.
Any ideas?
It's because you're not 'feed' anything in the select cmdlet.
And the Switch statement modifies the contents of the variable $_
And to get the type that you can use the GetType method that exists on any object.
Get-Inventory | % { $type = ($_ | Get-View).gettype().Name $obj = $_ switch ($type) { "ClusterComputeResource" { $obj | select @{name="[MACHINE_NAME]"; expression={$server}}, @{name="[PATH]Id"; expression={$obj.Id}}, @{name="[PATH]Name"; expression={$obj.Name}}, @{name="Name"; expression={$obj.Name}}, @{name="HA Enabled"; expression={$obj.HAEnabled}}, @{name="HA Admission Control Enabled"; expression={$obj.HAAdmissionControlEnabled}}, @{name="HA Failover Level"; expression={$obj.HAFailoverLevel}}, @{name="HA Restart Priority"; expression={$obj.HARestartPriority}}, @{name="HA Isolation Response"; expression={$obj.HAIsolationResponse}}, @{name="DRS Enabled"; expression={$obj.DrsEnabled}}, @{name="DRS Automation Level"; expression={$obj.DrsAutomationLevel}}, @{name="VM Swapfile Policy"; expression={$obj.VMSwapfilePolicy}}, @{name="Custom Fields"; expression={$obj.CustomFields}}, @{name="Type"; expression={$type}} } "HostSystem" { $obj | select @{name="[MACHINE_NAME]"; expression={$server}}, @{name="[PATH]Id"; expression={$obj.Id}}, @{name="[PATH]Name"; expression={$obj.Name}}, @{name="Name"; expression={$obj.Name}}, @{name="State"; expression={$obj.State}}, @{name="VM Swapfile Datastore Id"; expression={$obj.VMSwapfileDatastoreId}}, @{name="VM Swapfile Policy"; expression={$obj.VMSwapfilePolicy}}, @{name="Custom Fields"; expression={$obj.CustomFields}}, @{name="Type"; expression={$type}} } } }
-
Profile of user - purchase - returns nothing
I created a user profile in the Oracle Applications Sub - application developer
Application: purchase
Profile name: PO: CHANGE of SBM
Type of hierarchy: security
Validation of SQL:
SQL = "select decode (meaning,".
"Yes',"Full. "
'No', 'None') \"Access Level\ «,»
lookup_code
in: visible_option_value,: profile_option_value
of fnd_lookups
where lookup_type = 'YES_NO '.
Now, I am trying to run this query that returns nothing. Is it because I have the application level * purchase *.
{code}
Select apps.fnd_profile.value ('PO: SBM CHANGE ') twice;
{code}
Thank youHello
First you need to get the values of this profile option (resp. system administrator > profile > system).
In addition, when you use fnd_profile.value, you must specify the option of internal profile name and not the name of user profile option (maybe they are the same in your case?).
And also, in general, you need to specify your context before calling fnd_profile. You can use fnd_global.apps_initialize to do this.It will be useful.
-
I always used to be able to search and retrieve password - but the user interface has changed recently and what I am looking for nothing is returned; but for many sites it always automatically fills my name and password so that they are there. I have tried searching for anyone else having this problem but couldn't find anything - can not believe I am alone but...
I just do in low grade - or is there anything else I can do to recover the features?
You are welcome
Maybe you are looking for
-
Time Machine breaks down during the work week, working all weekend after preferences rebuilt
End of 2013 the MacBook Pro 13 "Retina display, 16 gig RAM, OS x 10.10.5, gigabit networks are home and work, NAS at home only. MacBook is used as working on simple business network machine all week. Time Machine off and save a couple hundred K and t
-
Need for new drivers graphics for Satellite L650
Hi all I'll explain my situation, I think that many others have this same problem with the toshiba now.There is 1 year and some months pass after I got my first laptop Toshiba Satellite L650-11F and at first I thought this computer will work without
-
Cannot use the USB in the Portege M500
Hello I use the model of laptop Portege M500. When I connect my Transcend 4 GB pen drive it detects and dispays an alrert lower-right with "new hardware found". At the same time another box dialog box opens asking for the installation, I tried to giv
-
I have a new (early 2016, iMac) and want to connect two displays 4 k (3840 x 2160). I can't find a definitive guidance on how to do so. Monitors have 2 x HDMI, 2 x entries DVI & DP. Some sources seem to say that the HDMI is limited to 1080 p... just
-
Hi I'm new with labview, I made an application with release of vi express tool called "show msg" and when I run the program in 'performance continuously', do not close the message window when I press 'ok' I want to know if there is a way to disable t