partial void OnEngineeringChangeOrderProductRouteHeaderV2Changing(global::Microsoft.Dynamics.DataEntities.EngineeringChangeOrderProductRouteHeaderV2 value);
public static EngineeringChangeOrderProductRouteOperationV2 CreateEngineeringChangeOrderProductRouteOperationV2(string dataAreaId, string engineeringChangeOrderNumber, decimal engineeringChangeOrderProductLineNumber, int engineeringChangeOrderProductRouteHeaderCreationSequenceNumber, int operationNumber, decimal accumulatedScrapPercentage, int operationSequence, int nextRouteOperationNumber, decimal scrapPercentage, global::Microsoft.Dynamics.DataEntities.EngineeringChangeOrderProductRouteHeaderV2 engineeringChangeOrderProductRouteHeaderV2) { EngineeringChangeOrderProductRouteOperationV2 engineeringChangeOrderProductRouteOperationV2 = new EngineeringChangeOrderProductRouteOperationV2(); engineeringChangeOrderProductRouteOperationV2.dataAreaId = dataAreaId; engineeringChangeOrderProductRouteOperationV2.EngineeringChangeOrderNumber = engineeringChangeOrderNumber; engineeringChangeOrderProductRouteOperationV2.EngineeringChangeOrderProductLineNumber = engineeringChangeOrderProductLineNumber; engineeringChangeOrderProductRouteOperationV2.EngineeringChangeOrderProductRouteHeaderCreationSequenceNumber = engineeringChangeOrderProductRouteHeaderCreationSequenceNumber; engineeringChangeOrderProductRouteOperationV2.OperationNumber = operationNumber; engineeringChangeOrderProductRouteOperationV2.AccumulatedScrapPercentage = accumulatedScrapPercentage; engineeringChangeOrderProductRouteOperationV2.OperationSequence = operationSequence; engineeringChangeOrderProductRouteOperationV2.NextRouteOperationNumber = nextRouteOperationNumber; engineeringChangeOrderProductRouteOperationV2.ScrapPercentage = scrapPercentage; if ((engineeringChangeOrderProductRouteHeaderV2 == null)) { throw new global::System.ArgumentNullException("engineeringChangeOrderProductRouteHeaderV2"); } engineeringChangeOrderProductRouteOperationV2.EngineeringChangeOrderProductRouteHeaderV2 = engineeringChangeOrderProductRouteHeaderV2; return(engineeringChangeOrderProductRouteOperationV2); }