Moderator: Phil Barton
Please contact your SoftPro customer service representative to obtain a new version.
or is this a collection (probably, as there is more than one tax) with an interface that must be created.
Need advice please. The sdk is great for the information that is there, but is missing lots of information.
If you want to set the county tax amount, you should navigate to the property taxes collection then search for the "CountyTax" object.
Code: Select all
// Get taxes collection for first property. IOrderItem prop1 = (IOrderItem)((IList)order.GetProperty("Properties")); IList taxes = (IList)prop1.GetProperty("Taxes"); // Find the county tax object. IOrderItem countyTax = taxes.Cast<IOrderItem>() .Where(t => t.GetType().Name == "CountyTax") .FirstOrDefault();