예제 #1
0
        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);
        }
예제 #2
0
 partial void OnDeliveryModeV2Changing(global::Microsoft.Dynamics.DataEntities.DeliveryModeV2 value);