Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Invoices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvoices(Invoice invoice)
 {
     base.AddObject("Invoices", invoice);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Invoice object.
 /// </summary>
 /// <param name="invoiceID">Initial value of the InvoiceID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="storeID">Initial value of the StoreID property.</param>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="departmentID">Initial value of the DepartmentID property.</param>
 /// <param name="invoiceEmpID">Initial value of the InvoiceEmpID property.</param>
 /// <param name="rackEmpID">Initial value of the RackEmpID property.</param>
 /// <param name="pickupEmpID">Initial value of the PickupEmpID property.</param>
 /// <param name="isMissingAmount">Initial value of the IsMissingAmount property.</param>
 /// <param name="workPhase">Initial value of the WorkPhase property.</param>
 /// <param name="pieces">Initial value of the Pieces property.</param>
 /// <param name="tax1ID">Initial value of the Tax1ID property.</param>
 /// <param name="taxable">Initial value of the Taxable property.</param>
 /// <param name="taxTotal">Initial value of the TaxTotal property.</param>
 /// <param name="subTotal">Initial value of the SubTotal property.</param>
 /// <param name="total">Initial value of the Total property.</param>
 /// <param name="paidAmount">Initial value of the PaidAmount property.</param>
 /// <param name="paymentID">Initial value of the PaymentID property.</param>
 /// <param name="coupTotal">Initial value of the CoupTotal property.</param>
 /// <param name="discTotal">Initial value of the DiscTotal property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 /// <param name="coupDiscable">Initial value of the CoupDiscable property.</param>
 /// <param name="srvFeeable">Initial value of the SrvFeeable property.</param>
 /// <param name="srvFeeTotal">Initial value of the SrvFeeTotal property.</param>
 /// <param name="valetTicketID">Initial value of the ValetTicketID property.</param>
 /// <param name="billCustomerID">Initial value of the BillCustomerID property.</param>
 /// <param name="tax2ID">Initial value of the Tax2ID property.</param>
 /// <param name="tax3ID">Initial value of the Tax3ID property.</param>
 /// <param name="taxable1">Initial value of the Taxable1 property.</param>
 /// <param name="taxable2">Initial value of the Taxable2 property.</param>
 /// <param name="taxable3">Initial value of the Taxable3 property.</param>
 /// <param name="taxTotal1">Initial value of the TaxTotal1 property.</param>
 /// <param name="taxTotal2">Initial value of the TaxTotal2 property.</param>
 /// <param name="taxTotal3">Initial value of the TaxTotal3 property.</param>
 /// <param name="originalTotal">Initial value of the OriginalTotal property.</param>
 /// <param name="isRedo">Initial value of the IsRedo property.</param>
 /// <param name="isSplit">Initial value of the IsSplit property.</param>
 /// <param name="taxAuthorityID">Initial value of the TaxAuthorityID property.</param>
 /// <param name="payCode">Initial value of the PayCode property.</param>
 /// <param name="markInEmpID">Initial value of the MarkInEmpID property.</param>
 public static Invoice CreateInvoice(global::System.Int32 invoiceID, global::System.Int32 orderID, global::System.Int32 storeID, global::System.Int32 customerID, global::System.Int32 departmentID, global::System.Int32 invoiceEmpID, global::System.Int32 rackEmpID, global::System.Int32 pickupEmpID, global::System.Boolean isMissingAmount, global::System.Int32 workPhase, global::System.Single pieces, global::System.Int32 tax1ID, global::System.Decimal taxable, global::System.Decimal taxTotal, global::System.Decimal subTotal, global::System.Decimal total, global::System.Decimal paidAmount, global::System.Int32 paymentID, global::System.Decimal coupTotal, global::System.Decimal discTotal, global::System.Boolean deleted, global::System.Decimal coupDiscable, global::System.Decimal srvFeeable, global::System.Decimal srvFeeTotal, global::System.Int32 valetTicketID, global::System.Int32 billCustomerID, global::System.Int32 tax2ID, global::System.Int32 tax3ID, global::System.Decimal taxable1, global::System.Decimal taxable2, global::System.Decimal taxable3, global::System.Decimal taxTotal1, global::System.Decimal taxTotal2, global::System.Decimal taxTotal3, global::System.Decimal originalTotal, global::System.Boolean isRedo, global::System.Boolean isSplit, global::System.Int32 taxAuthorityID, global::System.Int32 payCode, global::System.Int32 markInEmpID)
 {
     Invoice invoice = new Invoice();
     invoice.InvoiceID = invoiceID;
     invoice.OrderID = orderID;
     invoice.StoreID = storeID;
     invoice.CustomerID = customerID;
     invoice.DepartmentID = departmentID;
     invoice.InvoiceEmpID = invoiceEmpID;
     invoice.RackEmpID = rackEmpID;
     invoice.PickupEmpID = pickupEmpID;
     invoice.IsMissingAmount = isMissingAmount;
     invoice.WorkPhase = workPhase;
     invoice.Pieces = pieces;
     invoice.Tax1ID = tax1ID;
     invoice.Taxable = taxable;
     invoice.TaxTotal = taxTotal;
     invoice.SubTotal = subTotal;
     invoice.Total = total;
     invoice.PaidAmount = paidAmount;
     invoice.PaymentID = paymentID;
     invoice.CoupTotal = coupTotal;
     invoice.DiscTotal = discTotal;
     invoice.Deleted = deleted;
     invoice.CoupDiscable = coupDiscable;
     invoice.SrvFeeable = srvFeeable;
     invoice.SrvFeeTotal = srvFeeTotal;
     invoice.ValetTicketID = valetTicketID;
     invoice.BillCustomerID = billCustomerID;
     invoice.Tax2ID = tax2ID;
     invoice.Tax3ID = tax3ID;
     invoice.Taxable1 = taxable1;
     invoice.Taxable2 = taxable2;
     invoice.Taxable3 = taxable3;
     invoice.TaxTotal1 = taxTotal1;
     invoice.TaxTotal2 = taxTotal2;
     invoice.TaxTotal3 = taxTotal3;
     invoice.OriginalTotal = originalTotal;
     invoice.IsRedo = isRedo;
     invoice.IsSplit = isSplit;
     invoice.TaxAuthorityID = taxAuthorityID;
     invoice.PayCode = payCode;
     invoice.MarkInEmpID = markInEmpID;
     return invoice;
 }