Zoomed Image

AMSX Scripting Language - Command : GenerateWorkOrders

Summary

Generate scheduled work orders for maintenance tasks

Description

Creates work orders for all maintenance schedules that fall within the specified date window. If the days-forward value is blank it reads the GENERATEWORKORDERSFORWARD special option (default 30 days). If the from-date is blank it reads GENERATEWORKORDERSDATE, otherwise today is used. Call ClearXML before invoking this command.

Parameters

ParameterDescription
cmdnumber of days forward to generate work orders for (leave blank to use GENERATEWORKORDERSFORWARD special option)
Argument 0start date to generate from (leave blank to use GENERATEWORKORDERSDATE special option or today)

Syntax


GenerateWorkOrders "number of days forward to generate work orders for (leave blank to use GENERATEWORKORDERSFORWARD special option)", "start date to generate from (leave blank to use GENERATEWORKORDERSDATE special option or today)"

Return to the AMSX Command Reference