Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

While Create Quality Order in D365 FinOps

Posted on by 267
Cannot create a record in Test group members
 (InventTestGroupMember)./The record already exists. 
 
 
Below data is getting from HAR File
 
{
/ChannelId/: 0,
/LastAcknowledgedSequenceNumber/: 54,
/Messages/: [
{
/SequenceNumber/: 47,
/Interactions/: [
{
/$type/: /UpdateModelCollectionInteraction/,
/Descriptor/: {
/Id/: /ClientMessageLog/,
/Name/: /ClientMessageLog/,
/CurrentPageIndex/: 0,
/ActiveMasterTrackingId/: /0/,
/IsLastPage/: true,
/ActiveRecordIndex/: -1,
/ValuesIfEmpty/: null,
/Items/: [
{
/Id/: /5794_0/,
/Item/: {
/Id/: /5794_0/,
/Name/: null,
/Properties/: {},
/ChildModelCollections/: {}
}
},
{
/Id/: /6078_0/,
/Item/: {
/Id/: /6078_0/,
/Name/: null,
/Properties/: {},
/ChildModelCollections/: {}
}
},
{
/Id/: /6080_0/,
/Item/: {
/Id/: /6080_0/,
/Name/: null,
/Properties/: {},
/ChildModelCollections/: {}
}
},
{
/Id/: /6082_0/,
/Item/: {
/Id/: /6082_0/,
/Name/: null,
/Properties/: {
/text/: /Cannot create a record in Test group members (InventTestGroupMember)./The record already exists./,
/kind/: /13/,
/timeStamp/: /2023-11-09T10:09:15/,
/formContext/: /InventQualityOrderTableCreate/,
/formUniqueId/: /5123_0/,
/parentFormUniqueId/: /165_0/,
/messageContext/: //,
/stackTrace/: //,
/messageId/: /-8/,
/deleteMessage/: /0/,
/activityId/: /c0326835-9160-4162-9906-20d692f17b7e/,
/actionText/: //,
/isStaticAction/: /0/
},
/ChildModelCollections/: {}
}
}
],
/ActiveRecordModel/: null,
/SpliceOperations/: null,
/ClientPageSize/: -1,
/CacheSize/: 0,
/FetchedDataStartPosition/: 0,
/DataAbove/: 0,
/DataBelow/: 0,
/MasterDataSourceName/: /ClientMessageLog/,
/IsDirty/: false,
/IsCrossCompany/: false,
/FieldsWithTotals/: /[]/
},
/RootId/: /ClientMessageLog/
}
]
}
]
}
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    While Create Quality Order in D365 FinOps
    Hi Ashik,
     
    Can you provide some more information? What is a HAR file? I do assume you try to import data into F&O. What technology are you using? In case you are using OData, then there are different actions for inserting and updating records. If you use the insert action while the record exists, you will get a duplicate exception. You would then first need to check with another OData call if the record already exists.
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,692 Most Valuable Professional on at
    While Create Quality Order in D365 FinOps
    Can you check the index in InventTestGroupMember table ? You are definetely inserting a duplicate record of blank value in an index.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans