public void Update(int EntryNumber, int?InvoiceNumber, int?ChargeType, string Detail, decimal?Amount, bool Vat, decimal?VATAmount, byte[] Ts) { InternalInvoiceSubTable item = new InternalInvoiceSubTable(); item.MarkOld(); item.IsLoaded = true; item.EntryNumber = EntryNumber; item.InvoiceNumber = InvoiceNumber; item.ChargeType = ChargeType; item.Detail = Detail; item.Amount = Amount; item.Vat = Vat; item.VATAmount = VATAmount; item.Ts = Ts; item.Save(UserName); }
public void Insert(int?InvoiceNumber, int?ChargeType, string Detail, decimal?Amount, bool Vat, decimal?VATAmount, byte[] Ts) { InternalInvoiceSubTable item = new InternalInvoiceSubTable(); item.InvoiceNumber = InvoiceNumber; item.ChargeType = ChargeType; item.Detail = Detail; item.Amount = Amount; item.Vat = Vat; item.VATAmount = VATAmount; item.Ts = Ts; item.Save(UserName); }