32 lines
681 B
C#
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);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|