Exemplo n.º 1
0
        public void Insert(string RecipeDetailID, string RecipeHeaderID, string ItemNo, double Qty, string Uom)
        {
            RecipeDetail item = new RecipeDetail();

            item.RecipeDetailID = RecipeDetailID;

            item.RecipeHeaderID = RecipeHeaderID;

            item.ItemNo = ItemNo;

            item.Qty = Qty;

            item.Uom = Uom;


            item.Save(UserName);
        }
Exemplo n.º 2
0
        public void Update(string RecipeDetailID, string RecipeHeaderID, string ItemNo, double Qty, string Uom)
        {
            RecipeDetail item = new RecipeDetail();

            item.MarkOld();
            item.IsLoaded = true;

            item.RecipeDetailID = RecipeDetailID;

            item.RecipeHeaderID = RecipeHeaderID;

            item.ItemNo = ItemNo;

            item.Qty = Qty;

            item.Uom = Uom;

            item.Save(UserName);
        }