You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

FTE can not be greater than 1.0

1 reply [Last post]
Guest's picture
Guest

Hi All,

I have a requirement to throw an error when the FTE value greater than 1.0. Another requirement is to throw an error when std hours is greater than sal admin plan std hours. Please help, how to write code and which event I need to write code for the require ment

Thanks in Advance

GRK_Astronomer's picture
User offline. Last seen 7 years 3 weeks ago. Offline
Joined: 08/25/2012
Posts: 2
Re: FTE can not be greater than 1.0

That would be Field Change PeopleCode for both fields on the record that you are trapping the required errors for. Be careful however whether the requirement is to "error" or to "warn". Error cancels the page without saving while warnings highlight the filed and will not allow you to proceed until field entry is in spec. The code for STD HRS will probably require a SQLExec to select the Salary Plan Std. Hours.