Read profile 1099 settings

Questions about and code samples for custom order rules and validation within Select.
Post Reply
Posts: 1382
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC

Read profile 1099 settings

Post by BobRichards »

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, Senior Software Developer, SoftPro
Post Reply