Help on payroll
Hi I have an urgent need,
I have a lot of items pr prayer that we have in our project.
Directly, the user enters the values in the amount input value. When the calculation proportional happenes after the payroll run here value in value to PAY but when proration does not happen that the value of compensation is empty...
But I need the value of pay also to display even if there is no proration.
Please guide.
OK, I got the result
by this simple condition and it worked
THE ENTRIES ARE AMOUNT
PAY_VALUE = AMOUNT
RETURN PAY_VALUE
Tags: Oracle Applications
Similar Questions
-
Hi all
I'm new to payroll could you please help me with some doubts I have:
1. proration:
I need to know a thing about it:
Base salary was pro-rated:
Ex: 01 - JAN-1990 to January 15, 1990 Rs 1000
Ex: 16 - JAN-1990 and on 31 January 1990 Rs 2000
so I wen put computing in place I get the break during the previuously run payroll
But my question is what happens to the dependent items
EX: My deduction was 6.5% of basic
Kindly answer please.
Hello
You can create an indirect element 'Social security withholding Ex' and then pass the value of result basic_salary execution to this element. Or if you want no indirect component, you can bind the basic_salary race result value to some balance and then interim measures that balance the value in the formula associated with item 'Deduction for social security Ex.
Thank you
Avinash
-
Need help with TAX CITY WEB ADI Balance adjustment ADJUSTMENT element
I was hoping that perhaps you could help me on the creation of a setting of the ADI WEB Balance for item RECOVERY TAX CITY. I tried created but without success. I use pay_balance_adjustment_api.create_adjustment.
Receive error message ' PAYROLL HR _6127_ELE_ENTRY_VALUE_MAND INPUT_VALUE_NAME N competence: competence must be entered '
I filled the lapsing consfused then why I encounter the error.
Download WEB ADI model example. Any recommendations would be greatly appreciated.
UPL ASSIGNMENT_ID CONSOLIDATION_SET_ID EFFECTIVE_DATE ELEMENT_LINK_ID ENTRY_VALUE1 ENTRY_VALUE5 ENTRY_VALUE13 Messages O 54233 2065 21 December 13 469 36-061-0240 -174.43 2.18 L PAY HR_6127_ELE_ENTRY_VALUE_MAND N INPUT_VALUE_NAME
Jurisdiction: The jurisdiction should be
enteredThank you!
Robert
Download
I understood the question and the program works perfectly.
Thank you.
-
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,.
VigneshPS: 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.
-
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. -
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
ConcerningHello
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 payroll balance Dimensions
Hi all
Could someone tell me please the difference between the following dimensions of balance payroll
1 - Diff b/w creating assignment to date and creation of the person so far
2 - Diff b/w year civil assignment to date and year person to date
3 - What is the treatment of transfer period to the Date
Thank youTransfer balances are for one assignment.
The Group of people those assignments (multiple) if necessary.If you don't have several assignments for a person, then the two Dimensions would return you the same data.
Check the below to get the real select stmt that is used for the value.
select user_entity_id,definition_text from ff_database_items -- user_entity_id where user_name = 'GROSS_PAY_ASG_PTD'; -- change this to your DBI select route_id from ff_user_entities -- route_id where user_entity_id = 1228; -- user_entity_id from the previous query select text from ff_routes -- text where route_id = 286; -- route_id from previous query
Now you can build a sql statement-
Select /* definition_text */ -- from the 1st query from /* text */ -- from the 3rd query
Hope that helps.
See you soon,.
Vignesh -
SELECT - MODELING maybe clause can help?
Hello world
It's me again with another hierarchical statement. This time, my problem is quite complex. We have a scenario to explain the problem:
Examples of previous data is a single hierarchical table with a tree of the organization. A high level organization has no parent id and an organization is linked to its parent by parent_id. So far, nothing weird and very frequent structure.DROP TABLE organisations; CREATE TABLE organisations ( org_id NUMBER(10), organ_name VARCHAR2(255), parent_id NUMBER(10) ); INSERT INTO organisations VALUES(1, 'TOP', NULL); INSERT INTO organisations VALUES(3, 'TOP2', NULL); INSERT INTO organisations VALUES(11, 'HR', 1); INSERT INTO organisations VALUES(12, 'Recruitment', 11); INSERT INTO organisations VALUES(19, 'Payroll', 11); INSERT INTO organisations VALUES(23, 'Evaluations', 12); INSERT INTO organisations VALUES(35, 'IT', 1); INSERT INTO organisations VALUES(39, 'Software', 35); INSERT INTO organisations VALUES(222, 'Windows', 39); INSERT INTO organisations VALUES(228, 'Linux', 39); INSERT INTO organisations VALUES(223, 'Mac OS', 39); INSERT INTO organisations VALUES(118, 'Applications', 39); INSERT INTO organisations VALUES(119, 'Photoshop', 118); INSERT INTO organisations VALUES(119, 'Microsoft Office 2010', 118); INSERT INTO organisations VALUES(29, 'Hardware', 35); INSERT INTO organisations VALUES(99, 'Helpdesk', 35); COMMIT;
The SELECT statement returns the complete structure of the organizational tree.
Here is the result:SELECT org_id, parent_id, LPAD(' ', LEVEL*2) || organ_name as indented_name FROM organisations START WITH parent_id IS NULL CONNECT BY PRIOR org_id = parent_id;
I would like to have a result like this:1 TOP 11 1 HR 12 11 Recruitment 23 12 Evaluations 19 11 Payroll 35 1 IT 29 35 Hardware 39 35 Software 118 39 Applications 119 118 Photoshop 119 118 Microsoft Office 2010 222 39 Windows 223 39 Mac OS 228 39 Linux 99 35 Helpdesk 3 TOP2
Rules to build this result are simple (yet complex to be implemented using SQL). Whenever a node descendant nodes, I need to have duplicate and the other must have exactly the same name with the suffix. GROUP. If a node is a terminal leaflet, it shouldn't have one. GROUP check-in. A top-level (TOP & TOP2) node does not take into account for this.1 TOP 11 1 HR 11 1 HR.GROUP 12 11 Recruitment 12 11 Recruitment.GROUP 23 12 Evaluations -- no descendants, so no .GROUP node. 19 11 Payroll 35 1 IT 35 1 IT.GROUP 29 35 Hardware 39 35 Software 39 35 Software.GROUP 118 39 Applications 118 39 Applications.GROUP 119 118 Photoshop 119 118 Microsoft Office 2010 222 39 Windows 223 39 Mac OS 228 39 Linux 99 35 Helpdesk 3 TOP2
No idea how we can implement this using SQL? I use 10g (so I can use the TYPE clause if it helps)
Thank you guysOr use GROUP BY with GROUPING SETS:
WITH t AS ( SELECT ROWNUM rn, level lvl, org_id, parent_id, LPAD(' ', LEVEL*2) || organ_name as indented_name, CONNECT_BY_ISLEAF leaf FROM organisations START WITH parent_id IS NULL CONNECT BY PRIOR org_id = parent_id ) SELECT max(org_id) org_id, max(parent_id) parent_id, max(indented_name) || case grouping(lvl) when 1 then '.GROUP' end indented_name FROM t GROUP BY GROUPING SETS((rn),(rn,lvl)) HAVING grouping(lvl) = 0 OR ( max(lvl) != 1 and max(leaf) = 0 ) ORDER BY rn, grouping(lvl) / ORG_ID PARENT_ID INDENTED_NAME ---------- ---------- ------------------------------- 1 TOP 11 1 HR 11 1 HR.GROUP 12 11 Recruitment 12 11 Recruitment.GROUP 23 12 Evaluations 19 11 Payroll 35 1 IT 35 1 IT.GROUP 29 35 Hardware 39 35 Software ORG_ID PARENT_ID INDENTED_NAME ---------- ---------- ------------------------------- 39 35 Software.GROUP 118 39 Applications 118 39 Applications.GROUP 119 118 Photoshop 119 118 Microsoft Office 2010 222 39 Windows 223 39 Mac OS 228 39 Linux 99 35 Helpdesk 3 TOP2 21 rows selected. SQL>
SY.
-
List of payroll rankings main element.
Hi all
We have created the new BG for Swiss.
Menu that we use for this BG is "F4 UK HRMS Manager". (Seeds)
and the responsibility is "CH HRMS Manager"(Seeded)
We cannot get the list of values in the list of primary classification. When you set payroll item creation, (only 1 default is appearing 'Initialization of balance')
Help, please.
Thank you-
Sowmya.As my understanding Swiss Legilation is not available.
Hope that you have completed all the steps without problems (hrglobal.drv, DataInstall... etc)
Check
140511.1 - how to install legislative HRMS data using data installation and hrglobal.drv
145837.1 - last Oracle HRMS legislative data made available (Global HR / hrglobal)Thank you
-
Payroll Run query does not appear on the payroll LOV
Hi all
Am on 12.1.3
DB - 11 GR 1 material
Wen, trying to run on PAYROLL:
FACE below error:
Payroll Run query does not appear on the payroll LOV
Thank youPlease post the exact name of the simultaneous program you want to submit as well as all the parameters.
I understand that you get an error when you try to select the LOV to pass parameters, right?
If the program has not yet been presented, then it is an expected behavior not to find any file of log/output.
Please see if these MOS Docs Help.
Simultaneous request for payroll, payroll name Lov for payroll run Erros: APP-FND-1436: the list of values can not find all the values for you to choose [333524.1 ID]
Payroll run parameter list of values (LOV) in the process "Retry Payroll Run" does not display any values [1368390.1 ID]Thank you
Hussein -
I'm working on a payroll written in PHP and MYSQL application.
I need to find a way to make the amount of final salary made correct to two variables.
The code (see below), I wrote in PHP for the $pay_amount is originally the deciaml bed as $75.5 instead of $75.50.
$pay_amount = $total_hours * $hrate;
Can someone help me please find a way to make the $pay_amount decial point / currency read correctly?
PS - I'm new to PHP, but quickly capture - so try to make the answer easier to understand!
Thanks in advance!$pay_amount = number_format ($total_hours * $hrate, 2);
--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com"bcounts" wrote in message
News:g7vuh8$mo9$1@forums. Macromedia.com...
> I am working on a payroll written in PHP and MYSQL application.
>
> I need to find a way to make the amount of final salary made it okay to
> two
> variable.
>
> The code (see below), I wrote in PHP for the $pay_amount is
> causing
> the deciaml read as $75.5 instead of $75.50.
>
> $pay_amount = $total_hours * $hrate;
>
> Can someone please help me find a way to make the $pay_amount decial point
> /
> currency read correctly?
>
> PS - I'm new to PHP, but quickly capture - so try to answer
> as
> easy to understand!
>
> Thanks in advance!
> -
SQL Help: Derive from 'News' columns based on condition
Hi all
Can someone help me with this please? I am trying to achieve in a SQL (no), if this can be done in two different stages, even that is fine too...
Thanks in advance,
Chavigny
For a "batch - id", there are several Transactions that are denoted by (cr_crncy_cd, dr_crncy_cd, recvr_cntry_cd), and the "NEW_BTCH_NM" column is basically a concatenation of 'BTCH_NM' + above 3 columns (with a ~)SELECT * FROM ( SELECT 2765 BTCH_ID,'payroll' BTCH_NM,'payroll~EUR~EUR~DE'NEW_BTCH_NM,'1234'TMPLT_ID FROM DUAL UNION SELECT 2765,'payroll','payroll~USD~USD~US','1235' FROM DUAL UNION SELECT 2765,'payroll','payroll~USD~USD~US','1236' FROM DUAL UNION SELECT 2765,'payroll','payroll~GBP~GBP~GB','1237' FROM DUAL UNION SELECT 2766,'SALARY','SALARY~USD~USD~US','1238' FROM DUAL UNION SELECT 2766,'SALARY','SALARY~USD~USD~US','1239' FROM DUAL ) T_BATCH;
I'm trying to derive two new columns "SEQ" & "Output_Batch_name".
The SEQ column:
Output_BTCH_NM:For every batch_id, the first row will be assigned by sequence.nextval. For all transactions within BTCH_ID, all the rows with same NEW_BTCH_NM, share the same sequence number if different, then SEQ.nextval for all distinct rows
EXPECTED RESULTSfor a given batch_id, if the NEW_BTCH_NM is the same for all transactions ( batch_id 2766 in the below example) , then Output_BTCH_NM = BTCH_NM should be marked for All transactions which belong to this Batch_id, Else Output_BTCH_NM = New_BTCH_NM END if
Published by: user10711957 on 25 Sep, 2010 16:37*BTCH_ID BTCH_NM NEW_BTCH_NM TMPLT_ID SEQ Output_BTCH_NM* 2765 payroll payroll~EUR~EUR~DE 1234 1 payroll~EUR~EUR~DE 2765 payroll payroll~GBP~GBP~GB 1237 2 payroll~GBP~GBP~GB 2765 payroll payroll~USD~USD~US 1235 3 payroll~USD~USD~US 2765 payroll payroll~USD~USD~US 1236 3 payroll~USD~USD~US 2766 SALARY SALARY~USD~USD~US 1238 4 SALARY 2766 SALARY SALARY~USD~USD~US 1239 4 SALARY
An extension of the solution of the (slightly modified) jiq
function my_sequence(whichval in varchar2) return number is begin if whichval = 'currval' then return your_sequence.currval; else return your_sequence.nextval; end if; end my_sequence; WITH t AS ( SELECT 2765 BTCH_ID,'payroll' BTCH_NM,'payroll~EUR~EUR~DE'NEW_BTCH_NM,'1234'TMPLT_ID FROM DUAL UNION SELECT 2765,'payroll','payroll~USD~USD~US','1235' FROM DUAL UNION SELECT 2765,'payroll','payroll~USD~USD~US','1236' FROM DUAL UNION SELECT 2765,'payroll','payroll~GBP~GBP~GB','1237' FROM DUAL UNION SELECT 2766,'SALARY','SALARY~USD~USD~US','1238' FROM DUAL UNION SELECT 2766,'SALARY','SALARY~USD~USD~US','1239' FROM DUAL ) select btch_id,btch_nm,new_btch_nm,tmplt_id, case when lag(seq,1) over (order by tmplt_id) = seq then my_sequence('currval') else my_sequence('nextval') end seq, out_btch_nm select btch_id,btch_nm,new_btch_nm,tmplt_id, dense_rank() over(partition by btch_id order by new_btch_nm) seq case when count(distinct new_btch_nm) over (partition by btch_id) = 1 then btch_nm else new_btch_nm end out_btch_nm from t
Concerning
Etbin
Posted before you see the following
the sequence # must be continuous, must avoid any shortfall or gaps with the numbering.
the foregoing must be the only user of its own sequence somehow and maybe...
Search for "sequence free gap"... http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:4343369880986
Edited by: Etbin on 26.9.2010 08:21 -
Can you see what I'm doing wrong? I'm trying to follow a tutorial, but is unable to clear the checkpoint. Any help would be greatly appreciated.
1 CREATE TABLE department ( 2 dept_id NUMBER(2), 3 name VARCHAR2(15), 4 budget NUMBER(11,2), 5* projects ProjectList) SQL> / Table created. 1 BEGIN 2 INSERT INTO department 3 VALUES(30, 'Accounting', 1205700, 4 ProjectList(Projects(1, 'Design New Expense Report', 3250), 5 Projects(2, 'Outsource Payroll', 12350), 6 Projects(3, 'Evaluate Merger Proposal', 2750), 7 Projects(4, 'Audit Accounts Payable', 1425))); 8 INSERT INTO department 9 VALUES(50, 'Maintenance', 925300, 10 ProjectList(Projects(1, 'Repair Leak in Roof', 2850), 11 Projects(2, 'Install New Door Locks', 1700), 12 Projects(3, 'Wash Front Windows', 975), 13 Projects(4, 'Repair Faulty Wiring', 1350), 14 Projects(5, 'Winterize Cooling System', 1125))); 15 INSERT INTO department 16 VALUES(60, 'Security', 750400, 17 ProjectList(Projects(1, 'Issue New Employee Badges', 13500), 18 Projects(2, 'Find Missing IC Chips', 2750), 19 Projects(3, 'Upgrade Alarm System', 3350), 20 Projects(4, 'Inspect Emergency Exits', 1900))); 21 END; 22* SQL> / Projects(4, 'Audit Accounts Payable', 1425))); * ERROR at line 7: ORA-06550: line 7, column 22: PL/SQL: ORA-00904: "PROJECTS": invalid identifier ORA-06550: line 2, column 4: PL/SQL: SQL Statement ignored ORA-06550: line 14, column 22: PL/SQL: ORA-00904: "PROJECTS": invalid identifier ORA-06550: line 8, column 4: PL/SQL: SQL Statement ignored ORA-06550: line 20, column 22: PL/SQL: ORA-00904: "PROJECTS": invalid identifier ORA-06550: line 15, column 4: PL/SQL: SQL Statement ignored
You should:
-Define your type of 'projects' (structure) for example:CREATE OR REPLACE TYPE projects AS OBJECT( project_id NUMBER, project_name VARCHAR2(180), project_cost NUMBER ); /
-Set the type as a collection of projects projectlist rather a collection of varchar2...
CREATE OR REPLACE TYPE projectlist AS TABLE OF projects; /
Published by: user11268895 on July 12, 2010 16:04
-
How to create a report for the various sets of payroll
Would like to know the select query which can help me to create a report for a monthly payroll payroll courses in a single pay period.
We sometimes 1 or 2 payroll run as long as single pay period.
I want to see all my reports based on a payroll including run how can I do this please?
Help, please!SELECT< columns="">
of pay_payroll_actions App.
pay_all_payrolls_f women's wear,
TPP per_time_periods
where papf.payroll_id = ppa.payroll_id
and ppa.effective_date between papf.effective_start_date and papf.effective_end_date
and ppa.action_type IN ('Q', 'R')
and ptp.payroll_id = papf.payroll_id
and papf.payroll_name =: pPayrollName
and ppa.date_earned BETWEEN ptp.start_date AND ptp.end_date
and: pDate BETWEEN ptp.start_date AND ptp.end_dateMake a Date and the name of payroll. The query should list all series pay down in the period in which falls the date.
-
monthly payroll employee balances of loan request
Hello world
I have a question about the balance of the loans used as (car loan, loan to housing, ready to pay)...
But it takes a long time to run. When to give the parameters as employees or lexical parameter. If I didn't give the same employee setting. It takes 1 min to run...
I use oracle EBS 11i.
Please, anyone with the query on the above mentioned elements in HR PAYROLL,
I am very grateful to those who help me...
Thank you
Concerning
Mohsin
Published by: Mohsin on 10 June 2010 14:39
Published by: Mohsin on June 11, 2010 12:49 AM
Published by: Mohsin on June 12, 2010 09:30Is it urgent?
What makes you think your aid application is more important than someone else who asked for help? It is very rude of assumed that you are more important than anyone else, and I'm sure they would like an answer to their question as as soon as they can get a too, but they were polite and generally not required it is urgent.
Additionally, you assume that people who give answers are all sitting here just waiting to answer your question for you. This isn't so. We are all volunteers with our own work to do. How dare you claim to demand our attention with urgency.
If you want help and you want that he answer quickly simply offer you your question and provide a lot of valuable information as possible.
Looking at your message you do not have to tell us what version of database you use, you have not provided any DDL create table and insert that fill with the sample data, and you still haven't we shown you had a go doing something yourself.
You will find if you post on demanding here that your message is urgent, while most people will simply ignore it, some will tell you to get lost, and some will explain you why you should not after "urgent". Sometimes you can find someone who has nothing better to do in fact provide an answer, but you're really limit your options by not asking correctly.
And you should never assume that people will help you directly to your email address. This is a public forum and the answers will be posted here. In fact, you would be better to edit your post and remove your email address, otherwise spambots will pick it up and begin to send you all kinds of rubbish.
With respect to setting up queries, you may want to read these discussions to learn how to view ownership of your application
When your query takes too long... When your query takes too long...
How to post a SQL tuning application HOW TO: post a request for tuning SQL - model poster statement
Maybe you are looking for
-
Satellite A200 PSAE3A is slow - possible memory upgrade?
HelloI am a real novice with this stuff so please bear with me and my stupid questions. I have a Satellite A200 PSAE3A - 07M 007. I got no upgrade at all.It has only 1 GB of RAM. It's so slow its driving me crazy. Cannot afford the new PC. Can I spen
-
Premium e-ALL-IN-ONE C310: Scan of the PC to the printer wireless
Wireless printing is fine, but cannot get to the center of the solution to use the ability to scan PC; error message indicates the installation is not complete, but I've uninstalled and reinstalled. I know that I have a connection because the impres
-
DeskJet 2540: HOdeskjet 2540
I've just set up my new HP DESKJET 2540 today and properly connected wireless to my laptop but when I try to print from my iPad and iPhone it shows 'no AIR PRINT' available printers.I checked before I bought the printer and I should be able to use so
-
Online price for my old silver update has stopped working yesterday. Microsoft has finally pull the plug?
-
local network connection missing, how to recover?
When I open Network Center and sharing, connection to the local network is not here