![]() |
#1 |
Участник
|
CRM Programmer: Salesorder Fulfill state
Источник: http://crmpro.blogspot.com/2009/11/s...ill-state.html
============== I was trying to catch the Fulfill state of sales order and my try was successful, with registering plugin to Update message at Child pipeline. But there was a one little problem - you can't get the salesorderdetail thru service. I don't know why, but the simple code like in "Example 1" was falling down with Generic SQL error x80044150. // Example 1 QueryByAttribute qba = new QueryByAttribute(); qba.EntityName = EntityName.salesorderdetail.ToString(); qba.ColumnSet = new AllColumns(); qba.Attributes = new string[] { "salesorderid" }; qba.Values = new object[] { soid }; BusinessEntityCollection bec = crmService.RetrieveMultiple(qba); Then I was switch on the Fulfill Sdk Message and everything start working fine! 1. open up the SdkMessage view, filter by Name and find the SdkMessageIdupdate dbo.SdkMessageFilter set IsCustomProcessingStepAllowed=1 where SdkMessageId= (select top 1 SdkMessageId from dbo.SdkMessage where name ='Fulfill') I have a question, why the Fulfill message has been unplugged from customization? Источник: http://crmpro.blogspot.com/2009/11/s...ill-state.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|