Hi,
I am using sourcing 7.0. I have a requirement to set the Display Name iin an agreement to "Sub:" instead of the default "Subagreement:".
I am trying to achieve this through script. I have created a Document life cycle script with class as Agreement and target as Created. Below is the script, however I receive the displayname as null from below script.
The document home comes as "com.sap.eso.api.contracts.AgreementIBeanHomeImpl".
Can anyone help.
***************************************************************
// Get logger
logMsg =Logger.createLogMessage(session);
Logger.info(logMsg.setLogMessage("*********Setting DisplayName of SubAgreement**********"));
Logger.info(logMsg.setLogMessage("*********Document home**********" + doc.getIBeanHomeIfc()));
displayName = doc.getDisplayName();
Logger.info(logMsg.setLogMessage("*********displayName:1**********" + displayName));
***************************************************************
Regards
Moumita