Works with many setting of output

Dears

I want to choose an output function spisfied parameter
Get_Net_Accrual
(P_Assignment_ID NUMBER
P_Plan_ID number
P_Payroll_ID number
P_Business_Group_ID number
Default of P_Assignment_Action_ID number -1
P_Calculation_Date AS
P_Accrual_Start_Date IN Date default null
Default of P_Accrual_Latest_Balance number null
, P_Calling_Point IN Varchar2 default 'FRM '.
, P_Start_Date DATE NOCOPY
, P_End_Date DATE NOCOPY
, P_Accrual_End_Date DATE NOCOPY
P_Accrual certain number NOCOPY
P_Net_Entitlement NOCOPY NUMBER);


I need to select that one parameter to be out put as

Select apps.per_utility_functions.get_net_accrual (13222
61
81
-1
, to_date (December 1, 2012 ',' MON-DD-YYYY "")
(61) as the double net;

This select statement get P_Net_Entitlement parameter but I need to get P_Accrual as output

any idea?

Anyway, in SQL create object and array types:

CREATE OR REPLACE
  TYPE Net_Accrual_Obj_Type
    AS OBJECT(
              Start_Date DATE,
              End_Date DATE,
              Accrual_End_Date DATE,
              Accrual NUMBER,
              Net_Entitlement NUMBER
             )
/
CREATE OR REPLACE
  TYPE Net_Accrual_Tbl_Type
    AS TABLE OF Net_Accrual_Obj_Type
/

Now create a wrapper function:

CREATE OR REPLACE
  FUNCTION Get_Net_Accrual_Func(
                                P_Assignment_ID IN NUMBER,
                                P_Plan_ID IN NUMBER,
                                P_Payroll_ID IN NUMBER,
                                P_Business_Group_ID IN NUMBER,
                                P_Assignment_Action_ID IN NUMBER DEFAULT -1,
                                P_Calculation_Date IN DATE,
                                P_Accrual_Start_Date IN DATE,
                                P_Accrual_Latest_Balance IN NUMBER,
                                P_Calling_Point IN VARCHAR2 DEFAULT 'FRM',
                                P_Start_Date IN DATE,
                                P_End_Date IN DATE,
                                P_Accrual_End_Date IN DATE,
                                P_Accrual IN NUMBER,
                                P_Net_Entitlement IN NUMBER
                               )
    RETURN Net_Accrual_Tbl_Type
    PIPELINED
    IS
        v_Net_Accrual_Obj Net_Accrual_Obj_Type := Net_Accrual_Obj_Type(
                                                                       P_Start_Date,P_End_Date,
                                                                       P_Accrual_End_Date,
                                                                       P_Accrual,
                                                                       P_Net_Entitlement
                                                                      );
    BEGIN
        Get_Net_Accrual_Func(
                             P_Assignment_ID,
                             P_Plan_ID,
                             P_Payroll_ID,
                             P_Business_Group_ID,
                             P_Assignment_Action_ID,
                             P_Calculation_Date,
                             P_Accrual_Start_Date,
                             P_Accrual_Latest_Balance,
                             P_Calling_Point,
                             P_Start_Date,
                             P_End_Date,
                             P_Accrual_End_Date,
                             P_Accrual,
                             P_Net_Entitlement
                            );
        PIPE ROW(v_Net_Accrual_Obj);
END;
/

Now you can call it in SQL:

SELECT  *
  FROM  TABLE(Get_Net_Accrual_Func(specify-parameters-here))
/

SY.

Tags: Database

Similar Questions

  • Firefox will not be connected or open. Mac OS 10.6.8. I worked with many tabs open when Firefox no longer works. Now, it does not connect. I uninstalled and downloaded several times.

    I worked with many open tabs and firefox crashed. Now it does not connect to internet at all.

    Create a new profile as a test to see if your profile is the source of the problems.

    See "basic troubleshooting: a new profile:

    There may be extensions and plugins installed by default in a new profile, so check that in "tools > Modules > Extensions & Plugins" in case there are still problems.

    If this new profile works then you can transfer files from the old profile to the new profile, but make sure not to copy corrupted files.

    See:

  • How to work with MANY clips when sewing together

    Hello I'm hoping someone can give me your comments or advice on how to do this successfully. I'm working on video projects where I have anywhere from 50-100 video clips to work with. Out of these clips I usually poking out 2 or 3 clips using "Prick the clamps Together" bring down the total number of items in half. Problem is every time I select a few clips and click Ingest, disappears from the window to ingest it. So I have to reopen the window Ingest and expect that all the clips to load every time I want to assemble another series of clips. It is very annoying to do this 20 - 50 times in a row. In addition it is difficult to remember what clips you've already ingested and which you do not have. I brought this up to Adobe several times and they said that they where working on the update to resolve these issues by having possibly Ingest window remain on home page, or a button of the render queue or something that shows what clips have already been ingested. But after waiting so long and the new CC 2015 to date have not addressed these issues, I thought that I would ask everyone if they have a strategy to work with that many clips and their sewing together? Any advice would be helpful, thanks!

    A possible workflow is to simply ingest ALL clips first. Then select the items to assemble, then slide the button new scripted. This will add them to a new scripted where you can then export this possibility as a new asset.  This will give you a visual way to assemble your assets.

    Changing the method by which we ingest / seams is a big effort. We have designs in progress to help improve this workflow, but nothing to share at the moment. We are working on it as quickly as possible. Thank you for your patience.

    Kind regards

    Michael

  • Why Microsoft Security essenctials does not work with the set of parameters

    Microsoft Security Essenctials going to run a full scan at a specific time, and still is not, why?

    Is your computer in mode 'sleep' when the scheduled scan?  If so, that would be the reason the scan works.  There is a discussion about this and some methods to deal with: http://answers.microsoft.com/en-us/protect/forum/mse-protect_scanning/hibernating-laptop-and-scheduled-scan-not-starting/a848b902-dd6c-45ce-a472-c90ce400ec84

    There are a large number of other MSE sleep related discussions to the next search: http://answers.microsoft.com/en-us/Search/Search?SearchTerm=security+essentials+sleep&CurrentScope.ForumName=Protect&CurrentScope.Filter=&askingquestion=false

  • SELECT with many setting set SQLite (> 200)

    Hello

    I have an exception when I run a simple SELECT with 220 parameters:

    Statement st = mSQLiteDatabase.createStatement ("SELECT name, UserId FROM myTable WHERE UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? OR UserId =? ») ;

    If I execute the same statement with 10 settings for example, there were no problems!

    Is this another limitation of implementation of Blackberry?

    Thanks in advance.

    You can try this IN operator

    Statement st = mSQLiteDatabase.createStatement ("SELECT name, UserId FROM myTable WHERE UserId in (UserId, UserId, UserId, UserId,... UserId);")

    Note: This is not tested in the Sqlite database.

    But successfully performed in the other RDatabase.

    Thank you

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • What Linux Client "Just Works" with the merger?

    Hi all

    I would use a Linux Guest in Fusion, but I can't seem to find one that "just works."  Here are my questions:

    Ubuntu 8.10 - to get VMWare tools work properly, you need to install something called Open Virtual Machine tools and jump through hoops to get installed it.  Even after this, you have to run through another set of shell scripts to get the job of the iSight.  Even after all and she sound disconnects randomly when it is not disconnected, it sounds terrible or doesn't work with many applications (Skype, etc.)

    openSUSE 11.1 - integration of the mouse works by default which is nice, but once again the VMWare tools install not just without jumping through hoops to get the right packages, the iSight camera works of the box, but the sound does not work in many applications (Skype again and others.)

    Yes, is there a recommended linux distribution or a device that works?  I really don't want to spend the rest of my days of testing various installs.

    Where did you get this idea from? The tools provided with 2.0.1 work very well.

    See http://communities.vmware.com/message/1129103#1129103

    Note that this post is in the forum of the workstation. They ship a different version of tools, it is common for the merger to be a little more recent than the workstation or vice versa. You have no need open VM Tools or these instructions for Ubuntu 8.10 with Fusion 2.

    Even after this, you have to run through another set of shell scripts to get the job of the iSight.

    I never tried to use an iSight in a virtual machine of Ubuntu, but (lack of details), it sounds more like a problem between Ubuntu and your Mac (i.e. you would have same problems if you have installed Ubuntu natively).

    This may be true, but again, I question the wisdom of community find a distro that just works.  I hope that someone will say, hey, I use XYZ and it works fine.  No, "check the official list, oh and it may not always work, cause, we didn't test the devices that are built into your Mac."

    Of course, it's a reasonable question. I answer that Ubuntu 8.10 will work just for me. Our usage patterns seem to be different (and so I can't say if your tasks should work and something is strange or if it's a bug).

    Well, I'll try an 8.04 Ubuntu since it is on the official list.  If the sound does not work it in Skype (and we all know that it does on a native host) then I can get "official" support right?

    We are more likely (to) help with the problems that occur with the distributions with support than someone randomly.

  • 28 Firefox no longer works with Gmail and Google Search

    Using Firefox 28 and after a few minutes, that Gmail doesn't work anymore and Google search is just like his work for about 30 seconds and then does nothing. The problem that happened some time but seems to be worse again last week or both. I read the old thread on this topic and nothing seems to work. A solution has been found for this problem? I can't be restarted my browser every 3 minutes while he was working on a research paper!

    I use Firefox for many years, but I need my e-mail access and will use another browser if I have to.

    Well, clear cookies and cache again and again does not work.

    In addition, Firefox stops working with many sites now and I'm tired of this close every 3 minutes. So, this morning, my solution was to import my bookmarks in Google Chrome and it worked. After using Firefox for many, many years, I now have to use Google Chrome.

  • Diversity with many Clients

    Hello

    How diversity works with many Clients. When I understand the right to diversity. then the ap "tunrs on the antenna off" bc signal (mutlipathing) is on the other antenna 'better '. OK, but what does the ap do when there are about 50 clients or assositated for 500 guests at the ap, how diversity in this camouflage? is actually the same for every client access point? While he would have a lot to do =)

    Best regards, Bernhard

    It is not so much a question of "power off" an antenna.

    He is constantly in reception on both and the monitoring of the force and use only the strongest so it's an ongoing process at any time the receiver always has the signal the strongest possible it won't matter how many clients you have as one customer may transmit at a point in time (half duplex system) so at every moment in time the receiver will only receive a signal, the antenna that has the strongest signal

  • Work with several sequences-best practices

    Hello.

    I ve just started using Adobe Premiere CS6. My goal is to create a long movie, which is based on 30 hours of footage in raw gopro recorded on a recent trip of 2 hours.

    Now my question is, what is the best practice for working with many sequences/clips?

    You have a single file of heavy project, with all the clips?

    Or make you small chapters that contains number of sequences x/x minutes long and ultimately combine all these?

    Or how would you do it the best way, so its easier to work with?

    Thanks a lot for your help.

    Kind regards

    Lars

    I make a primary sequence in your project and then modify the individual scenes in the form of separate sequences, and then nest them in the primary sequence.

    That way, you would have a single file of project heavy with all the media files (raw video, music, etc.).

    I find it easier to work with. With the help of several project files would get too complex and fragmented throughout the of your computer.

    I work with a lot of video GoPro, so I wonder what your Setup looks like. What device you have, and how your computer/Premiere Pro is configured?

  • Create the database with a set of characters

    Hello

    I need to create a database with the character US8PC437 (platform Linux Redhat 5.4 64-bit, database version 11.2.0.3), but this character set do not appear when I create the database with the database assistant (DBCA).

    Any help will be apreciated.


    Best regards

    Antonio Serrano

    Published by: albrotar on March 6, 2012 09:14

    While AL32UTF8 is certainly recommended for the Oracle database character set, use only, if your application provider has confirmed that their application will work with a set of characters to multibyte database.

    To create a database US8PC437 (it is rarely a choice, in fact) with DBCA 11.2, select the "character sets" tab, once shown, then select the option 'Choose from the list of character sets' and uncheck 'Show recommended only character sets '. This will add US8PC437 to the "Database character set" drop-down list. Select "US8PC437" from the list and continue the process of creation.

    But first, contact your provider and ask a compatible Unicode version of your application.

    -Sergiusz

  • PE4 crashes when working with videos MP4

    Hello everyone - just got a new Samsung HMX20 camera - shoot in full HD and creates clips in MP4 format.  I did some tests on cam before shooting to about 111 clips today, for a total of about 30 minutes of video.

    The test worked great, looked CLEAR and fabulous.

    I started PE4 and captured all the clips very well.

    However, when I try to import more than about 10 clips in a new project of PE4, he takes (no warning or message) and goes to a blue screen, then restart my computer.

    System Specs: 1 month, HP Pavilion DV7, AMD Turion Dual Core 2.10 GHz 4.0 GB, 64-bit system, 184 GB free of 284.

    I have a backup drive I could use if necessary, but do not know if this can help - I thought it would be better to have everything on the C drive...  Although it is perhaps naïve of me.

    Any thoughts?  It is a client project, so any help would be GREATLY appreciated!  If you have any questions to help your understanding of the issue, feel free to ask.

    I used successfully the PE4 with my old Panasonic cam (not HD), and this question has never been so far, when you try to work with many clips.

    I'll also post this to movipix.

    Thank you!!

    It's probably MP4 video format that gives you the questions, it is a variant of H.264 (MPEG-4. STROKE) that is similar but not identical to AVCHD. Infact I'm surprised that you can work with clips in PE4. Full HD AVCHD support was introduced in PE7... PE4 supports HDV MPEG2 format. Infact Adobe had to do some work to "optimize" the memory management to get the AVCHD to work.

    What project preset are you using? And you plan to export high definition or standard definition? Your best bet would be to convert to DV - AVI clips, if you plan to export SD or HDV MPEG2 if you plan to export as HD.

  • I have been using the functionality of Firefox in which I could have multiple sets of tabs open, but only see the game I was working with. I have updated and now the functionality is Gone

    I have been using the functionality of Firefox in which I could have multiple sets of tabs open, but only see the game I was working with. I have updated and now the feature disappeared. I had a small icon on the top right of my toolbar. I used it all the time to keep windows separated for financial, plans to travel items, news, etc.. Has it been removed from Firefox?

    Hello

    The feature of tab groups is always present. You can try with the button right of the + after the last tab and Customize. If the icon is hidden behind the other, or if it is available inside the mini window customize, you can put it back. If the problem persists, you can also try of reset toolbars and controls: and start to make changes and restart in Safe Mode screen.

  • With Vista 64 Bit, my magnifying glass doesnot work on many wwbsites WHY?

    On a HP Pavilion Special Edition with Vista 64 Bit, my magnifying glass does not work on many wwbsites WHY is - this?

    Hello

    1. were you able to use the magnifying glass in these Web sites?

    2. you remember to make changes to the computer before this problem?

    You can try to create a new user account and check if the problem occurs:

    Create a user account

    Hope this information is useful.

  • How export a project consisting of 2 video tracks with many clips/effects and 1 stereo audio track so that the project can be worked into another compatible editing system?

    How do I export a project composed of 2 video tracks with many clips/effects more 1 stereo audio followed that project ACR is still worked in a


    compatible mounting system? Thank you!!

    When you export, you create a new video file that will have effects applied... in other words, a book finished

    Of course, this video 'complete' may be edited by someone else on another computer... but it SEEMS to me that what you want is for someone to take your editing, continue editing, THEN export a finished video

    Is this correct?

    If so, do some reading in the help file on the Manager project, so you can put your project and all files on an external drive to give to any other person

  • How many computers works with the creative cloud for teams?

    How many computers works with the creative cloud for teams?

    Please see the business FAQ: Help & Support Enterprise

    Guinot

Maybe you are looking for