public static DeliveryModeChannelLine CreateDeliveryModeChannelLine(string dataAreaId, string modeOfDeliveryCode, string partyNumber, string organizationHierarchyType, global::Microsoft.Dynamics.DataEntities.DeliveryModeV2 deliveryModeV2) { DeliveryModeChannelLine deliveryModeChannelLine = new DeliveryModeChannelLine(); deliveryModeChannelLine.dataAreaId = dataAreaId; deliveryModeChannelLine.ModeOfDeliveryCode = modeOfDeliveryCode; deliveryModeChannelLine.PartyNumber = partyNumber; deliveryModeChannelLine.OrganizationHierarchyType = organizationHierarchyType; if ((deliveryModeV2 == null)) { throw new global::System.ArgumentNullException("deliveryModeV2"); } deliveryModeChannelLine.DeliveryModeV2 = deliveryModeV2; return(deliveryModeChannelLine); }
partial void OnDeliveryModeV2Changing(global::Microsoft.Dynamics.DataEntities.DeliveryModeV2 value);