Forum Discussion
4 Replies
- angelaCatalyst II
Hi,
is the 'Express ECO Notification' ItemType a custom one added by youself? Which event type do you use for this one? onAfterAdd?
- Joseph_AnCreator II
It is not customed one.
I try to use onAfterAdd.
Would you please help?
Thank you.
- angelaCatalyst II
Which Aras version do you use? I have never seen an ItemType called 'Express ECO Notification'. You really have a talble for this one?
- Joseph_AnCreator II
Hi Angelalp,
Finally, I found how to solve it.
When I use identity ID instead of user ID, I could add complete notification automatically.
As you said, Express ECO Notification is customed one. I didn't know that.
So, it is right you never heard about it.
Anyway, thank you so much for your interest on my issue. I appreciate it.
var new_Compeletion_notification = inn.newItem("Express ECO Notification", "add");
new_Compeletion_notification.setProperty("source_id" , exp_eco_id);
new_Compeletion_notification.setProperty("related_id" , "8CC42C5770DE42A898EAEBF55091B824");
Item result = new_Compeletion_notification.apply();