Page 2 of 2

Re: Entering multiple looans per order

Posted: Tue Nov 10, 2020 9:02 pm
by bandorganman
Here is all I get under How To. See attachment.

Re: Entering multiple looans per order

Posted: Wed Nov 11, 2020 11:40 am
by BobRichards
You, sir, have a truly old SDK version. The Visual Studio 2015 package build mechanism has not changed but the information available in the chm file has.
2020-11-11_10-33-01.png
2020-11-11_10-33-01.png (11.58 KiB) Viewed 695 times
Please contact your SoftPro customer service representative to obtain a new version.

Re: Entering multiple looans per order

Posted: Wed Nov 11, 2020 5:58 pm
by bandorganman
Thanks Bob, I suspected as much.

Re: Entering multiple looans per order

Posted: Thu Dec 17, 2020 3:44 pm
by bandorganman
I can never find the New Topic button, so I am sending this as a reply to an old topic. I cannot find any information in the sdk about entering taxes. It can not be done in the HUD line. Is it directly entered into the order properties such as:

o.SetProperty("Taxes.BuyerTax.Tax.Amount", value);
o.SetProperty("Taxes.BuyerTax.SellerTax.PeriodFrom", date);

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.

Thank You

Re: Entering multiple looans per order

Posted: Mon Dec 21, 2020 6:13 pm
by BobRichards
Property tax exist as a collection of objects that inherit from the PropertyTax object. It includes items such as:
  • "AdditionalTax"
  • "AssessmentTax"
  • "CityTax"
  • "CountyTax"
When a new HUD order is created, it is created with three tax objects - CityTax, CountyTax, and an AssessmentTax.

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"))[0];
IList taxes = (IList)prop1.GetProperty("Taxes");

// Find the county tax object.
IOrderItem countyTax = taxes.Cast<IOrderItem>()
    .Where(t => t.GetType().Name == "CountyTax")
    .FirstOrDefault();
I hope this helps. If you have additional questions, just send them on.