Financial Report: Add inverse operation option for credit/debit only column
Description
For subtraction/addition calculation line type, there are cases where you want to apply inverse operation to the debit/credit only column.
e.g:
Period Debit
Period Credit
Period Change
Net Sales
100,000.00
200,000.00
100,000.00
COGS
070,000.00
030,000.00
040,000.00
Gross Profit
170,000.00
230,000.00
060,000.00
For the gross profit line, we want to apply addition for the period debit and period credit column and subtraction for the period change column. With the new improvement, we can achieve this by setting the gross profit line as subtraction of "Net Sales - COGS" and set the "inverse for debit/credit only column" flag to true.
About > The INSERT statement on line 38 of the migration script does nothing > (i.e. it inserts zero rows on my system). > Is this a problem? I only tested with the PostgreSQL variant.
That's fine - is used to synchronize translations when they exist.
For subtraction/addition calculation line type, there are cases where you want to apply inverse operation to the debit/credit only column.
e.g:
Period Debit
Period Credit
Period Change
Net Sales
100,000.00
200,000.00
100,000.00
COGS
070,000.00
030,000.00
040,000.00
Gross Profit
170,000.00
230,000.00
060,000.00
For the gross profit line, we want to apply addition for the period debit and period credit column and subtraction for the period change column. With the new improvement, we can achieve this by setting the gross profit line as subtraction of "Net Sales - COGS" and set the "inverse for debit/credit only column" flag to true.