How to return employees who did not register?
Hi All.
I've tow tables, employees (for data of employees) and emp_comm(emp_no number, comm_date date) for registering coming
emp_no in emp_comm table is a foreign key references to the primary one emp_no in employees.
Now I tried to use this code in a report to return all employees who didn't register between tow dates (using user parameters):
select a.FINANCIAL_NO , a.emp_full_name, b.xdate from
employees a,
(select to_date(:P_FROM,'dd/mm/yyyy') + (level-1) xdate
from dual
connect by level <= to_date(:P_TO,'dd/mm/yyyy')-to_date(:P_FROM,'dd/mm/yyyy')+1
) b
where (A.EMP_NO, b.xdate) not in (select EMP_NO, TO_DATE(COMM_DATE, 'DD/MM/YYYY') from EMP_COMM)
But the previous code returns all the employees not only who not register! Why? and How to solve?
Thank you
Note: I'm using DB 10g, Reports 6i
Out Of Stock
Hello,
in your query
FROM employees a
,(SELECT TO_DATE(:p_from,'dd/mm/yyyy') + (LEVEL - 1) xdate
FROM dual
CONNECT BY LEVEL <= TO_DATE(:p_to,'dd/mm/yyyy') - TO_DATE(:p_from,'dd/mm/yyyy') + 1
) b
gives a cartesian product - every employee with every date
Since comm_date matches only a single date in b you get a NOT IN for every other date.
Try
SELECT a.financial_no
,a.emp_full_name
FROM employees a
WHERE a.comm_date NOT BETWEEN TO_DATE(:p_from,'dd/mm/yyyy')
AND TO_DATE(:p_to,'dd/mm/yyyy')
What do you need b.xdate for in your example?
BTW: Isn't comm_date a date column? TO_DATE on a date column is wrong, it might give you wrong results because it will implicitly converted to TO_DATE(TO_CHAR(comm_date),'dd/mm/yyyy') where the TO_CHAR uses the default date format.
Regards
Marcus
Similar Messages
-
If a group message doesn't completely go through, how can I see who did not recieve it?
I tried to send a mass text message (note: I have group messaging turned OFF, but I just used the field where you can send the same message to multiple recipients), however, it came back saying that "Your message was not sent. Tap "Try Again" to send this message." I know that some people recieved the text, as they replied to it, however I'm fairly certain that one or two people did not recieve it. Is there any way to figure out who did not correctly get the message from within the app? Thanks.
Change your password, alert your credit card company and itunes support.
-
Best practice on how to handle employees who do not have a last name?
We are a Canadian based company with some International employees. We have recently begun to enter the International employees into the HR module. This has led to some problems for employees from India who do not have both a first name and a last name as many of our downstream systems require both names.
I'm wondering what other companies with International employees have done in this circumstance. Can someone recommend a Best Practice? We want to ensure that whatever we do is not offensive to anyone.
Thanks.Dear,
Indian names vary from region to region. Sometimes Names also influence by religion and caste. Different languages spoken in India in different regions. This variety makes confusing differences in names and their styles.
Now come to the point, since you are international company, while entering the names of your international employees - i would like to suggest to consider the employees names as mentioned in their passport (If they hold valid passport). In case of non availability of passports consider their bank information or any other available information so that they didnt face any further problems like visa, banking transactions etc etc.
1. Maddepalli Venkata Ramana Rao
In this case Maddepalli will be his surname, Venkata Ramana can be his first name and Rao can be mentioned as Second / last name.
2. Hardev Singh
In this case you didnt find a surname... Singh will be considered as Surname or his ethinic recognition. In this case you can enter Hardev as First name and Singh as last name.
Make some entry fields are optional depending on the situation. Take help of an Indian origin employees help exists in your office.
Regards,
Syed Hussain. -
How to Retire Employees who have not been Payed their Dues.
Well i have a situation where by employee's assignment have been suspended or the employee is retired by the company now this company does not want to pay their dues as of same pay period as it takes some time and payments are usually issued in some future date so how can we Retire or Suspend such employees? "Usually we try to do it normal way of retiring or suspending an employee through Navigating to People >Enter & Maintain window Query the employee click on Other Button End Employement." Now the issue is...
since the employee is being payed in some future date we are failing to see those employees(i.e. End Employement) in the Payable Module....?
All Suggestion/Comments are appreciated.
Regards,
ChetanAnkur please note I have defined all my elements as of Last standard process.
so does that mean that what you have suggested earlier will work fine.
( i.e."From the payroll point of view, While terminating , enter only Actual termination date and leave Final process date blank. This will let you process employee payroll even though he is terminated".)
Regards,
Chetan -
How do you find out who did not contribute to a particular fund raiser that we all just did?
Using MYsql How do you find out who did not contribute to a particular fund raiser that we all just did. There are many titles to the different charities that is under the othpaytitle of the Otherpay table, I however just want to extract the non-contributors for a particular charity title. Is there anyway to do this? When I do the the syntax below it comes up as an "empty set". The search is done by way of the table Id matching and left joins. Please see below.
SELECT moiid, trim(concat(name.fname,' ' ,name.mname,' ',name.lname)) as Brother, name.moiid as Members_ID, sum(otherpay.othpayamt) as NO_Contribution, quadlt.ltfname as quad
FROM name
LEFT JOIN OTHERPAY ON name.moiid = otherpay.othpaymoiid
LEFT JOIN quadlt ON name.quadlt = quadlt.ltid
WHERE Otherpay.othpaytitle like '%food drive%'
AND otherpay.othpaymoiid IS NULL
AND name.type = 'BOI'
AND name.type <> 'jrboi'
AND name.city = 'SUFFOLK'
GROUP BY brother
ORDER BY name.quadlt, brotherJust guessing based on your query, and assuming the above query works, just insert a "where" condition. I also removed the SUM function. Also, "AND otherpay.othpaymoiid IS NULL" may not be needed.
SELECT moiid, trim(concat(name.fname,' ' ,name.mname,' ',name.lname)) as Brother, name.moiid as Members_ID, otherpay.othpayamt, quadlt.ltfname as quad
FROM name
LEFT JOIN OTHERPAY ON name.moiid = otherpay.othpaymoiid
LEFT JOIN quadlt ON name.quadlt = quadlt.ltid
WHERE Otherpay.othpaytitle like '%food drive%'
AND otherpay.othpaymoiid IS NULL
AND name.type = 'BOI'
AND name.type <> 'jrboi'
AND name.city = 'SUFFOLK'
AND othpayamt=0
ORDER BY name.quadlt, brother -
How can I Registere people who are not Registered with iMessage ?!
How can I Registere people who are not Registered with iMessage ?!? :(
If they have a Mac or Apple iDevice, call them or email them and tell them to activate iMessage.
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
Cheers, Tom -
I am trying to move Indesign CS6 to a new computer.
To do this I need the serial number of the license.
It seems I did not register the number on my Adobe account as nothing is there.
I bought the software in August 2012 - and no longer have the invoice.
i think we got the software by box but am not sure.
Please help!Hello Karen,
in this case you should search for Adobe's staff members by writing a personal message. They can often help better than we, we the users like you. Please have a look in the forum to persons with this icon under their avatar:
Hans-Günter
P.S.
Very often Preran works as the "good spirit". -
How to list those employees who do not have a certain pay rate type set up
Hi,
I'm trying to create a report that lists all employees who DO NOT have a certain pay rate role type set up. An employee can have multiple pay rate roles - for example: chargeable miles, non-chargeable miles, subsistence, etc.
I want to identify all those employees who do not have, say, subsistence yet set up.
I joined the employee table to the employee rates table. The employee_role_id=20 is the particular rate role value that I am interested in. I want to only list those employees who do not have rate of role type 20 set up. That way I can go and set one up for these employees. At present, I am using selection criteria where employee_role_id=20. This brings back only those employees that have an employee_role_id of 20 setup. I would like to do the inverse but setting <>20 only screens out those roles with value 20 and displays all of the rest of the pay role values for each employee.
Any help is appreciated.
thx!
Markif you are not sure about the linking i suggest to just show all roles associated to all the employees,
group by employee
create true/false formula for the role_ids where ONLY your 20 role is TRUE per employee
then exclude all false - that should give you only the employees that are missing that particular role. -
Vendors didnt receive 1099. How to query in system who did not receive.
Is there a way in the sap system to see who did not receive a 1099? Is there any query I can do to see this
Hi Redhed
Send us an email using the contact the mods link in my profile and I can have this picked up for you.
The form will give us the details needed to assist further.
Thanks
Stuart
BTCare Community Mod
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-) -
Windows Server 2012 becomes slow and unresponsive, event logs show DCOM errors in event logs. After server reboot server works normally.
Log Name: System
Source: Microsoft-Windows-DistributedCOM
Date: 10/28/2014 9:06:32 AM
Event ID: 10010
Task Category: None
Level: Error
Keywords: Classic
User: NETWORK SERVICE
Computer: ServerName
Description:
The server {1F87137D-0E7C-44D5-8C73-4EFFB68962F2} did not register with DCOM within the required timeout.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
<EventID Qualifiers="0">10010</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2014-10-28T13:06:32.743836700Z" />
<EventRecordID>165767</EventRecordID>
<Correlation />
<Execution ProcessID="760" ThreadID="5560" />
<Channel>System</Channel>
<Computer>ServerName</Computer>
<Security UserID="S-1-5-20" />
</System>
<EventData>
<Data Name="param1">{1F87137D-0E7C-44D5-8C73-4EFFB68962F2}</Data>
</EventData>
</Event>Hi Avinash,
If this issue occurs again, please follow steps below to troubleshoot it,
Use the GUID in the error message to find what application it is.
Using Regedit, navigate to the following registry value:
HKEY_CLASSES_ROOT\CLSID\clsid value\LocalServer32. The clsid value is the information displayed in the message. Such as, {3EB3C877-1F16-487C-9050-104DBCD66683}
In the right pane, double-click
Default. The Edit String dialog box is displayed. Leave this dialog box open.
Click
Start, and then click This PC.
Using the information displayed in the
Value data box of the Edit String dialog box, navigate to the program.
Right-click the program name, and then click
Properties. The Properties dialog box for the program is displayed.
To determine who the vendor is for this program, refer to the
Version tab.
If you can’t find the file in the corresponding path, please replace with a good file.
Check if the related service have started. Stop and try to restart it.
If you have 3<sup>rd</sup> party applications, please disable it temporary, to see if this issue was caused by them.
For more details, please refer to links below, it provides more possible causes about event ID 10010.
DistributedCOM Error ID 10010
https://social.technet.microsoft.com/Forums/windowsserver/en-US/77b1db1d-f186-4515-8f7d-2241942eb9b7/distributedcom-error-id-10010?forum=winservergen
Best Regards,
Tina -
hello all.....
when i try to convert .indd file to PDF file in C# , i got the following error
The server {4D8E7D87-0103-42F6-BE82-598C7E90A42C} did not register with DCOM within the required timeout.
just 1 day ago i installed adobe indesign cs4 in my system.
do i need to install anything else???????
please let me know.
Thanks in advance.Hi Avinash,
If this issue occurs again, please follow steps below to troubleshoot it,
Use the GUID in the error message to find what application it is.
Using Regedit, navigate to the following registry value:
HKEY_CLASSES_ROOT\CLSID\clsid value\LocalServer32. The clsid value is the information displayed in the message. Such as, {3EB3C877-1F16-487C-9050-104DBCD66683}
In the right pane, double-click
Default. The Edit String dialog box is displayed. Leave this dialog box open.
Click
Start, and then click This PC.
Using the information displayed in the
Value data box of the Edit String dialog box, navigate to the program.
Right-click the program name, and then click
Properties. The Properties dialog box for the program is displayed.
To determine who the vendor is for this program, refer to the
Version tab.
If you can’t find the file in the corresponding path, please replace with a good file.
Check if the related service have started. Stop and try to restart it.
If you have 3<sup>rd</sup> party applications, please disable it temporary, to see if this issue was caused by them.
For more details, please refer to links below, it provides more possible causes about event ID 10010.
DistributedCOM Error ID 10010
https://social.technet.microsoft.com/Forums/windowsserver/en-US/77b1db1d-f186-4515-8f7d-2241942eb9b7/distributedcom-error-id-10010?forum=winservergen
Best Regards,
Tina -
The server did not register with DCOM within the required timeout.
Hi All,
I am using Thinkpad T43 (type 1871) with Windows XP SP3, but sometimes I find the following message in the Event Viewer:
The server {7160A13D-73DA-4CEA-95B9-37356478588A} did not register with DCOM within the required timeout.
What may be the reason for this message?
How it can be solved?
Regards,
Alperhave a look here http://www.grc.com/freeware/dcom.htm
Thinkpad R61 7733-1GU
Thinkpad X61T 7762-54U
Thinkpad X60T 6363-4GU
Did a member help you today? Thank them with a Kudo!
If a post answers your question, please mark it as an "Accepted Solution"!
Regards,
GMAC -
I need to create a MSPS 2010 query/report to send out to my project managers that show them everyone who did not submit their timesheet for the previous week. I would like to be able to filter it by project/client but would settle for just a list
of all unsubmitted timesheets at this point. Every link I have found point to old reports for MSPS 2007 and the queries do not work because of schema changes between MSPS 2007 and 2010. Please help!Thanks Elli! Is there any way to also pull in the active resources that have not created a timesheet in the timeframe I am filtering on as well?
Here is the query I had came up with. Looks like I was on the right track... I did two actually. First one to give me a roll up list of employees with outstanding time sheets for last week and the hours, then the same data with an explosion
by employee by project and also pull in their associated time sheet manager:
--Everyone with an timesheet for last week where status is not 'Approved' or 'Submitted'
SELECT DISTINCT
CONVERT(varchar(10),b.StartDate,1) + ' - ' + CONVERT(varchar(10),b.EndDate,1) as [Timesheet Date]
, [ResourceName]
, [TimesheetStatus]
, SUM([ActualWorkBillable]) as [Hours Entered]
FROM
[dbo].[MSP_TimesheetLine_UserView] a
, [dbo].[MSP_TimesheetPeriod] b
WHERE
a.PeriodUID = b.PeriodUID
and [TimesheetStatus] NOT IN ('Approved', 'Submitted')
and DATEADD(dd,-7,GETDATE()) BETWEEN b.[StartDate] AND b.[EndDate]
GROUP BY
b.[StartDate]
, b.[EndDate]
, [ResourceName]
, [TimesheetStatus]
GO
--Everyone with an timesheet for last week where status is not 'Approved' or 'Submitted' w/ Project/Customer explosion
SELECT
CONVERT(varchar(10),b.StartDate,1) + ' - ' + CONVERT(varchar(10),b.EndDate,1) as [Timesheet Date]
, r.ResourceName AS [Resource Name]
, [TimesheetStatus]
, [ProjectName]
, ([ActualWorkBillable]) as [Hours Entered]
, isnull(rm.ResourceName,'<No Timesheet ManagerInformation Available>') AS [Timesheet Manager]
FROM
dbo.MSP_EpmResource_UserView r
LEFT OUTER JOIN
dbo.MSP_EpmResource_UserView as rm
ON r.ResourceTimesheetManagerUID = rm.ResourceUID
,[MSP_TimesheetLine_UserView] as a
,[MSP_TimesheetPeriod] as b
WHERE
a.PeriodUID = b.PeriodUID
AND a.ResourceUID = r.ResourceUID
AND [TimesheetStatus] NOT IN ('Approved', 'Submitted')
AND DATEADD(dd,-7,GETDATE()) BETWEEN b.[StartDate] AND b.[EndDate]
AND (r.ResourceIsActive = 1)
AND (r.ResourceType = 2)
AND (r.ResourceIsGeneric = 0)
ORDER BY
r.ResourceName
, ProjectName
GO -
Block the processing of payroll for employees who do not have IT0185 ST01
Hi People.
I have a client requirement that payroll should be processed only for those persons for whom ID number (IT0185-ST01) is available. I am trying to do it for Portugal Payroll.
I activated P0185 function in PE04 for Portugal and created 2 rules:
*ZH01 Verifica existência do IT0185*
*TABLEP0185 Ler campos de tabela*
*" VARGBSUBTY Campo tab.VVVVV ArgV*
*" 01*
*NUM=1 Definir*
*ADDWT&0185 VAR tab.variáveis*
and...
*ZH02 Verifica existência do IT0185 Subtipo 01*
*NUM=& 0185 Definir*
*" NUM?0 Comparação*
*ZERO=&0185 Definir VVVV p/zero*
*" =*
*ERROR Cancel.processamento*
And I put the rules in sequence in the scheme. But the function P0185 doesn't accept rules.
How do I block the processing of payroll for employees who do not have infotype 0185 subtype 01?
Thanks,
Helio Rabelloif you are not sure about the linking i suggest to just show all roles associated to all the employees,
group by employee
create true/false formula for the role_ids where ONLY your 20 role is TRUE per employee
then exclude all false - that should give you only the employees that are missing that particular role. -
Hi,
I have a windows service written in .Net which access a COM component(This conponent is also written by me).
The COM component launches Acrobat and uses it for generating Thumbnail files.
I get following error is logged into event viewer when CreateDispatch("AcroExch.App", &e)) line is exicuted.
Error Message: The server {85DE1C45-2C66-101B-B02E-04021C009402} did not register with DCOM within the required timeout.
This problem occurs only when the windows service run under a specified user account say "TestUser". i.e if service runs under "Local System" account then everything works fine.
Also this problem only occurs on WinXP machine. i.e same thing on Windows2003 server works fine.
I have given all required permissions for "TestUser" on AcroExch.AVDoc and AcroExch.PDBookmark using dcomcnfg.
Any help will be appriciated.
Thanks and Regards,
Anand Mahadik.Hello,
start by running sfc /scannow to check if there is corrupt system files.
If this does not hellp, I recommend performing an in -place upgrade of your OS.
This
posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Microsoft
Student Partner 2010 / 2011
Microsoft Certified
Professional
Microsoft Certified
Systems Administrator: Security
Microsoft Certified
Systems Engineer: Security
Microsoft Certified
Technology Specialist: Windows Server 2008 Active Directory, Configuration
Microsoft Certified
Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
Microsoft Certified
Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
Microsoft Certified
Technology Specialist: Windows 7, Configuring
Microsoft Certified
IT Professional: Enterprise Administrator
Microsoft Certified IT Professional: Server Administrator
Maybe you are looking for
-
Upload data from Excel into SAP CRM using webservices
Hi, I want to upload the data from EXCEL into SAP CRM using a web service, can anyone say me the process and also how to map the excel and the source code structures. Thanks, Sanju.
-
i want to delete my credit card info from my apple account my 3 year old has mastered purchasing apps and he knwos my password how can i remove it from mylaptop, ipad and iphone so this doesnt happen and i can enter my credit card info manually?
-
I was importing photos yesterday. iphoto has been importing them since yesterday. It won't let me stop the import or exit iphoto. Any thoughts. I am a very new MAC user. Thanks!!
-
Ps CC: Color Shift On Second Monitor When Using FullScreen Mode
I have been suffering from a new issue since re-calibrating my external NEC Multisync monitor with an i1 Pro calibrator. Though colors across the system as a whole are improved over similar calibrations with a SpyderPro4, whenever I use the full-scre
-
Hi All, I am working on Portal.I am using SAP Netweaver 2004.I logged on with my user id and password.In the Content Administration in portal catalog Portal Content Folder is not visible. I need to create an transactional iView .Is there any