Re: Register Report Output

2023-07-16 Thread John Wiegley
> "J" == Jasel17212   writes:

J> I looked through the manual and didn’t see an option for this, but hoping
J> someone knows of a way to produce a register report and force ledger to
J> print the payee on every line.

If you look at the register-format that’s defined in report.h, it contains a
%/ character followed by lines that are used when the “header line” is
unchanged. You would want a version of the format string that simply deletes
%/ and everything that follows it. Then it should print the same thing for
every posting, which would mean repeating the postings. You should be able to
do this with the -F option, but it’s going to be a very long string that you
pass, so wrapping it up in a shell script is recommend.

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/m2351om4le.fsf%40newartisans.com.


Register Report Output

2023-07-14 Thread Jasel17212


I looked through the manual and didn’t see an option for this, but hoping 
someone knows of a way to produce a register report and force ledger to 
print the payee on every line.

This line produces the following:

l reg ^exp and Commission -p 2023

23-Jul-03    Expenses:Home:x   
xxx.00 USD   xxx.xx USD

23-Jul-03    Expenses:Services:Pool 
xx.xx USD   xxx.xx USD

23-Jul-03    Expenses:Services:Storage  
xx.xx USD   xxx.xx USD

23-Jul-05 DD Expenses:Insurance:Medical
xxx.xx USD   xxx.xx USD

23-Jul-05    Expenses:Tax:xxx  
xxx.xx USD   xxx.xx USD

 Expenses:Tax:Property 
xxx.xx USD   xxx.xx USD

 Expenses:Tax:Property
-xxx.xx USD   xxx.xx USD

 Expenses:Home::   
xxx.xx USD   xxx.xx USD

 Expenses:Home::xx 
xxx.xx USD   xxx.xx USD

23-Jul-09 F  Expenses:Food & Dining:Restaurants 
xx.xx USD   xxx.xx USD

23-Jul-07 G  Expenses:Food & Dining:Restaurants 
xx.xx USD   xxx.xx USD

23-Jul-08 HH Expenses:Food & Dining:Restaurants 
xx.xx USD   xxx.xx USD

23-Jul-08 II Expenses:Insurance:x   
xx.xx USD   xxx.xx USD

23-Jul-07 JJ Expenses:Food & Dining:Restaurants 
xx.xx USD   xxx.xx USD

As you can see, expenses from the same transaction only show the payee once.

Ideas? 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/53da27d0-4941-4df9-97c9-6e13d55d1eean%40googlegroups.com.