AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 27.08.2021, 00:48   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
d365technext: Skip/Bypass validation in Data Entity Import – D365FO
Источник: http://d365technext.blogspot.com/202...ta-entity.html
==============






Skip/Bypass validation in Data Entity Import – D365FO




I had a scenario where I need to create the Tax Exempt Number dynamically when importing Vendors' data.



For instance, if the given VatNum does not exist in the input data, the system should bypass the validation and create the vendor without any error.




So, how do we incorporate this validation? Using the COC method of persistEntity.

public void persistEntity(DataEntityRuntimeContext _entityCtx)
{

next persistEntity(_entityCtx);
this.skipDataSourceValidateField(fieldNum(VendVendorsV2,
VatNum),true);

}


Источник: http://d365technext.blogspot.com/202...ta-entity.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
sertandev: How to integrate with Dynamics 365 for Finance and Operations Blog bot DAX Blogs 0 21.08.2020 15:12
dennis365foroperations: Yes, it’s here! The Copy configurations feature (and a look at other improvements related to Data Management) Blog bot DAX Blogs 0 12.10.2017 16:11
stoneridgesoftware: Automated Data Entity Import Using DIXF in Dynamics AX Blog bot DAX Blogs 0 07.08.2017 20:19
emeadaxsupport: SEPA affected objects Blog bot DAX Blogs 0 29.11.2013 13:11
NAV Team: How to: Enable Import/Export of Bank or Payroll Files Using the Data Exchange Framework Blog bot Dynamics CRM: Blogs 0 18.10.2013 02:33

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:39.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.