Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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 .
You asked about votes. This looks like a different question. Might want to start a new thread.
Could you please help me to get values for this
On Order, Disposition comment, Work in progress and Finished programmatically.
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();
I am executing the same but from code it's not getting triggered I don't why and not getting printed
@_1647 , I would start a new thread. Your questions are not related to the original post.
Ok