From c026e74611efa4d732bfc87a870a1fce15948884 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 2 May 2023 15:52:53 -1000 Subject: [PATCH] ;doc: auto postings: note _tag:generated trick --- hledger/hledger.m4.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index eed80de95..a56b679da 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -2553,6 +2553,12 @@ Also, any transaction that has been changed by auto posting rules will have thes - `modified:` - this transaction was modified - `_modified:` - a hidden tag not appearing in the comment; this transaction was modified "just now". +#### Auto postings on forecast transactions only + +Tip: you can can make auto postings that will apply to forecast transactions +but not recorded transactions, by adding `tag:_generated-transaction` to their QUERY. +This can be useful when generating new journal entries to be saved in the journal. + ## Other syntax hledger journal format supports quite a few other features,