Page 1 of 1

Tax Payment Status

Posted: Thu Dec 16, 2021 4:14 pm
by jberney
Hi - How can I get the value from the Tax Payment Status field? I dont see the tax payment status in the "Taxes" Property. I'm using C#. Please advise.
using (IOrder order = os.OpenOrder(orderInfo, OrderEditMode.ReadOnly))
{

IList test = (IList)order.GetProperty("Properties");

IOrderItem test2 = (IOrderItem)test[0];

IList test3 = (IList)test2.GetProperty("Taxes");

}

Re: Tax Payment Status

Posted: Thu Dec 16, 2021 9:43 pm
by BobRichards
I know you received your answer through another source, but this would be a good time to mention the two primary ways I determine where an object or property is in the order model.
  • First is by opening the Field Code Browser(in the Order Documents tab at the top) and clicking the "Track Current Field" button - it looks like a chain link.
    2021-12-16_20-27-04.png
    2021-12-16_20-27-04.png (19.22 KiB) Viewed 4547 times
    Then by clicking the field box. This will typically display both the order model hierarchy and the Context and Property name.
  • When this is not available, you can press ALT+F6 and a popup dialog will display similar information.
    2021-12-16_20-35-15.png
    2021-12-16_20-35-15.png (9.08 KiB) Viewed 4547 times