fferpcore.CompanyServiceglobal with sharing class CompanyService Services for companies. Methods
loadCompaniesWithoutTaxInformationglobal static List<fferpcore.CompanyService.CompanySummary> loadCompaniesWithoutTaxInformation() Retrieve the summaries of all companies whose tax information has not been set. Exceptions Thrown
Return ValueThe list of company summaries. addTaxInformationglobal static fferpcore.CompanyService.AddTaxInformationResponse addTaxInformation(List<fferpcore.CompanyService.AddTaxInformationRequest> requests) Assign tax information to companies by setting a value in their Tax Information field. You can only assign tax information to companies that do not have any. A single tax information record can be assigned to many companies, but each company can only have one tax information record. Input Parameters
Exceptions Thrown
Return ValueA placeholder response object, reserved for future use. This does not currently contain any information. fferpcore.CompanyService.CompanySummaryglobal class CompanySummary A summary of the identifying information of a company record. Properties
MethodsCompanySummaryglobal CompanySummary(Id id, String name) Constructs a company summary with the specified ID and Name. Input Parameters
fferpcore.CompanyService.AddTaxInformationRequestglobal class AddTaxInformationRequest A request to assign a specified company tax information record to a specified company. A list of these is used when calling addTaxInformation. Properties
Methods
AddTaxInformationRequestglobal AddTaxInformationRequest(Id companyId, Id taxInformationId) Constructs a request to assign the specified tax information to the specified company. Input Parameters
fferpcore.CompanyService.AddTaxInformationResponseglobal class AddTaxInformationResponse The result of adding tax information to companies. This currently contains no information, but is reserved for future use. Methods |