public void Insert(int TransactionID, int ProductID, int ReferenceOrderID, int ReferenceOrderLineID, DateTime TransactionDate, string TransactionType, int Quantity, decimal ActualCost, DateTime ModifiedDate) { TransactionHistoryArchive item = new TransactionHistoryArchive(); item.TransactionID = TransactionID; item.ProductID = ProductID; item.ReferenceOrderID = ReferenceOrderID; item.ReferenceOrderLineID = ReferenceOrderLineID; item.TransactionDate = TransactionDate; item.TransactionType = TransactionType; item.Quantity = Quantity; item.ActualCost = ActualCost; item.ModifiedDate = ModifiedDate; item.Save(UserName); }
public bool Destroy(object TransactionID) { return(TransactionHistoryArchive.Destroy(TransactionID) == 1); }