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");
}
Tax Payment Status
Moderator: Phil Barton
Tax Payment Status
- Attachments
-
- 2021-12-16_12-11-14.png (67.02 KiB) Viewed 4443 times
-
- Screenshot 2021-12-16 114212.jpg (90.36 KiB) Viewed 4443 times
-
- Posts: 1377
- Joined: Wed Jan 15, 2014 3:50 pm
- Location: Raleigh, NC
- Contact:
Re: Tax Payment Status
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. 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.
Bob Richards, Senior Software Developer, SoftPro