I am trying to write some BPM Custom Code and am looking for some help. I’m looking to take a UD Date field from LaborHed_UD and find the maximum to assign to a variable in my BPM. Any help would be greatly appreciated!
Something ala:
var myProj = Db.Project.Where(p => p.ProjectID == “MyProject”).Max(m => m.RevisedGoLive_c);
Awesome I think this seems to be working how I need it!
Follow up question… Is there a method directive I could use that would be triggered after an Employee enters their ID within MES?
EmpBasic.ClockIn is the method. You should be able to get this from a trace file on MES.
Yep just got that figured out. Thanks tho!!
Have a look at Trace Logging for your future needs.