// copy constructor public clsPurchaseOrder(clsPurchaseOrder otherItem) { this.PurchaseOrderID = otherItem.PurchaseOrderID; this.Vin = otherItem.Vin; this.Source = otherItem.Source; this.AuthorizedBy = otherItem.AuthorizedBy; this.Cost = otherItem.Cost; this.InventoryID = otherItem.InventoryID; }
public static void insertPurchaseOrder(clsPurchaseOrder newPurchaseOrder) { deletePurchaseOrder(newPurchaseOrder.PurchaseOrderID, true); //update version GlobalListForTesting.totalPOList.Add(newPurchaseOrder); //adds PO to test list }