Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#2486 Add entity financial trxn #19932

Merged
merged 1 commit into from
Mar 29, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Mar 29, 2021

Overview

dev/core#2486 Add entity financial trxn

Before

A big black nothing

After

Tada

Technical Details

Comments

@civibot
Copy link

civibot bot commented Mar 29, 2021

(Standard links)

public static function entityTables(): array {
return [
'civicrm_contribution' => ts('Contribution'),
'civicrm_financial_item' => ts('Financial Item'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is missing the optionValue table. It's important to get all of them especially because the v3 api will validate against these options, and without that option, civicrm_api3('EntityFinancialTrxn', 'create', ['entity_table' => 'civicrm_option_value'] ...); would throw an error.

@eileenmcnaughton
Copy link
Contributor Author

@colemanw no - that's the other PR - this table doesn't join to option value

@colemanw
Copy link
Member

Oh, ok. I can't keep them all straight.

@eileenmcnaughton eileenmcnaughton merged commit 027ef84 into civicrm:master Mar 29, 2021
@eileenmcnaughton eileenmcnaughton deleted the ft branch March 29, 2021 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants