Testing.PurchaseOrderHeader.CreatePurchaseOrderHeader C# (CSharp) Method

CreatePurchaseOrderHeader() public static method

Create a new PurchaseOrderHeader object.
public static CreatePurchaseOrderHeader ( global purchaseOrderID, global revisionNumber, global status, global employeeID, global vendorID, global shipMethodID, global orderDate, global subTotal, global taxAmt, global freight, global totalDue, global modifiedDate ) : PurchaseOrderHeader
purchaseOrderID global Initial value of the PurchaseOrderID property.
revisionNumber global Initial value of the RevisionNumber property.
status global Initial value of the Status property.
employeeID global Initial value of the EmployeeID property.
vendorID global Initial value of the VendorID property.
shipMethodID global Initial value of the ShipMethodID property.
orderDate global Initial value of the OrderDate property.
subTotal global Initial value of the SubTotal property.
taxAmt global Initial value of the TaxAmt property.
freight global Initial value of the Freight property.
totalDue global Initial value of the TotalDue property.
modifiedDate global Initial value of the ModifiedDate property.
return PurchaseOrderHeader
        public static PurchaseOrderHeader CreatePurchaseOrderHeader(global::System.Int32 purchaseOrderID, global::System.Byte revisionNumber, global::System.Byte status, global::System.Int32 employeeID, global::System.Int32 vendorID, global::System.Int32 shipMethodID, global::System.DateTime orderDate, global::System.Decimal subTotal, global::System.Decimal taxAmt, global::System.Decimal freight, global::System.Decimal totalDue, global::System.DateTime modifiedDate)
        {
            PurchaseOrderHeader purchaseOrderHeader = new PurchaseOrderHeader();
            purchaseOrderHeader.PurchaseOrderID = purchaseOrderID;
            purchaseOrderHeader.RevisionNumber = revisionNumber;
            purchaseOrderHeader.Status = status;
            purchaseOrderHeader.EmployeeID = employeeID;
            purchaseOrderHeader.VendorID = vendorID;
            purchaseOrderHeader.ShipMethodID = shipMethodID;
            purchaseOrderHeader.OrderDate = orderDate;
            purchaseOrderHeader.SubTotal = subTotal;
            purchaseOrderHeader.TaxAmt = taxAmt;
            purchaseOrderHeader.Freight = freight;
            purchaseOrderHeader.TotalDue = totalDue;
            purchaseOrderHeader.ModifiedDate = modifiedDate;
            return purchaseOrderHeader;
        }