Questions about and code samples for custom order rules and validation within Select.
-
BobRichards
- Posts: 1007
- Joined: Wed Jan 15, 2014 3:50 pm
- Location: Raleigh, NC
-
Contact:
Post
by BobRichards » Tue May 26, 2020 2:10 pm
The information set in the 1099 tab in SPAdmin for a Profile is accessible by CORs in a profile dictionary. I have presented two keys. Reply to this thread if you need additional ones.
Code: Select all
# Add this library for IProfileManager.
from SoftPro.Select.Client.Profiles import *
def ...(args):
profileMgr = args.GetService(IProfileManager)
profile = IProfileManager.ActiveProfile.GetValue(profileMgr)
eco = profile['ExportClosedOrders'] # Export only escrow "closed" orders
pft = profile['IsPayerTransmitter'] # Payer functions as transmitter
Bob Richards, Software Developer, SoftPro