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
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!
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156