Hi DW,
I have a critical issue; my assortments is deleted after import.
This section of code checks if a user already is assigned to an assortment
if (ExistingAssortmentPermissions.Select("AssortmentPermissionAssortmentID='" + assortmentID + "' AND AssortmentPermissionAccessUserID=" + userID).Length == 0)
{
DataRow relation = TableToWrite.NewRow();
relation["AssortmentPermissionAssortmentID"] = assortmentID;
relation["AssortmentPermissionAccessUserID"] = userID;
TableToWrite.Rows.Add(relation);
}
And only adds to the temporary table if not exist, with that result that all missing rows in the temporary table is removed from the primary table after import...
Please help with a hotfix for 8.6.1.
Best regards, Anders