Files
ayanova7/source/bizobjects/AyaLib/GZTW.AyaNova.BLL/GenProcessPM.cs
2018-06-29 19:47:36 +00:00

32 lines
681 B
C#

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