Hi, have a problem with saving new items into ChartsOfCharacteristicTypes by script.
Script like below:
Code |
---|
ChartItem = ChartsOfCharacteristicTypes.CharacteristicTypes.CreateItem(); ChartItem.SetNewCode(); ChartItem.Description = colAttr.ColName; ChartItem.ValueType = "String"; ChartItem.Purpose = Enums.ProductKinds.Products; ChartItem.Write(); |
No error but no result either. Missing something?
Regards Keijo