Hi
I wish to import data into a Product Object and want the ProductCode to be the Primary Key. How do I enforce this rule. At the moment I understand the ID is the Primary Key and it is system generated.
In my case the ProductFile comes from an outside application CSV file and is imported on a daily or weekly basis. Ideally I would like to make the ProductCode the Primary key.
The CSV file contains the same ProductCodes on every import, but may have minor changes to it (like price change) or new codes.If the ProductCode is tied to the Primary key, then the product code will overwrite existing codes with any changes incurred since the previous import.
Can anyone help me here with a rule that can make My ProductCode attribute behave as if it were the Primary key or some way to achieve the above
Thank You