*
* Generated from xml/schema/CRM/Price/LineItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5a365a7d4b14c9b5963aeb61576395e4)
+ * (GenCodeChecksum:c9962dd4253fbcf43073bf10fbb0ce86)
*/
/**
'bao' => 'CRM_Price_BAO_LineItem',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceField',
+ 'pseudoconstant' => [
+ 'table' => 'civicrm_price_field',
+ 'keyColumn' => 'id',
+ 'labelColumn' => 'label',
+ 'nameColumn' => 'name',
+ ],
'add' => '1.7',
],
'label' => [
'bao' => 'CRM_Price_BAO_LineItem',
'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceFieldValue',
+ 'pseudoconstant' => [
+ 'table' => 'civicrm_price_field_value',
+ 'keyColumn' => 'id',
+ 'labelColumn' => 'label',
+ 'nameColumn' => 'name',
+ ],
'add' => '3.3',
],
'financial_type_id' => [
'name' => 'financial_type_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Financial Type'),
+ 'title' => ts('Financial Type ID'),
'description' => ts('FK to Financial Type.'),
'where' => 'civicrm_line_item.financial_type_id',
'default' => 'NULL',
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'html' => [
'type' => 'Select',
+ 'label' => ts("Financial Type"),
],
'pseudoconstant' => [
'table' => 'civicrm_financial_type',
<title>Line Item Price Field</title>
<type>int unsigned</type>
<comment>FK to civicrm_price_field</comment>
+ <pseudoconstant>
+ <table>civicrm_price_field</table>
+ <keyColumn>id</keyColumn>
+ <nameColumn>name</nameColumn>
+ <labelColumn>label</labelColumn>
+ </pseudoconstant>
<!-- changed to not required in 4.3 in order to change ON DELETE CASCADE FK constraint to SET NULL -->
<add>1.7</add>
</field>
<type>int unsigned</type>
<default>NULL</default>
<comment>FK to civicrm_price_field_value</comment>
+ <pseudoconstant>
+ <table>civicrm_price_field_value</table>
+ <keyColumn>id</keyColumn>
+ <nameColumn>name</nameColumn>
+ <labelColumn>label</labelColumn>
+ </pseudoconstant>
<add>3.3</add>
</field>
<foreignKey>
</foreignKey>
<field>
<name>financial_type_id</name>
- <title>Financial Type</title>
+ <title>Financial Type ID</title>
<type>int unsigned</type>
<default>NULL</default>
<pseudoconstant>
<add>4.3</add>
<html>
<type>Select</type>
+ <label>Financial Type</label>
</html>
</field>
<foreignKey>