Missing Employee information

I tried debugging it but could not find a solution as to why one employee information is missing from this code.
Select UserName, EmpNumber, Product, SubProduct, [1] as 'January', [2] as 'February', [3] as 'March', [4] as 'April', [5] as 'May', [6] as 'June'
, [7] as 'July', [8] as 'August', [9] as 'September', [10] as 'October', [11] as 'November', [12] as 'December'
from (
SELECT 
Userdata.chUserName as UserName
,Month(a.dtInsertDate) as [Month2]
, datename(mm,a.dtInsertDate) as [Month]
,Year(a.dtInsertDate) as [Year]
,chRefReferredBy  as EmpNumber
,case when Prod.vchParameterDesc like '%Insurance' and Prod.vchParameterDesc <> 'Auto Insurance' then 'Other Insurance'
when Prod.vchParameterDesc = 'Auto Insurance' then 'Auto Insurance' when Prod.vchParameterDesc = 'Travel' then 'Travel' end as Product
,SubProd.vchParameterDesc as SubProduct
--,count(iCustomerId) as Total
  , iCustomerId
FROM [CRM_OED].[dbo].[CSuProductReferrals] a (nolock)
Left Outer Join [CRM_OED].[dbo].[ReferenceParameters] b(nolock)
on b.iParameterId = a.iRefType
Left Outer Join [CRM_OED].[dbo].[ReferenceParameters] as Prod(nolock)
on Prod.iParameterId = a.iRefProduct
Left Outer Join [CRM_OED].[dbo].[ReferenceParameters] as SubProd(nolock)
on SubProd.iParameterId = a.iRefSubProduct
Left Outer Join [CRM_OED].[dbo].[ReferenceParameters] as AccptDec(nolock)
on AccptDec.iParameterId = a.iStatus
Left Outer Join [CRM_OED].[dbo].[Users] Userdata(nolock)
on Userdata.chUserId = a.chRefReferredBy
Inner Join [CRM_OED].[dbo].[csuEmployeeAttributes] as Attributes(nolock)
on Attributes.chUserID = chRefReferredBy
Inner Join [CRM_OED].[dbo].[UDT_GroupsRegion] as Region(nolock)
on Region.chGroupID = 'RE' + cast(Attributes.iRegioncode as CHAR(10)) 
where Year(a.dtInsertDate) = @Year
--and chRefReferredBy in ('643247')
and AccptDec.vchParameterDesc = 'Accepted'
and a.tiRecordStatus = 1
and( Region.chGroupDesc in (@Region) or ' All' = @Region)
and Prod.vchParameterDesc not in ('Life Insurance', 'Annuities')
and (cast(Attributes.iClubCode as CHAR(10)) in (@Club) or ' All' = @Club)
and (Prod.vchParameterDesc like '%Insurance' or Prod.vchParameterDesc = 'Travel')
) P
Pivot
count(iCustomerId) 
For [Month2]  in 
([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])
) as pvt
Order by 
UserName, Product, SubProduct
Any help would really be appreciated.

I was able to resolve the issue. The problem was in the where clause which was filtering out employee data based on region. 
and( Region.chGroupDesc in (@Region) or ' All' = @Region)
Thanks for you help Patrick.

Similar Messages

  • HR application missing some button in employee information form

    Dear All
    After upgrade from 12.0.6 to 12.1.1, missing some button in employee information form of HR application when using arabic interface but its working for english interface.
    buttons like FIND CANCEL DETAILS SAVEAS CLEAR. these are the buttons missing in arabic interface,
    please advice me
    Thanks

    You can see here how to handle manual processes:
    http://apex.oracle.com/pls/otn/f?p=31517:170
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Employee information missing in CAT2 time entry data view

    Hi,
         We upgrade our system and when we go to time entry data view, we lost the employee information like Personnel number and cost center which displayed before upgrade.
    I checked with Tcode CAC2, nothing found. But My guess is Personnel number and Cost center will be coming default.
    Please let me know, where I can look in to it.
    Thaks
    Ral

    Hey Guys,
    You should ensure that for any configuration, the Modifiable and Influences you have a Hide entry. This way you will not be able to show the field. Kindly check the on CAC2 these both sections:
    - Modifiable
    - Influences.
    Thank you.
    Regards,
    Bentow

  • Missing package information on MyBT accounts

    Missing package information on MyBT accounts
    and after lots of phone call no one can fix it.
    which department do i need to talk to.
    and can i have a name of some one it that department so I can look them up in the Directory if not a name a EIN will do.

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Employee Information iViews dont display in MSS

    Hi All,
    I installed and configured MSS Business packages. All the MSS is views seems to work fine but for the  <b>Employee Information iViews</b>.
    We have ERP2005, EP7.0 of NW2004s SP9.
    After logging into the Portal as an MSS user I go to Team and when I click either General Information or Compensation Information or Personnel Development under <b>Employee Information</b> I get the pop windiw with all iview but no display.
    However when I click the show in new window option under Show details option on the top right hand corner of the iView page I do get to see the information on the pop window...
    what could be the problem here??
    Thanks for the help in advance
    Regards
    Madhu

    Madhu,
    Did you apply Note 903370 - Missing Customizing leads to failures in Employee-Profile
    Munish

  • Employee information is empty in MSS- Team in NWBC

    Dear all Gurus,
    Before starting I must say I searched on this topic in SCN & found numerous threads on the same. But all are having different solutions & most of them are in portal & using LPD_CUST. In my case we are in NWBC.
    I have already maintained the relationships for employee & manager using pa30 & po13.
    Now if an employee create a leave or travel request, it will appear in the managers work item.
    But in manager id, if we go to team -> employee information. it is showing no data exists.
    We haven't done any customizations or configurations for this.
    What I am missing & what I should do to display the reporting employees for the manager.??
    We are in NW 7.4.
    Regards,
    Namsheed.

    I doubt it is related to NWBC or you using the PFCG roles. Ask your basis/security admins to run a authorization trace, most likely it is a authorization issue maybe even structural/context one.

  • Java.rmi.ServerException: Missing port information

    when i call the service ,i got the error:
    run-test-client:
    [java] java.rmi.ServerException: Missing port information
    [java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingS
    ender.java:382)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
    java:234)
    [java] at sys.SetIF_Stub.getdeviceid(SetIF_Stub.java:68)
    [java] at sys.StockPriceFetcher.getdeviceid(Unknown Source)
    [java] at sys.TestPriceFetcher.main(Unknown Source)
    what cause it??
    in my SetImpl.java i use wurfltags.jar
    //SetImpl.java
    package sys;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import net.sourceforge.wurfl.wurflapi.*;
    public class SetImpl implements SetIF {
         private String ret="";
    private ProConf pc;
    private MyObjectsManager mom;
         public SetImpl(){}
    public String getdeviceid(String request)
    String result="";           
    try{              
    mom=new MyObjectsManager();
    mom.wurflWebInit();
    UAManager uam =mom.getUAManagerInstance();
    result=uam.getDeviceIDFromUA("MOT-T720/05.08.41R MIB/2.0 Profile/MIDP-1.0 Configuration/CLDC-1.0");
    System.out.println(result);
    catch(Exception e){}
    return result;     
    and, i generate the wsdl file and deploy it successfully. but in the client
    when i call the service it will be error.
    the client code is:
    /////////StockPriceFetcher.java
    package sys;
    import javax.xml.rpc.*;
    import com.sun.xml.rpc.client.*;
    public final class StockPriceFetcher {
    public static final String getdeviceid(String req,String endpoint) {
    String result="";
    try {
    SetIF_Stub stub =(SetIF_Stub)(new SystemConfiguration_Impl().getSetIFPort());
    stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,endpoint);
    result = stub.getdeviceid(req);
    } catch (Exception ex) {
    ex.printStackTrace();
    return result;
    } // getLonNowItem
    //////////////////////TestPriceTetcher.java
    package sys;
    import java.math.BigDecimal;
    import java.util.*;
    public class TestPriceFetcher {
    public static void main(String[] args) {
    try {
    // String result=StockPriceFetcher.endsetinfo("ball=5&srv=7&pcode=500001","http://192.152.251.224:8080/jaxrpc-sys/jaxrpc");
    String result=StockPriceFetcher.getdeviceid("ball=5&srv=7&pcode=500001","http://192.152.251.224:8080/jaxrpc-sys/jaxrpc");
    System.out.println(result+"bb");
    } catch (Exception ex) {
    ex.printStackTrace();
    when i run the testpricefetcher.java it will raise the above error infomation.
    it spent 2 days for me to find the problem, but i cannot solve it.
    i think it does matter with the wurfl package.because i doesnt use the method of the package in the SetImpl.java it will be ok. How to call the package?please give me a hand.

    can you give me a hand!thank you

  • Java.rmi.ServerException: JAXRPCSERVLET28: Missing port information

    Hi
    We are getting errors when we run the webservice client..
    With this we have also provided the webservice code.
    Please any one help us to resolve this issue...
    Thanks in advance.
    We are using
    J2EE 1.4
    Error:
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:510)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.j
    ava:103)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocatio
    nHandler.java:121)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocatio
    nHandler.java:85)
    at $Proxy0.flowrequest(Unknown Source)
    at dynamicproxy.MathClient.main(MathClient.java:52)
    Web service Client Code:
    package dynamicproxy;
    import java.net.URL;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    //import com.ibm.ctg.client.JavaGateway;
    //import com.ibm.ctg.client.ECIRequest;
    import dynamicproxy.*;
    public class MathClient
    static String message;
    static String err=null;
         static StringBuffer sb = null;
         public String s1;
         public static int iValidationFailed = 0;
    public static void main(String[] args)
    try {
    String nameSpaceUri = "urn:Foo";
    String serviceName = "CtgService";
    String portName = "MathFacePort";
    // Specify the location of the WSDL file
    URL url = new URL("http://localhost:8080/math-ctgservice/math?WSDL");
    // Create an instance of service factory
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    // Create a service object to act as a factory for proxies.
    Service mathService = serviceFactory.createService(url,
    new QName(nameSpaceUri, serviceName));
    // Create a proxy
    dynamicproxy.MathFace
    myProxy = (dynamicproxy.MathFace) mathService.getPort(new
                             QName(nameSpaceUri,
    portName), dynamicproxy.MathFace.class);
    // Invoke the add method
    //System.out.println(myProxy.add(23, 12));
              //get the input value and pass it to the function
                   String a = args[0]+"~"+"------------------------------------------------------------";
                   //String a = b.toUpperCase();
                   // Invoke the add method
                   myProxy.flowrequest(a);
                   System.out.println("Message:"+message);
         catch (Exception ex)
    ex.printStackTrace();
    }

    As is so often the case, Google is your friend.
    Googling for the exception message (JAXRPCSERVLET28: Missing port information) yields the following list.
    http://www.google.com/search?hl=en&q=JAXRPCSERVLET28%3A+Missing+port+information&btnG=Google+Search
    Follow the bouncing link, it will lead you to the solution.
    PS.

  • I have Photoshop 7 on a laptop with windows 8.1.  When I try to open Photoshop 7 I get the error message "cannot open missing personalization information".  What is this and how can I fix it?

    I have Photoshop 7.0.  This is on a laptop running windows 8.1.  When I try to open it I get the errro message: " cannot open missing personalization information".
    what is this and how can I fix it.

    Run it in compatibility mode and input the credentials.
    Mylenium

  • "Missing port information" and NoClassDefFoundError

    I'm developing a Web Service using JWSPD1.2, and I'm having some problem in executing a client which accesses to the service I'm publishing.
    On Client side the error is:
    java.rmi.ServerException: Missing port information
    at com.sun.xml.rpc.StreamingSender._send
    On Server side (file $(JWSPD_HOME)/logs/launcher.server.log) I found out that the thrown exception is a NoClassDefFoundError.
    The class that is not found, however, is included in a library that I'm linking on the command line, so I can't understand why this exception is thrown...
    Has anyone of you been involved in a similar problem?
    Perhaps I have to link the library somewhere else, but I don't know where...
    Thanks in advance for your help!

    Hi ! I am getting the same error at the client side :
    java.rmi.ServerException: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:370)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:231)
    at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:56)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:281)
    at DIIClient.main(DIIClient.java:111)
    can u just tell me how the problem was solved and what were the jar files u had set in the classpath. Pls help me i am new to webservices. Thanx in advance

  • What is "Missing Port Information" error?

    Setting FINEST log level on JAXRPC in the AS8 2004Q04 Beta reveals nothing.
    Searches on this forum provides only 3 matches for "Missing port information" (this one makes 4). In http://forum.java.sun.com/thread.jsp?forum=136&thread=508958 the same problem that I have is described, and the problem is left unresolved, despite a plea from a second user. ( I wonder what happened to these people...Did they sell short or become .NET developers. Neither are an answer for me. )
    Searches in the bug parade shows that this error is generic: In 6157880, classpath was not set correctly. In 4859401, service used a J2SE 1.4 API in a 1.3 environment. In 4802443 there is a getter for a public field and so jaxrcp was confused. There are more bugs matching but I'm not listing them all here. My point is that there doesn't seem to be a single root cause for this problem.
    So, logs don't help, forum doesn't have answer, bug parade is too noisy. This problem seems unresolved here on Sun's web pages, but here I try again:
    Here are some questions:
    1) What is "port information"?
    2) From where is it missing? Where does AS8 expect to find it?
    3) Anyone have a strategy on how to debug this?
    I have Axis TCPMON tracing the soap messages and can verify that AS8 originates the error, not the client. The limited information from the server log verifies this too:
    [#|2004-11-01T16:28:20.008-0500|SEVERE|sun-appserver-pe8.1|javax.enterprise.resource.webservices.rpc.server.http|_Thre
    adID=11;|JAXRPCSERVLET22: no endpoint specified|#]Here is the output of a client that dumps the exception:
         [java] Endpoint address = http://Stratocaster:8080/ym/ym-alias
         [java] javax.xml.rpc.soap.SOAPFaultException: JAXRPCSERVLET28: Missing port information
         [java]     at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:515)
         [java]     at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
         [java]     at svcp.XXXAPIR0501_Stub.create2(XXXAPIR0501_Stub.java:282)
         [java]     at SubClient.main(SubClient.java:31)

    I believe I've gotten to the bottom of this error and will report it here in case there is anyone that is also having this problem and in case there is anyone that can make sense of it.
    The alias and endpoint fields must be equal.
    The deploy tool allows you to enter an alias and an endpoint for your web service. I'll show you the user interface specifics below. The data you enter in these fields show up in the wsdl, the web.xml and the sun-web.xml, and I'll show what elements below.
    Except for the preceding '/' in the alias field (the '/' is inserted by deploytool), the alias and the endpoint string must be identical: if '/imp-alias' is the alias value, the endpoint must be 'imp-alias'.
    If they are not equal and your client uses the alias value in endpoint address, you will get "Missing port information" error.
    If they are not equal and your client uses the endpoint value in endpoint address, you will get '404 Not Found' error.
    For example, lets say I set alias to 'api-alias' and endpoint to 'api-endpoint'. Using my browser, I can get the wsdl with http://localhost:8080/context/api-alias?wsdl (where context is also a value set in deploytool gui). The returned wsdl will show that the soap:adress location attribute is: http://localhost:8080/context/api-endpoint. If your client uses the wsdl to generate stubs, the default endpoint is this location and your client will get the '404 Not Found' error. If you client provides an endpoint address by setting the ENDPOINT_ADDRESS_PROPERTY to http://localhost:8080/context/api-alias, your client will get the "Missing port information" error.
    You get to the alias and endpoint fields in deploytool from the File panel on the left. Open the subfolder that represents your war file. There will be your web service. Select the web service and the main panel will change to contain about 4-6 tabs. One tab labelled Aliases another tab labelled Endpoint.
    The alias field shows up in the web.xml file like this:
    <servlet-name>APIImpl</servlet-name>
    <url-pattern>/api-alias</url-pattern>
    </servlet-mapping>The endpoint field show up in the web.xml file under the same servlet-mapping element as alias:
    <servlet-name>APIImpl</servlet-name>
    <url-pattern>/api-endpoint/__container$publishing$subctx/*</url-pattern>
    </servlet-mapping>The endpoint field shows up in the wsdl in the soap:address element's 'location' attribute:
          <soap:address location="http://localhost:8080/context/api-endpoint" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>The endpoint field shows up in the sun-web.xml file
    <endpoint-address-uri>api-endpoint</endpoint-address-uri>John

  • How to set missing language information in iTunes books?

    Some of the ebooks I imported into iTunes are missing language information in their metadata. I can't find a means of setting the proper language in the information dialog, something which can easily done i.e. using Calibre or Sigil. Is iTunes really missing this feature?

    it would seem so

  • Contact Sheet II setup page is missing layout information.

    Where has the layout data gone in the Contact Sheet set up page?  Is Photoshop trying to get rid of all useful tools throughout CS6?

    Pete:
    Below is the screen that I get initiating “Contact Sheet II.”  I’m using Windows 7.  In the area below below the “Reset” button it says, “Press the ESC key.....” it’s missing the information on total photos, number of pages, W: and H: information.  I’ve always considered this information vital in laying out contact sheets.
    On the second printed screen I’m running Windows Vista and Photoshop CS5.  You should be able to see the difference.  There is no “Load, Save and Reset” buttons.
    Thank you for the opportunity to supply this information.  If you have further questions please feel free to contact me.
    Dave Cantrell
    31255 Via Mariposa Court
    Bonsall, CA 92003
    (760) 726-8715
                                                  Photoshop CS6 Beta using Windows 7
    Photoshop CS5 using Windows Vista

  • Missing subclass information...

    Hi,
    I have a form called ALC1.fmb. It passes parameters to report. It is converting date field to TO_CHAR before assigning to fun_add_param. When i run the report the text field which is subclassed from object_library formats value. Here is the code..
    TO_CHAR(:blk_main.sta_efct_dte_frm,get_item_property('blk_main.sta_efct_dte_frm',FORMAT_MASK))
    I am trying to create a similar FORM with only date fields. When i save the above form as ALC2.fmb and run, it works. When i rename the form module name to other than ALC1 it fails. It is missing FORMAT_MASK. if i set FORMAT_MASK in the property pallet, it works.
    My question is why it is missing subclass information when i rename the form module in property class.
    Using Forms9i.

    I extactly face the same issue. It started happening after I uninstalled and installed 10g developer suite. Does anyone know why this is happening?
    Thanks
    GM

  • Missing File information

    I was trying to make a smart folder to house all the pictures in certain folders that were less than a month old. A bunch of these pictures were taken earlier today. Anyway, The "Created" option wasn't showing anything for the past month and after poking around a bit, I realized by opening the picture file's information window that under "Date Created" it just said "--". I tried to figure out in preferences in the finder but you know how limited those options are. I may not really need to know how to write in missing file information. That would be a bit of a pain. I was wondering where the problem was coming from. Why would my iMac not put a date and time stamp in the file's info when I got it off my camera? I need to make my Mac start doing that.

    Oh yeah. I forgot to mention that I tried "Date Modified" and it worked until I would open one of the files. Once they were closed and you went back to the folder, that file was gone. I'm not really sure why. I feel like there's a simple explanation for this and that I was missing something quite obvious. It's driving me nuts. I can't think of a reason that would happen. I tried everything time related. The key part of this is that I want the files to disappear once they are a certain age (I'm thinking about a month). Without that part of the equation, I don't really have a use for the folder at all. I was thinking for some reason that there was no way for a user to change anything in the file's information manually. The answer I think that would have to occur is to find a way to get my Mac to start stamping the date and time. The only reason I don't think it's the camera is that even if the camera didn't stamp the date and time, the OS should have when it came through. Oh yeah, this isn't a new camera and I have pictures from 3 to 4 months back that were successfully imported with the information. ALl the way back to the earliest image taken with this camera (and I've had this camera for a couple years!).

Maybe you are looking for

  • Run RFEBKA00 as background job

    Hello, I want to run program RFEBKA00 as background job. On selection screen, there is parameter "Execute as background job", but even if I tick this checkbox, report is ran on foreground. How can I run this program as background job? Thanks&regards,

  • Local network computer name keeps changing

    I haven't been able to work out why my iMac has bouts of telling me that my computer's name is already in use on the network and adding a number to it. I keep having to go into System Preferences/Sharing and change it back again so that my husband ca

  • ALV Simple Tree: How to customize sum levels?

    Hi, I have the following issue: I use the ALV Simple Tree to display a hierarchy. In this hierarchy one element is the currency of the values I want to display. Therefore the currency might not be the top-level of the hierarchy and as a consequence t

  • Linux, Solaris 8-10 Software Update Library Inactive

    Hello All. In the Navigation pane , in libraries , when i open Linux, Solaris 8-10 Software Update Library , the options on the left such as Upload config file , Upload local action and others are disabled. I cannot click on them and perform an actio

  • Can any body tell me how to make changes in the print layout of Fb03.

    hi, Can any body tell me how to make changes in the print layout of Fb03. I want to add comapny address on the layout. Regards Mave