|
![]() |
#1 |
Участник
|
Цитата:
Сообщение от mazzy
![]() Выложил архив.
http://crm.axforum.info/crm-web-service.rar По ссылке ничего не лежит! Если не трудно намыльте пожалуйста pole{}fromru.com |
|
![]() |
#2 |
Участник
|
извините.
попробуйте http://axforum.info/crm/crm-web-service.rar |
|
![]() |
#3 |
Участник
|
Добавил заполнения атрибута типа Money
Вставлять в метод protected void CreateButton_Click(object sender, EventArgs e) else if (currAttr.AttributeType.Value == AttributeType.Money) { decimal loadValue = 0; if (decimal.TryParse(loadCell.Text, out loadValue)) { CrmMoneyProperty currIntProp = new CrmMoneyProperty(); currIntProp.Name = currAttr.SchemaName.ToLower(); currIntProp.Value = new CRM_Web_Service.CrmSdk.CrmMoney(); currIntProp.Value.Value = loadValue; arrofProperties = (Property[])CrmServiceUtility.ExpandCurrArray(arrofProperties, arrofProperties.Length + 1); arrofProperties[arrofProperties.Length - 1] = currIntProp; } } Чего не хватает: 1) сохранения настроек в файл 2) простановка атрибутов значениями по умолчанию (в принципе решается добавлением значений в колонки Ёксел таблицы) |
|
|
|