Payroll application

Hello - new developer here - this is for a class assignment. Don't know what I do worng here, but I'm getting a lot of errors. I am quite a novice, any comments would be appreciated. Thank you!

import java.util.Scanner;

public class {payroll
Public Shared Sub main (String [] args) {}
Create a scanner
Entrance to the parser = new Scanner (System.in);

Enter a name
System.out.Print ("name of the employee to Enter, for example Smith :"); ")
Double name = input.nextDouble ();

Enter the number of hours worked
System.out.Print ("enter the number of hours worked per week, e.g. 10 :"); ")
Double hours = input.nextDouble ();

Enter the hourly rate
System.out.Print ("Enter hourly wage, for example, $6.75:");
Double payRate = input.nextDouble ();

Get the gross remuneration
Double grossPay = hours * payRate;

Enter a tax federal withholding rate
System.out.Print ("enter a tax federal rate in percentage, for example 20% holdback :"); ")
Double Federal = input.nextDouble ();

Get a tax federal withholding rate:
Double federalFormula = (federal / 100) * grossPay;

Enter State rate of withholding tax
System.out.Print ("Enter State rate of withholding tax :");
Double State = input.nextDouble ();

Get the State rate of withholding tax:
Double stateFormula = (State / 100) * grossPay;

Display the results
System.out.println ("employee name:" + name + "\n")
+ "Hours worked:"+ hours + "\n";
+ ' Pay rate: "+ payRate +"\n";
+ "Federal withholding tax: ()" + federal + ') ' + federalFormula + '\n '.
+ "State tax withholding: ()" + State + ")" + stateFormula + "\n");
}
}

959823 wrote:
Hey thanks for your help and your patience here - really appreciate it.

Yes, in the first part of my message, I was running, not compilation

Line 11: entry scanner = new Scanner (System.in);
Line 15 is: double name = input.nextDouble ();

Regarding the second part, that means not just add support to close? I have two flanges to close unless I read the wrong code?

No, I mean by 'close' close the stream.
Scanner has a close() method that does this.

According to your error line 15 is not read in a double.
In fact, by looking at the code, you asked the user to enter his name... This is not a double.

Tags: Java

Similar Questions

  • Customization of the Oracle

    Dear all,

    I need to update certain responsibilities so that it can update some jobs and only in the form of the assignment.

    IE can update all positions except managers, can anyone help me in this.

    Thanks in advance.

    For your needs, you must change the SQL in correspong Group Record in job LOV.

    Better to put an error message and not stop there when select User Manager post.

    KFI have not payroll application but set the condition as below (I'm just guessing because I don't know the payroll application)

    TRIGGERING EVENT:

    WHEN-VALIDATE-RECORD or a TIME NEW POINT INSTANCE

    CONDITION (HERE DOMAIN = JOB field in your form.

    : BLOCK. FIELD = 'MANAGER '.

    ACTION:

    SEQ: 10

    TYPE: MESSAGE

    MESSAGE TYPE: error

    TEXT of the MESSAGE: You cannot update the work

    SEQ: 20

    TYPE: BUILTIN

    BUILTIN TYPE: RAISE FORM_TRIGGER_FAILURE

    SAVE and try it with re-login.

  • To access large partitioned tables over a database link - traps?

    Hello

    We are in the middle of a business acquisition, and I have a question on the use of links to database access efficiently to large tables. There are two distinct geographical database instances, both on Oracle 10.2.0.5 sitting on Linux boxes.

    The main forum (PSHR) contains a PeopleSoft HR system and pays and is sitting in our data center.

    The secondary instance (HGPAY) runs a payroll application home grown and is in a different datacenter to PSHR.

    The requirement is to allow PeopleSoft (PSHR) to display data of payroll (one employee at a time) targeted to the secondary instance.

    For example in HGPAY

    CREATE TABLE MY_PAY_DATA AS
    SELECT TO_CHAR (A.RN, ' 00000000') 'EMP' - it is a figure 8 leading 0 unique identifier
    '20110' | TO_CHAR (B.RN) "PAY_PRD" - it is a format of exercise more than fifteen days in the year (01-27)
    C.SOME_KEY - it is the element of remuneration being considered - effectively randomly
    , 'XXXXXXXXXXXXXXXXX' "FILLER1.
    , 'XXXXXXXXXXXXXXXXX' "FILLER2".
    , 'XXXXXXXXXXXXXXXXX' "FILLER3".
    FROM (SELECT ROWNUM 'RN' FROM DUAL CONNECT BY LEVEL < = 300) has
    , (SELECT ROWNUM 'RN' FROM DUAL CONNECT BY LEVEL < = 3) B
    (SELECT TRUNC (ABS (DBMS_RANDOM. (Random())) 'SOME_KEY' FROM DUAL CONNECT BY LEVEL < = 300) C
    ORDER OF PAY_PRD, EMP

    HGPAY. MY_PAY_DATA is the range partitioned on EMP (approximately 300 employees by partition) and the list below partitioned on PAY_PRD (3 pay periods a secondary partition). I limited the above create statement to represent a sub-partition of data.
    Every employee generates an average of 300 lines in this table each pay period. The table has about 180 million lines and all fifteen days more.

    In PSHR

    CREATE VIEW PS_HG_PAY_DATA (MEP, PAY_PRD SOME_KEY FILLER1, FILLER2, FILLER3)
    AS SELECT EMP, PAY_PRD SOME_KEY FILLER1, FILLER2, MY_PAY_DATA@HGPAY FILLER3

    PeopleSoft would then generate SQL along the lines of

    SELECT * FROM PS_HG_PAY_DATA WHERE EMP = '00002561' AND PAY_PRD = '201025'

    The link between data centers where PSHR and HGPAY sit isn't the best in the world, but I expect dozens of hits per day rather than thousands, so I think that the link must have sufficient bandwidth to meet the requirements.

    I tried a quick test on two instances of size production test and it works because it presents the data, when I look at the plan of the explain command that I can see that the remote database is only presenting the relevant secondary partition on PSHR rather than the entire table. Until I get in the back with a "job well done" - y at - it a witch hunt that I am absent using dblink to access the partitioned tables of big?

    Yes, it's just. A lot of it depends on exactly what happens in different "oops" scenarios - you are, for example, just burn some CPU extra until someone comes to the DBA and says "my query is slow" or saturating the network has an impact on critical applications or long random queries prevent some maintenance operations of partition.

    In my mind, the simplest possible solution (assuming you are using a username that is fixed in the database link) would be to create a profile on HGPAY for user defined for the link of database that set a value LOGICAL_READS_PER_CALL which was large enough to handle any request '' reasonable '' and low enough to quickly kill any session that has tried to do something 'stupid '. Obviously, you have to define 'stupid' in your particular environment where the scope of a 'simple reconciliation report' is not defined. If there is no political problem and you can adjust the values of profile to the wire when you encounter new reports that slowly increase what is considered '' reasonable '' is probably the most straightforward approach. If you have to put in a change request to change the parameter which must be reviewed by the Control Board change at its next quarterly meeting with the outsourced DBA seller, on the other hand, you could turn a report by 30 minutes in 30 hours over 30 days. However, in an ideal world, this is where I would start.

    Becomes more complex, you can use the resource manager to kill applications running too long on the wall clock. Since the network will almost certainly the bottleneck, it is probably unlikely that the limitation of the CPU will do much good - probably you can saturate the network with a very small amount of CPU. Limitation in my mind of the network is an additional step in complexity according to the specifics of your situation and what you are competing with.

    Justin

  • Java Applet out displaying incorrectly

    I'm having a problem with a program that I develop in a Java class at my local college. The program is a payroll application that takes information from the user (name, pay rate and number of hours worked) and calculates the gross or net wages that it is checked. The problem I have is that when it does the calculations it is supposed to display the output, but it only displays the first characters of each line of output torque. However, if you click anywhere on the outside of the window to resize it will display everything a shot then exit just as it is supposed to (at this stage anyway). The code is pasted below and any advice or assistance would be greatly appreciated. Thank you kindly in advance!

    /*
         Project:     Payroll applet
         Programmer:          L. H.
         Date:               17 February 2011
         Filename:          payrollApplet.java
         Purpose:          This project calculates the total pay for a user adjusted for overtime and tax dependent upon net pay.
    */
    
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    
    public class PayrollApplet extends Applet implements ItemListener
    {
    
              //declare variables
              String name;
              Integer code;
              double rate, pay, hours, total, total1, overTime, tax;
    
              //construct components
              Label welcome = new Label("Welcome to Payroll");
              Label nameLabel = new Label("Please enter employee name:");
                   TextField nameField = new TextField(20);
              Label timeLabel = new Label("Please enter the number of hours worked:");
                   TextField timeField = new TextField(3);
              Label rateLabel = new Label("Please enter the rate of pay for the employee:");
                   TextField rateField = new TextField (10);
              CheckboxGroup codeGroup = new CheckboxGroup();
                        Checkbox netBox = new Checkbox("Net Pay",false,codeGroup);
                        Checkbox grossBox = new Checkbox("Gross Pay",false,codeGroup);
              Checkbox hiddenBox = new Checkbox("",true,codeGroup);
    
              Label outputLabel = new Label("");
              Label outputLabel2 = new Label("");
              Label outputLabel3 = new Label("");
         public void init()
         {
              setBackground(Color.cyan);
              add(welcome);
              add(nameLabel);
              add(nameField);
              nameField.requestFocus();
              add(timeLabel);
              add(timeField);
              add(rateLabel);
              add(rateField);
                   add(netBox);
                   netBox.addItemListener(this);
                   add(grossBox);
                   grossBox.addItemListener(this);
              add(outputLabel);
              add(outputLabel2);
              add(outputLabel3);
         }
         public void itemStateChanged(ItemEvent choice)
         {
                   try
                   {
                        name = getName();
                        code = getCode();
                        hours = getHours();
                        rate = getRate();
                        total1 = getPay();
                        tax = getTax();
                        total = getPayTotal();
                        output();
                   }
    
                   catch (NumberFormatException e)
                   {
                        outputLabel.setText("You must enter a number greater than zero.");
                        timeField.setText("");
                        timeField.requestFocus();
                   }
    
         }
         public String getName()
         {
              String name = nameField.getText();
    
              return name;
    
         }
         public int getCode()
              {
    
                             if (netBox.getState()) code = 1;
                             else
                                  if (grossBox.getState()) code = 2;
    
    
              return code;
         }
    
         public double getHours()
         {
              double hours = Double.parseDouble(timeField.getText());
    
              if (hours <= 0) throw new NumberFormatException();
    
              return hours;
         }
         public double getRate()
         {
              double rate = Double.parseDouble(rateField.getText());
    
              if (rate <= 0) throw new NumberFormatException();
    
              return rate;
         }
         public double getPay()
         {
              if (hours > 40) overTime = hours - 40;
    
              total1 = (hours * rate) + (overTime * (rate * 1.5));
    
              return total1;
         }
         public double getTax()
              {
                   switch(code)
                   {
                        case 1:
                             if (total1 <= 750) tax = .01;
                             else
                                  if (total1 > 750 && total1 <= 2250) tax = .02;
                                            else
                                            if (total1 > 2250 && total1 <= 3750) tax = .03;
                                                 else
                                                 if (total1 > 3750 && total1 <= 5250) tax = .04;
                                                      else
                                                      if (total1 > 5250 && total1 <= 7000) tax = .05;
                                                      else tax = .06;
                                       break;
    
                        case 2:
                             tax = 0 * total1;
                             break;
                   }
              return tax;
         }
    
    
         public double getPayTotal()
         {
              total = total1 - (tax * total1);
              return total;
         }
         public void output()
         {
                   DecimalFormat twoDigits = new DecimalFormat("$#,000.00");
                   outputLabel.setText("Total pay for " + name + " is " + twoDigits.format(total));
                   outputLabel2.setText("This is based on " + hours +" hours worked at a rate of $" + rate + " an hour plus overtime as applicable.");
                   outputLabel3.setText("At a tax rate of " + tax);
         }
    
    }
    Published by: 842409 on March 7, 2011 09:58

    The problem is that the labels used for the release initially have a small size. There are ways to add them to page layouts so that they are larger, but you're probably better off looking to use a TextArea in the first place.

    And regarding your instructor who didn't know how to do to correct this simple error and ask students to code applets - make me a favor will you? Slap upside the head and say to stop pretending to be an educator. TIA.

  • process to ensure the different files based on their file names

    Hello everyone,

    I would like to know if it is possible to feature with the Acrobat standard version 9 batch processing. I think that's not possible with the standard version.

    I want to a collection of pdf files from their file name with different passwords (password different one per file) in a single process (shell). It's for a payroll application.

    Questions:

    -What is the best version to deploy this topic, standard or professional?

    -Should I SDK, API, or only need Acrobat Professional with the technique of batch processing?

    How do you do that?

    Thank you!

    The Acrobat SDK kit is what you need to learn how to program/script Acrobat - If YES, you will need.

    You can use standards for it - Yes.

    Leonard

  • Write a custom time entry rule based on a custom formula

    We currently use Oracle time and labor to manage the time and then using an external payroll application. Export us data from OTL in our list of payroll at a given date.
    We had problems where the people came after the payroll data was extracted.

    I want to do is have a time entry that calls a pl/sql function (using formulas that I guess). It would go in as a parameter a date that is would be the end date of the score or for each individual date card.
    Our function would then search our table to measure to determine if the payroll is already checked out. If it has then an error (or a warning) would have shown according to normal time entry rules.

    I'm completely stuck with where to start though - I tried to set up a rule of entry of time however I got an error that has been found no compiled version. Also, I'm completely stuck on how to pass the date the score or card each day as a parameter to the rule.

    Any help on this would be very much appreciated.

    Thank you

    PS. We use 11.5.10.2

    You will need create a pl/sql function that does all the stuff above and save the pl/sql function based on the formula.

    The logic of the pl/sql function must be something like below.

    1. call the hxc_self_service_time_deposit.get_building_blocks function and store the values in the pl/sql table.

    2. for each building block to get the date.

    3. change the Date of your custom function that detects if the payments are for the date.

    4. If payments are made then return 'Y '.

    5. After iterating over all the building blocks, if payments are not made for the days back 'n'.

    In the formula, call the function in the formula above. If the function returns "Y" then return the value of 'E' against rule_status another return "S".

  • How to use FND_GLOBAL. APPS_INITIALIZE to integrate with EBS 11i security?

    Hello
    We strive to integrate APEX with Oracle e-Business Suite 11i. We strive to integrate the HR/payroll application that uses FND_GLOBAL. APPS_INITIALIZE to set the security context of a user id, liability and enforcement that defines that the session has access to the session. When we call FND_GLOBAL. APPS_INITIALIZE is one before the process the header or in the VPD security attribute, we get no data. Using the same call in SQL * get us the expected data.

    Any suggestions on how to get this to work? What do we lack?

    Thank you
    -Eric

    Hello

    FND_GLOBAL has been initialized successfully, but it seems that the HR_SECURITY does not work. I think the HR_SECURITY depends on the user of current database as APPS. By default, the Apex process runs with the current database user as HTMLDB_PUBLIC_USER.

    Rod West

  • Payroll run end application with error

    Hello

    We are working on Oracle 11.5.10 applications. Demand for payroll performs all unsuccessful. The request log has the following lines:

    * Starts * December 18, 2008 10:03:41
    Error ORACLE 20100 in FDPSTP

    Cause: FDPSTP failed due to the ORA-20100: creation of l0076077.tmp for FND_FILE file failed.
    You can find more information on the cause of the error in the log requests.
    ORA-06512: at the 'APPS '. FND_FILE', line 391
    ORA-06512
    ---------------------------------------------------------------------------
    Beginning of the FND_FILE log messages
    ---------------------------------------------------------------------------
    ---------------------------------------------------------------------------
    End of the FND_FILE log messages
    ---------------------------------------------------------------------------

    The DBA has restarted the system, but still it does not work.

    "Responsibility of a system administrator, I checked the internal journal of process internal concurrent Manager Manger and he gave me the following:

    An error occurred during the attempt to establish a connection to server application files with the FNDFS_ERPDB2 node. There may be a network configuration problem, or the TNS listener on the node as fndfs_erpdb2 cannot run. Please contact your system administrator.

    Demand was OK two days ago and he didn't y no change to the system do I know.

    I need emergency aid of society pay is pending. I'll appreciate any help.

    Thank you..

    Hussein gave all the options that might solve the problem. Apart from that, the only thing that I could think of right now my head is

    $APPLPTMP could be full :)... worth checking out this...

  • App for the time and payroll sheet calculations

    My daughter in hospitality makes work so much split and travel on a Saturday and Sunday. I am looking for an application that we can punch in his hours for the week and be able to do the calculation of salary based on the appropriate hourly rate so that we can keep control of when it is paid as it's done correctly. Essentially, I'm lookin for an app connects timesheet information to the payroll data. Such an application exists and if so can anyone recommend one? Happy to pay for an if need be.

    Hello alissah6,

    Numbers from Apple is what I would recommend as far as doing calculations with a simple formula. You can learn more about this here.

    The application costs $14.99, however it is packed and has more than 30 models - not to mention, you can also create your own if necessary.

    I would check it out certainly if I'm looking for a few terms related to pay calculation in the App Store.

    Thank you

    James.

  • Expiration date of the submitted client Web application

    I have a submissive client web app I need set the expiration date to the 15th or last day of the month, whichever is closest to you. So, it a web application of pay where the employee submits their hours and we want to show once the item now time to cut payroll, which is twice a month, the 15th and the last of the month and is always the one which is the next day. Is their some javascript or liquid I can tell from the date of such and such a date, if it is first?

    My second question I want to ask here is on a time field. If I use datetime, it shows just a calendar and all play with the input field seems to not work to make where they choose a time. If I change the field to a string, then set it as a time, the field is not entered.

    Third question, I am know liquid and love it. I know it can be done with the liquid, but still how it works to make the filling of liquid in the value of a field. For in and out time, I have a third field that is pretty much a sum of total time. I need the total of the time difference between the check-in and check out field and put in the field of the sum. What is the best way to write this liquid calculation? I know JavaScript, but feel that this can be done with easy liquid also. Suggestions or comments?

    Best regards

    Sarah Mullin

    Hello

    I don't think that there is an out of the box solution to find the last day of the month, however, build a hard coded relationship between the number of days and months is pretty easy to do, here's an example of code that I put in place for your particular case. It may be more polite of course (for example, in a few years that February has 29 days):

    {% assign day = Globals.Site.DateNow | date: '%d': convert: "string" %}}

    {assign % per month = Globals.Site.DateNow | date: "%M" | convert: "string" %}}

    {% assign year = Globals.Site.DateNow | date: "yyyy" | convert: "string" %}}

    {% assign middle_date = year | append: '-' | append: month | append: '-' | append: "18" | convert: % 'date'}

    {% If Globals.Site.DateNow > middle_date %}}

    Date in the past, the date you want to define is the 15 - th, which is {{middle_date}}

    {% other %}

    {% assign myDate = Globals.Site.DateNow | date: % 'MMM'}

    In the future, the date you need is the last day of {{myDate}}, which is

    {% If myDate}

    {% When 'Jan'-%} 31

    {% When 'Feb'-%} 28

    {% When 'Mar'-%} 31

    {% When "Apr"-%} 30

    {% When 'May'-%} 31

    {% When "Jun"-%} 30

    {% When "Jul"-%} 31

    {% When "Aug"-%} 31

    {% When 'Sep'-%} 30

    {% When 'OCTS'-%} 31

    {% When 'Nov'-%} 30

    {% When 'Dec'-%} 31

    {% endcase}

    -{{month}} - {{year}}

    {% endif %}

    I hope this helps!

  • OTL - hours Type LOV is not in the list of payroll - job card

    Hello

    The list of values for type hours is not in the list of payroll - job card.

    I did the following basic for hours settings Type

    1 items created

    Certain "gains" as the primary Classification

    'Hours' as an input value.

    2. created set of elements.

    3 run the query 'Generate Flexfield and mapping of information' with the appropriate settings.

    4. two alternative names created by default because of the application Run, Enabled and disabled fields.

    5 creates an alternate name more by me with the following values

    Another name - OTL other name Type FDF context

    Name of the type: Elements of pay

    6 created tree preferably customized

    7. given the other name that is created by me in the preferences.

    Please let me know is there any other basic settings that do hours Type.

    Thank you

    Jose.

    Hello

    The problem is resolved.

    Previously I gave the element link to pay current dates from no previous dates like January 1, 1950 '. This is the error. The Link element considering i start date is January 1, 1950 ' and I'm the type of hours values in the time card.

    Thank you all for your valuable suggestions and spend time for my request.

    Thank you

    Jose.

  • Payroll report query

    in the step of the launch of the project, I managed to create a view that can choose additions total and the total of the deductions and calculate the net pay of the employee. After the client driver room... now there is a change in the requirement.

    total additions and total deductions and net wages are listed according to the following:
    the employee payment method and currency is taken from the element definition screen as element out currency... now, we have several payroll courses based on the set assignment. Also in the case where quick compensation is transformed at the beginning of the month and a real payroll is run at the end of the pay period (monthly salary), then the system must show 2 payslips on the number of times quick compensation and/or the payroll has been run.

    I managed to write a select statement as follows:

    CREATE OR REPLACE STRENGTH SEEN APPS. XX_PAYSLIP_V
    +(+
    PAYSLIP_OF_MONTH,
    ACCOUNT_NUMBER,
    BANK_NAME,
    TOTAL_EARNINGS,
    TOTAL_DEDUCTIONS,
    PAYSLIP_DATE,
    PERSON_ID,
    ASSIGNMENT_ID,
    BUSINESS_GROUP_ID)
    AS
    SELECT TO_CHAR (TO_DATE (ppa.effective_date, "DD-MON-RRRR"), "Months RRRR") PaySlip_of_month, pea.segment3 Account_number, hrl.meaning bank_name,.
    + sum (prrv.result_value) total_earnings, +.
    + (SELECT SUM (prrv_dedu.result_value) +)
    OF pay_payroll_actions ppa_dedu,.
    pay_assignment_actions paa_dedu,
    pay_run_results prr_dedu,
    pay_run_result_values prrv_dedu,
    per_all_assignments_f paaf_dedu,
    pay_input_values_f pivf_dedu,
    pay_element_types_f petf_dedu,
    pay_element_classifications pec_dedu
    WHERE ppa_dedu.payroll_action_id = paa_dedu.payroll_action_id
    AND ppa_dedu.business_group_id = paaf_dedu.business_group_id
    AND paa_dedu.assignment_id = paaf_dedu.assignment_id
    AND prr_dedu.assignment_action_id = paa_dedu.assignment_action_id
    AND prrv_dedu.run_result_id = prr_dedu.run_result_id
    AND prr_dedu.element_type_id = petf_dedu.element_type_id
    AND paaf_dedu.assignment_id = paa_dedu.assignment_id
    AND ppa_dedu.effective_date BETWEEN paaf_dedu.effective_start_date AND paaf_dedu.effective_end_date
    AND pivf_dedu.input_value_id = prrv_dedu.input_value_id
    AND petf_dedu.classification_id = pec_dedu.classification_id
    AND ppa_dedu.effective_date BETWEEN pivf_dedu.effective_start_date AND pivf_dedu.effective_end_date
    AND ppa_dedu.effective_date BETWEEN petf_dedu.effective_start_date AND petf_dedu.effective_end_date
    AND ((pivf_dedu.name = «Valeur de payer» AND pivf_dedu.uom = am') OR (pivf_dedu.name = 'Days' AND pivf_dedu.uom = 'ND'))
    AND pec_dedu.classification_name IN ("' voluntary deductions")
    AND paaf_dedu.person_id = paaf.person_id
    + AND ppa_dedu.effective_date = ppa.effective_date) Total_Deductions, +.
    TO_CHAR (ppa.effective_date, "DD-MON-RRRR") + payslip_date, paaf.person_id, paaf.assignment_id, paaf.business_group_id +.
    BY the ADP per_all_assignments_f.
    per_all_people_f women's wear,
    pay_assignment_actions AAP,
    pay_payroll_actions App,
    pay_org_payment_methods_f_tl opmtl,
    pay_personal_payment_methods_f ppm,
    pay_org_payment_methods_f opm,
    pay_external_accounts peas,
    hr_lookups hrl,
    pay_run_results prr,
    prrv pay_run_result_values,
    pay_input_values_f pivf,
    petf pay_element_types_f,
    PEC pay_element_classifications
    WHERE papf.person_id = paaf.person_id
    AND ppa.effective_date BETWEEN papf.effective_start_date AND papf.effective_end_date
    AND ppa.effective_date BETWEEN paaf.effective_start_date AND paaf.effective_end_date
    AND ppa.effective_date BETWEEN ppm.effective_start_date AND ppm.effective_end_date
    AND ppa.effective_date BETWEEN pivf.effective_start_date
    AND pivf.effective_end_date AND ppa.effective_date BETWEEN petf.effective_start_date AND petf.effective_end_date
    AND papf.current_employee_flag = 'Y '.
    AND paaf.primary_flag = 'Y '.
    AND paaf.assignment_type = 'E '.
    AND paaf.business_group_id = '81'
    AND paa.assignment_id = paaf.assignment_id
    AND ppa.business_group_id = paaf.business_group_id
    AND ppa.payroll_action_id = paa.payroll_action_id
    AND ppm.assignment_id = paaf.assignment_id
    AND opm.org_payment_method_id = opmtl.org_payment_method_id
    AND ppm.org_payment_method_id = opm.org_payment_method_id
    AND ppm.external_account_id = pea.external_account_id
    AND hrl.lookup_code = pea.segment1
    AND prr.assignment_action_id = paa.assignment_action_id
    AND prrv.run_result_id = prr.run_result_id
    AND prr.element_type_id = petf.element_type_id
    AND pec.classification_id = petf.classification_id
    AND pivf.input_value_id = prrv.input_value_id
    AND hrl.lookup_type = 'BANK_NAMES. '
    AND hrl.enabled_flag = 'Y '.
    AND opmtl.org_payment_method_name = 'Method of payment USD'
    - AND papf.employee_number =: employee_number +.
    AND ((pivf.NAME = 'Valeur salariale' AND pivf.uom = suis ') OR (pivf.NAME = 'Days' AND pivf.uom = 'ND'))
    AND pec.classification_name = 'Gains.
    AND pec.legislation_code = 'en '.
    TO_CHAR Group (TO_DATE (ppa.effective_date, "DD-MON-RRRR"),' months RRRR'), pea.segment3, pea.segment1, hrl.meaning, paaf.person_id, ppa.effective_date, paaf.assignment_id, paaf.business_group_id

    When I run the code above on the toad is for me only possible output for 1 type of payment method and a type of money attached to the payment method IE US. It is obvious because I entered the payment method.

    Now, I would like to system dynamically pass parameter and if the currency type (US or GB) this application must choose the mode of payment for the currency and payment method name and display the summary details of payslip (net sal, deductions and additions).

    could someone out there help me with that?

    appreciate any feedback!

    Hi 594647,

    It is difficult to debug such a request without running live sample data. Therefore not surprising that no one has responded.

    Have you tried to change the subject to include the GB pay method as well?
    AND opmtl.org_payment_method_name = 'Method of payment USD'

    See you soon,.
    Vignesh

    PS: There will be many Santas, if--
    1. you have a good handle (name), so that people can relate to you.
    2. price points for the people who help you :)

    Merry Christmas and a happy new year.

  • Post processing of payroll

    Hello

    We are implementing financial oracle and I would like to know how it is the payment of wages oracle.we use r12, and my question is that we have to pay Oracle will all employee will be created as a provider with their details ban and continue on the allocation of the amount to their bank respectively or since the we have already all the information of the Bank in HRMS how can we pay the employee directly from HRMS at their bank as when I run the prepayment of the State is still outstanding is any process runs so as to reconcile the bank account found in the method of payment for the AP?

    Thank you very much

    Concerning

    Hello
    Payroll in itself is a complete Solution for payment. In pay after doin pre payment, there are no payment where you pay employees according to their method of payment (Bank, cheque, cash which depends on your customer). I worked a Solution to Saudi legislation, so were the process:
    1. for bank deposits: Saudi payment file request output has been executed, which generated a file of payment Bank of employees who were to be paid by bank transfer.
    2. for the cheque: cheque writer application must be run so that the voucher can be printed.
    3. for money: there is demand for liquidity, which processes the payment in cash.

    Once this queries are executed, the payment is processed in Oracle. After payment, you can run payment costs and there may be transfer to GL. Then the entry of payment will be GL.

    It is not required to create each employee as a supplier, you can process the payment of wages only. (With the help of HRMS data)

    Kind regards
    Razi

  • Oracle Application Express

    Hello

    I'm new around. Tell me, the documentation says: "Oracle Application Express is a declarative development hosted environment to develop and deploy _Web_ database-oriented applications. Can be used to develop applications for use outside of the Web as well. I do the accounting and payroll. I will for example be able to develop applications where I'll run the payroll and print care about payroll, financial statements, etc..

    When I go to the form, I usually get to Oracle Database Express and so I have to work my way to Oracle Application Express. How can I go directly to Oracle Application Express?

    Bennet

    Hello, Bennet,.

    There is the OTN homepage for APEX: http://www.oracle.com/technetwork/developer-tools/apex
    There are the home page general for APEX, which includes access to workspaces of demo (you can request a workspace to assess the APEX without having to install yourself): http://apex.oracle.com

    To answer your question: you can develop applications with APEX that could be used to pay-running, etc. Depending on the capabilities of your printer, you can even automate this. But begin to get acquainted with APEX before you head straight for advanced like this subjects. ;)

    -Udo

  • Save the model in Oracle Applications

    Once, I fell on the code to save a model of XML in applications. I'm not able to see that now. Can someone please?

    Thank you, Tyler

    Try this:

    DECLARE
    errbuf varchar2 (100);
    RETCODE number;
    lv_conc_prog VARCHAR2 (30);
    lv_template_code VARCHAR2 (30);
    lv_template_name VARCHAR2 (100);
    ln_business_group_id NUMBER;
    BEGIN
    errbuf: = 'NO ERRORS ';
    RETCODE: = 0;
    / * REGISTER BI PUBLISHER MODELS WITH PAYROLL * /.
    /* -------------------------------------------- */
    / * FIRST PARAMETER: PLEASE ENTER THE NAME OF DATA DEFINITION * /.
    / * STATEMENT: writer to check (XML) ENTER "PAYARCHCHQW", tips for filing (XML) "PYUSDEPADVXML" * /.
    / * SECOND PARAMETER: PLEASE ENTER THE CODE OF THE TEMPLATE * /.
    / * STATEMENT: THIS MUST MATCH THE MODEL CODE YOU PROVIDED THROUGH "BI PUBLISHER ADMINISTRATOR RESPONSIBILITY" * /.
    / * THIRD PARAMETER: PLEASE ENTER MODEL NAME * /.
    / * STATEMENT: THIS MUST MATCH THE NAME OF TEMPLATE PROVIDED THROUGH "BI PUBLISHER ADMINISTRATOR RESPONSIBILITY" * /.
    / * FOURTH PARAMETER: PLEASE ENTER THE ID OF GROUP OF COMPANIES * /.
    / * STATEMENT: THIS SHOULD BE THE GROUP ID TO WHICH YOU WANT TO RUN CONCURRENT PROGRAMS * /.
    lv_conc_prog: = SHORT NAME, for example: "PAYARCHCHQW";
    lv_template_code: = Code of the model of the XML editor administrator, for example: "PAYARCHCHQW";
    lv_template_name: = 'Custom Check Writer (XML)'; / * This is what appears in the list of values to check Style/deposit advice StyleParameters window check author and notice of filing * /.
    ln_business_group_id: = '999';
    () PAY_US_CUSTOM_TEMPLATE.insert_data
    errbuf,
    RETCODE,
    lv_conc_prog,
    lv_template_code,
    lv_template_name,
    ln_business_group_id);
    / * MODEL BI PUBLISHER REGISTERED WITH PAYROLL. THANK PIECE.*.
    COMMIT;
    END;

Maybe you are looking for

  • Help! Computer freezes, cannot transfer files.

    Hello, I just bought a 4 GB fuse.  I plug it into my computer and it happens that he is recolgnized, I can click to open the folder, but if I click to open the internal memory to add songs, the record freezes.  If I say that it open on rhapsody and t

  • Document to the printer does not cancel for what I can print other things

    My printer HP Deskjet 1000 has a document which continues to view "delete", but I'm unable to cancel when I right click under the State in the settings. Therefore, I am unable to print something again or try again to print the original document. I wa

  • Installation of an older program (Mathcad 6) on windows 7

    I am trying to install an older version of Mathcad (version 6) on windows 7 Home premium.  The program was very well under XP (SP3). The compatibility tools fail.  The program will not install and I get an error message on the incompatibility of a 32

  • Inner mesh using APs do outdoor mesh

    Can I use mesh indoor APs do outdoor mesh? I want APs inside buildings but who attennas outside for the outdoor mesh. It will work, and it is supported? Zhenning

  • Siebel Installation on a Linux Machine error

    Hi Master,I m getting the error below when installing Siebel 8.1.1.10 on Linux (64). Help, please............................Monitor: must be configured to display at least 256 colors.real 16777216PastPreparations for the launch of Oracle Universal I