|
![]() |
#1 |
Участник
|
Цитата:
X++: ... select firstonly pessimisticLock RecId, BatchJobId, CreatedBy, ExecutedBy, SessionIdx, SessionLoginDateTime , StartDateTime, Status, RunType, GroupId, PrivateTask , ClassNumber, Company from batch where batch.GroupId == groupId && batch.Status == BatchStatus::Ready && && batch.RunType == BatchRunType::Client && (batch.CreatedBy == userId || (!privateBatch && batch.PrivateTask == privateBatch)) && ('Admin'== userId || batch.Company == curext()); ...
__________________
MS Dynamics AX 2009 Kernel 5.0.1600.4110 Application 5.0.1500.6491 |
|
Теги |
ax2009, runsimpersonated, пакетное задание |
|
|