|
|
#5 |
|
Участник
|
AX 4.0.
В классе EventActionEmail делаю следующее: if(.............) { userInfo_Resp = SysUserInfo::find(alertBuffer.ResponsibleId); SysEmailTable::sendMail(eventParameters.AlertTemplateId,userInfo_Resp.Language,userInfo_Resp.Email,mappings,'',xmlParameters,true,userInfo_Resp.Id,true); } else SysEmailTable::sendMail(eventParameters.AlertTemplateId,userInfo.Language,userInfo.Email,mappings,'',xmlParameters,true,eventRule.UserId,true); В классе EventActionAlert: if(.......) userInfo = SysUserInfo::find(eventRule.UserId); else { alertBuffer = inbox.alertBuffer(); userInfo = SysUserInfo::find(alertBuffer.ResponsibleId); } inboxId = EventInbox::nextEventId(); inbox.initValue(); inbox.initFromEventRule(eventRule); if(...........) inbox.UserId = alertBuffer.ResponsibleId; inbox.InboxId = inboxId; ........... Последний раз редактировалось _AxDevel_; 26.05.2009 в 09:44. |
|
|
| Теги |
| notification, оповещения, системное оповещение, ax4.0 |
|
|
Похожие темы
|
||||
| Тема | Ответов | |||
| Отправка сообщения ? | 3 | |||
| Настройка оповещений | 10 | |||
| Отправка отчета по имейлу | 1 | |||
| Система оповещений в Аксапте (события в Аксапте) | 1 | |||
| Axapta 3, отправка файлов по eMail (КАК ИСПРАВИТЬ) | 1 | |||
| Опции темы | Поиск в этой теме |
| Опции просмотра | |
|