on 05-16-2012 2:43 PM
Hi Experts,
We are running E-Sourcing 5.1 and I am wondering if there is a way to identify when an attachment has been loaded in the Final Sign Document field (UI: doccommon.contractdocument.ui.sellside.default ---> Field ID: SIGNED_DOC) in a Contract via Method in script or otherwise.
We are trying to have the system validate in a Script whether an attachment has been loaded to this field before allowing a user to change the Contract phase from “Executed” to another custom Contract phase. Any input/help would be greatly appreciated!
Thanks,
Vincent
Hi Vince,
Yes, you could have a script that can check if the Final Signed Document field on the Contract Document is populated and if it is not, then display an error message on the page. The script would be Document Lifecycle Event and target Pre Phase Change.
Hope this helps.
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vikram,
Thank you for the response. We have identified the script definition we need to use, but we are unable to identify which method/logic we should use to return when a attachment has been loaded or not. In the past, we have used "doc.getExtensionField()". Do you know if there is something similar specifically for Attachment type fields?
Regards,
VL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.