Another question about the display of out parameters

I put a ref cursor in my procedure and used variable bind. If I trace through the procedure using the debugger in sql navigator I see the variable values of the print output, but they still have empty values. What should I do to show them now. It's my current procedure:

PROCEDURE Retrieve_Item_And_MeasureUOM
(
-parameters passed in
p_wr_item_oid in NUMBERS
p_wr_measure_oid in NUMBERS
p_measure_uom OUT VARCHAR2,
p_report_item_measure_uom OUT VARCHAR2,
p_report_ref1 ON ref_cur
)

As
-local variables
v_sql1 varchar2 (500): = ";
v_report_name varchar2 (200): = "reportname";
v_wr_item_oid NUMBER;
v_measure_oid NUMBER;
v_report_item_measure_uom VARCHAR2 (50);
v_measure_uom VARCHAR2 (50);


BEGIN

v_sql1: =.
"SELECT."
FM.wr_item_oid, fm.wr_measure_oid, fm.default_display_uom as Report_Item_Measure_UOM,
m.Default_UOM_App_Code as Measure_UOM

Of
wr_form_measure fm
JOIN IN-HOUSE
m wr_measure ON m.wr_measure_oid = fm.wr_measure_oid
WHERE
FM.wr_item_oid =: itemoid and fm.wr_measure_oid =: measure_oid AND
FM.wr_form_oid =' | Retrieve_FormOID_From_Name (v_report_name);


PUT_LONG_LINE (v_sql1);

P_report_ref1 OPEN for v_sql1
With the HELP of p_wr_item_oid, p_wr_measure_oid;


EXCEPTION

WHEN NO_DATA_FOUND THEN
RAISE_APPLICATION_ERROR (-20999, "no data found. Possible error in the form OID.') ;

END Retrieve_Item_And_MeasureUOM;



Thanks again

Since you ask again I'll answer again. I have replyied to your other post that is answered.

CREATE OR REPLACE PROCEDURE retrieve_item_and_measureuom ( -- parameters passed in
                                        p_wr_item_oid             IN     NUMBER,
                                        p_wr_measure_oid          IN     NUMBER,
                                        p_measure_uom                OUT VARCHAR2,
                                        p_report_item_measure_uom    OUT VARCHAR2
                                       )
AS
  -- local variables
  v_wr_item_oid             NUMBER;
  v_measure_oid             NUMBER;
BEGIN
  SELECT fm.wr_item_oid,
         fm.wr_measure_oid,
         fm.default_display_uom AS report_item_measure_uom,
         m.default_uom_app_code AS measure_uom
  INTO   v_wr_item_oid,
         v_measure_oid,
         p_report_item_measure_uom,
         p_measure_uom
  FROM     wr_form_measure fm
         INNER JOIN
           wr_measure m
         ON m.wr_measure_oid = fm.wr_measure_oid
  WHERE      fm.wr_item_oid = p_wr_item_oid
         AND fm.wr_measure_oid = p_wr_measure_oid
         AND fm.wr_form_oid = retrieve_formoid_from_name (v_report_name);
EXCEPTION
  WHEN NO_DATA_FOUND
  THEN
    raise_application_error (-20999,
                             'No data found. Possible error in Form OID.'
                            );
  WHEN OTHERS
  THEN
     raise_application_error (-20998,
                             SQLERRM
                            );
END retrieve_item_and_measureuom;

Published by: Marcus AFS on February 24, 2010 15:16

Tags: Database

Similar Questions

  • Another question about the redesign or the future of

    Hello

    When you read a topic about the removal of 'Preview' of the name of the software, staff responded that Adobe sought to 'take the best features of reflow and their integration into other tools.

    We are currently looking to use reflow as befits our very good business model. Currently, use us Photoshop for Desktop models, but is not a preview of the designs with versicles mode, which is exactly what reflow.

    It lacks some details of Photoshop, like ToolTips, detailing the size in pixels of the area being created and being able to move groups elements of item with the keys - we are likely to see the reflow being improved to include these, or the app that may disappear?

    I left a question in an above section if breakpoints for various devices would then appear in Photoshop if the statement made by the staff of Adobe had to happen, but had no response (I assume that this is always decided on?).

    Please let me know where we are until we invest time in structuring around these applications.

    Thank you

    Hi Ben,

    The honest answer is that Adobe is unlikely to make all invest more in the characteristics of reflow. I don't know about the future PS feature, so I can't comment on those. I don't know that the PS is invest in their space of design focused on the web, UX and mobile designers, so you could make requests about features he. Here is the forum:

    Photoshop Design space (overview)

    Thank you

    Joan Lafferty

    Product Manager

  • Question about the display of the metadata of jpeg in lightroom

    Hello

    I briefly crossed the material of the SDK, but there are some aspects remaining unclear for me. More in detail, I would like to show the tag RegionName jpg file in LR metadata for research etc. This tag contains the Picasa face recognition data. I have already experienced the exiftool and how to add names to RegionName to the subject or keywords Tags in jpg-file and corresponding .xmp file to the raw file. However, I would like to find an elegant solution by showing the tag in the LR directly. Before you try to do the LUA code, I want to understand a few basic principles behind the plugin programming namely:

    (1) how to read the label RegionName since the jpg file and in what part of the plug-in? Is there a way to make LR read whenever "metadata file reading" is used?

    (2) how "publish" it displayed in the metadata Panel on the right side of the LR (this is handled a bit in the examples, even if I don't understand the reference to the com.adobe.xxx know what structure is really referring to?)

    Comments and help is welcome on this page or any advice where to find information!

    Mikko

    Mikko,

    LR provides access only to certain fields of metadata, not all.  RegionName is not one of the fields that LR is known, then you will not be able to use metadata methods of the SDK to access or display it.  In general, plugins that want to access this type of metadata to run the free Exiftool on the images and then analyze the output of Exiftool.

    The ExifMeta plugin exposes all the metadata that is accessible by Exiftool as custom in LR metadata fields.  I suggest you to try this plugin see if it meets your needs.  If it isn't, you can examine its source code as an example of how to use Exiftool to access and view metadata.  Plugin author Rob Cole is a contributor of this forum and quite willing to answer the questions.

  • Yet another question about the update with the shutters tab

    I am quite new to this, but I've been scouring the boards and try many different things, and I decided to ask for advice.

    There are other threads similar to my problem such as:

    http://supportforums.BlackBerry.com/T5/Java-development/SetFocus-issue-with-tabbed-screen-page/m-p/6...

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-delete-a-Manager-or-a-field-that-is-c...

    I have a set up tabbed pane based on the example and everything works fine until I have delete a line from a VerticalFieldManager. It is by default the focus on the first item on the screen, and I get this. My problem is trying to substitute or replacement behavior.

    My screen implements the FocusChangeListener for the buttons on the tab (custom LabelFields).

    I tried many different variations - I tried to manage the update completely manual and ended with a bit of a mess. I tried to capture the event navigationUnclick() and coding of the focusChanged() method to manually switch the update, but it seems that the focusChanged() method is called before the focusChanged(), which doesn't help me.

    As I said I am pretty new to this so I could do something very stupid, but I don't really understand the focus handling implementation. A kick in the right direction would be appreciated.

    Thank you.

    You can have a NullField in your managers before all other areas - in this way, even if you delete the rest, the NullField might keep the focus.

    If this does not help, try the substitution of sublayout for your managers, call super.sublayout and then explicitly setFocus to your NullField (the deletion of any field causes a display Manager to rearrange).

  • Question about the display of what log file mapped in LogFilter agent

    Hello

    LogFilter agent allows you to have up to 4 different log files (and paths) to match strings in the list.

    Is there a way to make a rule that kicks in when there is a match of logFilter - to have access to what filepath had the match?

    So, for example if I have;

    /path1/server.log

    /path3/server.log

    and if the rule that fires when the logFilter has a match, I would like it to show which of the 2 filepaths contained the game.

    Thank you

    "mark".

    Hi Mark,

    The default LogFilter rule creates an alarm that contains the path to the log file of the execution of the variable of severity level "text".

    This script uses "entry.get("LogName")" to extract the name of the log file, which is displayed in the Message field of alarm and the alarm dialog box as well as the text that triggered the alarm:

    Kind regards

    Brian Wheeldon

  • Question about the display of an image between the columns in a report

    Hi people,

    I looked at the examples I have come across, but I guess I'm missing something. I have a PL/SQL procedure that returns a sql statement to a report. I want to display an image between the two columns. I already have the pictures stored in the APEX. Can someone please tell me what I'm doing wrong here?

    SELECT the id INTO file_id OF APEX_APPLICATION_FILES
    WHERE filename = 'Blue Free';

    q: = "select";
    q : = q || ' current_status_cd,';
    q : = q || "APEX_UTIL. GET_FILE(p_file_id => file_id,p_mime_type => ''image/jpeg'',p_inline => ''YES'') M,';
    q : = q || "UserID,';
    q : = q || "usernum,';
    q : = q || "LastName,';
    q : = q || "First name";
    q : = q || "from une_table";

    Return to q;

    Thank you very much

    -Adam

    Published by: avonnieda on November 11, 2008 12:28

    Adam:

    The references of the generated query "une_table." Is this a valid table in the application schema analysis?
    If so, change the query to be

    q: = "select";
    q : = q || ' current_status_cd,';
    q : = q ||'' ' "image,';
    q : = q || "UserID,';
    q : = q || "usernum,';
    q : = q || "LastName,';
    q : = q || "First name";
    q : = q || "from une_table";

    CITY

  • Re: Question about the display driver for Satellite L850

    So, I bought a Satellite L850 as twe weeks and I am yet to know which driver do I need.
    I mean, it's better is one that comes with Windows Update or do I need to download it myself? I can watch videos and play games pretty decently while I don't mind so far.

    > I mean, it's better is one that comes with Windows Update or do I need to download it myself?

    The Toshiba driver page driver is usually the right one. Updated the and designed for the use of the laptop.
    But if don t have problems even while playing the game, don t change. You know: never change a system running ;)

  • Another question about the color in required fields change

    I have 4 fields.

    The customer must enter a country name Field1

    If it's 'NL', that of Field2, Field3 and Field4 becomes necessary.

    I did it with FormCalc

    if (Field1 == "NL") then
    Field2.validate.nullTest="error"
    Field3.validate.nullTest="error"
    Field4.validate.nullTest="error"
    else
    Field2.validate.nullTest="disabled"
    Field3.validate.nullTest="disabled"
    Field4.validate.nullTest="disabled"
    endif
    
    
    

    Here's my problem:

    When field2 and field3 field4 are requered, they change color (red fill color) when it is empty

    And when they are not needed, they did not have to change color

    Can someone help me with this problem?

    Hello

    Here is a sample script to change the visual appearance of an object. Please note that the script in this example is JavaScript. https://Acrobat.com/#d=xHziYOr8zapKWtuVhWUk0w

    Hope that helps,

    Niall

  • A question about the methods and parameters.

    Hey guys, this is my first post here. I am very new to Java and done a bit of C++ before Java. I had a question about the methods and parameters. I do not understand the methods; I know they can be repeated when it is called, but it's almost everything. I also know that a program should have a class that contains the main method. What I really, really understand on methods is what the parameters are. I know they are in parentheses and that is it. Could you explain what they are? I really appreciate it. Thanks to all in advance. Best regards, Michael

    Taking an example:
    Suppose you calculate area of the rectangle you need two inputs one is the length and the width. Area = l X b, where l = length, b = width

    If your method, say, calculateAreaOfRectangle (length int, int width) will be two parameters as arguments.

    System.out.println ("field of rectangle:" + calculateAreaOfRectangle (40,30);)

    public int calculateAreaOfRectangle (int length, int width) {}
    int area;
    Area = length * width;
    return of area;
    }

    So if you call this method then the output will be returned in 120.

    Parameters of a method are simply the input variables for the method of treatment for all calculations or something useful.

    And we cannot have methods inside the main method in Java. It is in the java syntax and if you do, it will throw a syntax error.

  • A few Questions about the advanced Actions window

    Hello

    I have a few questions about the progress of the Actions (using the version of track CP7)

    1. What is the function of the action to "continue?"   Out of the peak action and advance the playback cursor?

    2. What does mean this comment "Nested calls to action advanced is a nice improvement."? Is the advanced decision at the top of a page of action tabs?

    3. What is the function of the option "custom" in the IF statement - "preform action if - custom", it doesn't seem to do anything for me?

    4. where can I get information about the timeline / playhead interaction with advanced actions, i.e. where the playhead is going again at the beginning of the slide. slide custom question - display button, e.g. verification of responses, comments - when all the objects are at the beginning of the timeline. I'm looking more for the read head of infromation functionality rather than how to implement this type of question.

    Thank you

    Donal.

    Continue: If an advanced standard action is triggered by a button, this will not trigger the playback head. If you want out, you can use continues. Continue can also be a choice in a conditional action, when one orders branching has nothing to special, but in advance. Continuous is also the "dummy" statement/command (this is the official name of a line in the dialog box advanced actions) If a statement has become unusable due to some reasons, it will be replaced by continue

    There is no nested call stocks advanced possible right now, one of my many feature requests. It would be sort of a subroutine that you can use over and over again, instead of having to create each time when necessary.

    A decision is one of the conditions to be an advanced conditional action. They allow to create more complex actions, as a loop or arrays are not possible. All decisions are executed in sequence and always.

    Custom: is a combination of or but it is rather limited, because you cannot use parentheses.

    I guess you'd better visit my blog if you want to learn more about the advanced actions.

    http://blog.lilybiri.com/

    I also did several Webinars on stocks advanced, last this afternoon (on the sharing of the actions) for Adobe. They are all available on request.

    Lilybiri

  • A few questions about the use of data and Cliq

    I have the cliq, however I chose to not get 3G (so I bought full fare). So I have a few questions about the phone and the use of 3G / 2 G/Edge:

    1 - is possible to disable completely the 2G / 3 G/Edge? I know you can switch between them, but are anyway just tell the phone to stop using them altogether since I'm not subbed to the service?

    2. when the update takes place, I guess we'll have to reconnect motoblur and etc, but if I don't have 3 G will I have motoblur connection problems after the update? Or he keeps the latest wifi settings so that it would connect to wifi to connect. When I first got my phone it was not a problem b/c I had 3G for the first month.

    I hope that makes sense, thanks!

    To stop all the data, I would like to download an application called APNDroid. He cut them all down. When you log on to blur you have 3G or WIFI doe this without getting a timeout error. During the process of setting up your Blur account, you can press the menu button and set up your wifi to work, this will connect you to Blur and your phone will be connected to the blur. If I were you I would be rethinking to do a data plan since you are really losing out on most of your main features of phones. It's your choice, however.

  • Person to contact with questions about the presentation of the app world

    If I have a question about the app that I submitted, anyone knows how do I contact someone about this? I can't find anything on the site and respond to notification emails gets me nowhere.

    Hey miss breeder,.

    that will be tough. If you browse the App World his hell out there because of the new development forums and people have a lot of problems with it. I've read people were emailing RIM all week and no responses were received. But if you post a question here MShom (one of the moderators) usually responds in a timely. The support email is [email protected] I believe. Good luck!

  • Question about the differences in commands

    Hey guys -.

    I just had a few questions about the differences between orders that seem to perform the same function.  Can you let me know if an order is more preferable to the other and what the difference is.  I would really appreciate it as it I currently practice some INE laboratories and I see that orders change from lab to lab.  Thanks advance!

    1. When you write a static NAT for specific host 1 - is - this important if I understand the 32 subnet?

    EX: static (inside, outside) 1.1.1.1, 2.2.2.2 VS static (inside, outside) 1.1.1.1 2.2.2.2 netmask 255.255.255.255

    2. when I'm setting up a router as a CA server and it is necessary to "export" the key, whatever my method of exporting the key?  If so, in which method call for which solution?

    EX: key export cryptographic rsa ciscox pem URL nvram: cisco VS. exporting key 3des cryptographic ciscox pem 3des rsa terminal cisco

    3. If I have to mark a packet with a DSCP of X value, matter if I use the 'set dscp' VS 'set ip dscp?  If so, what is the difference?

    FXY

    Policy-map X

    class X

    the dscp X value

    VS

    Policy-map X

    class X

    X ip dscp value

    I guess pertaining to 2, if i was speaking in terms of from a cisco router to another cisco router - would terminal be acceptable?

    Yes, the "Import cryptographic key" command can take a url and also from the terminal entrance. In this terminal case wil is much easier.

    --
    Don't stop once you have upgraded your network! Improve the world by lending money to low-income workers:
    http://www.Kiva.org/invitedBy/karsteni

  • Questions about the terms and conditions

    Dear team of Adobe Stock,

    I am considering a subscription for an e-commerce site that I am developing. I have a few questions about the terms and conditions:

    3.5 social media use. You can view or download an unmodified version of the book on the Social media Site if (A) you include a notice of copyright in the work itself (© author name - stock.adobe.com) and (B) the terms of use governing the Social media Site do not include any provision that would grant exclusive rights or the ownership of those works or alterations to anyone. "Social Media Site" means a website or application that puts the main emphasis on facilitating social interaction between its users and allowing users to share content in such social interaction

    What I have to insert in each post on social media on behalf of the author? Generally, this information is displayed only for free images. What I have to insert this information even if I signed up for a plan?

    Thank you

    Hello

    Please see the link below for help:

    http://wwwimages.Adobe.com/content/dam/ACOM/en/legal/servicetou/Adobe-stock-additional-ter ms_20160119.pdf

  • Questions about the implementation of clusters of storage and DTS on active cluster

    I have a few questions about the implementation of clusters of data store and SRS storage in VSphere 5.1.

    We have a data center with about 15 HP blades and a few servers non-lame.  The hosts are all either VSphere 5.0 or 5.1.  Our back-end storage is an EMC VNX 5700 with about 20 stores of data.  All the VMWare is managed by VCenter 5.1 running on a dedicated physical machine.

    Currently, each data store is used individually; No piles of data store are put in place.  When a new virtual machine is created, the administrator usually chooses the data with the most space store.  Periodically, we will go back and manually storage vMotion machines to balance the load.

    Recently, we have expanded the VNX storage, so we now have LUNS in different pools, with different levels of performance.

    What I would do is set up for the data store clusters, so that us when a virtual machine is created, the administrator must not know what data store is in which pool.  Also take advantage of the DRS storage so that the burden of storage will be "refine" himself a little.

    I know the setting up of a cluster of storage in a 'clean' environment is quite simple, but my concern is creation/conversion data warehouses existing in active production in the cluster, while they are used.

    If I access the screen "data warehouses and store data from clusters ', right-click on the data center and create a cluster, and then move the various data stores in the new cluster, will there be an interruption in the production running systems?

    I also wonder about activation of storage i/o control.  It is not currently enabled on data warehouses.  I know it's useful for the StorageDRS, but will be allowing any negative impact on the system?  If I turn on the warehouses of data, is there anything else I should do or set in addition to all that allows him?

    Finally, we are in the process of Site Recovery Manager configuration.  SRS has an impact on the configuration of the data clusters and DTS store?

    Thanks in advance for your comments.

    Mike O.

    Gregg Robertson wrote:

    Hello

    Clusters of data and using DTS store doesn't impact RS even if you create a cluster of data store for storage of replicated data and another for everyone else, this way you machines virtual you want to replicate are not moved on warehouses of data that are not replicated , but will still have the ability to move if there is a conflict.

    Gregg

    With all due respect but SRM and DTS don't go together. SRM does not at all support the use of DTS. So if you are configuring SRM forget DTS for now.

    Reason for this is that SRM knows no DTS and VMs can be in flight when a failover should occur, and bad things can happen. Also, the protection breaks when a virtual computer is moved between data warehouses in a cluster data store.

    In short: don't go there.

Maybe you are looking for

  • How can I make the LHS list and Inbox of the larger text?

    The homepage of Tbird - list of e-mail accounts on the top RHS LHS and Inbox, are too small, so I want to enlarge I particularly read the headers of each email. I tried to download Mozilla various Add ons I've read can solve this problem, but my Mac

  • HP ENVY 4520: Ink HP instant ready

    I just bought a HP Envy 4520 with HP Instant ink ready plan for 2.99 (50 pages per month). It came with one month free and a free 3 month trial. If I understand correctly, during the free trial period, I can print up to 300 pages per month at no addi

  • Windows brandmauer problem__

    I have the problem on Windows Brandmauer system. This does not allow to work somewhere. He is unable to inactivate. How I dissolve it?

  • E4200 v1, DMZ and PS3 game system

    I had a question regarding the use of the DMZ on the router for use with the Playstation 3 game system.  More like a probe for your reactions.  The pro, con and all the rest.  Last week (I think), I posted about problems streaming movies and TV shows

  • Lack of volume control and Greyed out in the taskbar properties

    Until recently (past two months) it was never a problem.  When I bought this computer there nearly two years, I created my taskbar which included my volume control.  He has been there since then.  I have Vista, Service Pack 2. I have not changed hard