Inserts a row in the mp_CommerceReportOrders table. Returns rows affected count.
| C# |
public static int CreateOrder( Guid rowGuid, Guid siteGuid, Guid featureGuid, Guid moduleGuid, Guid userGuid, Guid orderGuid, string billingFirstName, string billingLastName, string billingCompany, string billingAddress1, string billingAddress2, string billingSuburb, string billingCity, string billingPostalCode, string billingState, string billingCountry, string paymentMethod, decimal subTotal, decimal taxTotal, decimal shippingTotal, decimal orderTotal, DateTime orderDateUtc, string adminOrderLink, string userOrderLink, DateTime rowCreatedUtc )
- rowGuid (Guid)
- rowGuid
- siteGuid (Guid)
- siteGuid
- featureGuid (Guid)
- featureGuid
- moduleGuid (Guid)
- moduleGuid
- userGuid (Guid)
- userGuid
- orderGuid (Guid)
- orderGuid
- billingFirstName (String)
- billingFirstName
- billingLastName (String)
- billingLastName
- billingCompany (String)
- billingCompany
- billingAddress1 (String)
- billingAddress1
- billingAddress2 (String)
- billingAddress2
- billingSuburb (String)
- billingSuburb
- billingCity (String)
- billingCity
- billingPostalCode (String)
- billingPostalCode
- billingState (String)
- billingState
- billingCountry (String)
- billingCountry
- paymentMethod (String)
- paymentMethod
- subTotal (Decimal)
- subTotal
- taxTotal (Decimal)
- taxTotal
- shippingTotal (Decimal)
- shippingTotal
- orderTotal (Decimal)
- orderTotal
- orderDateUtc (DateTime)
- orderDateUtc
- adminOrderLink (String)
- adminOrderLink
- userOrderLink (String)
- userOrderLink
- rowCreatedUtc (DateTime)
- rowCreatedUtc
int