Skip to main content

Notifications

Announcements

No record found.

Sales forum
Suggested answer

'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'

Posted on by 85

Vi have v9.0.12 deployment. We installed rollup 15 but that brought us a lot of errors so we uninstalled rollup 15 and deployment got downgraded to 9.0.12.
Now we have an issue that each time we try to open any record of standard transaction entities (opportunity, quote, order, invoice) we get this error
'<entity name e.g. opportunity>' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'

The full error message is as follows:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmException: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=6949846, MinActiveRowVersion=6949846
at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveCommand.Execute()
at Microsoft.Crm.Application.Platform.EntityProxy.Retrieve(String[] columns, Guid auditingTransactionId, Boolean addRequiredColumns)
at Microsoft.Crm.Application.Platform.EntityProxy.Retrieve(String[] columns, Boolean addRequiredColumns)
at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.LazyLoadEntity()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.WriteFormDataJson(TextWriter writer)
at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.WriteFormattedEntityData(TextWriter writer, Boolean isTurboForm)
at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #2BAC381DDetail: 
<OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts">
<ActivityId>c867aa68-6019-45b0-bbdd-46199a3b99e1</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---&gt; Microsoft.Crm.CrmException: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=6949846, MinActiveRowVersion=6949846
at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveCommand.Execute()
at Microsoft.Crm.Application.Platform.EntityProxy.Retrieve(String[] columns, Guid auditingTransactionId, Boolean addRequiredColumns)
at Microsoft.Crm.Application.Platform.EntityProxy.Retrieve(String[] columns, Boolean addRequiredColumns)
at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.LazyLoadEntity()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.WriteFormDataJson(TextWriter writer)
at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.WriteFormattedEntityData(TextWriter writer, Boolean isTurboForm)
at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #2BAC381D</Message>
<Timestamp>2020-05-06T13:46:13.1284374Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>c867aa68-6019-45b0-bbdd-46199a3b99e1</ActivityId>
<ErrorCode>-2147217149</ErrorCode>
<ErrorDetails xmlns:d3p1="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=6949846, MinActiveRowVersion=6949846</Message>
<Timestamp>2020-05-06T13:46:13.1284374Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>
[Microsoft.Dynamics.Sales.Plugins: Microsoft.Dynamics.Sales.Plugins.PreOperationInvoiceRetrieve]
[70e7e718-6f68-e611-80ed-00155d36100d: Retrieve of invoice]
Entered Microsoft.Dynamics.Sales.Plugins.AddressComputationOnReadPrePlugin.Execute(), Correlation Id: a2b471c7-5d2d-45aa-827a-87e9bfe6323e, Initiating User: edbe81c8-44bd-e211-a885-005056bc3f04
Exiting Microsoft.Dynamics.Sales.Plugins.AddressComputationOnReadPrePlugin.Execute(), Correlation Id: a2b471c7-5d2d-45aa-827a-87e9bfe6323e, Initiating User: edbe81c8-44bd-e211-a885-005056bc3f04
Entered Microsoft.Dynamics.Sales.Plugins.PreOperationInvoiceRetrieve.Execute(), Correlation Id: a2b471c7-5d2d-45aa-827a-87e9bfe6323e, Initiating User: edbe81c8-44bd-e211-a885-005056bc3f04
Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=6949846, MinActiveRowVersion=6949846 (Fault Detail is equal to Exception details: 
ErrorCode: 0x80041103
Message: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=6949846, MinActiveRowVersion=6949846
TimeStamp: 2020-05-06T13:46:13.1284374Z
--
Exception details: 
ErrorCode: 0x80041103
Message: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=6949846, MinActiveRowVersion=6949846
TimeStamp: 2020-05-06T13:46:13.1284374Z
--
)., Correlation Id: a2b471c7-5d2d-45aa-827a-87e9bfe6323e, Initiating User: edbe81c8-44bd-e211-a885-005056bc3f04
Exiting Microsoft.Dynamics.Sales.Plugins.PreOperationInvoiceRetrieve.Execute(), Correlation Id: a2b471c7-5d2d-45aa-827a-87e9bfe6323e, Initiating User: edbe81c8-44bd-e211-a885-005056bc3f04
</TraceText>
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Any help would be appriciated thanks

  • GK-17061418-0 Profile Picture
    GK-17061418-0 6 on at
    'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'
    .
  • yiannis toumaras Profile Picture
    yiannis toumaras 127 on at
    RE: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'

    Hi to all,

    In my case the problem solved by running the following steps.

    1. Run the script (I found it to the following post : https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/385731/dynamics-365-v9-onpremise-cumulative-update-fail )

    SELECT *
    FROM Entity
    WHERE ObjectTypeCode IN (953, 954) AND IsOfflineInMobileClient = 0

    If the script returns records you should then run the following :

    UPDATE Entity
    SET IsOfflineInMobileClient = 1
    WHERE ObjectTypeCode IN (953, 954) AND IsOfflineInMobileClient = 0

    2. Then you can run the update

    My environment was updated from 9.0.13.11 to 9.0.27.2

    Yiannis T

  • Javed Iqbal Profile Picture
    Javed Iqbal 85 on at
    RE: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'

    Hi Randy,

    sorry for late reply. We could not find any solution so we just rolled back to update 12.

    although we just installed update 0.21 which had an issue stated here community.dynamics.com/.../microsoft-dynamics-sales-plugins-error-after-upgrade but is fixed :)

  • Randy Profile Picture
    Randy 5 on at
    RE: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'

    Hi Javed,

    Just curious we have the same issue and error that you have outlined in your post , did you come up with a solution for it ?

    If so any insight you could offer would be appreciated

    Let me know when you have a moment

    Thanks,

    Randy

  • Suggested answer
    Johao Larios Profile Picture
    Johao Larios 1,795 on at
    RE: 'Invoice' entity doesn't contain attribute with Name = 'skippricecalculation' and NameMapping = 'Platform'

    Hello there,

    This seems to be related to an issue with the sales solution itself. Could you check what version of the sales app are you running?

    My suggestion is open a case with MSFT and provide this CRM exact version + the sales app version.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans