Parameter CAP in UTPRI function

Hello Payroll Gurus!
Could anybody help me with the following problem:
In PP 11/2014, we have changed employee's infotypes 0207, 0208, 0209 from WA to CO starting from PP 09/2014.
As a result, the system re-calculated taxes for the employee (withholding and unemployment) but the withholding tax has been 'cut' by the function UTPRI and the remaining amount put in WT /N01 (tax not taken).
The question is: How can we set the parameter CAP of the function UTPRI to be 'uncapped'? Is there any table value to be changed to 'U'?
Or, is there another way to allow retroactive US taxes to be higher than the taxes withheld in the original period?
Please advice!

Hi Rahul,
Do you mean that if person changes work location, right?
If so then depending upon what tax authority you want to adjust you would need to use Tax override section for Work tax area, if person changes work location and you need to adjust for current date where new authority is active to adjust for old work location.
Same can be done for residence tax area if employee changes location of residence for adjustments.
Please let me know if you need any more details.
Thanks,
Ameet

Similar Messages

  • Passing parameter values to powershell function from batch file

    Hello ,
       I haven't used powershell for a while and getting back to using it. I have a function and I want to figure out how to pass the parameter values to the function through batch file.
    function Check-FileExists($datafile)
    write-host "InputFileName : $datafile"
    $datafileExists = Test-Path $datafile
    if ($datafileExists)
    return 0
    else
    return -100
    <#
    $datafile = "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_011.txt"
    $returncode = Check-FileExists -datafile $datafile
    Write-Host "ReturnCode : $returncode"
    $datafile = "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_01.txt"
    $returncode = Check-FileExists -datafile $datafile
    Write-Host "ReturnCode : $returncode"
    #>
    The above code seems to be work when I call it. But when I try to call that script and try to pass the parameter values, I am doing something wrong but can't figure out what.
    powershell.exe -command " &{"C:\Dev\eMetric\PreIDWork\PowerShell\BulkLoad_Functions.ps1" $returncode = Check-FileExists -datafile "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_01.txt"}"
    Write-Host "ReturnCode : $returncode"
    $file = "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_01.txt"
    powershell.exe -file "C:\Dev\eMetric\PreIDWork\PowerShell\BulkLoad_Functions.ps1" $returncode = Check-FileExists -datafile $datafile
    Somehow the I can't get the datafile parameter value being passed to the function. Your help would be much appreciated.
    I90Runner

    I am not sure about calling a function in a script like how you want to. Also I see you are setting the values of the parameters, this is not needed unless you want default values if nothing is passed. The values for the parameters will be passed via the
    batch file. So for me the easiest way is as indicated.
    param
    [string]$DataFile
    function Check-FileExists($datafile)
    write-host "InputFileName : $datafile"
    $datafileExists = Test-Path $datafile
    if ($datafileExists)
    return 0
    else
    return -100
    Write-Host "Return Code: $(Check-FileExists $DataFile)"
    Then you create a batch file that has
    start powershell.exe
    -ExecutionPolicy
    RemoteSigned -Command
    "& {<PathToScript>\MyScript.ps1 -DataFile 'C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile.txt'}"
    Double click the batch file, and it should open a powershell console, load your script and pass it the path specified, which then the script runs it and gives you your output
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

  • Question on the parameter type of DLL functions

    Question on the parameter type of DLL functions
    I am trying to develop an interface to control a laser with LV8.2  I am planing to use the VI “Call Library Function Node” to call the DLL and set the exact same parameters of functions in the DLL.
    According to the DLL manual of the laser, there are six functions.  One of the prototypes is:  function getstatuspointer : pointer. I don't know how to set this parameter for the function. Is there anyone who can give some hints? Thanks!
    BTW :The following is a description of the function:
    This function returns a 32 bit pointer to the STATUS data structure (Tstatusrec). In the 32 bit DLL, every application is using its own copy of the data structure (local
    memory). The data structure is a packed structure. "packed" means that the fields in the structure are not aligned on word or double-word boundaries.
    Tstatusrec = packed record
                            size : word;
                            initstat : byte;
                            queuefill : byte;
                            anzapp16 : word; (not used)
                            anzapp32 : word;
                            anzdock16 : word; (not used)
                            anzdock32 : word;
                            dll16ver : tchararray; (not used)
                            dll32ver : tchararray;
                            excimerver : tchararray;
                            excimer : TExcimerStatus;
                      end;

    Hi Jack,
    This is a good starting point when using Call Library Function node. Check out this Help Page
    Van L
    NI Applications Engineer

  • Report Builder Error: [BC30455] Argument not specified for parameter 'DateValue' of 'Public Function Day(DateValue As Date) As Integer'.

    Hi there!
    I'm trying to calculate the difference between two days using DATEDIFF (). I use following code for this:
    =DATEDIFF(DAY, CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    Every time I try to save the report, I get this error message:
    [BC30455] Argument not specified for parameter 'DateValue' of 'Public Function Day(DateValue As Date) As Integer'.
    The DataSource is a SharePoint List and the Date is given in the following format: 23.05.2014 00:00:00 (DD.MM.YYYY HH:MM:SS).
    I've googled for a working solution for a long time now, but I had no success.
    Is there someone who can help me?

    Hi Lucas,
    According to your description, you want to return the difference between two date. It seems that you want to get the days. Right?
    In Reporting Services, when we use DATEDIFF() function, we need to specify the data interval type, for days we can use "dd" or DateInterval.Day. So the expression should be like:
    =DATEDIFF(DateInterval.Day, CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    OR
    =DATEDIFF("dd", CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    Reference:
    Expression Examples (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Pass more parameter to the packaged function with REMAP_DATA in EXPDP

    1) can we pass more than one parameter to the packaged function specified in REMAP_DATA during DATA pump export?
    2) if yes to point#1 then, how can we pass rownum & some other columns value in the same record passed into the function?

    when all else fails, Read The Fine Manual
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_export.htm#sthref115

  • How to passed an xsl parameter to a javascript function inside an xsl styel

    Hi:
    I am having problem passing an xsl param variable as a parameter to a javascript function inside an
    xsl styelsheet.
    Here is my xsl stylesheet.
    >
    <xsl:param name="numberOfRecordsFromDatabase" select="search-result/rec-num" />
    <xsl:template name="Body">
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
    onLoad="cloneHeader();window.parent.shrinkIFrame(<xsl:value-of select='$numberOfRecordsFromDatabase'/>);"
    onresize="cloneHeaderResize();window.parent.shrinkIFrame(<xsl:value-of select='$numberOfRecordsFromDatabase'/>);">
    </body>
    </xsl:template>
    I am trying to pass a variable called numberOfRecordsFromDatabase to
    a javascript function called window.parent.shrinkIFrame(<xsl:value-of select='$numberOfRecordsFromDatabase'/>).
    Is this possible?
    If not, is there a way to do this.
    Any hint would be greatly appreciated.
    Yours,
    Frustrated.

    I would do it like this:
    Load the "search-result/rec-num" value into a field within an invisible div tag:
    <div id="miscproperties" style="visibility:hidden">
       <input id="numberOfRecs" type="text">
          <xsl:attribute name="value">
             <xsl:value-of select="search-result/rec-num"/>
          </xsl:attribute>
       </input>
    </div>Then, your js function can retrieve the value via
    var x = document.getElementById("numberOfRecs").valueR. Grimes

  • EMMA Log Error:  Incorrect parameter X_VSTELLE (X_EVBS) in function module

    Hi Experts,
    We have errors on our EMMA log for invoicing (EA29) of Incorrect parameter X_VSTELLE (X_EVBS) in function module ISU_ADDRESS_PROVIDE.  These errors are occuring on final invoices for customers that have been moved out of installations that are typically billed for the month ahead.  Since the periodic bills are for the month ahead, there are no dollars billed on the final.  It produces a Print Doc. number but says that Print Doc. does not contain any printed lines and will then display just the header.
    We need to get these off of our EMMA log as they just continue to build up.  Can we somehow do one of the following?
    Delete the entries off the Emma log?
    Print these "zero" bills?
    Suppress the Print Docs from being created?
    Thank you for any consideration you can give to this issue.
    Linda

    Linda:
    Generally speaking, the error message and process indicate that this is within your billprint custom logic, and maybe it is not anticipating the situation correctly.  First recommendation would be to debug one of them to find the problem and address it in the print logic.  If not then i am not sure what you want - billprint will still create these 'error' messages.  You can change your EMMA settings such that there is no case generated for them.  The messages would still be issued, but no cases would be created.  I would hesitate to implement that solution, since it would prevent legitimate errors from being captured and processed.  If you want to print them, then the underlying error needs to be resolved.  You could also suppress the printing of these bills using event R412 also - but you would need to know the situation up front.
    regards,
    bill.

  • Passing a parameter to a javascript function

    I have declared a <jsp:usebean> on my jsp to extract a flag from the request. I want to then pass this String as a parameter to a javascript function called on the body onload. What is the best way of doing this? The javascript function is embedded in the jsp - does this mean I can access the variable directly, without even passing it as a parameter? do I use the <%= > syntax to reference the String on the onload? Do I use the <bean:write> the extract the varible within he javascript. Any help appreciated....

    JSP runs first on the server, and generates the HTML page with javascript.
    The javascript then runs on the client - it can't call any more JSP code, without submitting a request.
    In this case, you will want to use JSP to generate the javascript code that you need to run as a string on the page. You should probably use the <%= %> or the <bean:write tag>
    eg
      <script>
      <!--
        function loadForm(){
          var userName = "<%= user.getName() %>";
          alert("Hello " + userName);
      //-->
      </script>Note again. The use.getName() function will run on the server and produce static html/javascript like this
    var userName = "evnafets";
    JSP CODE DOES NOT RUN ON THE CLIENT. You cannot use JSP code to react to button clicks on the form for instance.
    Hope this helps,
    evnafets

  • Exporting parameter "name" of the FUNCTION 'SDIXML_DATA_TO_DOM'?

    We've got one question for the Exporting parameter "name" of the FUNCTION 'SDIXML_DATA_TO_DOM' show below:
    CALL FUNCTION 'SDIXML_DATA_TO_DOM'
        EXPORTING
          name         = 'anything?'
          dataobject   = it_tab[]
        IMPORTING
          data_as_dom  = l_dom
        CHANGING
          document     = m_document
        EXCEPTIONS
          illegal_name = 1
          OTHERS       = 2.
    We've got two questions about this function:
    1. What is this function for?  Just convert a SAP internal table to a document content?
    2. What would be the value for the Exporting parameter "name"?  We can give it any string value? or it just has to be the internal table name?
    Thanks and we will give you reward points!

    hi check this..
    parameters: file type rlgrap-filename.
    types: begin of t_itab,
             vbeln type vbap-vbeln,
             posnr type vbap-posnr,
             matnr type vbap-matnr,
             matwa type vbap-matwa,
           end of t_itab.
    data: itab type standard table of t_itab with header line.
    start-of-selection.
      itab-vbeln = '0123456'.
      itab-posnr = '00010'.
      itab-matnr = 'Sreekanth'.
      itab-matwa = 'Gollamudi'.
      append itab.
      clear  itab.
      itab-vbeln = '067890'.
      itab-posnr = '00020'.
      itab-matnr = 'Sachin'.
      itab-matwa = 'Tendulkar'.
      append itab.
      clear  itab.
      itab-vbeln = '834580'.
      itab-posnr = '00010'.
      itab-matnr = 'Saurav'.
      itab-matwa = 'Ganguly'.
      append itab.
      clear  itab.
      perform output_xml.
    *&      Form  OUTPUT_XML
          Out put XML
    form output_xml .
      data: l_dom      type ref to if_ixml_element,
            m_document type ref to if_ixml_document,
            g_ixml     type ref to if_ixml,
            w_string   type xstring,
            w_size     type i,
            w_result   type i,
            w_line     type string,
            it_xml     type dcxmllines,
            s_xml      like line of it_xml,
            w_rc       like sy-subrc.
      data: xml type dcxmllines.
      data: rc type sy-subrc.
      data: begin of xml_tab occurs 0,
              d like line of xml,
            end of xml_tab.
      class cl_ixml definition load.
      g_ixml = cl_ixml=>create( ).
      check not g_ixml is initial.
      m_document = g_ixml->create_document( ).
      check not m_document is initial.
      write: / 'Converting DATA TO DOM 1:'.
    *-- Here we will transfer the actual internal table to XML document
      call function 'SDIXML_DATA_TO_DOM'
        exporting
          name         = 'SALES ORDER'
          dataobject   = itab[]
        importing
          data_as_dom  = l_dom
        changing
          document     = m_document
        exceptions
          illegal_name = 1
          others       = 2.
      if sy-subrc = 0.
        write 'Ok'.
      else.
        write: 'Err =',
        sy-subrc.
      endif.
      check not l_dom is initial.
      w_rc = m_document->append_child( new_child = l_dom ).
      if w_rc is initial.
        write 'Ok'.
      else.
        write: 'Err =',
        w_rc.
      endif.
      call function 'SDIXML_DOM_TO_XML'
        exporting
          document      = m_document
        importing
          xml_as_string = w_string
          size          = w_size
        tables
          xml_as_table  = it_xml
        exceptions
          no_document   = 1
          others        = 2.
      if sy-subrc = 0.
        write 'Ok'.
      else.
        write: 'Err =',
        sy-subrc.
      endif.
      loop at it_xml into xml_tab-d.
        append xml_tab.
      endloop.
      call function 'WS_DOWNLOAD'
        exporting
          bin_filesize = w_size
          filename     = file
          filetype     = 'BIN'
        tables
          data_tab     = xml_tab
        exceptions
          others       = 10.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
        with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    endform.                    " OUTPUT_XML
    regards,
    venkat.

  • Is there any way to send more then 1 parameter to the listener function?

    Hi guys, so is there any way to send more then 1 parameter to the listener function?

    Hi,
    sure.
    The first variant is to add many parameters to event.
    The second variant is to extend calling callback functions.
    For example,
    public function addCallBack(eventName:String, callBack:Function = null, ... rest):void
         // save callBack function and event type and other args (rest)
         addEventListener(eventName, myHandler);
    private function myHandler(event:Event):void
         // get function and args by eventName
         fnc.apply(null, [event, args]);

  • Caps lock on Functionality in oracle apex4.1 on login page

    How to implement Caps lock on Functionality in oracle apex4.1 on login page?
    Edited by: 975943 on Dec 10, 2012 3:23 AM

    Rohit,Thanks for prompt reply.
    I have created on Display item named 'P1_CAPSLOCK',which will be enable instead of showing alert using following code.
    <div class="ui-state-highlight ui-corner-all"> <table><tbody><tr><td> <span class="ui-icon ui-icon-alert"></span> </td><td> <p>Caps Lock is enabled.</p> </td></tr></tbody></table> </div>and have added following file in JS
    <link type="text/css" href="/i/libraries/jquery-ui/1.8/themes/cupertino/jquery-ui.css" rel="stylesheet">and have updated your code as,
    $x_Hide('P1_CAPSLOCK');
    $('#P1_PASSWORD').keypress(function(e)
       var s = String.fromCharCode( e.which );
        if ( s.toUpperCase() == s && s.toLowerCase() != s && !e.shiftKey ) {
            $x_Show('P1_CAPSLOCK');
    });now i wanna disable this display item same time when user off the caps lock key.Have sent you linkedin req.kindly accept.
    Edited by: OracleMiracle on Dec 11, 2012 5:18 AM

  • Parameter based on decode/function field - slow response

    Hi,
    When one of the parameters of a report is used, the report takes a very long time to run. The parameter has a LOV of statuses in Hebrew.
    The folder is a custom folder and the status in Hebrew is a decode field using a function. In other words, it first goes to a function to get the status, and then translates each status (I guess that the Hebrew will be strange but I hope that the general form of the decode is clear):
    DECODE( APPS.JAFI_DISCO_UTILS_PKG.JAFI_GET_INVOICE_STATUS(
    AI.INVOICE_ID,
    AI.INVOICE_AMOUNT,
    AI.PAYMENT_STATUS_FLAG,
    AI.INVOICE_TYPE_LOOKUP_CODE),
    'APPROVED','מאומת',
    'NEVER APPROVED','מעולם לא עבר אימות',
    'NEEDS REAPPROVAL','דורש אימות מחדש',
    'CANCELLED','מבוטל',
    'AVAILABLE','זמין',
    'UNAPPROVED','לא מאומת',
    'SELECTED FOR PAYMENT','נבחר לתשלום',
    'FULL','מיוחס במלואו',
    'UNPAID','לא שולם',' ')
    I am assuming that the reason for the slow response is the constant run of the function in addition to the decode (which I was once told also slows the response a bit).
    Is there anyway to change the sql somewhat? Without using the parameter the report takes about 2 1/2 minutes to run. Using the parameter it takes around 25 minutes to run.
    Thank you.
    Leah
    Edited by: user476771 on May 10, 2010 2:09 AM

    Hi Michael,
    I think your suggestion #3, checking the indexes, is an excellent start.
    As to the other suggestions, I believe that everything passed to the function is needed to find the status.
    We seem to have serious problems running materialized views. Our dba is actually checking it out now. One group of mv were changed a few months ago so that they are no longer needed (someone worked around it using other tables for the data). Another mv is problematic even though it takes 14 minutes to create in a tst environment (which I happen to do yesterday) and causes no problems afterwards, it is a problem when run in prod as part of a job. As I mentioned, our dba is checking it out.
    I hesitate to create a new table that is updated every night with the status of each invoice. It won't be up-to-date during the day, and it means changing the report that has otherwise run smoothly until now. The user avoids using the one parameter as much as possible so it's not THAT bad...
    I really appreciate your giving the four suggestions.
    Thank you so much.
    Leah

  • How do I use a FF column as the input parameter to an Oracle Function?

    ... and have the value  returned by the function be written to the target DS.
    I am opening a FF and grabbing an integer from a column.
    I want to map an output column in a temp table to be the returned value of a function call that uses the input column integer as the in parameter.
    Any Ideas? Seems like it should be easy, but everything I try, bombs.
    Thanks
    Mike
    Edited by: Mike Stockwell on Feb 26, 2009 10:15 PM

    what is the error that you are getting ?
    is the error happening during design time or when you run the job ?

  • Parameter Transaction Code for Function Group based Tcodes

    Hi,
    I have created a function group for a single screen 1000 having only 2 screen fields with input/output enabled, one of them being a flag field. Have also created a Transaction code to point to the screen 1000.
    My requirement is to create another Tcode(Parameter Transaction Code) with the previous created Tcode and pass default values to the screens flag element. I have entered the below :
    Name of the screen field
    Value
    FLAG
    X
    Still i am not able to get the value of FLAG as X when i debug the program. I am confused what mistake have i done. It will be helpful if someone can guide on this. I know its simple and i believe me i have tried all possible ways to check my mistake. Couldn't find any.
    Thanks and Regards,
    Vadid Valiulla

    Yes, Basically i am calling TCODE1 from TCODE2.
    I am using the same Function Group and yes a global variable is defined for the screen fields.
    I actually do not want to go by the Parameter ID method. But still i can use it if that is easier. Currently there is no Parameter ID for the screen field as i wanted the Tcode2 also to be called independently.
    Thanks for your time Prakash
    Regards,
    Vadid

  • SQL query - Alias name (value) as parameter to an Oracle function

    Hi,
    I have a sql query something like
    Select tbl1.valueA, tbl1.valueB, tbl2.valueX, MAX(CASE tbl2.valueY = 'XX' THEN tbl2.valueZ END) AS "ValueZ header", Function(tbl1.valueB, tbl2.valueX, "valueZ header")
    FROM table1 tbl1
    JOIN table2 tbl2 ON tbl1.id = tbl2.tbl1id
    WHERE ...
    my problem is that I need the value from MAX statement as parameter to the function and I have tried to use the alias name (valueZ header) but this is not working. I guess because of some syntax error. Can I use alias name as parameter into the function at all - if - how should I do this?

    Hi,
    user8819407 wrote:
    Hi,
    I have a sql query something like
    Select tbl1.valueA, tbl1.valueB, tbl2.valueX, MAX(CASE tbl2.valueY = 'XX' THEN tbl2.valueZ END) AS "ValueZ header", Function(tbl1.valueB, tbl2.valueX, "valueZ header")
    FROM table1 tbl1
    JOIN table2 tbl2 ON tbl1.id = tbl2.tbl1id
    WHERE ...
    my problem is that I need the value from MAX statement as parameter to the function and I have tried to use the alias name (valueZ header) but this is not working. I guess because of some syntax error. Can I use alias name as parameter into the function at all - if - how should I do this?You can use a column alias in the ORDER BY clause of the same query where it was defined, but that's the only place where you can use it in that query.
    You could repeat the entire MAX (CASE ...) expression as the 3rd argumnet to your function, or you could compute it once in a sub-query, then reference the column alias as often as you like in the super-query, like this:
    WITH     got_valuez_header     AS
         Select  tbl1.valueA
         ,     tbl1.valueB
         ,     tbl2.valueX
         ,     MAX ( CASE
                            WEHN  tbl2.valueY = 'XX'     -- Don't forget the keyword WHEN
                      THEN      tbl2.valueZ
                    END
                  )          AS "ValueZ header"
         FROM         table1     tbl1
         JOIN         table2     tbl2     ON     tbl1.id     = tbl2.tbl1id
         WHERE          ...
         GROUP BY     ...
    Select  tbl1.valueA
    ,     tbl1.valueB
    ,     tbl2.valueX
    ,     "ValueZ header"
    ,     Function_x ( tbl1.valueB     -- FUNCTION is not a good name for a function
                 , tbl2.valueX
                 , "ValueZ header"     -- Case-sensitive
    FROM    got_valuez_header
    ;

Maybe you are looking for