Number of employees on payroll
Hi all, I am new to oracle applications. Please help me to create sql for the following statements.a. number of employees in the pay run per month and per organization
b. number of employees in the process of advance payment of pay by month and by organization
c. number of affected employees salary by organization
d. number of employees affected not pay per organization
Thank you in advance.
Explore the tables pay_payroll_actions, pay_assignment_actions for a and b.
For c and d, check the table per_pay_proposals.
See you soon
Ganesh
Tags: Oracle Applications
Similar Questions
-
Query help - to get the number of employees joined on each month regardless of the year
Hi all
I wrote the code below for number of employees joined each month regardless of the year of the employee table. But I couldn't get the result. Kindly help me where I'm wrong in my code,
Select to_char (hiredate, 'my') as join, count (empno) under the number
WCP
To_char Group (hiredate, 'my')
After having count (empno) > 1;
Your application displays the list of months (regardless of the year) where more than one employee was engaged with number of emplyees hired this month here. If you want months even if nobody was hired months thast, you emp table outer join to the list of every month:
with t as)
Select the level m
of the double
connect by level<=>=>
)
Select to_char (to_date (TM, 'mm'), 'my') Lun,
Count (e.empno) cnt
t
left join
E EMP
on Tahina = to_char (e.hiredate, 'mm')
Group of Tahina
order of Tahina
/
MY CNT
--- ----------
1 jan
February 2
Mar 0
Apr 2
May 2
1 Jun
July 0
August 0
2 sep
Oct 0
1 novMY CNT
--- ----------
Dec 312 selected lines.
SQL >
SY.
-
How to find the number of employee
Hello
I am very new to EBS and task on site for coding a query to search only the number of employees of each Department in the 2009 year grouped by month or week.
Can someone help me please? Its urgent
Thank you
AaliYou can use something like this:
select ppg.group_name, count(*) from per_all_people_f ppl, per_all_assignments_f paf, pay_people_groups ppg where ppl.person_id = paf.person_id and ppl.current_employee_flag = 'Y' and paf.assignment_type = 'E' and paf.people_group_id = ppg.people_group_id (+) and ppl.effective_start_date <= TO_DATE('31/12/2009','DD/MM/YYYY') and ppl.effective_end_date >= TO_DATE('01/01/2009','DD/MM/YYYY') and paf.effective_start_date <= TO_DATE('31/12/2009','DD/MM/YYYY') and paf.effective_end_date >= TO_DATE('01/01/2009','DD/MM/YYYY') group by ppg.group_name
Kind regards.
-
I have two tables: employees and their departments. I'm figuring the total employees by the Department and the total employees of the entire society. I know I have to use the SUM function, but I can only calculate total employees by Department and company separately. I need to get this result:
Published by: user13675672 on January 30, 2011 14:29DEPT_NAME DEPT_TOTAL_SALARY COMPANY_TOTAL_SALARY RESEARCH 10875 29025 SALES 9400 29025 ACCOUNTING 8750 29025 This is my code: SELECT department_name, SUM(salary) as total_salary FROM employee, department WHERE employee.department_id = department.department_id GROUP BY department_name; SELECT SUM(salary) FROM employee; Can somebody help please? Thank you in advance.
Published by: user13675672 on January 30, 2011 14:31Hello
Something like:
SELECT dname, dept_tot_sal, SUM (dept_tot_sal) OVER () comp_tot_sal FROM (SELECT dname, SUM (sal) dept_tot_sal FROM dept, emp WHERE dept.deptno = emp.deptno GROUP BY dname);
There might be a smarter way, with no re - select.
Concerning
PeterAnalytical functions:
http://download.Oracle.com/docs/CD/E11882_01/server.112/e17118/functions004.htm -
As the title says, this problem prevents me from going to the next page to download. I contacted the support staff and she said that this problem cannot be resolved in the forum. Can anyone help?
Try a different browser.
-
Hi all
I came across a problem where we hired a new ERA and the system has generated a number of assignment (exactly the same as the number of employees - as expected), but this assignment number is already used by another EA and it did not cause an error? Since our third payroll uses number of assignment to decide how to pay these era is expel the new ERA and they are not paid. Is there a reason for this? How bad drives?
I think that the system should not create an assignment number if someone else has already in use.
ALSO, is there a way to block the field assignment update number?
I am currently working in 11i we Super HRMS Manager > Enter and Maintain > (query EE) > assignment tab > (Show number on the form of assignment)The assignment of numbers is all inmates on per_all_assignments_f
INTELLECTUAL PROPERTY
-
How to make a request on several employees salary increment
Dear gurus,
I want to apply increment on the wages of many employees without going through the window of salary for each employee. Someone knows how to do, or in any case which still exists? It will make my job a lot easier.Hiya,
Pls check Metalink Note: * salary Administration installation and use [201235.1 ID] *.
MAINTENANCE OF MULTIPLE SALARIES
Use the record of wages management to work with sets of assignments for the mass
entering and approval of salaries.Navigation: U.S. rrh > people > payroll
If you, for example, 10 employees to approve salaries, you can
CTRL - click to select these employees and then click approve. If
you have a significant number of employees or manipulate data on wages.
Launch the Application Data Export (ADE).A. interview assignments you want to work with.
B. then on salary management, click the icon of the ADE to start ADE.
C. in the extract ADE, select the style of the 'proposal for a salary"and select spreadsheet. Click Start.
D. change the data in the worksheet. Save the spreadsheet with a new name.
E. exit of the worksheet.
F. in ADE, choose the Download"" button.
G. support to choose and select the new worksheet that you saved.
H. Select Tlchg.
I. update data in the payroll window.Hope that helps,
See you soon,.
Vigneswar -
Number of unknown member during an attempt to propertyMap
In my application, I have a main.qml that has a TabbedPane.
The 2nd part is the LeadInformation.qml page, which has a NavigationPane manipulated a several page questionnaire.
From the first page, I have a menu option that pushes a page of BarcodeScan.qml to scan the barcode. When data is read, I want to fill in the fields on the LeadInformation.qml.
I added a function in the ApplicationUI to analyze the data of barcode.
When the data are analyzed, I try to use the propertyMap update fields on the page.
QmlDocument *qml = QmlDocument::create("asset:///LeadInformation.qml"); QDeclarativePropertyMap* propertyMap = new QDeclarativePropertyMap; propertyMap->insert("iFirstName", data.mid(m_startSpot, m_endSpot - m_startSpot)); qml->setContextProperty("propertyMap", propertyMap);
And in the LeadInformation.qml page
TextField { id: tfLeadFirstName hintText: "Lead First Name" input.submitKey: SubmitKey.None text: propertyMap.iFirstName; }
In the qml page, I get one! symbol and 'unknown member '.
I guess I need to declare something somewhere else to make it work. Examples are to change the values in the main.qml page. I have not seen an example to change values on another page.
This is what worked.
Instead of calling to a source of the page, I just added the Page as an object.
In the main.qml, I added the NavigationPane (LeadInformation.qml)
import bb.cascades 1.0 import bb.system 1.0 TabbedPane { id: mainTabPane showTabsOnActionBar: true property bool databaseOpen: false tabs: [ Tab { title: qsTr("User List") imageSource: "asset:///icons/ic_view_list.png" PageBase { databaseOpen: mainTabPane.databaseOpen page: "LeadsList.qml" } }, Tab { title: qsTr("Add User") imageSource: "asset:///icons/AddSubscription.png" LeadInformation { } } ] }
In the Navigation pane, which contains all of the fields that fills in the barcode data, I added the BarcodeScan page in the ComponentDefinition for action that calls the bar code
import bb.cascades 1.0 import bb.system 1.0 NavigationPane { id: navigationPane property string barcodeOutput; property int currentLeadID; onCreationCompleted: { _app.setLastLeadID(0); } Page { id: leadsInformation titleBar: TitleBar { // Localized text with the dynamic translation and locale updates support title: qsTr("Lead Information") + Retranslate.onLocaleOrLanguageChanged appearance: TitleBarAppearance.Branded; } ScrollView { scrollViewProperties.scrollMode: ScrollMode.Vertical Container { layoutProperties: FlowListLayoutProperties {} clipContentToBounds: false Picker { id: pkEmployee title: "Bell and Howell Employee" kind: PickerKind.Expandable rootIndexPath: [] dataModel: XmlDataModel { id: dmEmployees source: "xml/employees.xml" } pickerItemComponents: [ PickerItemComponent { type: "employee" content: Container { Label { text: pickerItemData.email } } } ] onSelectedValueChanging: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedEmployee = dataModel.data([0, selectedIndex(0)]) console.debug("selectedEmployee 0,0 email = " + selectedEmployee.email) lbEmployee.text = selectedEmployee.email } onSelectedValueChanged: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedEmployee = dataModel.data([0, selectedIndex(0)]) console.debug("selectedEmployee 0,0 email = " + selectedEmployee.email) lbEmployee.text = selectedEmployee.email if(lbEmployee.text.length > 2 && lbSelectedShow.text.length > 2) { if(aiNextButton.enabled == false) { aiNextButton.enabled = true } } } } Label { id: lbEmployee textStyle.fontStyle: FontStyle.Italic textStyle.fontWeight: FontWeight.Bold } Picker { id: pkShow title: "Show" kind: PickerKind.Expandable rootIndexPath: [] dataModel: XmlDataModel { source: "xml/show.xml" } pickerItemComponents: [ PickerItemComponent { type: "show" content: Container { Label { text: pickerItemData.name } } } ] onSelectedValueChanging: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedShow = dataModel.data([0, selectedIndex(0)]) console.debug("selectedShow 0,0 name = " + selectedShow.name) lbSelectedShow.text = selectedShow.name } onSelectedValueChanged: { console.debug("selectedIndex = " + selectedIndex(0)) var selectedShow = dataModel.data([0, selectedIndex(0)]) console.debug("selectedShow 0,0 name = " + selectedShow.name) lbSelectedShow.text = selectedShow.name if(lbEmployee.text.length > 2 && lbSelectedShow.text.length > 2) { if(aiNextButton.enabled == false) { aiNextButton.enabled = true } } } } Label { id: lbSelectedShow textStyle.fontStyle: FontStyle.Italic textStyle.fontWeight: FontWeight.Bold } Header { title: "Lead Information" } TextField { id: tfLeadFirstName hintText: "Lead First Name" input.submitKey: SubmitKey.None } TextField { id: tfLeadLastName hintText: "Lead Last Name" input.submitKey: SubmitKey.None } Header { title: "Company Information" } TextField { id: tfCompanyName hintText: "Company Name" input.submitKey: SubmitKey.None } TextField { id: tfJobTitle hintText: "Job Title" input.submitKey: SubmitKey.None } TextField { id: tfAddrLine1 hintText: "Address Line 1" input.submitKey: SubmitKey.None } TextField { id: tfAddrLine2 hintText: "Address Line 2" input.submitKey: SubmitKey.None } TextField { id: tfCity hintText: "City" input.submitKey: SubmitKey.None } TextField { id: tfStateRegion hintText: "State / Region" input.submitKey: SubmitKey.None } TextField { id: tfCountry hintText: "Country" input.submitKey: SubmitKey.None } TextField { id: tfPostalCode hintText: "PostalCode" input.submitKey: SubmitKey.None } Header { title: "Contact Information" } TextField { id: tfPhone hintText: "Phone" inputMode: TextFieldInputMode.PhoneNumber input.submitKey: SubmitKey.None } TextField { id: tfPhoneExt hintText: "Phone Extension" input.submitKey: SubmitKey.None } TextField { id: tfFax hintText: "Fax" inputMode: TextFieldInputMode.PhoneNumber input.submitKey: SubmitKey.None } TextField { id: tfEmail hintText: "eMail" inputMode: TextFieldInputMode.EmailAddress input.submitKey: SubmitKey.None } } } actions: [ ActionItem { id: aiNextButton enabled: false title: qsTr("Purchasing Timeframe") + Retranslate.onLocaleOrLanguageChanged ActionBar.placement: ActionBarPlacement.OnBar imageSource: "asset:///icons/ic_next.png" onTriggered: { currentLeadID = _app.getLastLeadID(); if(currentLeadID == 0) { // Create new Sales Leads _app.createLeadRecord( tfLeadFirstName.text, tfLeadLastName.text, tfCompanyName.text, tfJobTitle.text, tfAddrLine1.text, tfAddrLine2.text, tfCity.text, tfStateRegion.text, tfCountry.text, tfPostalCode.text, tfEmail.text, tfPhone.text, tfPhoneExt.text, tfFax.text, lbEmployee.text, lbSelectedShow.text); console.debug("New Sales Lead - Create") } else { // Update current Sales Lead _app.updateLeadRecord( currentLeadID, tfLeadFirstName.text, tfLeadLastName.text, tfCompanyName.text, tfJobTitle.text, tfAddrLine1.text, tfAddrLine2.text, tfCity.text, tfStateRegion.text, tfCountry.text, tfPostalCode.text, tfEmail.text, tfPhone.text, tfPhoneExt.text, tfFax.text, lbEmployee.text, lbSelectedShow.text); console.debug("Existing Sales Lead - Update Sales Lead ID: " + currentLeadID) } _app.readLeadRecords(); // Refresh the list view. _marketingWS.insertSalesLead(1); //navigationPane.push(purchasingTimeframeDefinition.createObject()); } }, ActionItem { id: aiScanButton enabled: true title: qsTr("Scan Barcode") + Retranslate.onLocaleOrLanguageChanged ActionBar.placement: ActionBarPlacement.InOverflow imageSource: "asset:///icons/ic_scan_barcode.png" onTriggered: { navigationPane.push(barcodeScanDefinition.createObject()) } } ] attachedObjects: [ // Definition of the second Page, used to dynamically create the Page above. ComponentDefinition { id: purchasingTimeframeDefinition source: "PurchasingTimeframe.qml" }, ComponentDefinition { id: barcodeScanDefinition BarcodeScan { } } ] } onPopTransitionEnded: { // Destroy the popped Page once the back transition has ended. page.destroy(); } backButtonsVisible: false }
Then, on the page BarcodeScan.qml, I just referenced the fields and added to the white list. Instead of calling C++ code to analyze the data, I just analyzed it on the page. QString provides a better string manager that the regular chain, so it's not as clean as I wanted it to be.
Page { property string decodeString property string tmpString property int initStartSpot: 0; property int startSpot: 0; property int endSpot: 0; property int x:0; property int vcard: 0 property int vcard2_1: 1 property int vcard3: 2 property int print2013: 3 property int codeType: 0 Container { id: cMain layout: StackLayout { } horizontalAlignment: HorizontalAlignment.Center verticalAlignment: VerticalAlignment.Center background: Color.create(0x9CDCF6) Container { id: cCameraReader layout: AbsoluteLayout { } background: Color.White horizontalAlignment: HorizontalAlignment.Center verticalAlignment: VerticalAlignment.Center Camera { id: camera preferredWidth: 450 preferredHeight: 450 onCameraOpened: { camera.startViewfinder(); } } BarcodeDetectorVisuals { id: bdvScanner preferredWidth: 450 preferredHeight: 450 barcodeDetector: barcodeDetector onDetected: { // Set the UserID to 0 _app.setLastLeadID(0); decodeString = data; dataArea.text = decodeString; if(decodeString.indexOf("VCARD") > 0) { if(decodeString.indexOf("VERSION:3.0") > 0) { codeType = vcard3; } else if(decodeString.indexOf("VERSION:2.1") > 0) { codeType = vcard2_1; } else { codeType = vcard; } } else { codeType = print2013; } dataArea.text += "\n " + codeType; switch(codeType) { case vcard2_1: case vcard: case vcard3: // Get Name tmpString = decodeString.substr(decodeString.indexOf("N:"), decodeString.indexOf("TITLE:")); tfLeadFirstName.text = tmpString.substr(0, tmpString.indexOf(";")); tfLeadLastName.text = tmpString.substr(tmpString.indexOf(";") + 1, tmpString.length); break; case print2013: //qDebug() << " Last End spot = " << decodeString.lastIndexOf(QString("$")); //qDebug() << " $ counts = " << decodeString.count(QString("$")); startSpot = 0; initStartSpot = decodeString.indexOf("$", startSpot + 1); for(x=0; x < 22; x++) { endSpot = decodeString.indexOf("$", startSpot + 1); dataArea.text += "\n x:" + x + " endSpot = " + endSpot; if(endSpot != -1) { switch(x) { case 0: // badge ID //qDebug() << " Badget ID = " << decodeString.substr(startSpot, endSpot - startSpot); break; case 1: // blank or Show ID //qDebug() << " Show ID = " << decodeString.substr(startSpot, endSpot - startSpot); break; case 2: // First Name tfLeadFirstName.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 3: //Last Name tfLeadLastName.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 4: //Title tfJobTitle.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 5: //Company tfCompanyName.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 6: //AddrLine1 tfAddrLine1.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 7: //AddrLine2 tfAddrLine2.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 8: //City tfCity.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 9: //StateRegion tfStateRegion.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 10: //PostalCode tfPostalCode.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 11: //Country tfCountry.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 12: //Phone tfPhone.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 13: //PhoneExt tfPhoneExt.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 14: //Fax tfFax.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 15: //LeadEmail tfEmail.text = decodeString.substr(startSpot, endSpot - startSpot); break; case 16: //RegClass //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 17: //PrincipalBusiness //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 18: //Primary Job Function: //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 19: //Influence in your company's buying decision //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 20: //Number of Employees //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 21: //Annual Sales Volume: //tftext = decodeString.substr(startSpot, endSpot - startSpot); break; case 22: //Products you are interested in (Multiple Answer/Comma Delimited) //leadContainer.tftext = decodeString.substr(startSpot, endSpot - startSpot); break; } startSpot = endSpot + 1; } else { break; } } } navigationPane.pop(); } } } attachedObjects: [ BarcodeDetector { id: barcodeDetector formats: BarcodeFormat.Any camera: camera } ] TextArea { id:dataArea text: "" textFormat: TextFormat.Auto maximumLength: 400 } } onCreationCompleted: { if (camera.allCamerasAccessible) { camera.open(); console.debug("rear camera opened") } else { dataArea.text = "Cameras are not accessible" } } }
It is the solution. This works.
Not the solution I was looking for, but I don't have the time now to try again.
My guess is that propertyMap will now also work with the way I'm treated Page calls.
-
get the number in the declaration of DBMS
Hello everyone,
my friend, I create the following code, but I've always faced a problem to display the result of County all the
the code is:
------------------------------
I insert a count (*) to get the number of employees
but he keep get only '1' to the last of the result in the following way:
DETAILS OF THE EMPLOYEE:
YJOSEPH5 | YOUSEFJOSEPH | 15 NOVEMBER 15
HYOUSEF10 | HASSANYOUSEF | 15 NOVEMBER 15
HYOUSEF17 | HASSANYOUSEF | 15 NOVEMBER 15
HYOUSEF14 | HASSANYOUSEF | 15 NOVEMBER 15
HYOUSEF16 | HASSANYOUSEF | 15 NOVEMBER 15
COUNT: 1
the code
------------------------------------
DECLARE
V_USER_ID VARCHAR2 (50);
NUMBER OF V_EMP_NO;
V_FIRST_NAME VARCHAR2 (30);
V_LAST_NAME VARCHAR2 (30);
DATE OF V_REG_DATE;
NUMBER OF V_COUNT;
V_SQL_SATEMENTS VARCHAR2 (1000);
NCOUNT THE NUMBER;
CURSOR C IS SELECT USER_ID, EMP_NO, FIRST_NAME, LAST_NAME, REG_DATE, COUNT (*) FROM EMP
USER_ID, FIRST_NAME, LAST_NAME, EMP_NO, REG_DATE GROUP;
BEGIN
OPEN C;
SELECT COUNT (*) FROM NCOUNT FROM USER_TABLES WHERE TABLE_NAME = 'EMP ';
IF (NCOUNT < = 0) THEN
V_SQL_SATEMENTS: =' CREATE TABLE EMP)
USER_ID VARCHAR2 (40) PRIMARY KEY,.
NUMBER OF EMP_NO,
FIRST NAME VARCHAR2 (30),
VARCHAR2 (30) LAST_NAME,.
DATE OF REG_DATE)';
RUN IMMEDIATELY "DROP TABLE EMP;
IMMEDIATELY RUN V_SQL_SATEMENTS;
END IF;SELECT NVL (MAX (EMP_NO), 0) + 1
IN V_EMP_NO
YOUSEF. EMP;
INSERT YOUSEF. EMP (USER_ID, EMP_NO, FIRST_NAME, LAST_NAME, REG_DATE)
VALUES (SUBSTR (: LAST NAME, 1, 1) |: LAST_NAME |) V_EMP_NO, V_EMP_NO,:FIRST_NAME,:LAST_NAME,TO_DATE(SYSDATE,'DD-MON-YY'));
DBMS_OUTPUT. PUT_LINE (' DETAILS OF THE EMPLOYEE: "");
LOOP
EXTRACT THE C IN V_USER_ID, V_EMP_NO, V_FIRST_NAME, V_LAST_NAME, V_REG_DATE, V_COUNT;
WHEN THE EXIT %C NOTFOUND;DBMS_OUTPUT. PUT_LINE (V_USER_ID |'|) ' || V_FIRST_NAME | V_LAST_NAME |' | ' || V_REG_DATE);
END LOOP;
DBMS_OUTPUT. PUT_LINE ("COUNT:" | "|") V_COUNT);CLOSE C;
END;
/ALL FRIENDS,
THANKS FOR EVERY BODY,
I JUST FOUND THE RIGHT WAY TO DO
FOR THOSE WHO WANT TO SEE:
-----------------------------------------------------------
DECLARE
V_USER_ID VARCHAR2 (50);
NUMBER OF V_EMP_NO;
V_FIRST_NAME VARCHAR2 (30);
V_LAST_NAME VARCHAR2 (30);
DATE OF V_REG_DATE;
NUMBER OF V_COUNT;
V_SQL_SATEMENTS VARCHAR2 (1000);
NCOUNT THE NUMBER;
CURSOR C IS SELECT USER_ID, FIRST_NAME, LAST_NAME, EMP_NO FROM EMP REG_DATE;
BEGIN
SELECT COUNT (*) IN THE EMP V_COUNT;
OPEN C;
SELECT COUNT (*) FROM NCOUNT FROM USER_TABLES WHERE TABLE_NAME = 'EMP ';
IF (NCOUNT<=0)>=0)>
V_SQL_SATEMENTS: =' CREATE TABLE EMP)
USER_ID VARCHAR2 (40) PRIMARY KEY,.
NUMBER OF EMP_NO,
FIRST NAME VARCHAR2 (30),
VARCHAR2 (30) LAST_NAME,.
DATE OF REG_DATE)';
RUN IMMEDIATELY "DROP TABLE EMP;
IMMEDIATELY RUN V_SQL_SATEMENTS;
END IF;SELECT NVL (MAX (EMP_NO), 0) + 1
IN V_EMP_NO
YOUSEF. EMP;
INSERT YOUSEF. EMP (USER_ID, EMP_NO, FIRST_NAME, LAST_NAME, REG_DATE)
VALUES (SUBSTR (: LAST NAME, 1, 1) |: LAST_NAME |) V_EMP_NO, V_EMP_NO,:FIRST_NAME,:LAST_NAME,TO_DATE(SYSDATE,'DD-MON-YY'));
DBMS_OUTPUT. PUT_LINE (' DETAILS OF THE EMPLOYEE: "");
LOOP
EXTRACT THE C IN V_USER_ID, V_EMP_NO, V_FIRST_NAME, V_LAST_NAME, V_REG_DATE;
WHEN THE EXIT %C NOTFOUND;DBMS_OUTPUT. PUT_LINE (V_USER_ID |'|) ' || V_FIRST_NAME | V_LAST_NAME |' | ' || V_REG_DATE);
END LOOP;
CLOSE C;
DBMS_OUTPUT. PUT_LINE ("COUNT:" | "|") V_COUNT);END;
/ -
Reg, showing the number of lines per grouping in reports of apex
Hi all
I need to display the total that is the count of the number of employees in a particular department. It must be included in the APEX (4.2).
EMP no service no salary
123 accounting 2300
111 accounting 2330
222 2600 accounting
333 accounting 2600
Total 4
444 purchase 2367
456 purchase 2789
433 purchase 2342
Total 3
Thank you
Sudha
IN a standard or interactive report? Anyway using the analytical functions Oracle will allow you to easily...
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
Salary of reference GOSI number
Hello
I have a problem with reference GOSI salary...
The question is this.
The user is to enter the wage GOSI - 6019
and run the Express, it is deduced from correct and also correct salary gosi
the user, run again the payroll for an employee in payroll batch run without undoing the action.
but in the second run the GOSI salary shows double amount and also double deduction.
check when the GOSI salary database showing two values on 6019 and other is 6018.75
and in the results of the execution, it shows the sum of these values...
so please can someone explain to me how this double value and how to avoid these issues.
Thank you Vignesh,
I got it.. the user has repeatedly enter the GOSI reference salary in the same period.
-
Script to find the base salary of the prospective employee
HRMS dear Experts,
I develop employee list-report - I need to include all the number of employees and their base salary. That's (current and prospective employee) category "Employee" and "worker of the Contingent.
For the employee category I take table per_pay_proposals - linking employee-> person - ID ID assignment number-->--> ID of Type person.
"For category - 'Potential worker' need, the name of the table that store base base salary for the prospective employee.
Version:
Oracle Applications: 12.0.6
RDBMS: 10.2.0.3.0
Thank you
We got the name of the base table this morning.
It's per_all_assignments_F - class title
Thanks to my manager who is an Expert in Oracle on all...
-
How to generate an automatic employee predefined in the old system?
Hi all
I have a requirement in which there is a separate sequence for employees, contractors and the plaintiffs.
Now the problem is that my client has already set employees with a large number of employees in their old system presets.
My question:
(1) how can I make sure for automatic generation of employee numbers while defining the defintion of BG, IF they want new employee number genertaion in HRMS should not be after their last employee. ? For example, under the old system, they have to say 100 emp with the last emp in 20081. Now in HRMS they want this employee not from 20082, then a sequence later. * 101 th employee aura employee guess 20082 and thus of
(2) for applicants and contractors a separate of footage that should be automatic.
How do I get there?
The pointers in this area will be extremely useful.
concerning
SYou can use a quick formula to do it. I've already implemented it at my client-side.
Oracle provides three fast formula by default which are as follows. Fast formulas must be changed.
1 APL_NUMBER_GENERATION
2 CWK_NUMBER_GENERATION
3 EMP_NUMBER_GENERATIONYou will not be able to access or change this through your responsibility. (check through backend for these names).
For access to this create a personal responsibility (set-up business group), then configure this resonsibilty and then change the text in the quick formula.(1) define the automatic numbering of auto manual
(2) create a sequence for EMP_NUM and CWK_NUM
(3) Create PL/SQL function
(4) to activate the installation companies group
(5) create new responsibility
(6) set values of profile to the level of responsibility
(7) create features of FF
(8) create formulas of FF
(9) to turn off the installation companies group-fast formula code
The DEFAULT for Person_number IS ' '
DEFAULT for Party_ID IS 0
Person_ID for default IS 0
The DEFAULT for National_ID IS ' '
By DEFAULT for Date_Of_Birth IS ' 1900/01/01 00:00:00 ' (date)
By DEFAULT for Hire_Date IS "01/01/1900 00:00:00 ' (date)"THE ENTRIES ARE
Legislation_Code (text),
Person_Type (text),
Person_number (text),
Party_id (Number),
Person_id (Number),
Date_of_birth (date),
Start_date (date),
National_ID (text)Next_number = '0'
Invalid_msg = ' 'If person_type = "EMP" then
(
Next_number = PBSO_PER_NO_GEN2 (Legislation_Code, Person_Type, Person_number, Party_id, Person_id, Date_of_birth, start_date, National_ID)l_mesg = 'Y '.
)
return Next_number-for CWk use person_type = "CWK' etc.
-
Director general human resources appears not all employees
Dear Experts,
I have intelligence facility HR and I'm having a problem in the responsibility of head of human resources. The responsibility is not displayed full employees of the Organization (in Overview). Can someone help me on this one.
Kind regards
Muhammad Noman moomoNumber of things I can think of-
1. If # you are looking to staff under a person (manager), make sure that all employees under him have given supervisor.
Even if a link is broken in the hierarchy, could not give you the correct size.
So just check all the whi employees have no supervisor and update.#2. Same thing with location. If you look at the number of employees per location, make sure that the value is populated for all employees.
All data you see in the dashboard just views % HRI
Select * from all_views
where view_name like '% HRIBG ';Select * from all_views
where view_name as 'HRI % ';You can check the appropriate view and see why the view does not return data.
Sorry mate, can't be of more help... Not sure why it is not showing the data...
See you soon,.
-
Why am I ORA-00909: invalid number of arguments for this querry?
SELECT d.DEPARTMENT_ID,
d.DEPARTMENT_NAME,
(select count (*) from oehr_employees where department_id = d.department_id)
"Number of employees", he said.
substr (e.first_name, 1, 1) |'. ' || Select 'Name Manager',
c.COUNTRY_NAME 'place '.
OEHR_DEPARTMENTS d,
E OEHR_EMPLOYEES
OEHR_LOCATIONS l,
C OEHR_COUNTRIES
WHERE d.LOCATION_ID = l.LOCATION_ID
AND l.COUNTRY_ID = c.COUNTRY_ID
AND e.department_id = d.DEPARTMENT_ID
AND d.manager_id = e.employee_id
AND instr ((d.department_name), (nvl(:P2_REPORT_)
Search, d.department_name))) > 0;Must be because you have a line break in the middle of p2_report_search.
Works for me without the newline.SQL> variable p2_report_search varchar2(10) := 'D'; SQL> SQL> WITH oehr_departments AS 2 (SELECT 1 department_id, 'D1' department_name 3 ,1 location_id, 1 manager_id FROM dual) 4 ,oehr_locations AS 5 (SELECT 1 location_id, 1 country_id FROM dual) 6 ,oehr_countries AS 7 (SELECT 1 country_id, 'US' country_name FROM dual) 8 ,oehr_employees AS 9 (SELECT 1 employee_id, 1 department_id, 'Ken' first_name, 'Denny' last_name FROM dual 10 UNION 11 SELECT 2 employee_id, 1 department_id, 'John' first_name, 'Smith' last_name FROM dual) 12 SELECT d.DEPARTMENT_ID, 13 d.DEPARTMENT_NAME, 14 (select count(*)from oehr_employees where department_id = d.department_id) 15 "Number of Employees", 16 substr(e.first_name,1,1)||'.'||e.last_name "Manager Name", 17 c.COUNTRY_NAME "Location" 18 FROM OEHR_DEPARTMENTS d, 19 OEHR_EMPLOYEES e, 20 OEHR_LOCATIONS l, 21 OEHR_COUNTRIES c 22 WHERE d.LOCATION_ID=l.LOCATION_ID 23 AND l.COUNTRY_ID=c.COUNTRY_ID 24 AND d.DEPARTMENT_ID=e.department_id 25 AND d.manager_id=e.employee_id 26 AND instr((d.department_name),(nvl(:P2_REPORT_SEARCH,d.department_name)))>0 ; DEPARTMENT_ID DEPARTMENT_NAME Number of Employees Manager Name Location ------------- --------------- ------------------- ------------ -------- 1 D1 2 K.Denny US
Maybe you are looking for
-
Satellite L10 - keyboard does not work properly
HelloI have problem with my keyboard. I have install Windows XP from recovery CD and make updates Windows Update form. Sometimes, when I write something ex 1234567890, I see on the screen 123567890 or 123456790.I took the laptop to the service and th
-
Remove the unused characters from string
Hi, I try to remove unused characters from a string, but I can't find a function for this. The string like: 0000 0000 0000 0000 0000 0000 0130 3130 3030 3030 3004 0000 0000 0000 0000 0000 0000 0000, I need the characters from 01 to 04. I need some ad
-
Patch installation (c:\6d57bc50035b00e854931262a69d\NDP35SP1-KB2416473.msp) failed on product (Microsoft .NET Framework 3.5 SP1). MSI log: Microsoft .NET Framework 3.5 - KB2416473_20110201_160548029 - Msi0.txt Patch installation (c:\473370fc560771d13
-
How to manage viewer errors & warnings
I have recently been informed of this newspaper, but don't know what to do with the information, or how to remove or correct the information in the event viewer. my computer is hp pavilion, family os_vista premium x 64. Here are some of the errors/
-
DCC - cannot update the BIOS via command line settings
I'm script an automated installation of Bitlocker on Windows 7 and 8.1 systems (company). I use the last DCC and programs CCTK that came with it. Systems have the latest BIOS updates, and are fully patched. I managed with several test systems (Win7