using System;
namespace GZTW.AyaNova.BLL
{
///
/// Summary description for GenProcessPM.
///
public class GenProcessPM
{
private GenProcessPM()
{
//
// TODO: Add constructor logic here
//
}
///
/// Loop through PM workorders ready for generation and
/// Process them / advance dates
///
public static void GeneratePMWorkorders()
{
WorkorderPMReadyForServiceList l=WorkorderPMReadyForServiceList.GetList();
foreach(WorkorderPMReadyForServiceList.WorkorderPMReadyForServiceListInfo i in l)
{
Workorder.NewServiceWorkorderFromPM(i.PMWorkorderID);
}
}
}
}