*
* @return int
* id of Organisation created
- *
- * @throws \CiviCRM_API3_Exception
*/
public function organizationCreate($params = [], $seq = 0): int {
if (!$params) {
*/
public function individualCreate(array $params = [], $seq = 0, $random = FALSE): int {
$params = array_merge($this->sampleContact('Individual', $seq, $random), $params);
- return $this->_contactCreate($params);
+ $this->ids['Contact']['individual_' . $seq] = $this->_contactCreate($params);
+ return $this->ids['Contact']['individual_' . $seq];
}
/**