web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

"Product must have company filled" Error message when creating a new Product in sales Hub (Business Process error)

(0) ShareShare
ReportReport
Posted on by 40

Hello Community

In my sandbox "Sales Hub" instance, all of a sudden i am getting an error when creating a new Product

"Product must have company filled"  (Business Process error)

As per my business users they have been creating Products without populating "Company" field and now this new behavior.

I looked into the Product entity and i see that:

Company field is optional,  there are no Business rules associated with Company Field.
Company field is part of key "Product Key"  and the properties of this key is not editable. So probably this out-of-box key and may not be causing the issue.
Where else could i troubleshoot this issue ?
Error log:
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.CreateInternal(Entity entity, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Dictionary`2 optionalParameters)
at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.CreateOrganizationResponse(Entity entity)
at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.CreateEdmEntity(CrmODataExecutionContext context, String edmEntityName, EdmEntityObject entityObject, Boolean isUpsert)
at Microsoft.Crm.Extensibility.OData.EntityController.PostEntitySetImplementation(String& entitySetName, EdmEntityObject entityObject)
at Microsoft.Crm.Extensibility.OData.CrmODataUtilities.<>c__DisplayClass10_0`2.<InvokeActionAndLogMetric>b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
Activity Id: 5c52e479-70bd-40ac-8b39-28399538695c

Regards

Sartham

I have the same question (0)
  • Suggested answer
    Joel CustomerEffective Profile Picture
    445 on at

    Is the company lookup on the product a custom relationship? I don't see the company field on my product entity. Did someone add it as an alternate key? I checked in my environment and there is no Company lookup and no alternate keys for product, so my hunch is that someone created an alternate key or some other constraint on the product entity.

  • sartham Profile Picture
    40 on at

    Hi Joel

    thank you for the response.

    i am not sure what could have added Company lookup field.

    as an FYI...We have Field Service app too.

    does every field in a Key for an entity become mandatory while creating a record ?

    on Product entity what else could i look for, that would cause this behaviour.

    regards

    Sartham

  • Suggested answer
    Joel CustomerEffective Profile Picture
    445 on at

    So does my environment--there is no company relationship with product and no alternate keys.

    I don't believe a key requires all values to be filled in.

    The "must have company filled" does not sound like a standard error message to me. I've never seen a standard system error use that term "filled." Sounds like maybe somebody created a plugin or some other kind of process to throw an error.

  • G286 Profile Picture
    37 on at

    Hi Sartham,

    Did you manage to resolve this issue?

    I am encountering the the same problem and also have field service installed so it is likely related.

  • G286 Profile Picture
    37 on at

    Now resolved. Solutions relating to Finance & Operations is where the Company field was introduced alongside field service.

    Removing these solutions (5 in total) and the field from the form has resolved the issue.

  • AmandaHK Profile Picture
    5 on at

    Hi, G286

    Could you describe a bit detailed of how to remove the related solutions?

    Appreciated!

    Regards,

    Amanda

  • PB-30041459-0 Profile Picture
    2 on at
    I am experiencing the same problem. Although I don't even use a Company table in my solution. Please let me know how to solve the issue. I am using the Sales Professional app. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans