VBA to identify a group of tasks being updated

Good Afternoon,
I have not had much luck with Project questions here, but now that I have dug a little deeper I think I can ask a question that you may be able to help with. If any of you know of a better place to find Project VBA advice, please let me know! 
This question is also gathering dust over at UA. http://www.utteraccess.com/forum/Custom-Macros-Project-20-t2022616.html
First off, I am writing a macro that is triggered when a task is updated in project. I used the code from this page as a starting point.
http://msdn.microsoft.com/en-us/library/ee...fice.12%29.aspx
The macro I wrote works well. I changed the code up a bit so that it runs each time the user sets a task to 100% complete. When the user sets a task to 100% complete, the macro pulls today's date and adds it to the custom date field (Date2).
My next challenge is to warn the user if they update start or finish dates for a task with a specific tag in a text field (Text15). This new functionality will be embedded with the previous functionality I already wrote. Here is the problem. When I need to
update a bunch of tasks, or when I update one task that changes other tasks due to links, the event is triggered for each and every task. This creates lots of message boxes that I don't need.
On the surface this makes sense because I want to know each time a task changes, but from a practicality standpoint I only need to be notified once for each group of tasks that are updated. For example, if I update one date, and linking causes 10 other dates
to change, I only want to be notified once. Similarly, if I highlight and change multiple dates I only want to get warned about it once, not once for each task.
To achieve this I think I need to access some kind of collection that represents the set of tasks that are being updated as a result of user input. This is where I need help. I am not sure how to access this information.
For your information here are the code elements I have written for the existing macro.
This section goes in "ThisProject":
<code>
Private Sub Project_Open(ByVal pj As Project)
   EnableEvents
End Sub
</code>
This section goes in a module named "modTaskUpdate":
<code>
Public TskUpdate As New clsTaskUpdate
Sub EnableEvents()
   Set TskUpdate.App = MSProject.Application
End Sub
</code>
Finally, this section goes in a Class Module named "clsTaskUpdate":
<code>
Public WithEvents App As MSProject.Application
Private Sub App_ProjectBeforeTaskChange(ByVal tsk As Task, ByVal Field As Long, ByVal NewVal As Variant, Cancel As Boolean)
'Code for managing 100% complete and Date Completed
'(This part works OK, see the next section for the code I need to modify)
    If ((Field = pjTaskPercentComplete) And (NewVal = 100)) Then
        'Add today's date to completed date field
        'MsgBox "Adding today's date: " & Date & " to the Date2(DateCompleted) field."
        tsk.Date2 = Date
    End If
    If ((Field = pjTaskPercentComplete) And (NewVal = 0)) Then
        'Remove date from completed date field
        'MsgBox "Removing date from the Date2(DateCompleted) field."
        tsk.Date2 = ""
    End If
'Code for managing warnings to user if PST dates will change.
' Currently this message is triggered for each task that causes a change.
' Can we only trigger this task once for each group of changed dates?
    If ((Field = pjTaskStart) Or (Field = pjTaskFinish)) Then
        If (insrt(tsk.Text15, "PST") <> 0) Then
            MsgBox "Warning! You have changed a date that is linked to a line in the PST. As a result the PST has been automatically updated."
        End If
    End If
End Sub
</code>
FYI: The PST is an external Excel file that has its values automatically update via linked cells in Project.
Thank you for your time and consideration.
Please let me know if you have any questions.
Nate

Nate,
Yes, as far as I know, there is no "collection" of task changes. Remember, a collection is a group of objects and a change isn't an object.
I see you found one of the posts I responded to regarding paste links. If you have ABSOLUTE file discipline management, then you might be okay with paste links, but since there is a much better alternative (i.e. VBA) to do what you need I'd avoid the paste
link idea. As Clint Eastwood said in his Dirty Harry movie, "Do you feel lucky?"
There have been various posts with code to export Project data to Excel. Unfortunately I find the search capabilities of these forums to be sorely lacking so rather than a link, here is some sample code you can adapt.
Option Explicit
Sub CalendarExceptions()
'Basic macro code created by Kiran.K and posted on MSDN Project
' customizing and programming forum Feb 7,2013
'Code streamlined and updated by John - Project June 2,2014
Dim MyXL As Object
Set MyXL = CreateObject("Excel.Application")
Dim i As Integer, j As Integer
Dim E As Exception
Dim r As Resource
Dim xlRng As Range
'open Excel, define workbook, and set column headers
MyXL.Workbooks.Add
MyXL.Visible = True
MyXL.ActiveWorkbook.Worksheets.Add.Name = "Exception Report"
MyXL.ActiveWorkbook.Worksheets("Exception Report").Activate
Set xlRng = MyXL.ActiveSheet.Range("A1")
xlRng.Range("A1") = "Proj Cal Holidays"
xlRng.Range("B1") = "Start Date"
xlRng.Range("C1") = "Finish Date"
xlRng.Range("E1") = "Res Name"
xlRng.Range("F1") = "Res Base Cal"
xlRng.Range("G1") = "Base Cal Excep"
xlRng.Range("H1") = "Start Date"
xlRng.Range("I1") = "Finish Date"
xlRng.Range("K1") = "Resource Name"
xlRng.Range("L1") = "Res Excep"
xlRng.Range("M1") = "Start Date"
xlRng.Range("N1") = "Finish Date"
'First gather and export Project calendar exceptions
i = 2
If ActiveProject.Calendar.Exceptions.Count > 0 Then
    For Each E In ActiveProject.Calendar.Exceptions
        xlRng.Range("A" & i) = E.Name
        xlRng.Range("B" & i) = E.Start
        xlRng.Range("C" & i) = E.Finish
        i = i + 1
    Next
End If
'Next, gather and export resource base calendar exceptions along with
'   resource calendar exceptions
i = 2
For Each r In ActiveProject.Resources
    If Not r Is Nothing Then
        j = i
        If r.Type = pjResourceTypeWork Then
                For Each E In r.Calendar.BaseCalendar.Exceptions
                    xlRng.Range("E" & i) = r.Name
                    xlRng.Range("F" & i) = r.Calendar.BaseCalendar.Name
                    xlRng.Range("G" & i) = E.Name
                    xlRng.Range("H" & i) = E.Start
                    xlRng.Range("I" & i) = E.Finish
                    i = i + 1
                Next E
                For Each E In r.Calendar.Exceptions
                    xlRng.Range("K" & j) = r.Name
                    xlRng.Range("L" & j) = E.Name
                    xlRng.Range("M" & j) = E.Start
                    xlRng.Range("N" & j) = E.Finish
                    j = j + 1
                Next E
        End If
    End If
Next r
MyXL.ActiveWorkbook.Worksheets("Exception Report").Columns("A:N").AutoFit
End Sub
John

Similar Messages

  • The task being changed is stale. (UpdateTask issue2)

    This issue is a continuation of my earlier issue
    How to invoke TaskService updateTask from within BPEL Process
    I have the updateTask working fine as long as I do not save the task from the Worklist app. If I do the following
    a) Initiate Task
    b) Got to my Worklist and make changes to the editable fields and hit the save button.
    c) Have the same BPEL process after 30 sec wait invoke mergeAndUpdateTask
    I get the following error
    <fault>
    -<staleObjectFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    -<part name="payload">
    -<staleObjectFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <faultInfo>The task being changed is stale. It was changed from its current state already
    </faultInfo>
    </staleObjectFault>
    </part>
    </staleObjectFault>
    </fault>
    Now I know that my current state of the task is stall within the BPEL instance since the BPEL instance has the response variable returned by the initiateTask method. But how do I then go about merging and updating a Task since this can happen in the real world scenario where a user is updating a Task in his/her queue and My BPEL process which initiated the Task receives an event from another BPEL process and I need to update the Task, but in the mean time the worker may have changed the contents of the Task.
    Remember I want to orchestrate this using BPEL notations no J2EE, as I already know how to do that.
    Any suggestions are welcome. In the mean time I will do my own research.
    Regards,
    Jayesh
    MCSE, MCSD, SCJP

    Hi rarangas
    I tried to use the onUpdate message handler and when I try to save the Task in worklist app I get the following error, I promise to send you the error from the mergeAndUpdateTask next but can you tell me what am I doing wrong.
    Your feedback is greatly appreciated.
    ORABPEL-30015 Error in posting message to BPEL process instance. Error in posting message to BPEL process instance 10376 for callback operation onTaskUpdated. The task is associated with workflow default_TestLocateMerge2_1.0_TestLocateMerge2 Check the underlying exception for reasons for failure to post the message. Contact oracle support if error is not fixable..
    If you need more information, please check with your administrator with the following exception-identifier: "2007/02/01_09:42:18:156_jstein"
    Here is the default_group~home~default_group~1.log error
    07/02/01 21:42:18 ORABPEL-30015
    Error in posting message to BPEL process instance.
    Error in posting message to BPEL process instance 10376 for callback operation onTaskUpdated. The task is associated with workflow default_TestLocateMerge2_1.0_TestLocateMerge2
    Check the underlying exception for reasons for failure to post the message. Contact oracle support if error is not fixable.
         at oracle.bpel.services.workflow.task.impl.WorkflowBPELOperations.postMsg(WorkflowBPELOperations.java:394)
         at oracle.bpel.services.workflow.task.impl.WorkflowBPELOperations.onTaskUpdated(WorkflowBPELOperations.java:297)
         at oracle.bpel.services.workflow.task.impl.TaskService.invokeCallbacks(TaskService.java:3118)
         at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:2985)
         at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:2805)
         at oracle.bpel.services.workflow.task.impl.TaskService.performPostActionOperation(TaskService.java:2780)
         at oracle.bpel.services.workflow.task.impl.TaskService.updateTask(TaskService.java:492)
         at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.updateTask(TaskServiceBean.java:135)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at TaskServiceBean_LocalProxy_68d4144.updateTask(Unknown Source)
         at oracle.bpel.services.workflow.task.client.TaskServiceLocalClient.updateTask(TaskServiceLocalClient.java:200)
         at oracle.bpel.services.workflow.worklist.servlet.WFTaskUpdate.updateAllWFTask(WFTaskUpdate.java:451)
         at oracle.bpel.services.workflow.worklist.servlet.WFTaskUpdate.doPost(WFTaskUpdate.java:182)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-03802
    Correlation definition not registered.
    The correlation set definition for operation "onTaskUpdated", process "TestLocateMerge2", has not been registered with the process domain.
    Please try to redeploy your process to the process domain.
         at com.collaxa.cube.engine.delivery.CorrelationRegistry.resolve(CorrelationRegistry.java:91)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.createCorrelationSet(DeliveryHelper.java:94)
         at com.collaxa.cube.engine.delivery.SOAPProtocolHandler.calculateCorrelations(SOAPProtocolHandler.java:751)
         at com.collaxa.cube.engine.delivery.SOAPProtocolHandler.receiveCallback(SOAPProtocolHandler.java:167)
         at com.collaxa.cube.engine.delivery.DeliveryService.receiveCallback(DeliveryService.java:446)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.receiveCallback(CubeDeliveryBean.java:99)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.receiveCallback(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.continuePostAnyType(DeliveryHandler.java:416)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.continuePost(DeliveryHandler.java:370)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.post(DeliveryHandler.java:88)
         at com.collaxa.cube.ejb.impl.DeliveryBean.post(DeliveryBean.java:201)
         at com.collaxa.cube.ejb.impl.DeliveryBean.post(DeliveryBean.java:156)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.post(Unknown Source)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:195)
         at oracle.bpel.services.workflow.task.impl.WorkflowBPELOperations.postMsg(WorkflowBPELOperations.java:391)
         ... 46 more
    Hope you provide me with some tips.
    Regards,
    Jayesh
    MCSE, MCSD, SCJP, PMP

  • Can't the iPod nano 7th gen. VoiceOver function identify which language that is being used? My iPod Shuffle can.

    I am very satisfied with my iPod SHUFFLE (last version), especially with the VoiceOver function which is (quite) able to  identify correctly which language is being used in every song: For a Norwegian artist / a song in Norwegian, the artist and title is pronounced in Norwegian; for a French artist / a song in French, the artist and title is pronounced in French; for an English artist / a song in English, the artist and title is pronounced in English etc. A really impressive and useful function!
    I was very surprised and dissatisfied to find that my new iPod nano 7th generation does not seem to work this way: I am able to select the language to be used in VoiceOver, but then this language is used in everything that is pronounced. Most of my music is in English language, so this is what I have selected. But to hear Norwegian artists' names and Norwegian titles pronounced with an English-speaking voice is quite disturbing.
    I believe I have been through all possible settings in the nano and in iTunes to correct this, but I am unable to find a solution. I have also asked people at an Apple store, but they were unable to help. Can anybody help? Or is it really possible that this excellent function has been removed?
    (Could it be that the previous version of iTunes could fix the problem? I have installed the last one, v. 11.0.1.12.)

    Hello, Dlira. 
    Thank you for the question.  The articles below may help you with the VoiceOver issue you are experiencing. 
    iPod: Selecting a VoiceOver language for individual songs
    http://support.apple.com/kb/HT3494
    iPod nano (6th generation and later): How to use VoiceOver
    http://support.apple.com/kb/HT4317
    Cheers,
    Jason H. 

  • ISE Not Identifying AD Group Attributes when using Multiple ISE Servers

    So we have multiple ISE Servers with differing personas. I was having an issue with our new ISE setup not identifying AD Group Attributes when using them in Authorization rules.
    We have 2- 3395 appliances running Admin and Monitoring/Troubleshooting Personas and 2- 3395 appliances running as Policy server personas. We are running  v1.1.1.268 with the latest two patches.
    I was unable to pull Active Directory Group Attributes in any of my Authorization rules. After Resyncing all the boxes with the Primary Administration box I was able to do this. There is no bug listings for this occurance nor do we have Smartnet to call support for other reasons. I thought this might be useful to someone who is having the same issue and is unable to figure it out with TAC
    -CC

    Absolutely. All units said in-sync after setting their personas.
    Here is our layout:
    ISE-ADM-01  Admin-Primary, Monitoring-Secondary
    ISE-ADM-02  Admin-Secondary, Monitoring-Primary
    ISE-PDP-01  Policy Only
    ISE-PDP-02  Policy Only
    I synced one at a time starting with ADM-02. After completing the other two boxes. Active Directory Attribs were pulled down when using them in the Ext Group within my Authz rules.
    -CC

  • Identify Different Groups in the Organization (Group the Same data together)

    Version : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Help me in Identifying the groups(different Sectors) in the Organization
    Each Group will have the same Group id if  We_org_id , We_addr_id or We_org_id , Ein Matches
    In the below Example Row 1 and 2 Are linked with We_org_id , We_addr_id
    and row 2 and 3 are linked with We_org_id , Ein  so all the three rows has the same groupid
    Included Output Required.
    Example
    311    563          72-1500000    2
    311    563          72-1500001    2
    311    565          72-1500001    2
    -- Table and inserts
    CREATE TABLE ORG_MISMATCH
      WE_ORG_ID   NUMBER,
      WE_ADDR_ID  NUMBER,
      EIN         VARCHAR2(30 BYTE)
    SET DEFINE OFF;
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 24303142, '31-1700059');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '39-1675361');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '31-1700059');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '26-0060245');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '72-1284709');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 121786868, '31-1700059');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 21053495, '72-1355929');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '73-1317052');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '56-2525845');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '72-1355929');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '84-1535762');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '91-2031795');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '84-1487943');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '91-2035844');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '84-1535753');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '72-1501788');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 56381251, '30-0137738');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 563, '72-1500001');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 565, '72-1500001');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '72-1355929');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 24303142, '31-1700059');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '31-1700059');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 121786868, '31-1700059');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '84-1535762');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '72-1501788');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '91-2031795');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '30-0137738');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '72-1284709');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '56-2525845');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '91-2035844');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 21053495, '72-1355929');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '39-1675361');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '84-1487943');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '84-1535753');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '26-0060245');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (999, 56381251, '73-1317052');
    Insert into ORG_MISMATCH
       (WE_ORG_ID, WE_ADDR_ID, EIN)
    Values
       (311, 563, '72-1500000');
    COMMIT;
    WE_ORG_ID
    WE_ADDR_ID
    EIN
    GROUPID
    OUTPUT REQUIRED    --> Create Groupid Column
    311
    24303142
    31-1700059
    1
    311
    56381251
    39-1675361
    1
    311
    56381251
    31-1700059
    1
    311
    56381251
    26-0060245
    1
    311
    56381251
    72-1284709
    1
    311
    121786868
    31-1700059
    1
    311
    21053495
    72-1355929
    1
    311
    56381251
    73-1317052
    1
    311
    56381251
    56-2525845
    1
    311
    56381251
    72-1355929
    1
    311
    56381251
    84-1535762
    1
    311
    56381251
    91-2031795
    1
    311
    56381251
    84-1487943
    1
    311
    56381251
    91-2035844
    1
    311
    56381251
    84-1535753
    1
    311
    56381251
    72-1501788
    1
    311
    56381251
    30-0137738
    1
    311
    563  
    72-1500001
    2
    311
    565  
    72-1500001
    2
    311
    563  
    72-1500000
    2

    It would be nice to know the roots. I did assume two with
    start with we_addr_id in (
    select min(we_addr_id)
    from org_mismatch group by we_org_id
    Otherwise it could taken a while ...
    That below doesnt really work ..
    select
    WE_ORG_ID
    ,WE_ADDR_ID
    ,EIN
    ,dense_rank() over (partition by WE_ORG_ID order by r) grp
    from (
    select
    WE_ORG_ID
    ,WE_ADDR_ID
    ,EIN
    ,connect_by_root WE_ADDR_ID r
    from ORG_MISMATCH  
    connect by nocycle
    prior we_org_id = we_org_id
    and (
    (prior we_addr_id = we_addr_id and prior ein < ein)
    or
    (prior ein = ein and prior we_addr_id < we_addr_id)
    start with we_addr_id in (
    select min(we_addr_id)
    from org_mismatch group by we_org_id
    group by
    WE_ORG_ID
    ,WE_ADDR_ID
    ,EIN
    ,r
    order by
    WE_ORG_ID
    ,WE_ADDR_ID
    ,EIN
    ,R
    WE_ORG_ID
    WE_ADDR_ID
    EIN
    GRP
    311
    563
    72-1500000
    1
    311
    563
    72-1500001
    1
    311
    565
    72-1500001
    1
    311
    21053495
    72-1355929
    2
    311
    56381251
    72-1355929
    2
    311
    56381251
    72-1501788
    2
    311
    56381251
    73-1317052
    2
    311
    56381251
    84-1487943
    2
    311
    56381251
    84-1535753
    2
    311
    56381251
    84-1535762
    2
    311
    56381251
    91-2031795
    2
    311
    56381251
    91-2035844
    2
    999
    21053495
    72-1355929
    1
    999
    56381251
    72-1355929
    1
    999
    56381251
    72-1501788
    1
    999
    56381251
    73-1317052
    1
    999
    56381251
    84-1487943
    1
    999
    56381251
    84-1535753
    1
    999
    56381251
    84-1535762
    1
    999
    56381251
    91-2031795
    1
    999
    56381251
    91-2035844
    1
    Message was edited by: chris227 comment

  • [solved] KDEmod-4 Taskbar configuration: "group similar tasks" and oth

    Hi,
    where can I configure the taskbar behaviour in KDEmod 4.2.4?
    I'm particularly interested in:
    1.) seing ONLY the tasks of the current desktop
    2.) seing EACH task on the current desktop
    In KDE 3.5 I could configure these options in kcontrol:
    Desktop > Taskbar
    The options were called:
    1.) Show windows from all desktops (deactivated)
    2.) Group similar tasks (Never)
    Where can I configure this in KDEmod 4?
    Last edited by cyclohexan (2009-07-30 07:53:01)

    Hi cyclohexan,
    here is a more detailed description:
    1) Close enough windows that there is some unused space on the right side in the task bar.
    2) Right click on the unused part of the task bar and you should see the following context menu:
    3) Clicking on "Task Manager Settings" should then bring you to this dialog:
    I guess this should also work in KDEmod.
    Regards,
    jamesbond007.
    Last edited by jamesbond007 (2009-07-29 09:16:33)

  • Preventing Domain Group Policy from being applied

    How can a user prevent the domain group policy from being applied to his machine? And How can I stop users from doing that?

    Hi,
    No, group policy is processed by order, that is,  local GPO is processed first, and then domain policy is processed by order, which would overwrite settings in the earlier GPOs if there are conflict.
    If you don’t want to apply the domain policy, apply a higher precedence policy or disjoin the domain.
    Group Policy processing and precedence
    http://technet.microsoft.com/en-us/library/cc785665(v=ws.10).aspx
    Alex Zhao
    TechNet Community Support

  • OIM-OID Connector: OID Group Recon Task and organizations

    Hi,
    I'm evaluating OIM and its OID Connector.
    We have groups in our existing OID. We thought that we could use the OID Connector OID Group Recon Task to import those groups into OIM and make them Groups in OIM.
    However, when we run the task, it appears to import our groups from OID as organizations, not as groups. It's not clear to me from the OID Connector documentation what exactly the OID Group Recon task is supposed to do. That's why we assumed it was an OOTB method for reconciling OID groups into OIM groups.
    What are we doing wrong? Why do we end up with our OID Groups becoming OIM Organizations after running the task?
    We are using version 9.4.11 of the OID Connector.
    Also, a side issue: how can we delete unwanted organizations from OIM? There's a delete option but it just seems to mark the organizations as deleted but they are still there.
    Thanks
    Eric
    Edited by: PeachEye on 17/03/2010 11:49

    Hi,
    I am also facing the similar issue. I want to reconcile OID groups into OIM User Groups menu item. Please suggest how to proceed.
    I ran the schedule task- OID Group Recon Task, but it throws error-
    ERROR,12 Mar 2010 09:16:44,265,[XL_INTG.OID],OID:tcTskOIDGrouporRoleReconTask:pe
    rformReconciliation():com.thortech.xl.integration.OID.util.tcUtilLDAPOperations:
    NamingException :Unable to search LDAP. Check the following values and try agai
    n: Base Search detail: cn=abc,ou=Q System1,dc=xoserve-apps,dc=com, filter expres
    sion is (&(objectClass=groupOfUniqueNames)(modifytimestamp>=19000101010001Z)), A
    ttributes : DN, modifytimestamp, Organization Name, orclguid, cn,]
    ERROR,12 Mar 2010 09:16:44,281,[XL_INTG.OID],===================================
    I want to bring OID groups into OIM so that I can manager those OID groups from OIM. Is there any other way to so this? I have to make changes in the OID object class or in the OID field mappings? I have not done any changes in Lookup OID configuration or LookUp Field map parameters.
    Please help.

  • Making Sharpoint task list an Enterprise Project message Project is currently being updated and can't make change

    I added a SharePoint task list to our PWA site. I then removed it and then added back. When I go to make the SharePoint task list an Enterprise project now I get a message dialog box that states "The project is currently being updated and we can't
    make the change right now. Try again in a few minutes" I have been trying every hour or so and keep getting the message. Does anyone know how to fix this problem?

    Hi Brett
    Have you deleted the Task list and also the workspaces associated to it?
    Are you creating with a new name or the same name?
    Try to take the verbose..
    Cheers! Happy troubleshooting !!! Phani - MSFT Enterprise Project Management
    Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading the thread.

  • Deactivation of code groups and task codes in PM/CS notification

    hi experts, would like to ask regarding Plant Maintenance and Customer Service module. Is it possible to disable code groups and task codes assign to notification type? instead of just deleting it? We have a config made on which the old format is no longer applicable so we need to exclude the old one on the selection so that users may not be confused of having so many options in the list.
    Please suggest procedure on how can I make it.
    Thank you so much.

    Hi Marnee,
    How did you manage to disable code groups? I am looking to do the same thing.
    Thanks,
    Dean

  • "Process settings prevent this task being completed in the mobile client"?

    Hi,
    I've created a process and configured it with a mobile endpoint however when it is opened in a mobile workspace I get the message "Process settings prevent this task being completed in the mobile client... Log in to workspace to complete the task.."
    What am I missing?

    I've spend some time to investigate this issue and discovered something strange.
    "Process settings prevent this task.." appears when "Must open the form to complete the task" option is checked in Assign Task step.
    When process is invoked for the first time and this option is unchecked the process fields appear (I checked it on Ipad and Iphone mobile client).
    Once any change is done on this process, the process fields disapear from the mobile client and there is no way to approve/decline task only from the workspace.
    Did anyone encountered this behaviour?

  • OIM - Same tasks being executed at the same time

    Hi,
    I'm using Lotus Notes and SAP User Management connector to provision users to these target systems.
    Both Lotus Notes and SAP has a issue related to same tasks being executed at the same time. In other words, if we try to create two or more users in these systems, an error is thrown because a user is currently being created.
    So, when I run a trusted reconciliation, I'm getting many errors related to this issue because OIM is trying to create more than one user at the same time in the same target system.
    Does anyone knows if I can configure OIM to run the same provisioning process only when the previous process is already completed?
    Best Regards.
    Nitto.

    Frankly, I haven't thought about using OVD yet. I just assume that OIM should be able to deal with 2 instances of the same kind of ITResource. Because this requirement is very common.
    I did a little experience. For the second OID, I created manually a new set of ITResource, Resource Object, Process Form, Process, AttrName Lookup Code, Recon Rule. The apporach seems working. I can successfully provision the OIM user to the OID now.
    But a problem is in the original OID User Process definition created by the OID connector installation, there are almost 20 Process tasks, how do I copy those tasks to my new Process definition? I just mannually created a "Create User" task, which is needed for provisioning.

  • IPhoto won't open due to the not being updated but when I check to upgrade to iPhoto 11 it tells me it is installed. The photos in the library were modified using 9.1.5 and the iPhoto is said to be 7.1.5 (iPhoto 8). Any ideas?

    iPhoto won't open due to the not being updated but when I check to upgrade to iPhoto 11 it tells me it is installed. The photos in the library were modified using 9.1.5 and the iPhoto is said to be 7.1.5 (iPhoto 8). Any ideas?

    How do you know the library was modified with iPhoto 9 (11)?  If you've never had iPhoto 9 on your Mac it could'nt have.  It sounds like a damaged library. Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • I've got my scroll blocked for the Mail only. The Mail keeps being updated but i can not touch it, as if the screen wad locked...

    I have my Mail blocked for scrolling. I am a new user of ipad2, started the Mail this morning and nos it is blocked. It keeps being updated, but i cannot touch it. And i can touch normally other applications. Any heló appreciated.

    Quit the mail app and restart the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • IMovie won't open because it's "being updated" - but there's no iMovie activity in the App Store!

    Just today, I tried opening iMovie to work on a project. I get an error message that reads: " You can't open the application "iMovie" because it is being updated." This then kicks me out to the App Store - but there's no iMovie update in progress there. It's driving me insane.
    On top of that, when I try to perform the updates WITHIN the app store - Mavericks and some other apps - I click "update" and nothing happens. Any troubleshooting advice? I really need this to work.
    I'm on 10.8.5, on a Macbook Pro bought in 2012.

    I had this same problem. The way I solved it was to go into the app store, and specifically click on iMovie. The tab there mentioned something like "upgrade" (where normally you would see "buy"). If I click on that, there is a pull down menu that says that I do not have the lastest operating system for the new movie, but that I can reinstall the older version. When I clicked on that option, it reinstalled iMovie (which for some reason just hadn't worked in Mountain Lion). It worked just fine. I didn't have to pay. If you are signed in at the app store, and click on iMovie, hopefully you will be presented with this option as well.

Maybe you are looking for

  • Skype doesn't save files where it suppose to!

    Same here - my friend sent me pictures, they came with strange long numbers names and all are downloaded to C/user name/AppData/Roaming/Skype/skype user name/media_messaging/media_cache Thou the auto.download are disabled and another folder are set f

  • Crystal Reports Viewer XI R2 Missing icons on toolbar when displayed

    I am using Crystal Reports Viewer XI R2 on Windows 2003 Server and trying to deploy to a different server. I have deployed a new web site from a development server to production.  The crystal reports render correctly, but the only problem is that the

  • Download Interactive Form

    Hello! Can an Interactive Form be generated without displaying it? I want to ge hold of the pdfContent byte[], but don´t want to display the form. Thank you! Ilona Seifert

  • Blocks - to have on the block diagram, but not to execute

    Hello, In standard programm languages there are possibilities to mark some lines in code not to execute them (for example, if we have written some code and want to use keep it in programm, but don't need to execute it right now) e. g. Does LabView al

  • XML Limit for Xcelsius Engage

    I just read on another thread (SP1 Limit Connections) and it stated that FP3 solved this issue.  Is this fact?  So, how many XML connections can you have with Engage?