The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
Hello Experts,
I have an issue on uploading the MLS file to create baseline purchases. In the pivot data tab, the column has the Country of Usage value equal to United States and Canada, which made the processing got a duplicate error . Is it mandatory to have the Country of Usage value equal to All countries? If so, how can we only creating the purchases just for US and Canada?
Error: Violation of PRIMARY KEY constraint 'PK_IncomingBaseline'. Cannot insert duplicate key in object 'dbo.IncomingBaseline_MT'.
Thanks!
‎May 22, 2019 06:42 AM
‎May 22, 2019 07:07 PM
Hello HPNZNB
If you are on premise customer and have database access, you can see this PK Constraint "PK_IncomingBaseLIne" is formed as below:
CONSTRAINT [PK_IncomingBaseline] PRIMARY KEY CLUSTERED
(
[Type] ASC,
[Date] ASC,
[ProductPool] ASC,
[ProductFamily] ASC,
[ProductVersion] ASC,
[TenantID] ASC
)
So double check whether your rows of data have any duplication group by those columns .
Cheers
Kevin
‎May 22, 2019 06:56 AM
‎May 22, 2019 07:36 AM
How about I suggest you creating two MLS file, one with one line (US), one with two lines (US & canada) to have a try? to prove us ....:) can't immediately tell whether it's the cause without seeing data or play with the data ...
‎May 22, 2019 07:42 AM
‎May 22, 2019 09:36 AM
‎May 22, 2019 07:07 PM