Randy,
I assume that your EPMDocuments are either on the affected data or resulting data tables. In that case what you are missing the logic to grabs the Changeactivites giving an ecn number store that in a queryResult, then cycle through the queryResult and extra the contents of the affected/resulting data tables. See code ssamples below:
QureyResult result = ChangeHelper2.service.getChangeActivities(ecn);
While (result.hasMoreElements()) {
WTChanageActivity2 ca = (WTChangeActivity2)result.nextElement();
QueryResult RI_table = changeHelper2.service.getChangeablesAfter(ca);
QueryResult AI_table = changeHelper2.service.getChangeablesBefore(ca);
}
Then you need to cycle through the RI_table and/or AI_table to see if the object is an EPMDocument object,
while ( RI_table.hasMoreElements()){
WTObject object = (WTObject) RI_table.nextElement();
if (object instanceof EPMDocument) {
// do something with it
}
Hope this helps.
Thanks
Alexius C. Chukwuka
IT Analyst, PDP Systems
John Deere Power Systems
Product Engineering Center
*Voice: 319-292-8575
*Mobile: 319-429-5336
*FaxFax:319-292-6282
*E-Mail: -
CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to Deere & Company, or one of its subsidiaries or affiliates, and are intended solely for the use of the individual or entity to whom they are addressed, shall be maintained in confidence and not disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.