Synchronizing a single function

If I have a single function which needs only to be threadsafe with itself, would it be more runtime efficient for me to make the function "synchronized" or for me to implement my own semaphore spinlock? Or would it be the same?

My guess is that using the features built into the language would normally be more "runtime efficient" than writing your own code. And you do realize you are asking us to compare to something that hasn't been written yet by somebody whose coding skills we have no way to evaluate, don't you?
If it were important for me to know the answer to that question about my environment I would set up a test in my environment and see what happened.

Similar Messages

  • How to load 2 xml galleries in single function loop.

    how to load 2 xml galleries in single function loop.
    my function is--------
    var myGalleryXML = new XML();
    myGalleryXML.ignoreWhite = true;
    myGalleryXML.load("gallery.xml");
    function callThumbs()
        _root.createEmptyMovieClip("wall",_root.getNextHighestDepth());
        wall._x = _root.gallery_x;
        wall._y = _root.gallery_y;
        wall.addEventListener(MouseEvent.CLICK);
        var clipLoader = new MovieClipLoader();
        var preloader = new Object();
        clipLoader.addListener(preloader);
            for (i =0; i <6; i++)
            thumbURL = myImages[i].attributes.thumb_url;
            myThumb_mc = wall.createEmptyMovieClip(i, wall.getNextHighestDepth());
            myThumb_mc._x = _root.thumb_height * i;
            myThumb_mc._x = _root.thumb_position = -3100 + (i-j) * 765;
       clipLoader.loadClip("shop/" + thumbURL,myThumb_mc);  // i want to load this  by xml gallery "gallery1.xml"
    preloader.onLoadStart = function(target)
                target.createTextField("my_txt",target.getNextHighestDepth(),0,0,10,10);
                target.my_txt.selectable = false;
            preloader.onLoadProgress = function(target, loadedBytes, totalBytes)
                target.my_txt.text = Math.floor((loadedBytes / totalBytes) * 100);
            preloader.onLoadComplete = function(target)
                new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
                target.my_txt.removeTextField();
                target.onRelease = function()
                    callFullImage(this._name);
                target.onRollOver = function()
                    this._alpha = 100;
                target.onRollOut = function()
                    this._alpha = 100;
        for (i = 0; i < 6; i++)
            thumbURL = myImages[i].attributes.thumb_url;
            myThumb_mc = wall.createEmptyMovieClip(i, wall.getNextHighestDepth());
            myThumb_mc._x = _root.thumb_height * i;
            myThumb_mc._x = _root.thumb_position = -7210 + (i-j) * 765;
            myThumb_mc._y = _root.thumb_position = 180;
            clipLoader.loadClip("banner/" + thumbURL,myThumb_mc);  // i want to load this  by xml gallery "gallery2.xml"
            preloader.onLoadStart = function(target)
                target.createTextField("my_txt",target.getNextHighestDepth(),0,0,10,10);
                target.my_txt.selectable = false;
            preloader.onLoadProgress = function(target, loadedBytes, totalBytes)
                target.my_txt.text = Math.floor((loadedBytes / totalBytes) * 100);
            preloader.onLoadComplete = function(target)
                new Tween(target, "_alpha", Strong.easeOut, 0, 100, .5, true);
                target.my_txt.removeTextField();
                target.onRelease = function()
                    callFullImage(this._name);
                target.onRollOver = function()
                    this._alpha = 100;
                target.onRollOut = function()
                    this._alpha = 100;

    combine the two xml files into one if you want to create one gallery.
    if you want two different galleries that display at different times, remove the movieclip wall after you're done with gallery1 and execute myGalleryXML.load("gallery2.xml");

  • Single Function module to create inbound and outbound delivery

    Dear Frens,
       I would like to know how VL10A is creating a deliverty document in background mode.
       otherwise can anyone help me with a single function module or BAPI or BADI which creates both
       inbound and outbound delivery.
    Regards
    Priya

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • Is there a way to combine their query results into a single function

    say I have a bunch of functions that return a query:
    <cffunction name="getDeals" access="remote"
    returntype="query">
    <cffunction name="getDeals2" access="remote"
    returntype="query">
    is there a way to combine their query results into a single
    function that returns a struct of the various results?

    Umm, it's probably more suited to an array - effectively
    making it into a list of queries. You'd then loop the array and
    output each.
    I use a similar approach when creating system messages to the
    user. Most of my functions that are called do their bit, then at
    the end call another function I call "messages". This function
    grabs whatever my function sends and appends it to a messages
    array.
    This way enables me to output a long list of messages -
    because I could be calling several functions at the same time. If I
    just output a message from each function, each one would overwrite
    the other. So I'd get one message at a time.
    Immediately after it's output, I then destroy the message
    array so that old messages aren't kept inside of it.
    Mikey.

  • My machine has gone dead slow. I have to wait for minutes to perform every single function. Like it stopped typing four times during this question.

    My machine has gone dead slow. I have to wait for minutes to perform every single function. Like it stopped typing four times during this question.

    If this started happening without your having made any changes and without a warning of low disk space, then it's likely that the boot drive, or some other hardware component, is failing. Back up all data immediately, then run the Apple Hardware Test or Apple Diagnostics.
    Even if the test is negative, you should make a "Genius" appointment at an Apple Store to have the machine tested more thoroughly.

  • Two button with single function

    I want to create two buttons for single function and one button for one function. For example, I click button1, the screen will show "clicked1"
    If I clicked button2, the screen will show "clicked2". If I click button1 and then click button2, it will show "two button are clicked". However, it does not work in two button with single function. What is the problem? Here is the code.
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    var button1:MovieClip=new Button1();
    button1.x=200;
    button1.y=200;
    addChild(button1);
    var button2:MovieClip=new Button2();
    button2.x=300;
    button2.y=250;
    addChild(button2);
    button1.addEventListener(MouseEvent.CLICK, onClick);
    button2.addEventListener(MouseEvent.CLICK, onClick2);
    var isClicked:Boolean;
    var isClicked1:Boolean;
    function onClick(evt:MouseEvent):void{
              isClicked=true;
              trace("clicked1");
    function onClick2(evt:MouseEvent):void{
              isClicked1=true;
              trace("clicked2");
    if (isClicked&&isClicked1){
              trace("two buttons are clicked");

    It works but I want the screen only shows the "isClicked" only when I click button1. But now when I click button1, "isClicked" and "two buttons are clicked" show at the same time.
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    var button1:MovieClip=new Button1();
    button1.x=200;
    button1.y=200;
    addChild(button1);
    var button2:MovieClip=new Button2();
    button2.x=300;
    button2.y=250;
    addChild(button2);
    var isClicked:Boolean;
    var isClicked1:Boolean;
    button1.addEventListener(MouseEvent.CLICK, onClick);
    button2.addEventListener(MouseEvent.CLICK, onClick2);
    button1.addEventListener(MouseEvent.CLICK, onClick3);
    button2.addEventListener(MouseEvent.CLICK, onClick3);
    function onClick(evt:MouseEvent):void{
              isClicked=true;
              trace("clicked1");
    function onClick2(evt:MouseEvent):void{
              isClicked1=true;
              trace("clicked2");
    function onClick3(evt:MouseEvent):void{
              trace("two buttons are clicked");

  • Random error occur if a program including Non-regeration AO and Synchronous AO&AI function?

    Hi,
    Does you know Non-regeneration of data and synchronous AO&AI functions can be written in same VI or not?
    I did a program which needs Non-regeneration of Signal and Synchronous AO&AI functions.
    When I run this program, a error 200292 is random occured. Would you know how to solve it? Thanks very much.
    Attachments:
    unstable question.vi ‏144 KB

    Hello,
    "1. If no. of sample is -1, then I can't control how many points it capture. I cannot do the alignment between AO and AI data. For example, AO is 100kpts and AI is 90~120kpts."
    Even though you are displaying 90 - 120 kpts per iteration of your while loop, the AI and AO is still synchronized. The reason you are seeing a difference in the number of points written and read in each loop is because the DAQmx Read.vi immediately reads whatever data is in the buffer. Then the DAQmx Write.vi writes 1000 points. The DAQmx Write will hold the loop until all 1000 points are written. When the next DAQmx Read is called, it picks up the data that it missed in the previous iteration plus the new that data that was written.
    "2. If the "Sinewave generation" is run before AO write, the level or frequency AO signal cannot be changed during program running. However, I need it to be changed easy and effectively."
    To change the waveform parameters during execution, you just need to put another waveform generator inside the while loop. I have made this modification and attached the new VI. Keep in mind that with AO, the output frequency is dependent on the frequency control, sampling frequency of the generator, and update rate. Use this formula to calculate actual output signal frequency:
    Output Frequency = [Update Rate * Frequency] / Sampling Frequency
    Let me know if you have any further questions.
    Regards,
    Sean C.
    Attachments:
    Multi-Function-Synch AI-AO-Non-Regen_2.vi ‏190 KB

  • Single function printer for MacBook OS 10.6 ?

    I recently upgraded my Mac to OS 10.6 and find that there is no printer driver for the Lexmark Z615 printer I've been happily using. Can anyone suggest a good inexpensive single function printer that will run with my MacBook OS 10.6?  I  do not need bells and whistles, just the ability to print b&w and color.  Thanks!

    Hi Justin,
    Thanks so much for your comment! The printer driver for this printer and OS 10.6 doesn't exist yet; I've checked with Lexmark on that.  I'm really just looking for a printer - don't do photos, don't need a scanner, fax, etc and the printer needs to have a very small footprint as I don't have much space on my desk.  I'll keep looking and will check out HP at your suggestion.

  • Multiple values from a single function to be used SQL

    I have some pl/sql code that calculates multiple values in the same procedure (multiple out parameters).
    Now I want to use these separate values in an SQL select.
    One way to do it, is creating functions for each separate value.
    Performance wise, I don't want to do so.
    I created an object type with 9 number values.
    A function returns the object type and I select it in a subquery.
    The outer query then selects 3 different values from the object in the subquery.
    Unfortunately, a query with 3 rows still results in the function being called 9 times (3 row x 3 values).
    Is there a way to force the object function being called just once per row ?
    Or is there an alternative way?
    I've tried pipelined functions but then I have trouble with the input values for the function that should be taken from another select.
    result will be a view with a key value and the calculated values
    SELECT key_value, calculated_value1, calculated_value2, calculated_value3
    FROM SOME_TABLE

    DROP TABLE TBL
    CREATE TABLE TBL(
    ID NUMBER(10),
    CODE VARCHAR2(20),
    PARENT NUMBER(10)
    INSERT INTO TBL VALUES(1,'A',1);
    INSERT INTO TBL VALUES(2,'B',1);
    INSERT INTO TBL VALUES(3,'C',1);
    INSERT INTO TBL VALUES(4,'D',2);
    INSERT INTO TBL VALUES(5,'E',2);
    INSERT INTO TBL VALUES(6,'F',2);
    CREATE OR REPLACE PACKAGE pck_test IS
    TYPE t_rec IS RECORD(
    value1 NUMBER,
    value2 NUMBER,
    value3 NUMBER);
    TYPE t_tab IS TABLE OF pck_test.t_rec;
    FUNCTION calculate(i_id NUMBER) RETURN pck_test.t_tab
    PIPELINED;
    END pck_test;
    CREATE OR REPLACE PACKAGE BODY pck_test IS
    FUNCTION calculate(i_id NUMBER) RETURN pck_test.t_tab
    PIPELINED IS
    v_return t_rec;
    BEGIN
    v_return.value1 := 1 * i_id;
    v_return.value2 := 2 * i_id;
    v_return.value3 := 3 * i_id;
    PIPE ROW(v_return);
    RETURN;
    END;
    END pck_test;
    now I can use the pipelined function:
    SELECT 1 id, x.value1, x.value2, x.value3
    FROM TABLE(pck_test.calculate(1)) x
    id is hard-coded in this select with value 1
    I want to use TBL.id as the argument for the calculate function.
    I don't know how. I tried this...
    SELECT parent, ID, multi_values.value1, multi_values.value2, multi_values.value3
    FROM (
    SELECT ID, TABLE(pck_test.calculate(ID)) multi_values
    FROM TBL)
    Then the SELECT will be stored as a view.
    In an application, the view will be queried:
    select value1, value2, value3
    from view
    where parent = :parameter

  • Sharing (synchronizing) a single iTunes library over multiple computers

    Okay, i've been looking all over for a simple answer to this problem for a while and haven't found a solution that doesn't involve paying for third-party software or a lot of seemingly unnecessary hassle. Here's my situation:
    I have an older 12" PowerBook G4 and a brand new MacBook Pro. I also have a Time Capsule and a 30 gig iPod, but i'm not sure whether they will be helpful or not for my situation. When i got my MacBook Pro, i let Leopard transfer all my info, so now both computers have the same login information, music library, iPhoto library, etc... But not for long, naturally. I want to use my MBP at home primarily and will spend most of my time on it, but i will also frequently be out and will be taking my PowerBook along as it is both more portable and less of a concern if something happens to it. What i want to do is to set things up so that my iTunes library (including playlists, ratings, and other metadata) is kept synchronized across both computers (perhaps via the Time Capsule?) and that any changes made on either mac will at least eventually be mirrored on the other without causing duplicates or loss of any files. I don't need to keep separate versions or sizes of iTunes libraries either; the hard drives are each large enough to hold the entire thing.
    On a side note, the iPod only needs to be able to sync from the MBP, i think, though it would be nice to have the option to sync from either. Sadly, it’s not large enough to hold the whole library, so i can’t use that to go back and forth or anything.
    Also, i wouldn’t mind if the library were only stored on the TC and the PB, since the MBP should be able to access the TC 99% of the time, but in that case the PB would have to compare its own library and metadata to that of the TC, while i’m not sure how the MBP would store its iTunes database on the TC and not its own drive. I imagine that, with the current implementation of iTunes at least, it would have to be all on the MBP and the PB, with the TC version merely a backup. In most cases, i should be able to reach both my TC and my MBP from the road over the internet, but i still want to have the library on the PB hard drive for when i don’t have a connection.
    I wouldn’t mind a “master, slave” type setup either, with the MBP being the master, since with the only working optical drive and a faster connection, it will be doing most of my importing- but it’s important that the playlists and everything are the same and it sure would be nice if i didn’t have to remember not to make any changes from the PB. I don't plan on buying any music from the iTunes store and my entire library is DRM free, so that won't be a problem. Both systems are running the latest versions of all software and operating system (though i hear this may change with Snow Leopard...?)
    And while we’re at it, doing the same or similar to my iPhoto, iCal, Addressbook, Documents, etc. would be nice. Perhaps something can be done with the entire Home folder that would accomplish all of this? I’m not sure if the fact that one is Intel and the other is PowerPC would put a hitch in that method though. There are some settings, such as the totally different trackpads, etc. that will not be the same, plus i’ll be using a lot of programs solely on the MBP, which is why cloning the drive is not an option.
    I’d like to find a way to set this up using just Automator and maybe some Applescripts if possible, but if i do have to bend and go third-party, it would need to be solid.
    I know my situation is unique (I’ve found a lot of people trying to synchronize libraries, say, with a spouse, etc. WITHOUT syncing the metadata- or people wanting different libraries on different computers to feed into the same pool, but those are very different cases, obviously) but i’m sure there are plenty of people out there with several different macs of their own who could benefit from this solution. Any help you can give towards this would be appreciated. Thanks!

    I have a similar problem. Wish I had an answer but am struggling with a similar problem. My situation is this: I have a Imac and a Macbook Pro. I have the same 4 accounts on both and I sync them through '.mac'. It works fairly well. My goal is to get one Itunes library accessible from the 2 computers and the 4 accounts per computer. I am also using Time Capsule/Machine as well. I currently keep the Itunes library on an external drive (not TCapsule). So, my problem is this:
    1. How to update from multiple accounts accross the two machines?
    2. How to access Itunes store from all of the accounts on machine 2?
    I am now trying to set up individual Itunes libraries for each account on machine 1 and share to machine 2.
    In any case, this is not pretty and needs to be reachitected to support a multiple user environmet.

  • Report on users having a single function

    Hi,
    I would like to know what is the best practice to get an analysis on all users having a function (not a SoD)?  Do I need to create a risk type 'critical action' for each function ?
    Thanks
    Bill

    Correct. You could define a Critical risk.
    Claudio

  • Overriding a single function in sidekick.js?

    I made a change to the function called when the "Activate" button is clicked in the CQ 5.4 sidekick.
    The function is "getPublishConfig" in sidekick.js.
    It works fine when I clone the entire sidekick.js file to [1], and then modify the existing method.
    However, I would like to be able to override the getPublishConfig function code only, instead of the entire siteadmin.js, to help control the impact on future CQ upgrades.
    I have tried these approaches below, but without luck.  If you have any other direction that perhaps I should look at, I would appreciate the tip.
    Thanks!
    Sara
    Approach 1: I tried the clientlibs approach, but the new code was not being picked up- it was the OOB code that was being executed.   I am pretty sure the clientlibs was set up correctly, because this approach did work for overriding the SiteAdmin.Actions.js functions.  The custom js file contained code like [2].
    Approach 2: I also tried to modify init.jsp in the template folder as shown in [3].  This worked in the simple activation cases.  However, when there are assets on the page that also need activating, and the Asset Reference Dialog is shown, then the AssetReferenceSearchDialog.js [4] script fails with an error because dlg.path.push is undefined.  I wonder if it is possible that this approach may have worked for simpler functions, but because of the level of indirection it does not work here?
    [1] /apps/cq/ui/widgets/source/widgets/wcm/Sidekick.js
    [2] CQ.wcm.Sidekick.getPublishConfig = function() { [snip--custom code]};
    [3] CQ.WCM.launchSidekick("<%= currentPage.getPath() %>", {
                propsDialog: "<%= dlgPath == null ? "" : dlgPath %>",
                locked: <%= currentPage.isLocked() %>,
                actions: act,
               getPublishConfig : function() {  [snip--custom code]};
    [4] /libs/cq/ui/widgets/source/widgets/wcm/AssetReferenceSearchDialog.js

    I think there is a syntax error in line
    document.write("<script type='text/javascript' src='/htmls/js/two.js'> <\/script>");
    end tag <\/script> is wrong.

  • Single function for multiple buttons

    Hi there
    My problem is that I am trying to use the following functions on 10 different logo movieclips. Each logo movieclip has a popup up box (another mc) within its timeline with a description in. When I hover over the logo movieclip i want it to call the forward frames function and on hover out call the rewindframes function.
    function forwardFrames() {
        onEnterFrame = function () {
            if (_currentframe != 15) {
                nextFrame();
            } else {
                stop();
                delete this["onEnterFrame"];
    function rewindFrames() {
        onEnterFrame = function () {
            if (_currentframe != 1) {
                prevFrame();
            } else {
                stop();
                delete this["onEnterFrame"];
    However i am trying to do all this on the main timeline and the only way i can think to make it currently work is if i do the following for every logo mc which, surely there is a better way:
    symbol_1.onRollOver = function() {
         symbol_1.onEnterFrame = function () {
              if (symbol_1._currentframe != 15) {
                        symbol_1.nextFrame();
              } else {
                   symbol_1.stop();
                   delete this["onEnterFrame"];
    symbol_1.onRollOut = function() {
         symbol_1.onEnterFrame = function () {
              if (symbol_1._currentframe != 1) {
                   symbol_1.prevFrame();
              } else {
                   symbol_1.stop();
                   delete this["onEnterFrame"];
    Any advise would be much appriciated, thankyou
    Daniel

    You should be able to use something like the following....
    symbol_1.onRollOver = symbol_2.onRollOver = playFwd;
    function playFwd() {
         this.onEnterFrame = function () {
              if (this._currentframe != 15) {
                        this.nextFrame();
              } else {
                   this.stop();
                   delete this.onEnterFrame;
    symbol_1.onRollOut = symbol_2.onRollOut = rewind;
    function rewind() {
         this.onEnterFrame = function () {
              if (this._currentframe != 1) {
                   this.prevFrame();
              } else {
                   this.stop();
                   delete this.onEnterFrame;

  • Regression analysis: is there a way to calculate a rolling standard error for regression coefficient by using a single function?

    Hello - let's assume I want to calculate a rolling R-squared, so I would have something like =RSQ(A1:A10;B1:B10). Now, I need to calculate a rolling standard deviation for the slope coefficient. I'm wondering if there is a function that does this? Otherwise
    I will need to manually calculate the variance of the regression errors, which is impractical with a large data series (i.e. many rolling figures if I want to use windows of 10 data points each time). 
    Thank you!

    Hi,
    Thank you for posting in the MSDN Forum.
    Since the issue is more related to the Formla feature of Excel, I'd like to move it to Excel IT pro forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Query Performance is low with single function

    Hi all,
    I neetd to calculate the net salary of around 2000 employees.i use function to get it from payrun tables
    i.e..
    CREATE OR REPLACE function xxri_total_net(p_date IN VARCHAR2,p_empno IN NUMBER)
    return number
    as
    v_earn number;
    v_ded number;
    begin
    select nvl(sum(result_value),0)
    into
    v_earn from xxgod_soe_test where employee_number=p_empno
    and base_classification_name='Earnings' and
    to_char(date_earned,'MON-YYYY')=p_date and base_name='Pay Value';
    select nvl(sum(result_value),0)
    into v_ded from xxgod_soe_test where employee_number=p_empno
    and base_classification_name like '%Deductions%' and
    to_char(date_earned,'MON-YYYY')=p_date and base_name='Pay Value';
    return v_earn-v_ded;
    end;
    It works fine with 10 sec as execution time,
    but when i add it to my reports query it goes slow..
    i m adding it as column,
    xri_total_net(TO_CHAR(pAaV.effective_date,'MON-YYYY'),papf.employee_number) Net_Salary,
    i even tried xri_total_net(TO_CHAR(:p_start_date,'MON-YYYY'),papf.employee_number) Net_Salary,
    Kindly help me out to reduce the execution time.
    Thanks,
    Techie.

    Okay, this is unfinished, as I do not know your data structure, and I have only filled in the earn in-line view, but I am trying to give you a starter for ten so you can finish it off on the same logic...
    Final caveat - without knowing the structure I do not know if you will always have results in the in-line views, you may have to re-arrange further if there are cases without earnings and deductions but you still want to see the results....
    SELECT xxri_total_net (:p_start_date, papf.employee_number) net_salary,
    papf.national_identifier groupcode, papf.full_name,
    paav.effective_date, haout.NAME costcentre, pg.NAME grade,
    pj.NAME designation, paaf.assignment_number employee_number,
    pop.org_payment_method_name
    FROM pay_run_results_v prrv,
    pay_assignment_actions paa,
    per_all_assignments_f paaf,
    per_all_people_f papf,
    hr_all_organization_units_tl haout,
    per_grades pg,
    per_jobs pj,
    pay_assignment_actions_v paav,
    pay_personal_payment_methods_f ppp,
    pay_element_types_f pet,
    pay_run_results prr,
    pay_org_payment_methods_f_tl pop,
    (select nvl(sum(gst.result_value),0) earn_total
    from xxgod_soe_test gst
    where gst.base_classification_name='Earnings'
    and     gst.date_earned >= --don't know your table structure for which date here - and if there is precise match on date then just use date = date
    and     gst.date_earned <  --don't know your table structure for which date here - and if there is precise match on date then just use date = date
    and    gst.empoyee_number = papf.employee_number
    and     gst.base_name='Pay Value'
    group by
            employee_number, trunc(date_earned)) earn,
    () deduction
    WHERE --prrv.assignment_action_id = 49449 and
    ppp.assignment_id(+) = paa.assignment_id
    AND pop.org_payment_method_id(+) = ppp.org_payment_method_id
    AND papf.employee_id = deduction.employee_number(+)  --if this is not possible you may have to rearrange further - I don't know your table structure
    AND paa.assignment_action_id = prrv.assignment_action_id
    AND paaf.assignment_id = paa.assignment_id
    AND haout.organization_id = paaf.organization_id
    AND papf.employee_number = paaf.assignment_number
    AND prrv.run_result_id = prr.run_result_id
    AND prr.element_type_id = pet.element_type_id
    AND prrv.classification_name NOT LIKE 'Info%'
    -- and prrv.element_name not like 'Gross Salary%'
    -- and prrv.element_name not like 'Annual%'
    AND pj.job_id(+) = paaf.job_id
    AND haout.NAME = NVL (:p_dept, haout.NAME)
    AND paav.assignment_id = paaf.assignment_id
    AND paav.assignment_action_id = paa.assignment_action_id
    --and papf.national_identifier = 03917
    AND paav.effective_date >= TO_DATE ('01-' || :p_start_date,
    'DD-MON-YYYY')
    AND paav.effective_date <=
    LAST_DAY (TO_DATE ('01-' || :p_start_date, 'DD-MON-YYYY'))
    -- and paav.DATE_EARNED=to_char(:p_date,'DD-MON-YYYY')
    AND pg.grade_id(+) = paaf.grade_id
    GROUP BY papf.national_identifier,
    papf.full_name,
    paav.effective_date,
    haout.NAME,
    pg.NAME,
    pj.NAME,
    paaf.assignment_number,
    pop.org_payment_method_name,
    papf.employee_number

Maybe you are looking for

  • HR - PA upgrade issue (4.6C to ECC6.0)

    dear all, we are currently in the process of upgrade from 4.6C to ECC6.0 and we found this minor issue in the submodule PA: using tcode pa20/pa30 we can not see any record of IT0000 Actions using 'overview' but the all the detail actions can be displ

  • Blending modes in Keynote

    Is there anyway to use blending modes (Specifically screen) in Keynote? Or otherwise is there some way I can xport the image from another program which keeps it's screen nature?

  • Bid Invitation attachments

    Hi Guru's In SRM 5.0 we are sending the smartform output of bid invitation as attachment to vendors. Please let me know how the output is picked up in the Mail body as attachment. I want to restrict it. Please suggest... Soumik

  • PDP Authentication Failure

    My partner and I both have an iPhone 5s on the Three network in the UK Both phones are on iOS 8.03 We are currently in portugal and because Three do not currently allow minutes from the UK to be used in Portugal. We both bought the europass data to u

  • Connect to internet - error updating to 4.2

    Hey there! For some reason itunes/my iphone 4 won't update my software to 4.2.1 or 4.2 (not sure which is the latest update) It gives the following message. Despite the fact i AM connect. is there any possible way to by pass this? or fix this?