On Mar 10, 8:51 am, John Wiegley <[email protected]> wrote:
> ## Primary and secondary commodities
>
> It is a general convention within Ledger that the "top" postings in a
> transaction contain the target accounts, while the final posting contains the
> source account.  Whenever a commodity is exchanged like this, the commodity
> moved to the target account is considered "secondary", while the commodity
> used for purchasing and tracked in the cost is "primary".
>
> Said another way, whenever Ledger sees a posting cost of the form "AMOUNT @
> AMOUNT", the commodity used in the second amount is marked "primary".
>
> The only meaning a primary commodity has is that -V flag will never convert a
> primary commodity into any other commodity.  -X still will, however.

Is that really important? I have 10% of my transactions with "top"
posting as source, and "final" posting as target. And IMHO, I do
prefer that source is first, and target is last. Can I safely ignore
this ledger convention?
I realize also that I am never using -V, but only -X, and this may be
the explanation.

Reply via email to