on 11-17-2011 12:08 PM
Hello Everyone,
I am trying to run Script for Rfx post phase but its not working.
Please help me how it will work.
Thanks in advance
Rakesh
Hi Rakesh,
I'm assuming you are trying to fire a script when RFx phase is changed. Please note, the pre and post phase change script targets are not supported in RFx. They are supported only in business documents where configurable phase definitions are setup.
Hope this helps.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rakesh,
I faced with same trouble. I resolve it by using RFx - Document Lifecycle Event - "Validated" instead of "Post Phase".
Then to have "Validated" script like run Phase Change add condition. For example fo our case we need to prevent RFx from beeing awarded in case RFx field was null.
if(doc.getCurrentPhase().equals(new RfxSchedPhaseEnumType(6)) && field.get() == null ) {
throw new ApplicationException(session);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.