Hi
I am trying to update a custom field on a bundle record for when order product is created (salesorderdetail).
Condition:
postImageEntity.GetAttributeValue<OptionSetValue>("producttypecode").Value == 2
{
//code
}
This condition should only allow update for bundle, I ignore the other values:
1 = product
3,4 = require and optional product bundle
Same code works for producttypecode = 1
I don't touch the product bundle items which are read only, why this error ???









