Ejemplo n.º 1
0
        private CreateProduct CreateProduct_1()
        {
            var prd_1 = new CreateProduct();

            prd_1.ProductId        = DateTime.Now.Ticks.ToString(); //Guid.NewGuid().ToString();
            prd_1.ProductName      = "Test_" + prd_1.ProductId;
            prd_1.AttributeSetId   = "FluffPulpAttrSet";            //!!!typeof(InitAttributeSets.FluffPulpAttrSetInstance).Name;
            prd_1.IsSerialNumbered = true;
            //prd_1.QuantityUomId;
            prd_1.CommandId = Guid.NewGuid().ToString();

            productApplicationService.When(prd_1);
            return(prd_1);
        }