Skip to content

Instantly share code, notes, and snippets.

@henzard
Created June 29, 2016 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henzard/0300e2b17405aabdb855cebc256361f6 to your computer and use it in GitHub Desktop.
Save henzard/0300e2b17405aabdb855cebc256361f6 to your computer and use it in GitHub Desktop.
_api.PurchaseOrders.Create(new PurchaseOrder()
{
Contact = new Contact()
{
ContactNumber = "C0001"
},
Number = "4920249",
LineItems = new List<LineItem>()
{
new LineItem() {
UnitAmount = 30.33M,
Description = "Plant Hire",
Quantity = 2,
AccountCode = "200",
TaxType = "NONE"
},
new LineItem() {
UnitAmount = 35.33M,
Description = "Car Hire",
Quantity = 1,
AccountCode = "200",
TaxType = "NONE"
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment