Ejemplo n.º 1
0
        public void Insert(int?InvoiceNumber, int?SupplierID, float?EstimatedAmount, DateTime?EstimationDate, float?Amount, DateTime?DatePassed, string PurchaseInvNumber, string Remarks, float?ValueForProfit, byte[] Ts)
        {
            InternalPurchaseTabley item = new InternalPurchaseTabley();

            item.InvoiceNumber = InvoiceNumber;

            item.SupplierID = SupplierID;

            item.EstimatedAmount = EstimatedAmount;

            item.EstimationDate = EstimationDate;

            item.Amount = Amount;

            item.DatePassed = DatePassed;

            item.PurchaseInvNumber = PurchaseInvNumber;

            item.Remarks = Remarks;

            item.ValueForProfit = ValueForProfit;

            item.Ts = Ts;


            item.Save(UserName);
        }
Ejemplo n.º 2
0
 public bool Destroy(object Id)
 {
     return(InternalPurchaseTabley.Destroy(Id) == 1);
 }
Ejemplo n.º 3
0
 public bool Delete(object Id)
 {
     return(InternalPurchaseTabley.Delete(Id) == 1);
 }