Example #1
0
 public static void InsertNewItemRow(DataGrid objDataGrid, dhSaleItem neItem, TextBox ftotalamountTextBox)
 {
     try
     {
         if (objblItems == null)
         {
             objblItems = new blItems();
         }
         {
             objblItems.InsertNewItemRow(objDataGrid, neItem, ftotalamountTextBox);
         }
     }
     catch (Exception ex) { throw ex; }
 }
Example #2
0
 public static void RemoveItem(DataGrid objDataGrid, dhSaleItem objectToRemove, dhDBnames ObjDbName, bool?iSDraft)
 {
     try
     {
         if (objblItems == null)
         {
             objblItems = new blItems();
         }
         {
             objblItems.RemoveItem(objDataGrid, objectToRemove, ObjDbName, iSDraft);
         }
     }
     catch (Exception ex) { throw ex; }
 }
Example #3
0
 public static void SetInitialItemRow(DataGrid objDataGrid)
 {
     try
     {
         if (objblItems == null)
         {
             objblItems = new blItems();
         }
         {
             objblItems.SetInitialItemRow(objDataGrid);
         }
     }
     catch (Exception ex) { throw ex; }
 }
Example #4
0
 public static void InsertNewItemRow(DataGrid grdItems, dhSaleItem newItem)
 {
     try
     {
         if (objblItems == null)
         {
             objblItems = new blItems();
         }
         {
             objblItems.InsertNewItemRow(grdItems, newItem);
         }
     }
     catch (Exception ex) { throw ex; }
 }
Example #5
0
        // insert Item
        public static DataSet InsertUpdateItem(dhDBnames objDBNames, dhItems ObjItem)
        {
            try
            {
                DataSet var_ret = null;
                if (objblItems == null)
                {
                    objblItems = new blItems();
                }
                {
                    var_ret = objblItems.InsertUpdateItem(objDBNames, ObjItem);
                }

                return(var_ret);
            }
            catch (Exception ex) { throw ex; }
        }
Example #6
0
        public static dhItems GetdhItem(dhDBnames objDBNames, dhItems objItem)
        {
            try
            {
                dhItems var_ret = null;

                if (objblItems == null)
                {
                    objblItems = new blItems();
                }
                {
                    var_ret = objblItems.GetdhItem(objDBNames, objItem);
                }

                return(var_ret);
            }
            catch (Exception ex) { throw ex; }
        }
Example #7
0
        public static dsGeneral.dtPosItemsDataTable GetItems(dhDBnames objDBNames, dhItems objItem)
        {
            try
            {
                dsGeneral.dtPosItemsDataTable var_ret = null;

                if (objblItems == null)
                {
                    objblItems = new blItems();
                }
                {
                    var_ret = objblItems.GetItems(objDBNames, objItem);
                }

                return(var_ret);
            }
            catch (Exception ex) { throw ex; }
        }