Hi all,
I've used below code to get WTDocument number and name in mail notification.
java.lang.String pbo_name = ((wt.doc.WTDocument) primaryBusinessObject).getName();
wt.workflow.work.WfAssignedActivity wfa=(wt.workflow.work.WfAssignedActivity)self.getObject();
wfa.setName(pbo_name);
wfa=(wt.workflow.work.WfAssignedActivity)wt.fc.PersistenceHelper.manager.save(wfa);
Same way, I need to get other PBO like Product Group and Customer name in mail notifications. I've gone through API for 10.2 M030 and found that there were two methods namely getName()/getNumber() and setName()/setNumber()which were inherited from_WTDocumentMaster.
Is there any way to create getter methods for Customer Name and ProductGroup as mentioned above with new class ?
Please suggest me the procedure including which class to inherit to do so as I'm new to this API customization.
Regards,
Krishna Chaithanya