Tax Payment Status

Discussions concerning general integration topics.

Moderator: Phil Barton

Post Reply
jberney
Posts: 3
Joined: Thu Aug 19, 2021 12:03 pm

Tax Payment Status

Post 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");

}
Attachments
2021-12-16_12-11-14.png
2021-12-16_12-11-14.png (67.02 KiB) Viewed 4375 times
Screenshot 2021-12-16 114212.jpg
Screenshot 2021-12-16 114212.jpg (90.36 KiB) Viewed 4375 times
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Tax Payment Status

Post 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 4364 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 4364 times
Bob Richards, Senior Software Developer, SoftPro
Post Reply