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; } }
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; } }
public static void SetInitialItemRow(DataGrid objDataGrid) { try { if (objblItems == null) { objblItems = new blItems(); } { objblItems.SetInitialItemRow(objDataGrid); } } catch (Exception ex) { throw ex; } }
public static void InsertNewItemRow(DataGrid grdItems, dhSaleItem newItem) { try { if (objblItems == null) { objblItems = new blItems(); } { objblItems.InsertNewItemRow(grdItems, newItem); } } catch (Exception ex) { throw ex; } }
// 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; } }
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; } }
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; } }