public void DeleteGroupTransaction(NZString TransID) { try { InventoryBIZ biz = new InventoryBIZ(); biz.DeleteGroupTransaction(TransID); } catch (Exception) { throw; } }
internal void DeleteMovePart(NZString TransIDFrom, NZString TransIDTo) { InventoryBIZ bizInv = new InventoryBIZ(); InventoryTransBIZ bizTrans = new InventoryTransBIZ(); List <InventoryTransactionDTO> dtoList = new List <InventoryTransactionDTO>(); InventoryTransactionDTO dto = bizTrans.LoadByTransactionID(TransIDFrom); bizInv.DeleteGroupTransaction(dto.GROUP_TRANS_ID); ////From //dto = new InventoryTransactionDTO(); //dto.TRANS_ID = TransIDFrom; //dtoList.Add(dto); ////To //dto = new InventoryTransactionDTO(); //dto.TRANS_ID = TransIDTo; //dtoList.Add(dto); //bizInv.DeleteTransactionList(dtoList); //bizInv.DeleteInventoryTransactions(CommonLib.Common.CurrentDatabase, dtoList); }
public void DeleteGroupTransaction(NZString groupTrans) { InventoryBIZ biz = new InventoryBIZ(); biz.DeleteGroupTransaction(groupTrans); }