Testing.WorkOrderRouting.CreateWorkOrderRouting C# (CSharp) Method

CreateWorkOrderRouting() public static method

Create a new WorkOrderRouting object.
public static CreateWorkOrderRouting ( global workOrderID, global productID, global operationSequence, global locationID, global scheduledStartDate, global scheduledEndDate, global plannedCost, global modifiedDate ) : WorkOrderRouting
workOrderID global Initial value of the WorkOrderID property.
productID global Initial value of the ProductID property.
operationSequence global Initial value of the OperationSequence property.
locationID global Initial value of the LocationID property.
scheduledStartDate global Initial value of the ScheduledStartDate property.
scheduledEndDate global Initial value of the ScheduledEndDate property.
plannedCost global Initial value of the PlannedCost property.
modifiedDate global Initial value of the ModifiedDate property.
return WorkOrderRouting
        public static WorkOrderRouting CreateWorkOrderRouting(global::System.Int32 workOrderID, global::System.Int32 productID, global::System.Int16 operationSequence, global::System.Int16 locationID, global::System.DateTime scheduledStartDate, global::System.DateTime scheduledEndDate, global::System.Decimal plannedCost, global::System.DateTime modifiedDate)
        {
            WorkOrderRouting workOrderRouting = new WorkOrderRouting();
            workOrderRouting.WorkOrderID = workOrderID;
            workOrderRouting.ProductID = productID;
            workOrderRouting.OperationSequence = operationSequence;
            workOrderRouting.LocationID = locationID;
            workOrderRouting.ScheduledStartDate = scheduledStartDate;
            workOrderRouting.ScheduledEndDate = scheduledEndDate;
            workOrderRouting.PlannedCost = plannedCost;
            workOrderRouting.ModifiedDate = modifiedDate;
            return workOrderRouting;
        }