docs(intent): kind: statement - balance sheets and income statements - #215
Open
delchev wants to merge 2 commits into
Open
docs(intent): kind: statement - balance sheets and income statements#215delchev wants to merge 2 commits into
delchev wants to merge 2 commits into
Conversation
A statutory statement is a fixed line structure over the chart of accounts, which a balance report cannot express: its output is one row per dimension value. Document `kind: statement` - the `account:` field the lines select on, the leaf/computed split, the selector grammar (prefix, exact, range over equally long code prefixes) and the twelve measures. The section that earns its place is why the Net measures net per account before the line sums: a settlement account is an asset in debit and a liability in credit, and pairing closingNetDebit with closingNetCredit files each account on the side its actual balance puts it on. Refs eclipse-dirigible/dirigible#6909.
…ports # Conflicts: # docs/help/intent/dsl-reference.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents
kind: statement, added in eclipse-dirigible/dirigible#6912 (closes eclipse-dirigible/dirigible#6909).A new subsection under reports in the Intent DSL reference, next to
kind: balance:account:(the field holding the account code the lines select on) andlines:;accounts:+measure:reads the ledger,sum:/less:is arithmetic over other lines' codes;20*prefix,4110exact,60-69a range over equally long code prefixes (which is why the bounds must be the same length: a comparison of whole codes drops601);Netones net per account, before the line sums — a settlement account is an asset in debit and a liability in credit, so pairingclosingNetDebiton the asset line withclosingNetCrediton the liability line files each account on the side its actual balance puts it on. Netting after the sum would report the section's gross turnover instead;/help/intent/printing).npm run docs:buildis clean; no em/en dashes; the one cross-link resolves to an existing page.