partial void OnReleasedProductVariantV2Changing(global::Microsoft.Dynamics.DataEntities.ReleasedProductVariantV2 value);
Exemple #2
0
 partial void OnInventDimCombinationChanging(global::Microsoft.Dynamics.DataEntities.ReleasedProductVariantV2 value);
        public static ReleasedProductVariantExternalCodeV2 CreateReleasedProductVariantExternalCodeV2(string dataAreaId,
                                                                                                      string releasedProductVariantExternalCodeClassId,
                                                                                                      string itemNumber,
                                                                                                      string productConfigurationId,
                                                                                                      string productSizeId,
                                                                                                      string productStyleId,
                                                                                                      string productVersionId,
                                                                                                      string productColorId,
                                                                                                      global::Microsoft.Dynamics.DataEntities.ReleasedProductVariantV2 releasedProductVariantV2)
        {
            ReleasedProductVariantExternalCodeV2 releasedProductVariantExternalCodeV2 = new ReleasedProductVariantExternalCodeV2();

            releasedProductVariantExternalCodeV2.dataAreaId = dataAreaId;
            releasedProductVariantExternalCodeV2.ReleasedProductVariantExternalCodeClassId = releasedProductVariantExternalCodeClassId;
            releasedProductVariantExternalCodeV2.ItemNumber             = itemNumber;
            releasedProductVariantExternalCodeV2.ProductConfigurationId = productConfigurationId;
            releasedProductVariantExternalCodeV2.ProductSizeId          = productSizeId;
            releasedProductVariantExternalCodeV2.ProductStyleId         = productStyleId;
            releasedProductVariantExternalCodeV2.ProductVersionId       = productVersionId;
            releasedProductVariantExternalCodeV2.ProductColorId         = productColorId;
            if ((releasedProductVariantV2 == null))
            {
                throw new global::System.ArgumentNullException("releasedProductVariantV2");
            }
            releasedProductVariantExternalCodeV2.ReleasedProductVariantV2 = releasedProductVariantV2;
            return(releasedProductVariantExternalCodeV2);
        }