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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.05.2017, 16:10   #1  
AnGor is offline
AnGor
Участник
Аватар для AnGor
 
97 / 46 (2) +++
Регистрация: 30.08.2007
Адрес: Ulm
Записей в блоге: 6
? The select-query cannot find the record if it executes on the Pre-event handler. (AX 2012 R3)
Hi colleagues!
How it can be? The select-query cannot find the record if it executes on the Pre-event handler. But if it runs on the Job - it finds the record.
Here is the select
select firstOnly prDirPartyPostalAddressView where prDirPartyPostalAddressView.RecId == 5637159520;
Старый 10.05.2017, 18:38   #3  
AnGor is offline
AnGor
Участник
Аватар для AnGor
 
97 / 46 (2) +++
Регистрация: 30.08.2007
Адрес: Ulm
Записей в блоге: 6
Цитата:
Сообщение от mazzy Посмотреть сообщение
I have found the mistake and it was much more interesting then ValidTimeState
The method which I want to handle runs between delete() of DirPartyPostalAddressView and aosValidateDelete() of the table LogisticsPostalAddress. When I want to find the record (DirPartyPostalAddressView) it's already deleted but after negative validation the transaction was rolled back and I can find it by run the Job
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dynamicsaxse: April release – Dynamics AX 2012 R3 Blog bot DAX Blogs 0 07.04.2017 20:11
axsa: MDM Adapter - Extending Dynamics AX 2012 R3 Master Data Management Blog bot DAX Blogs 0 22.05.2014 03:28
emeadaxsupport: AX Content: Deploy AX 2012 R3 on Azure Blog bot DAX Blogs 0 12.05.2014 06:17
emeadaxsupport: Get started with AX 2012 R3! Blog bot DAX Blogs 0 05.05.2014 09:11
dynamicsaxtraining: Vendor returns Blog bot DAX Blogs 0 11.10.2012 00:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

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