Characteristics

How to enrich your business applications with extra functionality offered by 1C:Subsystems Library

#1
People who like this:0Yes/0No
Active user
Rating: 4
Joined: Jan 11, 2013
Company: Brighteye AB

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

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Keijo!
Try to update the list using the F5 key after creating an item from the script.

 
Subscribe
Be the first to know tips & trick on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.