Changes

SsGet

293 bytes added, 20:20, 2 December 2014
Returning information from the Office of Foreign Assets Control (OFAC)
:<font size="3">'''@ssGet(OFAC,''entity'';;''firstname'';;''lastname'';;''search options'';;''roleslist'';;''meta template'';;''line template'')@'''</font>
database The arguments are as follows: supports "OFAC" only, will add IRS if required * ''entity '': accepts "people","company" or "all" * ''firstname '': people firstname of an individual's first name or company name * ''lastname '': people lastname an individual's last name (will be ignored if entity is "company" or "all") * ''search options '': accepts "1", "2" or "3": *1-search current object only (people or company entity), :*2-search people underneath(company entity only ),:*3-search current object and people underneath(company entity only) roleist * ''rolelist'': applies if "search options" is set to 2 or 3 ,. Should be in format of comma -delimited [[roleid|role ids ]] or role names (but not ids mixed with names). ''meta template '': variabels (entity,name,recordcount,now), default template will be used if empty :variables that can be used include::*''[[entity]]'' - search type:*''[[name]]'' - name of search result:*''[[recordcount]]'' - number of records returned by OFAC search:*''[[now]]'' - Current date
Example : "Search type : [[entity]] , Search for : [[name]], Records returned : [[recordcount]], Date :[[now]]"
8,849
edits