Skip to content

Commit 77518f7

Browse files
authored
Merge pull request #5745
FINERACT-2421: Add Originator external ids to report
2 parents 57dcd06 + 20c1dc5 commit 77518f7

4 files changed

Lines changed: 537 additions & 3 deletions

File tree

fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,4 +243,6 @@
243243
<include file="parts/0222_transaction_summary_reports_fix_after_originator_details.xml" relativeToChangelogFile="true" />
244244
<include file="parts/0223_trial_balance_summary_rename_originators_column.xml" relativeToChangelogFile="true" />
245245
<include file="parts/0224_add_allow_cash_and_non_cash_accrual_config.xml" relativeToChangelogFile="true" />
246+
<include file="parts/0225_add_originator_external_ids_to_aggregation_summary.xml" relativeToChangelogFile="true" />
247+
<include file="parts/0226_trial_balance_summary_fix_originator_join_conditions.xml" relativeToChangelogFile="true" />
246248
</databaseChangeLog>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
23+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd">
25+
<changeSet author="fineract" id="1">
26+
<preConditions onFail="MARK_RAN">
27+
<tableExists tableName="m_journal_entry_aggregation_summary"/>
28+
<not>
29+
<columnExists tableName="m_journal_entry_aggregation_summary" columnName="originator_external_ids"/>
30+
</not>
31+
</preConditions>
32+
<addColumn tableName="m_journal_entry_aggregation_summary">
33+
<column name="originator_external_ids" type="VARCHAR(1000)"/>
34+
</addColumn>
35+
</changeSet>
36+
<changeSet author="fineract" id="2">
37+
<preConditions onFail="MARK_RAN">
38+
<tableExists tableName="acc_gl_journal_entry_annual_summary"/>
39+
<not>
40+
<columnExists tableName="acc_gl_journal_entry_annual_summary" columnName="originator_external_ids"/>
41+
</not>
42+
</preConditions>
43+
<addColumn tableName="acc_gl_journal_entry_annual_summary">
44+
<column name="originator_external_ids" type="VARCHAR(1000)"/>
45+
</addColumn>
46+
</changeSet>
47+
</databaseChangeLog>

0 commit comments

Comments
 (0)