From: Eileen McNaughton Date: Tue, 5 May 2015 03:57:46 +0000 (+1200) Subject: CRM-16543 add finanical item api X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e117e295b2aeaa255ab4dbf41e15e6cb61998d65;p=civicrm-core.git CRM-16543 add finanical item api --- diff --git a/api/v3/FinancialItem.php b/api/v3/FinancialItem.php new file mode 100644 index 0000000000..4fbb63bbc9 --- /dev/null +++ b/api/v3/FinancialItem.php @@ -0,0 +1,67 @@ + id int unsigned + Financial Item ID 10 true @@ -22,6 +23,7 @@ created_date timestamp + Financial Item Created Date true CURRENT_TIMESTAMP Date and time the item was created @@ -30,6 +32,7 @@ transaction_date datetime + Financial Item Transaction Date true Date and time of the source transaction 4.3 @@ -37,6 +40,7 @@ contact_id int unsigned + Financial Item Contact ID true true FK to Contact ID of contact the item is from @@ -52,6 +56,7 @@ description varchar + Financial Item Description 255 Human readable description of this item, to ease display without lookup of source item. 4.3 @@ -71,6 +76,7 @@ currency true varchar + Financial Item Currency 3 Currency for the amount 4.3 @@ -87,6 +93,7 @@ financial_account_id int unsigned + Financial Account ID FK to civicrm_financial_account 4.3 @@ -107,6 +114,7 @@ status_id true + Financial Item Status ID int unsigned Payment status: test, paid, part_paid, unpaid (if empty assume unpaid) 4.3 @@ -120,12 +128,14 @@ entity_table varchar + Entity Table 64 The table providing the source of this item such as civicrm_line_item 4.3 entity_id + Entity ID int unsigned The specific source item that is responsible for the creation of this financial_item 4.3