|
10.05.2017, 16:10 | #1 |
Участник
|
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, 16:22 | #2 |
Участник
|
RecordLevelSecurity or ValidTimeState
ax2012 - почему не находит по RecID УЖЕ существующую запись? |
|
10.05.2017, 18:38 | #3 |
Участник
|
Цитата:
Сообщение от mazzy
RecordLevelSecurity or ValidTimeState
ax2012 - почему не находит по RecID УЖЕ существующую запись? 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 |
|