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

Falha ao criar produtos

(0) ShareShare
ReportReport
Posted on by 25
Utilizo o CRM dynamics 365, crio1 produto e quando tento criar outro produto ele apresenta o erro abaixo.
 
 
Exception Message: Um registro que contém os valores de atributo Grupo de Unidades já existe. A chave de entidade unitgroup requer que este conjunto de atributos contenha valores exclusivos. Selecione valores exclusivos e tente novamente.
ErrorCode: -2147088238
HexErrorCode: 0x80060892
ErrorDetails: 
    ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService
    ApiStepKey: ae3b8615-ecd8-db11-b397-0019b9204da9
    ApiDepthKey: 1
    ApiActivityIdKey: 5d06b48a-b241-4863-8d58-c8eaa2d0e7c3
    ApiPluginSolutionNameKey: System
    ApiStepSolutionNameKey: System
    ApiExceptionCategory: ClientError
    ApiExceptionMessageName: DuplicateRecordEntityKey
    ApiExceptionHttpStatusCode: 412
    DuplicateEntity: <?xml version=/1.0/ encoding=/utf-16/?><Entity xmlns:i=/http://www.w3.org/2001/XMLSchema-instance/ xmlns=/http://schemas.microsoft.com/xrm/2011/Contracts/><Attributes xmlns:d2p1=/http://schemas.datacontract.org/2004/07/System.Collections.Generic/><KeyValuePairOfstringanyType><d2p1:key>organizationid</d2p1:key><d2p1:value i:type=/EntityReference/><Id>8f80dd0c-fd3c-ee11-94d2-002248282d06</Id><KeyAttributes xmlns:d5p1=/http://schemas.microsoft.com/xrm/7.1/Contracts/ /><LogicalName>organization</LogicalName><Name i:nil=/true/ /><RowVersion i:nil=/true/ /></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>isreparented</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:boolean/>false</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>productid</d2p1:key><d2p1:value xmlns:d4p1=/http://schemas.microsoft.com/2003/10/Serialization// i:type=/d4p1:guid/>e445a541-496c-ee11-8df0-000d3a1f655e</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>modifiedon</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:dateTime/>2023-10-16T17:27:19Z</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>modifiedonbehalfby</d2p1:key><d2p1:value i:nil=/true/ /></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>msdyn_gdproptout</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:boolean/>false</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>processid</d2p1:key><d2p1:value xmlns:d4p1=/http://schemas.microsoft.com/2003/10/Serialization// i:type=/d4p1:guid/>00000000-0000-0000-0000-000000000000</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>isstockitem</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:boolean/>false</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>statecode</d2p1:key><d2p1:value i:type=/OptionSetValue/><Value>0</Value></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>productstructure</d2p1:key><d2p1:value i:type=/OptionSetValue/><Value>1</Value></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>defaultuomscheduleid</d2p1:key><d2p1:value i:type=/EntityReference/><Id>3d32cd5d-476c-ee11-8df0-000d3a1f655e</Id><KeyAttributes xmlns:d5p1=/http://schemas.microsoft.com/xrm/7.1/Contracts/ /><LogicalName>uomschedule</LogicalName><Name i:nil=/true/ /><RowVersion i:nil=/true/ /></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>createdby</d2p1:key><d2p1:value i:type=/EntityReference/><Id>96923c1b-5033-ee11-bdf5-000d3a8fbcf1</Id><KeyAttributes xmlns:d5p1=/http://schemas.microsoft.com/xrm/7.1/Contracts/ /><LogicalName>systemuser</LogicalName><Name i:nil=/true/ /><RowVersion i:nil=/true/ /></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>productnumber</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:string/>512</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>defaultuomid</d2p1:key><d2p1:value i:type=/EntityReference/><Id>3e32cd5d-476c-ee11-8df0-000d3a1f655e</Id><KeyAttributes xmlns:d5p1=/http://schemas.microsoft.com/xrm/7.1/Contracts/ /><LogicalName>uom</LogicalName><Name i:nil=/true/ /><RowVersion i:nil=/true/ /></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>modifiedby</d2p1:key><d2p1:value i:type=/EntityReference/><Id>96923c1b-5033-ee11-bdf5-000d3a8fbcf1</Id><KeyAttributes xmlns:d5p1=/http://schemas.microsoft.com/xrm/7.1/Contracts/ /><LogicalName>systemuser</LogicalName><Name i:nil=/true/ /><RowVersion i:nil=/true/ /></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>createdon</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:dateTime/>2023-10-16T17:27:19Z</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>name</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:string/>vwsds</d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>statuscode</d2p1:key><d2p1:value i:type=/OptionSetValue/><Value>1</Value></d2p1:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><d2p1:key>iskit</d2p1:key><d2p1:value xmlns:d4p1=/http://www.w3.org/2001/XMLSchema/ i:type=/d4p1:boolean/>false</d2p1:value></KeyValuePairOfstringanyType></Attributes><EntityState i:nil=/true/ /><FormattedValues xmlns:d2p1=/http://schemas.datacontract.org/2004/07/System.Collections.Generic/><KeyValuePairOfstringstring><d2p1:key>isreparented</d2p1:key><d2p1:value>Não</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>modifiedon</d2p1:key><d2p1:value>2023-10-16T14:27:19-03:00</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>msdyn_gdproptout</d2p1:key><d2p1:value>Não</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>isstockitem</d2p1:key><d2p1:value>Não</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>statecode</d2p1:key><d2p1:value>Ativo</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>productstructure</d2p1:key><d2p1:value>Produto</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>createdon</d2p1:key><d2p1:value>2023-10-16T14:27:19-03:00</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>statuscode</d2p1:key><d2p1:value>Ativo</d2p1:value></KeyValuePairOfstringstring><KeyValuePairOfstringstring><d2p1:key>iskit</d2p1:key><d2p1:value>Não</d2p1:value></KeyValuePairOfstringstring></FormattedValues><Id>e445a541-496c-ee11-8df0-000d3a1f655e</Id><KeyAttributes xmlns:d2p1=/http://schemas.microsoft.com/xrm/7.1/Contracts/ xmlns:d2p2=/http://schemas.datacontract.org/2004/07/System.Collections.Generic/ /><LogicalName>product</LogicalName><RelatedEntities xmlns:d2p1=/http://schemas.datacontract.org/2004/07/System.Collections.Generic/ /><RowVersion i:nil=/true/ /></Entity>
    DuplicateAttributes: <DuplicateAttributes><defaultuomscheduleid>Microsoft.Xrm.Sdk.EntityReference</defaultuomscheduleid></DuplicateAttributes>
HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80060892&client=platform
Id da Atividade: bc0685c0-d4b0-44ee-bd1d-d4bca94d3137
  • Falha ao criar produtos
    Glad to know. What was your resolution?
  • Verified answer
    BC-07052101-0 Profile Picture
    BC-07052101-0 25 on at
    Falha ao criar produtos
    Já consegui resolver!!

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans