Programmatically find latest votes for user on change task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Programmatically find latest votes for user on change task
Hi avillanueva,
Hi took Affected Objects from getChangeablesBefore(); but now I am facing an issue to get On Order, Disposition comment Work in progress and Finished.
To take get these values I am using AffectedActivityData affectedActivityData = (AffectedActivityData) Object;
but its not working.
Please help .
- Labels:
-
General Customization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You asked about votes. This looks like a different question. Might want to start a new thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Could you please help me to get values for this
On Order, Disposition comment, Work in progress and Finished programmatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
QueryResult aResult=ChangeHelper2.service.getChangeablesBefore(ca,false);
Enumeration enumeration2=aResult.reset();
WTObject object=(WTObject)enumeration2.nextElement();
if (object instanceof AffectedActivityData)
{
AffectedActivityData aad=(AffectedActivityData)object;
from there you can get what you need:
onOrder=aad.getOnOrderDisposition().getDisplay();
wip=aad.getInventoryDisposition().getDisplay();
finished=aad.getFinishedDisposition().getDisplay();
dispositionComments=aad.getDispositionComments();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am executing the same but from code it's not getting triggered I don't why and not getting printed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@_1647 , I would start a new thread. Your questions are not related to the original post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Ok
