public void Update(int PurchaseAuditIDa, int?PurchaseTableID, int?InvoiceNumber, int?SupplierID, decimal?EstimatedAmount, DateTime?EstimationDate, string OldValue, decimal?Amount, DateTime?DatePassed, string PurchaseInvNumber, string Remarks, decimal?ValueForProfit, DateTime?Added, int?AddedBy, byte[] Ts)
        {
            InternalPurchaseTableAudit item = new InternalPurchaseTableAudit();

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

            item.PurchaseAuditIDa = PurchaseAuditIDa;

            item.PurchaseTableID = PurchaseTableID;

            item.InvoiceNumber = InvoiceNumber;

            item.SupplierID = SupplierID;

            item.EstimatedAmount = EstimatedAmount;

            item.EstimationDate = EstimationDate;

            item.OldValue = OldValue;

            item.Amount = Amount;

            item.DatePassed = DatePassed;

            item.PurchaseInvNumber = PurchaseInvNumber;

            item.Remarks = Remarks;

            item.ValueForProfit = ValueForProfit;

            item.Added = Added;

            item.AddedBy = AddedBy;

            item.Ts = Ts;

            item.Save(UserName);
        }