Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Answered

Data migration - how to import Released product by Data management

Posted on by 20

Hi all, 

How to import Released products for the specific Legal entity by Data management? I tried to handle it with the Released product creation V2 entity which I chose in a migration project, but I have the same error every time - see below. I tried it only with ProductNumber and ProductName fields in the Excel template. 

Thank you in advance for your help!

Dmitrij

Error: 

<?xml version="1.0"?><Errors><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>OLE DB Destination [127]</SubComponent><Description>SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "The statement has been terminated.".

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Violation of PRIMARY KEY constraint 'I_65940STAGINGIDX'. Cannot insert duplicate key in object 'dbo.ECORESRELEASEDPRODUCTCREATIONV2STAGING'. The duplicate key value is (5637144576, Inventory, Inventory-2023-06-14T13:11:16-59D6AAE0A7E4467FA53B2BC9C0F08D9E, ).".

</Description></Error><Error><ErrorCode>-1071607767</ErrorCode><SubComponent>OLE DB Destination [127]</SubComponent><Description>SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "OLE DB Destination.Inputs[OLE DB Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.

</Description></Error><Error><ErrorCode>-1073450974</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Destination" (127) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (140). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.

</Description></Error></Errors>

Failed to insert record into staging table. The keys of the record are DEFINITIONGROUP, EXECUTIONID, ITEMNUMBER, PARTITION. Duplicate records must be removed from the file prior to import.

'0' 'Released product creation V2' record(s) inserted in staging

  • Suggested answer
    Dimi Vagner Profile Picture
    Dimi Vagner 20 on at
    RE: Data migration - how to import Released product by Data management

    Thank you, Sagar. I missed ItemNumber in my template. After putting it into my template, the Released product creation V2 entity works well now (the new template has: ProductNumber, ItemNumber, and ProductName).

    Have a nice day!

  • Verified answer
    sagar_patil Profile Picture
    sagar_patil 480 on at
    RE: Data migration - how to import Released product by Data management

    Hi,

    Please check if there are duplicate record in the file.

    Alternatively, you can import in following way

    1. Import 'Products V2' Entity first.

    2. Then Import 'Released Product V2' entity. Give Product Number mentioned as above against the Item number in the entity.

    This will definitely work.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans