tddate
The date to schedule the work order for
tcWO_Type
The work order type to use
tcLevel
The work order level to create the work order at
tcComment
If this is passed in then a work order comment is created with the type specified
by the parameter tcComm_Type
tcComm_Type
The comment type to use when creating additional comment
Be careful to set the units correctly on the contract as they are the units
that will be carried to the work order
o.CreateforContract("OC234234",{01/07/2003},"S","1","Booked by Automoted telephone booking system","G")
This would;
1. Create a work order of type "S" and level "1" for the account of contract "OC234234"
2. The schedule date would be the 01/07/2003
3. Create a work order comment of type "G" and value "Booked by Automoted telephone booking system"
4. The run number would be whatever is setup on the contract
5. All Charges, Comments and Content setup on the contract will be passed to the work order