OrderTransactionType
Moderator: Phil Barton
-
- Posts: 68
- Joined: Tue Mar 03, 2020 5:23 pm
OrderTransactionType
I have tried to figure this one out using the SDK doc and the Forum but have had no success. How do I set the OrderTransAction type to 'Refinance'???
-
- Posts: 1382
- Joined: Wed Jan 15, 2014 3:50 pm
- Location: Raleigh, NC
- Contact:
Re: OrderTransactionType
This control on the Select UI always confuses people. It makes it look like there are four properties - one for each button - but the UI is just breaking out the four different enum values of a single property.
Code: Select all
using SoftPro.OrderTracking.Client.Orders;
using SoftPro.Select.Client;
// Set the "TransactionType" property to one of the "TransactionType" enums defined in "SoftPro.OrderTracking.Client.Orders"
order.SetProperty("TransactionType", TransactionType.Refinance);
// Save the order.
var os = ss.GetService<IOrderStore>();
os.ApplyChanges(order);
Bob Richards, Senior Software Developer, SoftPro