public static CreatePurchaseOrderDetail ( global purchaseOrderID, global purchaseOrderDetailID, global dueDate, global orderQty, global productID, global unitPrice, global lineTotal, global receivedQty, global rejectedQty, global stockedQty, global modifiedDate ) : |
||
purchaseOrderID | global | Initial value of the PurchaseOrderID property. |
purchaseOrderDetailID | global | Initial value of the PurchaseOrderDetailID property. |
dueDate | global | Initial value of the DueDate property. |
orderQty | global | Initial value of the OrderQty property. |
productID | global | Initial value of the ProductID property. |
unitPrice | global | Initial value of the UnitPrice property. |
lineTotal | global | Initial value of the LineTotal property. |
receivedQty | global | Initial value of the ReceivedQty property. |
rejectedQty | global | Initial value of the RejectedQty property. |
stockedQty | global | Initial value of the StockedQty property. |
modifiedDate | global | Initial value of the ModifiedDate property. |
return |
public static PurchaseOrderDetail CreatePurchaseOrderDetail(global::System.Int32 purchaseOrderID, global::System.Int32 purchaseOrderDetailID, global::System.DateTime dueDate, global::System.Int16 orderQty, global::System.Int32 productID, global::System.Decimal unitPrice, global::System.Decimal lineTotal, global::System.Decimal receivedQty, global::System.Decimal rejectedQty, global::System.Decimal stockedQty, global::System.DateTime modifiedDate)
{
PurchaseOrderDetail purchaseOrderDetail = new PurchaseOrderDetail();
purchaseOrderDetail.PurchaseOrderID = purchaseOrderID;
purchaseOrderDetail.PurchaseOrderDetailID = purchaseOrderDetailID;
purchaseOrderDetail.DueDate = dueDate;
purchaseOrderDetail.OrderQty = orderQty;
purchaseOrderDetail.ProductID = productID;
purchaseOrderDetail.UnitPrice = unitPrice;
purchaseOrderDetail.LineTotal = lineTotal;
purchaseOrderDetail.ReceivedQty = receivedQty;
purchaseOrderDetail.RejectedQty = rejectedQty;
purchaseOrderDetail.StockedQty = stockedQty;
purchaseOrderDetail.ModifiedDate = modifiedDate;
return purchaseOrderDetail;
}