Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  1. Identify the records on which you want to run the OFAC Check.

  2. Create Request Wrapper using the below Attributes:-

  3. String sIndividualName = oAccount.FirstName + ' ' + oAccount.LastName; oReqWrapper.sFirstName = oAccount.FirstName; oReqWrapper.sLastName = oAccount.LastName; oReqWrapper.sType = sType; System.debug('oReqWrapper.sType :::>'+oReqWrapper.sType); oReqWrapper.sName = sIndividualName; System.debug('oReqWrapper.sName :::>'+oReqWrapper.sName); oReqWrapper.sParentRecordId = oAccount.Id; //oReqWrapper.sCountryCode = 'United States';

  4. After this, you need to store the response which you will get

  5. At last, you need to call our Below Apis to get the result:-

  6. creditchecker.Utility.storeOFACData(oResponseWrapper.oOFAC, oResponseWrapper.listOFACResults); creditchecker.Utility.populateOFACMatchResults(new Set<Id>{oResponseWrapper.oOFAC.Id});

  • No labels