|
![]() |
#1 |
Чайный пьяница
|
Можете после
Код: var fetchXml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>" + " <entity name='new_request'>" + " <attribute name='new_requestid' />" + " <attribute name='new_insurance_product' />" + " <attribute name='new_insuransepayment' />" + " <attribute name='new_total_limit' />" + " <attribute name='new_client_account' />" + " <order attribute='new_insurance_product' descending='false' />" + " <filter type='and'>" + " <condition attribute='new_client_account' operator='eq' uitype='account' value='" + accountId + "' />" + " <condition attribute='new_insurance_product' operator='eq' value='" + ProductValue + "'/>" + " <condition attribute='new_stage' operator='eq' value='100000006' />" + " <condition attribute='new_result' operator='eq' value='1' /> " + " </filter>" + " </entity>" + "</fetch>"; В ProductValue - текстовое значение? Точно не лукап?
__________________
Эмо разработчик, сначала пишу код, потом плачу над его несовершенством. Подписывайтесь на мой блог, twitter и YouTube канал. Пользуйтесь моим Ultimate Workflow Toolkit |
|
![]() |
#2 |
Участник
|
Цитата:
вставить alert, который покажет фильтр?
Цитата:
<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'>
<entity name='new_request'> <attribute name='new_requestid' /> <attribute name='new_insuransepayment' /> <attribute name='new_total_limit' /> <attribute name='new_client_account' /> <attribute name='new_insurance_product' /> <order attribute='new_insurance_product' descending='false' /> <filter type='and'> <condition attribute='new_client_account' operator='eq' uitype='account' value='{BAF1A4C8-3C03-E311-8620-00155D001525}' /> <condition attribute='new_insurance_product' operator='eq' value='100000000'/> <condition attribute='new_stage' operator='eq' value='100000006' /> <condition attribute='new_result' operator='eq' value='1' /> </filter> </link-entity> </entity> </fetch> Вроде все корректно. Непонятно. Цитата:
В ProductValue - текстовое значение? Точно не лукап?
|
|
![]() |
#3 |
Участник
|
Разобрался, всем спасибо)
|
|
![]() |
#4 |
Чайный пьяница
|
__________________
Эмо разработчик, сначала пишу код, потом плачу над его несовершенством. Подписывайтесь на мой блог, twitter и YouTube канал. Пользуйтесь моим Ultimate Workflow Toolkit |
|
![]() |
#5 |
Участник
|
|
|
|
|