Skip to content

DataFactoryForPackageInstalls

pozil edited this page Nov 14, 2024 · 8 revisions

DataFactoryForPackageInstalls Class

Class generates data for installation cases where we cannot create example data via a Salesforce CLI call

Group Shared Code

Methods

generateData()

SUPPRESSWARNINGS

generates three sets of data, used to demonstrate how junction objects work. It creates two lists of parent records and a list of junction objects.

Note: This is intended as a setup script, and as such, it supresses the PMD ApexCrudViolation.

Signature

public static void generateData()

Return Type

void

Clone this wiki locally