Syntax for regardingobjectid on a service appointment

Anyone see an issue with this syntax? It doesn't work. I have verified that 
the incidentid has a guid value and is indeed the correct one, just can't set 
the serviceappointments regarding. The workflow monitor log says unable to 
process request, which has resulted in syntax issues for me before.  

            ' Regarding id lookup
            serviceappointment.regardingobjectid = New Lookup
            serviceappointment.regardingobjectid.type = EntityName.incident
            serviceappointment.regardingobjectid.Value = 
incidentDetail.incidentid.Value

Thanks,
Duffman

0
Utf
5/2/2007 11:39:01 PM
crm 35858 articles. 1 followers. Follow

1 Replies
735 Views

Similar Articles

[PageSpeed] 11

I am posting my code that now works. I eventually got it, I pushed the rock 
up the hill a lot this week, lol.

            ' Regarding id lookup
            serviceappointment.regardingobjectid = New Lookup
            serviceappointment.regardingobjectid.type = 
EntityName.incident.ToString
            serviceappointment.regardingobjectid.Value = New Guid
            serviceappointment.regardingobjectid.Value = 
incidentDetail.incidentid.Value

Duffman

"Duffman" wrote:

> Anyone see an issue with this syntax? It doesn't work. I have verified that 
> the incidentid has a guid value and is indeed the correct one, just can't set 
> the serviceappointments regarding. The workflow monitor log says unable to 
> process request, which has resulted in syntax issues for me before.  
> 
>             ' Regarding id lookup
>             serviceappointment.regardingobjectid = New Lookup
>             serviceappointment.regardingobjectid.type = EntityName.incident
>             serviceappointment.regardingobjectid.Value = 
> incidentDetail.incidentid.Value
> 
> Thanks,
> Duffman
> 
0
Utf
5/4/2007 9:55:00 PM
Reply:

Similar Artilces:

filter closed appointments from synchronization ? (CRM-Outlook-Client)
Hello CRM 4.0 Specialists, we have the following problem in our company: we have too less memory in our Exchange - only 25 MB per person. And CRM tries to put all appointments - even already closed - in Outlook. This definitivly kills our free space. Is there a possibility (even a dirty hack) to minimize this synchronization ? We only need the open appointments in Outlook. Any help would be great! Kind regards Matthias ...

Weird exchange service account problems
Scenario: I attempted to install Brightstor Arcserve backup agent using the arcserve software. I got an error saying it was unable to finalize the account. I manually deleted the dbagent account several times in an attempt to troubleshoot the problem. Now my exchange server is screwed up. Sypmtoms: Logged on as Administrator (Exchange Service Account...I know this should be a seperate user, will rectify that when this is fixed) I am seeing problems with permissions inside of the Exchange Server Administrator program. When I click on Connections->Internet Mail Service connector I get t...

Dynamics Security Console and Dynamics Web Services
Hi All I need help I have created a server with windows server 2008 32 bit and installed MOSS I have done all the standard setups and created all the websites ect I have installed Dynamics Webservice witth SP3 When I run Dynamics Security Console and select applications and then SecuritySerivices. I get the following error "Could not access the SecurityService service. Unable to connect to the remote server" Please help Regards Laurie ...

calendar not printing non-recurring appointments
All of a sudden, my daily calendar view is not printing non-recurring appointments. Even when I see all appointments on my screen, when it prints, it only prints the recurring appointments. I had no problem with printing all my appointments every day until a couple of days ago. I can't figure out how to fix it. Help! Version please? Service Pack Level? How were the recurring appointments added to your calendar? -- Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. ALWAYS post your Outlook version. How to ask a question: ht...

Recipient update service #2
In ESM --> Recepients --> Recepient Update Service --> Property --> General Tab: There is a filed Windows Domain Controller, If I have two DC (one is GC and another one is not), which DC is the best to choose, GC one? or the other one Thanks Patric "Patrick" <anonymous@discussions.microsoft.com> wrote: > >In ESM --> Recepients --> Recepient Update Service --> Property --> General Tab: There is a filed Windows Domain Controller, If I have two DC (one is GC and another one is not), which DC is the best to choose, GC one? or the other one? >...

ADO syntax problem
Hi! I am using the following code to query access table. the code works fine. My problem is how to name the field name ([Cell]) as a string, in order to use this query as a dynamic query. I tried many things but nothing succeeded. Thanks for your help! Dim cnn As New ADODB.Connection Dim rst As New ADODB.Recordset cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=C:\Documents and Settings\Eli\My Documents\ETV_Cells.mdb" rst.Open "SELECT * FROM CellTable ;", cnn, adOpenStatic rst.MoveFirst strCellCode = rst![Cell] ...

Reminders for deleted appointments
Hi, I have created some recurring appointments with the default reminder. Later, I have deleted that appointments. However, the associate reminder still popups. How can I delete these reminders? Thanks start outlook using the /cleanreminders switch http://www.outlook-tips.net/beginner/switches.htm -- Diane Poremsky [MVP - Outlook] Author, Teach Yourself Outlook 2003 in 24 Hours Need Help with Common Tasks? http://www.outlook-tips.net/beginner/ Outlook 2007: http://www.slipstick.com/outlook/ol2007/ Outlook Tips by email: dailytips-subscribe-request@lists.outlooktips.net Outlook Tips: http...

OWA returns HTTP/1.1 503 Service Unavailable
Outlook Web Access used to work fine, but now users are receiving the following message HTTP/1.1 503 Service Unavailable Users can access the OWA page, but after typing in credentials and clicking "Log On" the above error is returned. If the incorrect credentials are entered the "You could not be logged on to Outlook Web Access" message is received. This tells me I'm authenticating fine but whatever the next step is it is failing. There are no error messages in event viewer. Any recommendations of what to look at next? The OWA Exchange 2003 Server sits on a ...

Service Pack #2
Is there any SP for GP8.0? According to our reseller SP is not release yet. Are there any way we can download the sp outside mbs web site? Thank you, Dave Yes there is. SP1a was released a few days ago. You should be able to log in to customersource and download it. HS "b0rne0" <b0rne0b0rne0@gmail.com> wrote in message news:O3k9qDb1EHA.1296@TK2MSFTNGP10.phx.gbl... > Is there any SP for GP8.0? According to our reseller SP is not release yet. > Are there any way we can download the sp outside mbs web site? > > Thank you, > Dave > > We cannot access ...

CRM SERVICE CRMTRACE RUNS EVERY FIVE MINUTES AND CANT STOP IT
this service is constantly start ng on our system and using resources. how do we stop it Refer to registry setting on CRM Server HKLM\Software\Microsoft\MSCRM Check that "TraceEnabled" has been set to 0 Good luck! "Steve" <Steve@discussions.microsoft.com> wrote in message news:FB43D905-BF5E-4801-9B7D-6FFFDB4DB932@microsoft.com... > this service is constantly start ng on our system and using resources. how > do > we stop it thanks Daniel. It was and is set to 0 which makes it very unusual "Daniel Tan" wrote: > Refer to registry setti...

Reopen service activity?
Hello, Our technicians use service activities to schedule/log work. On occasions errors are made, with timings or other content. How can a closed activity reopened so we can amend the incorrect data? Many thanks, Marcus Robinson Hi, I think with MS CRM 4.0 you are able to create a manual workflow rule that can 'deactivate' the service activity... "Marcus Robinson" wrote: > Hello, > > Our technicians use service activities to schedule/log work. On occasions > errors are made, with timings or other content. How can a closed activity > reopened so...

Money Update (Service Pack) Install didn't finish, won't install
I got the "you better update Money" message, clicked OK to get the update, it downloaded and started to install, then hung. After about 10 minutes of nothing happening, I rebooted. Now Money says I have to run the update, but when I click OK, do that, it says the update has already been installed. How do I force a new download and install? ...

SQL SYNTAX ERROR 01-31-08
I'm trying to insert all records that meet a certain criteria and I'm getting an error. Whats wrong with my syntax? Thanks DS Dim NewItemSQL NewItemSQL = "INSERT * INTO tblCheckDetailsTMP " & _ "SELECT * FROM tblCheckDetailsTMP " & _ "WHERE tblCheckDetailsTMP.CDCheckID=Forms!frmFXTransferSelect!TxtCheckID " & _ "AND tblCheckDetailsTMP.CDGroupID = Forms!frmFXTransferItem!TxtGroupID;" DoCmd.RunSQL (NewItemSQL) Try concatenating the values from the text boxes into the string, like this: Dim NewItemSQL As String If IsNull(Me.TxtC...

appointment 08-06-07
hi message before keeping the appointment, to avoid to keep two appointments in the same date. thanks ...

sessionclass.variable syntax?
What is the correct syntax for using the SessionClass.Variable property, specifically to set it to a particular value so I can then use this value in another add-in that fires later Thank you kevin ...

Changing multiple appointment times
I have hundreds of appointments and would like to move them back one hour. I know there is a link in microsofts support site that lets you change the time zone without changing appointment times. However, recurring appointments are not supported by that method. Does anyone know of a way to move all my appointments back one hour? ...

Why does my calendar delete appointments after 6 months?
My outlook calendar seems to delete any items from the past after 6 months? How do I stop it doing this. I'm sure this didn't happen before I had my Blackberry. I don't use an Exchange Server. Can anyone help? "Bunny" <Bunny@discussions.microsoft.com> wrote in message news:EE637247-B076-436A-8418-9583F8A25EE0@microsoft.com... > My outlook calendar seems to delete any items from the past after 6 months? > How do I stop it doing this. I'm sure this didn't happen before I had my > Blackberry. I don't use an Exchange Server. Can ...

Online Services conflict.
I have MS Money 2004 and connect to Wells Fargo for background banking. I want to add my fiancee's Wells Fargo account to my MS Money file. We got Wells Fargo to set her account up for MS Money and send us the required PIN. When I go through Money's interface to setup an on-line account, it looks like I can only enter one SSN and one pin per MS Money file. How can I add her account without losing the SSN and pin settings for my current Wells Fargo Account?? Thanks, Tony In microsoft.public.money, Tony Butitta wrote: >I have MS Money 2004 and connect to Wells Fargo for...

SMTP service does not fail over to the next mail MX record
I have a problem whit SMTP outgoing mail on my Exchange server 2003 sp2 on a Windows 2003 sp1 and all fixes and updates on. The SMTP service does not fail over to the next mail MX record after the host for the first (lowest) MX record returns error. I have tested with SMTP Diag from the exchange server to several domains where the first MX record return error and SMTP diag failes over like it should do. I’ve tried to use both internal and external DNS whit the same result. I know that this error was fixed in W2K3 SP1. Any ideas ? What are you determining to be an error here? Is the...

Report Services Error on Client -- but reports work on the server
When I try to run reports on a client a get reporting error. But when I am on Remote Desktop to the CRM server, all reports work. Reporting Services Error -------------------------------------------------------------------------------- An error has occurred during report processing. (rsProcessingAborted) Get Online Help Cannot create a connection to data source 'CRM'. (rsErrorOpeningConnection) Get Online Help Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Note: SQL Report Services is installed on a different server than SQL...

Moving Appointments in Calendar...
Hi , I use calendar mainly for showing my jobs, tasks and notes, because I can move them around from day to day. I frequently get a backlog of these daily calender entries, and would like to move them forward in time, instead of them being 3 weeks back in the calendar. Is there an easy way to move 10 or 15 of these entries at a time? I can use the shift button, but I have to "pick" every entry individually that way. I wish there was a "select all" for a day's entries. Any better techniqies for moving them? Thanks, Steve (Office 2007, WinXP SP2) ...

Indexing service
Hi, Using Indexing service, I am trying to get the properties of file(s), based on the search criteria. Can anyone help me to do this using the API, in vc++ 6.0. thank u. ...

MTA Service
Hello, we are having exchange 5.5 server, its hard drive fails. i have installed new server and restoed the backup but MTA service is not starting. other Exchange Dirtocory, IS sA is working anybody can suggest. regards "azam" <anonymous@discussions.microsoft.com> wrote: >Hello, > >we are having exchange 5.5 server, its hard drive fails. i >have installed new server and restoed the backup but MTA >service is not starting. other Exchange Dirtocory, IS sA >is working anybody can suggest. >regards Check the application event log. There will be some ev...

Is it possible to run a Powershell script as a Windows Service?
Is it possible to run a Powershell script as a Windows Service? Many Thanks, =Adrian= Hi Adrian, Almost :) Easiest way to do it is to create schedule task that will run ever n minutes (and of course will run your powershell script). Martin "Adrian" <Adrian@discussions.microsoft.com> wrote in message news:4F973358-A761-4E37-AA86-3E51822AE428@microsoft.com... > Is it possible to run a Powershell script as a Windows Service? > > Many Thanks, > =Adrian= ...

GoTo | Service menu is not available
The GoTo | Service menu is not available on a new installation. Any ideas why, or how to access it? This is a new installation and I am logged in with system administrator rights. Currently, the only way I can get into services at all is to set my homepage to one of those areas. is this on crm 1.2?? "Jeff S" <Jeff S@discussions.microsoft.com> wrote in message news:1413FFAF-9C3A-45A1-B99E-9E1D80F89F00@microsoft.com... > The GoTo | Service menu is not available on a new installation. Any ideas > why, or how to access it? > > This is a new installation and I a...