You need to sign in to do that
Don't have an account?
Siddharth Lakhotia
Primary Key on Pricebook enteries?
Hi,,
I have created 4 fields on price book enteries.
Product Material No.
Sales Unit Of Measure
Region
Currency.
I require a combination of these 4 fields to be the primary key(5th field) for my product. Such that , that primary key be the determinant for the price of my product.
If any of the 4 fields differ in value from the previously existing combination , It will set a new price for a product.
I understand , there is no apex trigger or workflow rule on pricebook. How do i achieve this functionality?
I have created 4 fields on price book enteries.
Product Material No.
Sales Unit Of Measure
Region
Currency.
I require a combination of these 4 fields to be the primary key(5th field) for my product. Such that , that primary key be the determinant for the price of my product.
If any of the 4 fields differ in value from the previously existing combination , It will set a new price for a product.
I understand , there is no apex trigger or workflow rule on pricebook. How do i achieve this functionality?
Can you explain in detail. corresponding to my requirement. I am sorry , i am not that great a coder.
How do i make a primary key out of these 4 fields