*
* Generated from xml/schema/CRM/Financial/FinancialTrxn.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ea6e4e27680634c1c2e4def15d91e02c)
+ * (GenCodeChecksum:30dff7f6f16ef7cd997187a202a59173)
*/
/**
*/
public $pan_truncation;
+ /**
+ * Payment Processor external order reference
+ *
+ * @var string
+ */
+ public $order_reference;
+
/**
* Class constructor.
*/
'type' => 'Text',
],
],
+ 'financial_trxn_order_reference' => [
+ 'name' => 'order_reference',
+ 'type' => CRM_Utils_Type::T_STRING,
+ 'title' => ts('Order Reference'),
+ 'description' => ts('Payment Processor external order reference'),
+ 'maxlength' => 255,
+ 'size' => 25,
+ 'where' => 'civicrm_financial_trxn.order_reference',
+ 'table_name' => 'civicrm_financial_trxn',
+ 'entity' => 'FinancialTrxn',
+ 'bao' => 'CRM_Financial_DAO_FinancialTrxn',
+ 'localizable' => 0,
+ 'html' => [
+ 'type' => 'Text',
+ ],
+ ],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
}
'frontend_title', "varchar(255) DEFAULT NULL COMMENT 'Contribution Page Public title'", TRUE, '5.20.alpha1');
$this->addTask('Add is_template field to civicrm_contribution', 'addColumn', 'civicrm_contribution', 'is_template',
"tinyint(4) DEFAULT '0' COMMENT 'Shows this is a template for recurring contributions.'", FALSE, '5.20.alpha1');
+ $this->addTask('Add order_reference field to civicrm_financial_trxn', 'addColumn', 'civicrm_financial_trxn', 'order_reference',
+ "varchar(255) COMMENT 'Payment Processor external order reference'", FALSE, '5.20.alpha1');
$this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
}
<comment>Last 4 digits of credit card</comment>
<add>4.7</add>
</field>
+ <field>
+ <name>order_reference</name>
+ <uniqueName>financial_trxn_order_reference</uniqueName>
+ <title>Order Reference</title>
+ <type>varchar</type>
+ <length>255</length>
+ <html>
+ <type>Text</type>
+ <size>25</size>
+ </html>
+ <comment>Payment Processor external order reference</comment>
+ <add>5.20</add>
+ </field>
</table>