Don't know how to test the output of the PL/SQL function
I have a function in the package '. " XCCC_PO_APPROVALLIST_S1' called 'does_cpa_exist ': FUNCTION does_cpa_exist(
p_document_id IN NUMBER
)
RETURN BOOLEAN
IS
l_cpa_exists VARCHAR2(100);
BEGIN
SELECT 'Y'
INTO l_cpa_exists
FROM po.po_requisition_lines_all prla
, ap.ap_suppliers pv
, ap.ap_supplier_sites_all pvsa
WHERE prla.vendor_id = pv.vendor_id
AND prla.vendor_site_id = pvsa.vendor_site_id
AND pv.vendor_id = pvsa.vendor_id
AND prla.requisition_header_id = p_document_id
AND EXISTS(
SELECT pha.vendor_id
FROM po.po_headers_all pha
WHERE pv.vendor_id = pha.vendor_id
AND pvsa.vendor_site_id = pha.vendor_site_id
AND pha.org_id = fnd_profile.VALUE('ORG_ID')
AND pha.type_lookup_code = 'CONTRACT'
AND pha.authorization_status = 'APPROVED');
RETURN TRUE;
IF (p_document_id IS NULL)
THEN
RETURN FALSE;
END IF;
EXCEPTION
WHEN OTHERS
THEN
RETURN FALSE;
END does_cpa_exist;
The pl/sql valid and commits OK in TOAD.I ran the sql in the EBS, and took the path of the workflow looks like that function returned a value of false.
I pass to the function a document_id.
I was wondering how I might test the output of the function from TOAD?
I tried:
select XCCC_PO_APPROVALLIST_S1.does_cpa_exist(1017934) from dual;
But get errors:ORA-06552: PL/SQL: Statement ignored
ORA-06553: PLS-382: expression is of wrong type
I do probably bad 101 things here, but I would still ask thinking and risk of being shouted at.Any advice appreciated,
Thank you
I was wondering how I might test the output of the function from TOAD?
Try
begin
if xccc_po_approvallist_s1.does_cpa_exist (1017934)
then
dbms_output.put_line ('True');
else
dbms_output.put_line ('False');
end if;
end;
/
Tags: Database
Similar Questions
-
Hi, after you install Minecraft in my iMac, I get this message: "cannot start minecraft, if you run from a dmg, please drag applications and try again. I Don t know how to start the game. Thank you
So what measures through 'install '?
-
My messages send and receive txt messages not iMessage on my iPhone and I don't know how to solve the problem to send and receive messages as iMessage
Settings > messages > iMessage turn off then turn it back on...
If it does not sign of your apple under messages ID. Settings > General > reset > reset all settings (will not erase data).
Then log in messages
-
Don't know how to read the results of netstat EI s list? If I received 860592506 bytes sent from 43421482 how to convert MB? And does this mean byte received?
Hello
This shows the total number of bytes transmitted and received via the Ethernet card. This is the total of the amount of use up to this day.
This includes all the Web sites you have visited and emails you sent, etc..
You can calculate using one of the following methods:
Method 1:
860592506 / 1048576 = 820,72 MB
Method 2:
Multiply 860592506 with 9.53674316 * 10 ^-7 that will give us the result in mega bytes.
860592506 bytes = 820 MB 9MB not, accept my apology for the miscalculation.
Similarly 43421482 acroos = 40MB -
I don't know how to download the new msn Messenger.
I don't know how to download the new msn Messenger, whenever I download it go back mode. and do not have to install the program this is happing to 4 on my computer and won't let me use msn messenger I have there say this update is done I need a fix.this is by Microsoft live essentials download
Start here: http://explore.live.com/windows-live-messenger
You will find support for Windows Live Messenger in these forums: http://windowslivehelp.com/forums.aspx?productid=2
-
I don't know how to change the size and quality of the text on the screen on Windows 7
I just installed a new Windows 7 but I don't know how to change the size and quality of the text on the screen. I tried all the things normal, resolution, size of icons, dpi etc but nothing gives me what I want. The text in clear 'wonderful' thing is just terrible. When I go through the 4 steps I see no text boxes which make the text nothing better. All options are terrible, so the result on screen is too terrible. When I do any huge I do not get a full screen of things - view the Start button disappears or I did not closing small cross at the top - of the suggestions to inprove the situation? I must mention that my screen/monitor is 2006 - I need to buy a new one? How much is this Windows 7 is going to cost me, or maybe I should go back to XP!
I sincerely thank all you smart "technicians" for all the answers you always gave myself and all others who ask questions. I'm not too smart with all this new technology as I fell into it very late. I am now in my 60s and only started using a pc when I was over 50 years so... In any case, I asked a question about the size of screen resolution and text and received much good advice from all that you guys. I had recently changed in XP to Windows 7. However, the bit of advice that I was given in 'Cyberking' here at the Portugal had set the resolution of the screen, the advanced settings, 75 to 60 Hertz Monitor tab. Very basic, and the first question asked the technician (Lady) was "what size is your screen? Naturally as a smaller screen that any 'techno' would be considered dead aid, solving the problem was simple and straightforward without me having to stretch my knowledge and my skills by downloading all programes weird (to me) or do the funny stuff in the bios or something else. I send this comment to you for you to realize that the simple solution is not always bad and maybe we should go for the easiest first and then work up to the more difficult ones.
Just for you all to see - now my screen resolution is perfect, the text on the screen is clear and legible without difficulty, even though the size of text and icon is small. Clarity is all!
Thank you all once again! Best regards, Blondie blue.
-
I use Hotmail on a new Mac and don't know how to increase the font size for the display of my email. you use the zoom + is only one temp. Suggestions please.
According to the format your help,.
Hotmail format,
Click Options at the top right,
Then more options.
Writing e-mail / click on fonts and signatures.
Make you choices and save.
New format for Outlook.com,
Click on the gear in the top right, symbol
Click Options,
The options are almost the same.
For more entries change your question and move it to the section of Hotmail, Messenger, and skydrive.
Search by all subjects,
Section Outllook.com or hotmail.com.
-
I don't know how to reinstall the Qualcomm-Atheros Bluetooth Suite (64)
Hello
A time back I refreshed my PC and it removed some applications including the Qualcomm-Atheros Bluetooth Suite (64). So every time that windows update tries to install important updates to update it doesn't work and I don't know how to reinstall the suite Bluetooth, I visited the Qualcomm-Atheros site but could not find anything. Any help would be greatly appreciated that this issue is also slow down the laptop which is annoying when I'm trying to do homework.Thank you.Original title: support BluetoothHello
Thanks for the reply.
I suggest you refer to Microsoft KB article to resolve the problem with the Windows updates.
Error 0 x 80070005 in Windows Update when you try to install updates
http://support.Microsoft.com/kb/968003/en-us#
Note: Follow the steps under Windows 8.1 and Windows 8.
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
Thank you.
-
Hello, I have a trial version Adobe CC photography, paid earlier for the license of the al. He confirmed that €12.09 was taken out of my bank account. But I don't know how to change the trial in a licensed version.
Hello
In order to get the activated in a licensed version, please follow: https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html
https://helpx.Adobe.com/x-productkb/policy-pricing/activate-deactivate-products.html
https://helpx.Adobe.com/x-productkb/policy-pricing/activation-network-issues.html
I hope this helps!
-
I have paid the monthly fee and have been using Acrobat Pro DC. I had a problem where I broke my previous laptop and want to continue to use this product. I bought another laptop, and I don't know how to download the program without having to pay again. I pay $14,99 per month for this service, how can I download it without having to pay again?
Hello
Please download Acrobat Pro ms of the here. After you download the application, install and activate it by providing your Adobe ID
Thank you
Abhishek
-
The previous user didn't verify his account. I don't know how to close the session?
The previous user didn't verify his account. I don't know how to close the session?
CC just asked me to check it out but it is NOT my account and I do not know whose ID is.
And now I can not connect with my account. Help, please.
BTW, there is NOT "Préférences."... "in the setting button.
Windows:
Step 1)
Exit the desktop Adobe Creative Cloud application.
End Adobe partner all the processes like creative cloud, CoreSync, AAMUpdater, Armsvc... etc. of the Task Manager.
Step 2)
Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.
Type below command and press the enter"" key.
AppData
Then go to the Local > Adobe > OOBE. Open the OOBE folder and delete the file opm.db .
Once you had deleted Opm.db file, run Adobe Creative Cloud application and check.
Mac:
Step 1)
Exit the desktop Adobe Creative Cloud application.
End Adobe partner all the processes like creative cloud, CoreSync, AAMUpdater, Armsvc... etc of Activity Monitor.
Location: Applications > utilities > activity monitor.
Step 2)
(1) right-click on the icon in the Finder, then select 'Go - To' folder.
(2) you will get a text box, type in the following command and then press the 'return '. (Don't miss ~ symbol)~/Library
(3) then navigate to Application Support > Adobe > OOBE. Open the OOBE folder and delete the file opm.db .
Once you had deleted Opm.db file, run Adobe Creative Cloud application and check.
-
I can't find my serial number for Photoshop Elements version 8. It came with a HP computer I bought in 2010. I recently had to do a recovery, it has been uninstalled. I moved since then and don't know how to get the serial number.
Please explain how I can get the serial number?
James, if it came with the machine and you are not registered, then you can't get it from the dealer where you purchased the machine. PSE 8 is now end of life and we have limited resources for the same thing, make sure you check the system requirements | Adobe Photoshop Elements if you try to install it on a new machine.
If you want to upgrade to the latest version, you can check: photo editor, change the images. Adobe Photoshop Elements 13
Atul_Saini
-
I can't find a newer version of adobe flash player for ubuntu 14.04, I tried to use the apt version but it wouldn't work and I don't know how to use the tar.gz files and install, I think the current version to .deb
Hi LF12,.
The latest version of Flash Player for Linux is 11.2.202.400. The current versions of Flash Player are displayed here http://www.adobe.com/software/flash/about/. The versions on the page are updated with each new version.
--
Maria
-
I have a LOV custom, but I don't know how to recover the selection?
Hi all
I want to recover my lov user selection, but I don't know much about the syntax.
Please advice.
Currently, I have attached a script to a button so that I can bring out a LOV.
______________________________________________________________
DECLARE BOOLEAN a_value_chosen;
BEGIN
Message ("LOV is gg to pop up.");
a_value_chosen: = Show_Lov ('LOV27');
IF this is a_value_chosen
Message ("you have not selected a value.");
Bell; RAISE Form_Trigger_Failure;
ON THE OTHER
/ * I don't know how to recover the selection of the user here... * /.
Message ("you selected a value!' |") SELECTION);
END IF;
END;There is another way to get your selection of LOV... you can not use this concept...
You must return value LOV to some parameter/item, while creating LOV. in order to check if its recoveries or not...Suppose that you have returned the value to a parameter named RETURN_VAL then...
DECLARE A_VALUE_CHOSEN BOOLEAN; BEGIN MESSAGE('LOV IS GG TO POP UP.'); A_VALUE_CHOSEN := SHOW_LOV('LOV27'); IF :PARAMETER.RETURN_VAL IS NOT NULL THEN MESSAGE('YOU HAVE NOT SELECTED A VALUE.'); BELL; RAISE FORM_TRIGGER_FAILURE; ELSE MESSAGE('YOU HAVE SELECTED A VALUE!!!' || :PARAMETER.RETURN_VAL); END IF; END;
-Aamir Arif
-
I don't know how to enter the user account from the Hp laptop?
I bought a laptop from a garage sale. It turns on but it is a user with a password on this matter. I don't know how to get from there. The people moved so no way of getting information about the password.
Original title: Hp laptop
Hello
When you buy a used machine, the advice is to reinstall the operating system, you don't know what this machine was used for and/or malware may be present.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Microsoft prohibits any help given in these Forums for you help bypass or "crack" passwords lost or forgotten.
Here's information from Microsoft, explaining that the policy:
See you soon.
Maybe you are looking for
-
I had "Extreme Triple Shots" on my MacBook Pro for over 2 years... He had to be updated, and then he never recovered last week, yesterday he disappeared from my Mac, so I downloaded again, now I don't have any money there, which was very little... Wh
-
Bridge mode... Router and TC
My internet does not work if I have my xfinity on bridge mode router and my TC on mode bridge?
-
Portege M700: Device Manager reveals five peripheral generic HID-Compliant
We have a M700 Tablet, which came with Vista, but came back to XP using supplied reinstall drive. The machine works fine for most, but sometimes suffers from a deadlock, which seems to be related to the touch screen. In device manager reveals five ge
-
Pavilion p6-2340ea: can I add a graphics card for my HP Pavilion p6-2340ea
My p6-2340ea is in excellent condition and does everything I want... except... I am interested in flight simulators and you want to add a dedicated graphics card... my questions are: -. one) can I do this and (b) if so, what would be a good reseaonab
-
How can I disable the screen keyboard on?
original title: keyboard display I have activated a keyboard screen on my monitor & would like to disable this function, how do I do this?