Read profile 1099 settings
Posted: 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