Quantcast
Channel: Microsoft Dynamics CRM
Viewing all 137182 articles
Browse latest View live

Forum Post: RE: Posts, Activities and Notes in Leads - missing section

$
0
0
Thanks. For some reason, I do not have that option when I to to properties. The opportunity activity layout is fine and when I check that form everything is the same as the lead form except the layout is two columns vs. one column on the lead. However, when change, save and publish this, it keeps defaulting back to one column; although this might have nothing to do this the activities not showing, it is just the only thing I noticed as being different. Any other thoughts? Thanks, Bill

Forum Post: RE: How do I keep Outlook contacts from populating CRM?

$
0
0
Hi Greg, The Outlook Sync Filters define what data is pushed from CRM into Outlook. This doesn't work the other way around as well. This means that contacts, which originate from Outlook, can only be created in CRM if: 1. They are manually tracked from Outlook into CRM (via the CRM Outlook Client/App) 2. An additional way in which a contact get created in CRM is if you have enabled in personal options (in CRM) to create new Contacts from unknown senders, when tracking an e-mail into CRM. - this can be configured from Personal Options - Automatically create records into CRM (see crmbook.powerobjects.com/.../setting-personal-options for print screens.) On top of that, if you configure to track all incoming emails from your mailbox and you are creating automatically records from the senders - this can result into a high number of contacts / emails in CRM that do not relate to the business data. What you can do in this case: 1. Change the settings for the Email / Contact tracking 2. Change the security roles to prevent users from creating new contacts. Hope this helps, Radu

Forum Post: RE: CRM 365- Plugin Type Statistics

$
0
0
Even if there are no try catch blocks with trace logging - the plugin trace entity will show the exception provided that the logging level is Exceptions or All.

Forum Post: RE: Customize the social pane

$
0
0
Does this JS still work? It was not supported begin with. Xrm.Page model does not include any provisions to manipulate the social pane. When I try to access the DOM instead, I just get null values. Example code below returns the 2nd branch: Excerpted DIV From the page HTML: POSTS ACTIVITIES NOTES function HideHeaderNotesControl () { var HeaderNotesControl = document.getElementById("header_notescontrol"); if (HeaderNotesControl != null) { HeaderNotesControl.style.display = "none"; alert(" Header Notes Control != null: " + HeaderNotesControl); } else if(HeaderNotesControl == null) { alert(" Header Notes Control == null: " + HeaderNotesControl); } } Did I miss anything?

Forum Post: RE: How do I remove a relationship dependency from another solution?

$
0
0
It sounds like you need to remove the account from your main solution and then add it back but only include the bits that you need.

Forum Post: RE: How do I remove a relationship dependency from another solution?

$
0
0
It is notoriously tricky to do what you want because workflows will create dependencies on fields even if you don’t use them.

Blog Post: Business Process Error – The given key was not present in the dictionary

$
0
0
A client contacted me regarding the following error from an Opportunity record operation: Business Process Error. The given key was not present in the dictionary. This error is from Microsoft Dynamics CRM 2015 environment. It was triggered by a CRM Workflow process that checks the Contact lookup field if it contains data. In this instance if the CRM Contact record does not have a value in the Contact’s Primary Field – (Contact.Full Name field), this error will surface. How could a CRM Contact has blank Full Name (combination of First/Middle/Last Name depending on the setting) you may ask? Some reasons could be that the Contact was bulk imported from a data file that has blank First/Middle/Last Name. Or a Lead that didn’t have the First/Middle/Last Name was qualified and auto created the Contact. Or that the required setting on the Contact’s First/Middle/Last Name field value was disabled at one time. It is an easy fix – check and update the related CRM Contact field and its Name associated with the record. Contact me if you need some Microsoft Dynamics 365 CRM/Sales assistance. Frank Lee, Microsoft Business Solutions MVP Dynamics 365 CRM San Francisco Bay Area Silicon Valley Napa Workopia, Inc – Maximum User Adoption!

Forum Post: RE: How to get the subgrid records, from lookup view when selected particular record on the main entity

$
0
0
Hi, you could create a quick view form for the Insurance Agent with a sub grid inside it showing the customers - then add that quick view form on the main form. There are other unsupported approaches but I would stay away from them.

Forum Post: RE: Dynamic Portal Branding

$
0
0
Hi Tom - yes this would be possible using some fetchxml in the liquid template - see the following for something similar - dyn365apps.com/.../dynamics-365-portals-liquid-templates-part-3-retrieve-data-using-fetchxml

Forum Post: RE: Help on Dynamics Content Access Level for Knowledge Articles not working

$
0
0
I got this figured out. For those who have created Employee Self Service portal, the site setting for the ContentAccessLevel is by default set to false. Just change it to true and save and it will resolved the issue. Also, if you created categories and enabled the site setting for DocumentPreview or something alike, sorry caused I forgot the exact site setting, it will caused your portal search to fail and not provide you any result. Set it to false and it will do the trick.

Forum Post: How to pass form lookup values to custom ribbon button form

$
0
0
Hello, I have created custom ribbon button in opportunity form and launching service activity form for it now i want to pass potential customer field value which is lookup to service activity form and set value on customer field which is also a lookup. Pls suggest how pass lookup values using javascript to form.

Forum Post: Comparing Date Values From Two Different Entities

$
0
0
Hello, In a workflow, can I compare the created-on date of related records in separate entities and then update the status on one of them? I’m trying to write a workflow that will change the status reason of a lead when the created-on date of a related entity record is different from the lead created-on date. For example, if the lead created on date is less than my custom entity record created on date, then change the lead status reason. I’ve been trying write a workflow to do this without success. Can this be done? Thanks so much! David

Blog Post: Quotes: How to Display an Image Stored in Dynamics 365 on an SSRS Report

$
0
0
Many organizations use Dynamics 365 for creating Quotes and providing an emailed or hard copy document to their customers. Dynamics 365 has a robust Quoting functionality that is out of the box, but some organizations may want a tailored document that meets their unique needs and the needs of their customers. This is where SQL Server Reporting Services (SSRS) comes in! SSRS allows the creation of reports that can be generated from Dynamics 365 data using Fetch XML or SQL queries. In this blog post, we will cover a requirement to display the Quote owner’s signature on the Quote document. Fortunately, this can be done using SSRS and notes/attachments in Dynamics 365. There are many resources online for using SSRS and Dynamics 365 together, so that will not be covered in this post. Step 1: Create an entity in Dynamics 365 enabled for Notes that has a relationship to the Quote entity or an entity related to the Quote. This entity will store the user’s signature and show whose signature it is. To store who the signature is for, you can use the Owner field or create a new lookup field to the User entity. In the below screenshot, we use a new custom lookup field, po_userid. In the example above, the entity used to store signature information is called “Report Localizations.” We have an additional option set field to identify that this record is for storing a User’s signature. Step 2: On your existing SSRS report, add a new dataset with FetchXML that queries this entity.                                                                       The above example passes in the quoteid parameter of this example report. From the Quote entity, it links to the User entity through the Owner field on the Quote. From User, it links to the Report Localization entity and finally to the Annotation (Note) entity where the image lives. Step 3: Add an Image control to your report. The Name and ToolTip can be whatever you like. The Image source should be “Database” and the MIME Type should be the file type of whatever image you added as an attachment. The expression should be similar to: =Lookup(“Image_UserSIgnature”,Fields!l_po_label.Value,Fields!aa-documentbody.Value, “LocalizationImages”) This expression will lookup Report Localization records with the Label = ImageUserSignature then display the attached image file. Voila! Looking for more Dynamics 365 related tips and tricks? Be sure to subscribe to our blog ! Happy Dynamics 365’ing!

Forum Post: RE: Dynamics PSA Bookable Resource Booking

$
0
0
Hi CharithR . The Booking Status of the Bookable Resource Booking is not updated when Time Entries are Approved. You will see the Progress % on a Task change based on approved Time Entries but the Booking Status is not affected. Projects tied with the URS/Schedule Board are a container for work where as Time Entries and Project Approvals tied with the Project Contract are a container for the financial data (Actuals).

Forum Post: RE: 2015 Upgrade 0.3 Assignment not working

$
0
0
Facing the same issue, have you had any luck in fixing the problem?

Forum Post: Unable to change record owner / Unable to upgrade to 2016

$
0
0
Re: Dynamics CRM 2015 On-Prem We have a strange issue that started happening today. In short, we cant change any record owners. I even tried on a newly created entity. After changing the owner, whether its manually selecting the owner or using the assign feature, the form refreshes upon saving and it reverts back to the previous owner. No we don't have any new OnSave/OnLoad java scripts or any new workflow/plugins. The only change to the environment was that we rolled back update 0.3, and we since reinstalled it. Another issue were facing in that same environment is that we cant upgrade to 2016. The two might not be related and needs a separate post, but im mentioning in the event its tied, or even better, if can address both. The error is referring to missing tables "subscriptionstatisticsofflinebase" and "subscriptionstatisticsoutlookbase". While those tables do exists in 2016, i dont see those tables in any 2015 database. I even created a fresh new org, and i dont see those tables. The tables in the Microsoft Dynamics CRM database are not consistent with Microsoft Dynamics CRM tables. The following tables are not consistent with Microsoft Dynamics CRM tables: remark: deleted table tablename: subscriptionstatisticsofflinebase remark: deleted table tablename: subscriptionstatisticsoutlookbase remark: deleted table tablename: subscriptionsyncentryofflinebase remark: deleted table tablename: subscriptionsyncentryoutlookbase The columns in the Microsoft Dynamics CRM database are not consistent with Microsoft Dynamics CRM columns. The following column(s) are not consistent with Microsoft Dynamics CRM columns: tablename: subscriptionstatisticsofflinebase columnname: fullsyncrequired remark: deleted column tablename: subscriptionstatisticsofflinebase columnname: objecttypecode remark: deleted column tablename: subscriptionstatisticsofflinebase columnname: subscriptionid remark: deleted column tablename: subscriptionstatisticsoutlookbase columnname: fullsyncrequired remark: deleted column tablename: subscriptionstatisticsoutlookbase columnname: objecttypecode remark: deleted column tablename: subscriptionstatisticsoutlookbase columnname: subscriptionid remark: deleted column tablename: subscriptionsyncentryofflinebase columnname: objectid remark: deleted column tablename: subscriptionsyncentryofflinebase columnname: objecttypecode remark: deleted column tablename: subscriptionsyncentryofflinebase columnname: subscriptionid remark: deleted column tablename: subscriptionsyncentryofflinebase columnname: syncstate remark: deleted column tablename: subscriptionsyncentryofflinebase columnname: versionnumber remark: deleted column tablename: subscriptionsyncentryoutlookbase columnname: objectid remark: deleted column tablename: subscriptionsyncentryoutlookbase columnname: objecttypecode remark: deleted column tablename: subscriptionsyncentryoutlookbase columnname: subscriptionid remark: deleted column tablename: subscriptionsyncentryoutlookbase columnname: syncstate remark: deleted column tablename: subscriptionsyncentryoutlookbase columnname: versionnumber remark: deleted column The primary keys in the Microsoft Dynamics CRM database are not consistent with Microsoft Dynamics CRM primary keys. The following columns are not consistent with those in the Microsoft Dynamics CRM primary keys: remark: deleted column in primary key tablename: subscriptionstatisticsofflinebase columnname: objecttypecode constraintname: pk_subscriptionstatisticsofflinebase remark: deleted column in primary key tablename: subscriptionstatisticsofflinebase columnname: subscriptionid constraintname: pk_subscriptionstatisticsofflinebase remark: deleted column in primary key tablename: subscriptionstatisticsoutlookbase columnname: objecttypecode constraintname: pk_subscriptionstatisticsoutlookbase remark: deleted column in primary key tablename: subscriptionstatisticsoutlookbase columnname: subscriptionid constraintname: pk_subscriptionstatisticsoutlookbase remark: deleted column in primary key tablename: subscriptionsyncentryofflinebase columnname: objectid constraintname: pk_subscriptionsyncentryofflinebase remark: deleted column in primary key tablename: subscriptionsyncentryofflinebase columnname: objecttypecode constraintname: pk_subscriptionsyncentryofflinebase remark: deleted column in primary key tablename: subscriptionsyncentryofflinebase columnname: subscriptionid constraintname: pk_subscriptionsyncentryofflinebase remark: deleted column in primary key tablename: subscriptionsyncentryoutlookbase columnname: objectid constraintname: pk_subscriptionsyncentryoutlookbase remark: deleted column in primary key tablename: subscriptionsyncentryoutlookbase columnname: objecttypecode constraintname: pk_subscriptionsyncentryoutlookbase remark: deleted column in primary key tablename: subscriptionsyncentryoutlookbase columnname: subscriptionid constraintname: pk_subscriptionsyncentryoutlookbase The default value constraints in the Microsoft Dynamics CRM database are not consistent with Microsoft Dynamics CRM default value constraints. The following default value constraint(s) are not consistent with Microsoft Dynamics CRM default value constraints: remark: added default constraint on column tablename: syncattributemappingbase columnname: syncattributemappingidunique remark: added default constraint on column tablename: syncattributemappingprofilebase columnname: syncattributemappingprofileidunique remark: deleted default constraint on column tablename: subscriptionstatisticsofflinebase columnname: fullsyncrequired remark: deleted default constraint on column tablename: subscriptionstatisticsoutlookbase columnname: fullsyncrequired

Forum Post: RE: Posts, Activities and Notes in Leads - missing section

$
0
0
I see you were talking about the field properties and I was talking about the tab properties. Any ideas on how I can get the hidden activity tab showing? Regards, Bill

Forum Post: RE: How do I remove a relationship dependency from another solution?

$
0
0
That is what we are finding out now. We removed the lookup fields in the new customization and then we could export/import our main solution since there were no more relationship dependencies. Kind of depressing since I really want to find a way to break up our solutions into smaller, manageable chunks.

Forum Post: RE: How to pass form lookup values to custom ribbon button form

$
0
0
Hello, Try to use following code: Xrm.Utility.openEntityForm("serviceappointment", null, {pId: Xrm.Page.getAttribute("parentaccountid").getValue()[0].id, pType: 1, partyid: Xrm.Page.getAttribute("parentaccountid").getValue()[0].id, partytype: 1});

Forum Post: FieldService Plugin error on creation of Work Order

$
0
0
Hi Guys, Everything was working till yesterday. Today we are not able to create a Work Order with basic details, it is throwing the below error : Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Object reference not set to an instance of an object.Detail: ee541d36-5418-47d4-abea-e86b2bf4aac8 -2147220891 OperationStatus 0 SubErrorCode -2146233088 Object reference not set to an instance of an object. 2018-02-06T21:27:30.4080414Z false [Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin] [94f83cac-7732-4bb9-9cff-8f92992dd953: Field Service: Create (post-operation) for msdyn_workorder] FieldServicePlugin: PluginLocal.Create, Depth: 1 FieldServicePlugin: PluginContext Start FieldServicePlugin: MessageName: Create FieldServicePlugin: PrimaryEntityName: msdyn_workorder FieldServicePlugin: PrimaryEntityId: 07349988-840b-e811-a958-000d3a10877d FieldServicePlugin: SecondaryEntityName: none FieldServicePlugin: Stage: 40 FieldServicePlugin: PreEntityImages.Count: 0 FieldServicePlugin: PostEntityImages.Count: 0 FieldServicePlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity FieldServicePlugin: OutputParameters: id = 07349988-840b-e811-a958-000d3a10877d FieldServicePlugin: SharedVariables: DefaultsAddedFlag = True FieldServicePlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FieldServicePlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FieldServicePlugin: IsolationMode: 1 FieldServicePlugin: Mode: 0 FieldServicePlugin: OrganizationName: org0b8e8f49 FieldServicePlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FieldServicePlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FieldServicePlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FieldServicePlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FieldServicePlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FieldServicePlugin: IsInTransaction: True FieldServicePlugin: Depth: 1 FieldServicePlugin: IsExecutingOffline: False FieldServicePlugin: Parent PluginContext Start FieldServicePlugin: PluginContext Start FieldServicePlugin: MessageName: Create FieldServicePlugin: PrimaryEntityName: msdyn_workorder FieldServicePlugin: PrimaryEntityId: 07349988-840b-e811-a958-000d3a10877d FieldServicePlugin: SecondaryEntityName: none FieldServicePlugin: Stage: 30 FieldServicePlugin: PreEntityImages.Count: 0 FieldServicePlugin: PostEntityImages.Count: 0 FieldServicePlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity SuppressDuplicateDetection = False FieldServicePlugin: OutputParameters: FieldServicePlugin: SharedVariables: DefaultsAddedFlag = True FieldServicePlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FieldServicePlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FieldServicePlugin: IsolationMode: 1 FieldServicePlugin: Mode: 0 FieldServicePlugin: OrganizationName: org0b8e8f49 FieldServicePlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FieldServicePlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FieldServicePlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FieldServicePlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FieldServicePlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FieldServicePlugin: IsInTransaction: True FieldServicePlugin: Depth: 1 FieldServicePlugin: IsExecutingOffline: False FieldServicePlugin: Parent PluginContext Start FieldServicePlugin: PluginContext Start FieldServicePlugin: MessageName: ExecuteTransaction FieldServicePlugin: PrimaryEntityName: none FieldServicePlugin: PrimaryEntityId: 00000000-0000-0000-0000-000000000000 FieldServicePlugin: SecondaryEntityName: none FieldServicePlugin: Stage: 30 FieldServicePlugin: PreEntityImages.Count: 0 FieldServicePlugin: PostEntityImages.Count: 0 FieldServicePlugin: InputParameters: Requests = Microsoft.Xrm.Sdk.OrganizationRequestCollection ReturnResponses = True FieldServicePlugin: OutputParameters: FieldServicePlugin: SharedVariables: ChangedEntityTypes = System.Collections.Generic.Dictionary`2[System.String,System.String] FieldServicePlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FieldServicePlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FieldServicePlugin: IsolationMode: 1 FieldServicePlugin: Mode: 0 FieldServicePlugin: OrganizationName: org0b8e8f49 FieldServicePlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FieldServicePlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FieldServicePlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FieldServicePlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FieldServicePlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FieldServicePlugin: IsInTransaction: True FieldServicePlugin: Depth: 1 FieldServicePlugin: IsExecutingOffline: False FieldServicePlugin: PluginContext End FieldServicePlugin: Parent PluginContext End FieldServicePlugin: PluginContext End FieldServicePlugin: Parent PluginContext End FieldServicePlugin: PluginContext End FieldServicePlugin: PluginLocal.Create, Depth: 1 FieldServicePlugin: PluginLocal.Create, Depth: 1 FieldServicePlugin: InitializePlugin: local FieldServicePlugin: ConfigurePluginFlagsSupportInternal() FieldServicePlugin: CreateEntityOperation(msdyn_workorder) FieldServicePlugin: Operation type: WorkOrderOperation FieldServicePlugin: operation.Initialize() FieldServicePlugin: InputEntity: ecl_customerassetsidentified = 1 statecode = 0 msdyn_longitude = -82.58249 statuscode = 1 msdyn_postalcode = 48001 msdyn_workordertype = ab51b225-84ba-e711-a950-000d3a10877d_msdyn_workordertype[] createdon = 2/6/2018 9:27:30 PM msdyn_latitude = 42.62563 msdyn_pricelist = 6f3fb46d-beb8-e711-a94e-000d3a109d70_pricelevel[] msdyn_worklocation = 690970000 transactioncurrencyid = b12a17b1-51b4-e711-a82a-000d3a1be40f_transactioncurrency[] msdyn_primaryincidenttype = a2d7da93-fac3-e711-a961-000d3a192e9a_msdyn_incidenttype[] msdyn_taxable = True ownerid = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] ecl_manageroverride = False modifiedon = 2/6/2018 9:27:30 PM msdyn_stateorprovince = MI stageid = msdyn_address1 = 5200 Taft Rd msdyn_taxcode = 40931035-b9cb-e711-a950-000d3a10877d_msdyn_taxcode[] msdyn_billingaccount = 10a01eb7-5a07-e811-a959-000d3a1087a0_account[] msdyn_serviceterritory = 7d33c488-50c9-e711-a94e-000d3a109d70_territory[] msdyn_workorderid = 07349988-840b-e811-a958-000d3a10877d msdyn_country = United States msdyn_primaryincidentdescription = Air Leak msdyn_isfollowup = False modifiedby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] msdyn_serviceaccount = 10a01eb7-5a07-e811-a959-000d3a1087a0_account[] ecl_poreceived = 1 modifiedonbehalfby = msdyn_followuprequired = False owningbusinessunit = 75afed5f-49b4-e711-a82a-000d3a1be40f_businessunit[] traversedpath = msdyn_city = Algonac ecl_excludeoshafee = False ecl_allproductsavailable = False createdby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] processid = 00000000-0000-0000-0000-000000000000 msdyn_name = WO-0000192 msdyn_systemstatus = 690970006 msdyn_ismobile = False msdyn_subtotalamount = 0 msdyn_totalsalestax = 0 msdyn_totalamount = 0 msdyn_substatus = msdyn_instructions = msdyn_addressname = msdyn_address2 = msdyn_address3 = exchangerate = 1.0000000000 msdyn_totalamount_base = 0 msdyn_totalsalestax_base = 0 msdyn_subtotalamount_base = 0 FieldServicePlugin: operation.Execute() FieldServicePlugin: PluginStage: 40 MessageName: Create FieldServicePlugin: Before calling message handler FieldServicePlugin: After FieldServicePlugin: AfterCreate FieldServicePlugin: AfterCreateOrUpdate FieldServicePlugin: PluginLocal.Create, Depth: 2 FieldServicePlugin: PluginLocal.Dispose, Depth: 2 FieldServicePlugin: PluginLocal.Dispose, Depth: 1 FieldServicePlugin: PluginLocal.Dispose, Depth: 1 FieldServicePlugin: Object reference not set to an instance of an object. System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Object reference not set to an instance of an object. (Fault Detail is equal to Exception details: ErrorCode: 0x80040265 Message: Object reference not set to an instance of an object.; [Microsoft.Dynamics.Fps: Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin] [f64c55bc-7402-4bcb-bf7e-3490ed16b0d4: Microsoft Dynamics Fps: Create (pre-operation) for msdyn_resourcerequirement] FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_resourcerequirement FpsPlugin: PrimaryEntityId: 0b349988-840b-e811-a958-000d3a10877d FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 20 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity FpsPlugin: OutputParameters: FpsPlugin: SharedVariables: DefaultsAddedFlag = True FpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: IsolationMode: 1 FpsPlug...). FieldServicePlugin: PluginLocal.Dispose, Depth: 1 [Microsoft.Dynamics.Fps: Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin] [f64c55bc-7402-4bcb-bf7e-3490ed16b0d4: Microsoft Dynamics Fps: Create (pre-operation) for msdyn_resourcerequirement] FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_resourcerequirement FpsPlugin: PrimaryEntityId: 0b349988-840b-e811-a958-000d3a10877d FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 20 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity FpsPlugin: OutputParameters: FpsPlugin: SharedVariables: DefaultsAddedFlag = True FpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org0b8e8f49 FpsPlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FpsPlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FpsPlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FpsPlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_resourcerequirement FpsPlugin: PrimaryEntityId: 0b349988-840b-e811-a958-000d3a10877d FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity FpsPlugin: OutputParameters: FpsPlugin: SharedVariables: DefaultsAddedFlag = True FieldServiceContext.ResourceRequirement_DisablePrimaryCheckValidation = True FpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org0b8e8f49 FpsPlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FpsPlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FpsPlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FpsPlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: ExecuteTransaction FpsPlugin: PrimaryEntityName: none FpsPlugin: PrimaryEntityId: 00000000-0000-0000-0000-000000000000 FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: InputParameters: Requests = Microsoft.Xrm.Sdk.OrganizationRequestCollection ReturnResponses = True FpsPlugin: OutputParameters: FpsPlugin: SharedVariables: ChangedEntityTypes = System.Collections.Generic.Dictionary`2[System.String,System.String] FpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org0b8e8f49 FpsPlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FpsPlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FpsPlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FpsPlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: InitializePlugin: local FpsPlugin: ConfigurePluginFlagsSupportInternal() FpsPlugin: CreateEntityOperation(msdyn_resourcerequirement) FpsPlugin: Operation type: ResourceRequirementOperation FpsPlugin: operation.Initialize() FpsPlugin: InputEntity: msdyn_isprimary = True owningbusinessunit = 75afed5f-49b4-e711-a82a-000d3a1be40f_businessunit[] msdyn_latitude = 42.62563 modifiedonbehalfby = msdyn_allocationmethod = 192350000 statecode = 0 statuscode = 1 createdby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] msdyn_longitude = -82.58249 ownerid = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] modifiedon = 2/6/2018 9:27:30 PM msdyn_resourcerequirementid = 0b349988-840b-e811-a958-000d3a10877d owninguser = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] modifiedby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] msdyn_territory = 7d33c488-50c9-e711-a94e-000d3a109d70_territory[] msdyn_worklocation = 690970000 createdon = 2/6/2018 9:27:30 PM msdyn_workorder = 07349988-840b-e811-a958-000d3a10877d_msdyn_workorder[] FpsPlugin: operation.Execute() FpsPlugin: PluginStage: 20 MessageName: Create FpsPlugin: Before calling message handler FpsPlugin: Before FpsPlugin: BeforeCreate FpsPlugin: BeforeCreateOrUpdate FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Dynamics.ScheduleCommon.Fps.FpsEventSource.LogOrganizationService.<>c.<LogRequest>b__10_4(OrganizationResponse x) at Microsoft.Dynamics.ScheduleCommon.Fps.FpsEventSource.LogOrganizationService.Execute(OrganizationRequest request) at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.Execute(OrganizationRequest request) at Microsoft.Xrm.Sdk.Linq.QueryProvider.RetrieveEntityCollection(OrganizationRequest request, NavigationSource source) at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups, String& pagingCookie, Boolean& moreRecords) at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups) at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](Expression expression) at Microsoft.Xrm.Sdk.Linq.QueryProvider.GetEnumerator[TElement](Expression expression) at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Microsoft.Dynamics.ScheduleCommon.Fps.BookingSetupMetadata.GetMetadataRecordsDB(IOrganizationService service, Boolean activeOnly) at Microsoft.Dynamics.ScheduleCommon.Fps.Operations.ResourceRequirementOperation.get_BookingSetupMetadataDB() at Microsoft.Dynamics.ScheduleCommon.Fps.Operations.ResourceRequirementOperation.SetBookingSetupMetadataField() at Microsoft.Dynamics.ScheduleCommon.Fps.Operations.ResourceRequirementOperation.BeforeCreateOrUpdate() at FieldOne.PluginCommon.Operation`1.HandleMessage() at FieldOne.PluginCommon.Operation`1.Execute() at FieldOne.PluginCommon.FosPluginBase.ExecutePlugin(ITracingService tracingService, IPluginExecutionContext pluginContext, IOrganizationServiceFactory serviceFactory) at Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin.ExecutePlugin(ITracingService tracingService, IPluginExecutionContext pluginContext, IOrganizationServiceFactory serviceFactory) at FieldOne.PluginCommon.FosPluginBase.Execute(IServiceProvider serviceProvider) FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 Any suggestions on what might be the issue here? Thanks in advance Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Object reference not set to an instance of an object.Detail: ee541d36-5418-47d4-abea-e86b2bf4aac8 -2147220891 OperationStatus 0 SubErrorCode -2146233088 Object reference not set to an instance of an object. 2018-02-06T21:27:30.4080414Z false [Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin][94f83cac-7732-4bb9-9cff-8f92992dd953: Field Service: Create (post-operation) for msdyn_workorder]FieldServicePlugin: PluginLocal.Create, Depth: 1FieldServicePlugin: PluginContext StartFieldServicePlugin: MessageName: CreateFieldServicePlugin: PrimaryEntityName: msdyn_workorderFieldServicePlugin: PrimaryEntityId: 07349988-840b-e811-a958-000d3a10877dFieldServicePlugin: SecondaryEntityName: noneFieldServicePlugin: Stage: 40FieldServicePlugin: PreEntityImages.Count: 0FieldServicePlugin: PostEntityImages.Count: 0FieldServicePlugin: InputParameters: Target = Microsoft.Xrm.Sdk.EntityFieldServicePlugin: OutputParameters: id = 07349988-840b-e811-a958-000d3a10877dFieldServicePlugin: SharedVariables: DefaultsAddedFlag = TrueFieldServicePlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FieldServicePlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FieldServicePlugin: IsolationMode: 1FieldServicePlugin: Mode: 0FieldServicePlugin: OrganizationName: org0b8e8f49FieldServicePlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ffFieldServicePlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40fFieldServicePlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331FieldServicePlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339FieldServicePlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339FieldServicePlugin: IsInTransaction: TrueFieldServicePlugin: Depth: 1FieldServicePlugin: IsExecutingOffline: FalseFieldServicePlugin: Parent PluginContext StartFieldServicePlugin: PluginContext StartFieldServicePlugin: MessageName: CreateFieldServicePlugin: PrimaryEntityName: msdyn_workorderFieldServicePlugin: PrimaryEntityId: 07349988-840b-e811-a958-000d3a10877dFieldServicePlugin: SecondaryEntityName: noneFieldServicePlugin: Stage: 30FieldServicePlugin: PreEntityImages.Count: 0FieldServicePlugin: PostEntityImages.Count: 0FieldServicePlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity SuppressDuplicateDetection = FalseFieldServicePlugin: OutputParameters: FieldServicePlugin: SharedVariables: DefaultsAddedFlag = TrueFieldServicePlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FieldServicePlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FieldServicePlugin: IsolationMode: 1FieldServicePlugin: Mode: 0FieldServicePlugin: OrganizationName: org0b8e8f49FieldServicePlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ffFieldServicePlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40fFieldServicePlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331FieldServicePlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339FieldServicePlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339FieldServicePlugin: IsInTransaction: TrueFieldServicePlugin: Depth: 1FieldServicePlugin: IsExecutingOffline: FalseFieldServicePlugin: Parent PluginContext StartFieldServicePlugin: PluginContext StartFieldServicePlugin: MessageName: ExecuteTransactionFieldServicePlugin: PrimaryEntityName: noneFieldServicePlugin: PrimaryEntityId: 00000000-0000-0000-0000-000000000000FieldServicePlugin: SecondaryEntityName: noneFieldServicePlugin: Stage: 30FieldServicePlugin: PreEntityImages.Count: 0FieldServicePlugin: PostEntityImages.Count: 0FieldServicePlugin: InputParameters: Requests = Microsoft.Xrm.Sdk.OrganizationRequestCollection ReturnResponses = TrueFieldServicePlugin: OutputParameters: FieldServicePlugin: SharedVariables: ChangedEntityTypes = System.Collections.Generic.Dictionary`2[System.String,System.String]FieldServicePlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FieldServicePlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FieldServicePlugin: IsolationMode: 1FieldServicePlugin: Mode: 0FieldServicePlugin: OrganizationName: org0b8e8f49FieldServicePlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ffFieldServicePlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40fFieldServicePlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331FieldServicePlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339FieldServicePlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339FieldServicePlugin: IsInTransaction: TrueFieldServicePlugin: Depth: 1FieldServicePlugin: IsExecutingOffline: FalseFieldServicePlugin: PluginContext EndFieldServicePlugin: Parent PluginContext EndFieldServicePlugin: PluginContext EndFieldServicePlugin: Parent PluginContext EndFieldServicePlugin: PluginContext EndFieldServicePlugin: PluginLocal.Create, Depth: 1FieldServicePlugin: PluginLocal.Create, Depth: 1FieldServicePlugin: InitializePlugin: localFieldServicePlugin: ConfigurePluginFlagsSupportInternal()FieldServicePlugin: CreateEntityOperation(msdyn_workorder)FieldServicePlugin: Operation type: WorkOrderOperationFieldServicePlugin: operation.Initialize()FieldServicePlugin: InputEntity: ecl_customerassetsidentified = 1 statecode = 0 msdyn_longitude = -82.58249 statuscode = 1 msdyn_postalcode = 48001 msdyn_workordertype = ab51b225-84ba-e711-a950-000d3a10877d_msdyn_workordertype[] createdon = 2/6/2018 9:27:30 PM msdyn_latitude = 42.62563 msdyn_pricelist = 6f3fb46d-beb8-e711-a94e-000d3a109d70_pricelevel[] msdyn_worklocation = 690970000 transactioncurrencyid = b12a17b1-51b4-e711-a82a-000d3a1be40f_transactioncurrency[] msdyn_primaryincidenttype = a2d7da93-fac3-e711-a961-000d3a192e9a_msdyn_incidenttype[] msdyn_taxable = True ownerid = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] ecl_manageroverride = False modifiedon = 2/6/2018 9:27:30 PM msdyn_stateorprovince = MI stageid = msdyn_address1 = 5200 Taft Rd msdyn_taxcode = 40931035-b9cb-e711-a950-000d3a10877d_msdyn_taxcode[] msdyn_billingaccount = 10a01eb7-5a07-e811-a959-000d3a1087a0_account[] msdyn_serviceterritory = 7d33c488-50c9-e711-a94e-000d3a109d70_territory[] msdyn_workorderid = 07349988-840b-e811-a958-000d3a10877d msdyn_country = United States msdyn_primaryincidentdescription = Air Leak msdyn_isfollowup = False modifiedby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] msdyn_serviceaccount = 10a01eb7-5a07-e811-a959-000d3a1087a0_account[] ecl_poreceived = 1 modifiedonbehalfby = msdyn_followuprequired = False owningbusinessunit = 75afed5f-49b4-e711-a82a-000d3a1be40f_businessunit[] traversedpath = msdyn_city = Algonac ecl_excludeoshafee = False ecl_allproductsavailable = False createdby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] processid = 00000000-0000-0000-0000-000000000000 msdyn_name = WO-0000192 msdyn_systemstatus = 690970006 msdyn_ismobile = False msdyn_subtotalamount = 0 msdyn_totalsalestax = 0 msdyn_totalamount = 0 msdyn_substatus = msdyn_instructions = msdyn_addressname = msdyn_address2 = msdyn_address3 = exchangerate = 1.0000000000 msdyn_totalamount_base = 0 msdyn_totalsalestax_base = 0 msdyn_subtotalamount_base = 0FieldServicePlugin: operation.Execute()FieldServicePlugin: PluginStage: 40 MessageName: CreateFieldServicePlugin: Before calling message handlerFieldServicePlugin: AfterFieldServicePlugin: AfterCreateFieldServicePlugin: AfterCreateOrUpdateFieldServicePlugin: PluginLocal.Create, Depth: 2FieldServicePlugin: PluginLocal.Dispose, Depth: 2FieldServicePlugin: PluginLocal.Dispose, Depth: 1FieldServicePlugin: PluginLocal.Dispose, Depth: 1FieldServicePlugin: Object reference not set to an instance of an object. System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Object reference not set to an instance of an object. (Fault Detail is equal to Exception details: ErrorCode: 0x80040265Message: Object reference not set to an instance of an object.; [Microsoft.Dynamics.Fps: Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin][f64c55bc-7402-4bcb-bf7e-3490ed16b0d4: Microsoft Dynamics Fps: Create (pre-operation) for msdyn_resourcerequirement]FpsPlugin: PluginLocal.Create, Depth: 1FpsPlugin: PluginLocal.Create, Depth: 1FpsPlugin: PluginContext StartFpsPlugin: MessageName: CreateFpsPlugin: PrimaryEntityName: msdyn_resourcerequirementFpsPlugin: PrimaryEntityId: 0b349988-840b-e811-a958-000d3a10877dFpsPlugin: SecondaryEntityName: noneFpsPlugin: Stage: 20FpsPlugin: PreEntityImages.Count: 0FpsPlugin: PostEntityImages.Count: 0FpsPlugin: InputParameters: Target = Microsoft.Xrm.Sdk.EntityFpsPlugin: OutputParameters: FpsPlugin: SharedVariables: DefaultsAddedFlag = TrueFpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570FpsPlugin: IsolationMode: 1FpsPlug...). FieldServicePlugin: PluginLocal.Dispose, Depth: 1 [Microsoft.Dynamics.Fps: Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin] [f64c55bc-7402-4bcb-bf7e-3490ed16b0d4: Microsoft Dynamics Fps: Create (pre-operation) for msdyn_resourcerequirement] FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_resourcerequirement FpsPlugin: PrimaryEntityId: 0b349988-840b-e811-a958-000d3a10877d FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 20 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity FpsPlugin: OutputParameters: FpsPlugin: SharedVariables: DefaultsAddedFlag = True FpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org0b8e8f49 FpsPlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FpsPlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FpsPlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FpsPlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: Create FpsPlugin: PrimaryEntityName: msdyn_resourcerequirement FpsPlugin: PrimaryEntityId: 0b349988-840b-e811-a958-000d3a10877d FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: InputParameters: Target = Microsoft.Xrm.Sdk.Entity FpsPlugin: OutputParameters: FpsPlugin: SharedVariables: DefaultsAddedFlag = True FieldServiceContext.ResourceRequirement_DisablePrimaryCheckValidation = True FpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org0b8e8f49 FpsPlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FpsPlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FpsPlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FpsPlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: Parent PluginContext Start FpsPlugin: PluginContext Start FpsPlugin: MessageName: ExecuteTransaction FpsPlugin: PrimaryEntityName: none FpsPlugin: PrimaryEntityId: 00000000-0000-0000-0000-000000000000 FpsPlugin: SecondaryEntityName: none FpsPlugin: Stage: 30 FpsPlugin: PreEntityImages.Count: 0 FpsPlugin: PostEntityImages.Count: 0 FpsPlugin: InputParameters: Requests = Microsoft.Xrm.Sdk.OrganizationRequestCollection ReturnResponses = True FpsPlugin: OutputParameters: FpsPlugin: SharedVariables: ChangedEntityTypes = System.Collections.Generic.Dictionary`2[System.String,System.String] FpsPlugin: UserId: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: InitiatingUserID: 4c4c77e2-7f2e-4b87-897d-56aecb9c9570 FpsPlugin: IsolationMode: 1 FpsPlugin: Mode: 0 FpsPlugin: OrganizationName: org0b8e8f49 FpsPlugin: OrganizationId: 93cbd3b8-c58d-4630-bc60-93817a8f35ff FpsPlugin: BusinessUnitId: 75afed5f-49b4-e711-a82a-000d3a1be40f FpsPlugin: CorrelationId: af912444-2c6f-4e89-b520-967603b04331 FpsPlugin: RequestId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: OperationId: f83e2c3f-931c-4b45-9404-fd002995f339 FpsPlugin: IsInTransaction: True FpsPlugin: Depth: 2 FpsPlugin: IsExecutingOffline: False FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: Parent PluginContext End FpsPlugin: PluginContext End FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: PluginLocal.Create, Depth: 1 FpsPlugin: InitializePlugin: local FpsPlugin: ConfigurePluginFlagsSupportInternal() FpsPlugin: CreateEntityOperation(msdyn_resourcerequirement) FpsPlugin: Operation type: ResourceRequirementOperation FpsPlugin: operation.Initialize() FpsPlugin: InputEntity: msdyn_isprimary = True owningbusinessunit = 75afed5f-49b4-e711-a82a-000d3a1be40f_businessunit[] msdyn_latitude = 42.62563 modifiedonbehalfby = msdyn_allocationmethod = 192350000 statecode = 0 statuscode = 1 createdby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] msdyn_longitude = -82.58249 ownerid = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] modifiedon = 2/6/2018 9:27:30 PM msdyn_resourcerequirementid = 0b349988-840b-e811-a958-000d3a10877d owninguser = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] modifiedby = 4c4c77e2-7f2e-4b87-897d-56aecb9c9570_systemuser[] msdyn_territory = 7d33c488-50c9-e711-a94e-000d3a109d70_territory[] msdyn_worklocation = 690970000 createdon = 2/6/2018 9:27:30 PM msdyn_workorder = 07349988-840b-e811-a958-000d3a10877d_msdyn_workorder[] FpsPlugin: operation.Execute() FpsPlugin: PluginStage: 20 MessageName: Create FpsPlugin: Before calling message handler FpsPlugin: Before FpsPlugin: BeforeCreate FpsPlugin: BeforeCreateOrUpdate FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Dynamics.ScheduleCommon.Fps.FpsEventSource.LogOrganizationService.<>c.<LogRequest>b__10_4(OrganizationResponse x) at Microsoft.Dynamics.ScheduleCommon.Fps.FpsEventSource.LogOrganizationService.Execute(OrganizationRequest request) at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.Execute(OrganizationRequest request) at Microsoft.Xrm.Sdk.Linq.QueryProvider.RetrieveEntityCollection(OrganizationRequest request, NavigationSource source) at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute(QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups, String& pagingCookie, Boolean& moreRecords) at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](QueryExpression qe, Boolean throwIfSequenceIsEmpty, Boolean throwIfSequenceNotSingle, Projection projection, NavigationSource source, List`1 linkLookups) at Microsoft.Xrm.Sdk.Linq.QueryProvider.Execute[TElement](Expression expression) at Microsoft.Xrm.Sdk.Linq.QueryProvider.GetEnumerator[TElement](Expression expression) at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Microsoft.Dynamics.ScheduleCommon.Fps.BookingSetupMetadata.GetMetadataRecordsDB(IOrganizationService service, Boolean activeOnly) at Microsoft.Dynamics.ScheduleCommon.Fps.Operations.ResourceRequirementOperation.get_BookingSetupMetadataDB() at Microsoft.Dynamics.ScheduleCommon.Fps.Operations.ResourceRequirementOperation.SetBookingSetupMetadataField() at Microsoft.Dynamics.ScheduleCommon.Fps.Operations.ResourceRequirementOperation.BeforeCreateOrUpdate() at FieldOne.PluginCommon.Operation`1.HandleMessage() at FieldOne.PluginCommon.Operation`1.Execute() at FieldOne.PluginCommon.FosPluginBase.ExecutePlugin(ITracingService tracingService, IPluginExecutionContext pluginContext, IOrganizationServiceFactory serviceFactory) at Microsoft.Dynamics.ScheduleCommon.Fps.FpsPlugin.ExecutePlugin(ITracingService tracingService, IPluginExecutionContext pluginContext, IOrganizationServiceFactory serviceFactory) at FieldOne.PluginCommon.FosPluginBase.Execute(IServiceProvider serviceProvider) FpsPlugin: PluginLocal.Dispose, Depth: 1 FpsPlugin: PluginLocal.Dispose, Depth: 1
Viewing all 137182 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>