;doc:add: balance assertions/assignments: edits [#2494]
This commit is contained in:
parent
08c44d2c98
commit
73d9608c66
@ -72,11 +72,11 @@ will influence how the new balance assertion is checked.
|
|||||||
|
|
||||||
## add and balance assignments
|
## add and balance assignments
|
||||||
|
|
||||||
When `add` runs, all balance assignments have already been processed and converted to balance assertions.
|
You can't add a new balance assignment using `add`.
|
||||||
So balance assignments will not be recalculated during a `hledger add` session.
|
Also, existing balance assignments will not be recalculated during a `hledger add` session.
|
||||||
|
(Because by the time `add` runs, they have been converted to explicit amounts plus balance assertions.)
|
||||||
|
|
||||||
This means that if you try to `add` a new posting which is dated earlier than an existing balance assignment
|
This means that if you try to `add` a new posting which is dated earlier than an existing balance assignment,
|
||||||
(now a balance assertion), that posting will break the assertion and be rejected.
|
it will be rejected (because it would break the corresponding assertion).
|
||||||
To allow it, you could disable assertions temporarily with `hledger add -I`.
|
Unless you disable assertions temporarily with `hledger add -I`.
|
||||||
|
|
||||||
Also, you can't add a new balance assignment using `add`.
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user