最近我遇到了一个错误,如下所述:
错误:CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY 消息:npe03.RecurringDonations:执行 AfterInsert 导致:System.NullPointerException:参数 1 不能为空 (npe03)
我正在用 PHP 编写,这就是我的数组的样子:
$newRecurring = array();
$newRecurring['Name'] = "Recurring: {$recurring['id']}";
$newRecurring['npe03__Amount__c'] = $recurring['amount'];
$newRecurring['npe03__Date_Established__c'] = date('Y-m-d', strtotime($recurring['date']));
$newRecurring['npe03__Installment_Period__c'] = 'Monthly';
$newRecurring['npe03__Organization__c'] = $account; //I double checked, it is a valid Id
谁能帮我 ?