Re: [GNC] Regarding a issue with GNUcash

2020-07-17 Thread Maf. King
Hi,

welcome to the list.

On Friday, 17 July 2020 04:40:12 BST Dhanadhya Group wrote:
> Hello,
> I am quite new to the mailing list and don't know how to operate, even
> after reading the Getting Help & Mailing List pages of GNU cash. If this is
> not the correct way to request a solution regarding issues please let me
> know here.

This is the correct place.

> 
> Query: I just switched from Windows 10 to PureOS. In a hurry, I took the
> latest .gnucash and .log file with me. After installing GNU cash in PureOS,
> I pasted that file into the account I created. Fortunately, all worked out
> and I got my data back. But when I enter any entry into any accounts, GNU
> cash automatically creates another entry reverting the account balance to
> the previous stage. So two entries are created by creating one, which
> results in 0 change. Deleting any one entry, deletes another one also. I am
> confused about what to do. Please assist me.
> 


it sounds to me that you are not entering the transaction properly, you need 
to specify a transfer account.

If you are in a (bank or credit card) account register, and you wist the 
record a purchase, you should have a transfer account of "Expenses:something"

Equally, if you are entering the transaction in an Expense register, the 
transfer account should be a Bank or Credit Card account.

Hope that helps,
Maf.



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Regarding a issue with GNUcash

2020-07-17 Thread Dhanadhya Group
Hello Maf.

Thank you for your reply. Issue is resolved. I was not transferring it to
the expense account.

Also, I would like to know, where, how and what type of account should I
create for my payment gateway provider? I am very confused about that
matter.

Thanks,
Dhanadhya Group

On Fri, 17 Jul 2020 at 12:57, Maf. King  wrote:

> Hi,
>
> welcome to the list.
>
> On Friday, 17 July 2020 04:40:12 BST Dhanadhya Group wrote:
> > Hello,
> > I am quite new to the mailing list and don't know how to operate, even
> > after reading the Getting Help & Mailing List pages of GNU cash. If this
> is
> > not the correct way to request a solution regarding issues please let me
> > know here.
>
> This is the correct place.
>
> >
> > Query: I just switched from Windows 10 to PureOS. In a hurry, I took the
> > latest .gnucash and .log file with me. After installing GNU cash in
> PureOS,
> > I pasted that file into the account I created. Fortunately, all worked
> out
> > and I got my data back. But when I enter any entry into any accounts, GNU
> > cash automatically creates another entry reverting the account balance to
> > the previous stage. So two entries are created by creating one, which
> > results in 0 change. Deleting any one entry, deletes another one also. I
> am
> > confused about what to do. Please assist me.
> >
>
>
> it sounds to me that you are not entering the transaction properly, you
> need
> to specify a transfer account.
>
> If you are in a (bank or credit card) account register, and you wist the
> record a purchase, you should have a transfer account of
> "Expenses:something"
>
> Equally, if you are entering the transaction in an Expense register, the
> transfer account should be a Bank or Credit Card account.
>
> Hope that helps,
> Maf.
>
>
>
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Getting prices at startup

2020-07-17 Thread Rich Stanton
Hi, I've been a long time user, and have had automatic prices set up for
ages. Normally, they update automatically at startup, but just recently,
although I still get a black command box that pops up (as though prices were
being retrieved), they aren't updated. If I manually hit the 'get prices'
button, they work fine, so they are set up correctly. I can't find a
specific option to enable/disable retrieval at startup - is there one, that
I might have turned off somehow? 

 

Thanks!

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Getting prices at startup

2020-07-17 Thread D. via gnucash-user
Given that GnuCash doesn't have such a feature implemented (see 
https://bugs.gnucash.org/show_bug.cgi?id=628734), I imagine that at some point 
in the past, you created a script that first invoked the command line update 
process before invoking the program itself. With the latest upgrade, the 
command for this was changed, which would result in no action in your script. 
At least, that's what I'd look at. 

David T. 


 Original Message 
From: Rich Stanton 
Sent: Fri Jul 17 12:54:22 EDT 2020
To: gnucash-user@gnucash.org
Subject: [GNC] Getting prices at startup

Hi, I've been a long time user, and have had automatic prices set up for
ages. Normally, they update automatically at startup, but just recently,
although I still get a black command box that pops up (as though prices were
being retrieved), they aren't updated. If I manually hit the 'get prices'
button, they work fine, so they are set up correctly. I can't find a
specific option to enable/disable retrieval at startup - is there one, that
I might have turned off somehow? 

 

Thanks!

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Check printing via the command line?

2020-07-17 Thread Tom Browder
Is there any way to access the check printing capability of GnuCash via a
CLI?

I haven't tried it via the GUI yet. I just became interested this morning
when I had to write a check manually and, being of advanced age with
not-so-good hand-writing, thought about the GnuCash software I've been
using since I dumped Quicken many years ago.

Note I only use it on Windows at the moment (mainly for access for my
Windows-only wife), but can use it on my Debian at any time. I'm not
interested so much interfacing with my account data as in getting the
printing and check templating access at the moment.

I see only one GnuCash module on CPAN, but that doesn't do what I need,
although it does provide some help with developing Perl interfaces.

I mainly program in Raku now (see https://raku.org) and its NativeCall
access will help create the necessary interface if the API is reasonably
documented or if some kind soul can point me in the right direction. I will
of course publish anything I write that may be useful to others (see my
repos at https://github.com/tbrowder).

Best regards,

-Tom
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Check printing via the command line?

2020-07-17 Thread John Ralls



> On Jul 17, 2020, at 8:27 AM, Tom Browder  wrote:
> 
> Is there any way to access the check printing capability of GnuCash via a
> CLI?
> 
> I haven't tried it via the GUI yet. I just became interested this morning
> when I had to write a check manually and, being of advanced age with
> not-so-good hand-writing, thought about the GnuCash software I've been
> using since I dumped Quicken many years ago.
> 
> Note I only use it on Windows at the moment (mainly for access for my
> Windows-only wife), but can use it on my Debian at any time. I'm not
> interested so much interfacing with my account data as in getting the
> printing and check templating access at the moment.
> 
> I see only one GnuCash module on CPAN, but that doesn't do what I need,
> although it does provide some help with developing Perl interfaces.
> 
> I mainly program in Raku now (see https://raku.org) and its NativeCall
> access will help create the necessary interface if the API is reasonably
> documented or if some kind soul can point me in the right direction. I will
> of course publish anything I write that may be useful to others (see my
> repos at https://github.com/tbrowder).

No, sorry, only reports can be printed from the command line, nor is it 
possible to make check printing available from the command line  as it's 
currently implemented as it prints the currently selected transaction from a 
register. What's more all of the printing functions are internal to 
dialog-print-check so there's no way for you to script them or even call them 
from another C program.

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Check printing via the command line?

2020-07-17 Thread flywire
Could Windows macro software that interacted with the gui help automate the
check printing process?
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Check printing via the command line?

2020-07-17 Thread Tom Browder
On Fri, Jul 17, 2020 at 18:16 John Ralls  wrote:

> > On Jul 17, 2020, at 8:27 AM, Tom Browder  wrote:
> > Is there any way to access the check printing capability of GnuCash via a
> > CLI?

...

> No, sorry, only reports can be printed from the command line, nor is

..

Thanks, John.

-Tom
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Command Line Report Options

2020-07-17 Thread Robin Chattopadhyay
In the release notes and the help page, the documentation lists
'export-type' as an option and the example cites html as an export type
option. Are there any other supported options? I tried 'pdf' and 'PDF' and
neither of those worked.

From the release notes:
• A new separate executable, gnucash-cli (gnucash-cli.exe on
Microsoft Windows) for doing command-line things like updating the prices
in your book. gnucash-cli gains the ability to run reports from the command
line. Specify reports to run by name or guid. It also provides an export
format and an output file name without which it will output the report to
stdout.
• gnucash-cli --report run --name=[reportname/guid]
datafile.gnucash
• gnucash-cli --report run --name=[reportname/guid]
--output-file=x.html datafile.gnucash
• gnucash-cli --report run --name=[reportname/guid]
--output-file=x.html --export-type=TYPE datafile.gnucash

Thanks,
Robin
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Command Line Report Options

2020-07-17 Thread Christopher Lam
Hi Robin

The documentation is not comprehensive yet. The export-type argument refers
to the *report-specific* export types available, rather than PDF/XLS/DOC
etc. Report-specific exports are rather sparse; currently only the
following exist:

Income and GST Statement: CSV
Tax Schedule Report & TXF Export: TXF
Tax Report & XML Export (in German only): XML

To export "Income and GST Statement" CSV, you'd need to customize the
report options, save into "Saved Report Configurations" eg. "My GST", then
run as follows. I cannot assist with the tax reports.

$ gnucash-cli --report run --name "My GST" --export-type CSV --output-file
gst.csv datafile.gnucash

outputs the following into gst.csv

"from","01/04/20"
"to","30/06/20"
"Gross Sales",220.0
"Net Sales",200.0
"Tax on Sales",20.0
"Gross Purchases",110.0
"Net Purchases",100.0
"Tax on Purchases",10.0

On Sat, 18 Jul 2020 at 02:52, Robin Chattopadhyay 
wrote:

> In the release notes and the help page, the documentation lists
> 'export-type' as an option and the example cites html as an export type
> option. Are there any other supported options? I tried 'pdf' and 'PDF' and
> neither of those worked.
>
> From the release notes:
> • A new separate executable, gnucash-cli (gnucash-cli.exe on
> Microsoft Windows) for doing command-line things like updating the prices
> in your book. gnucash-cli gains the ability to run reports from the command
> line. Specify reports to run by name or guid. It also provides an export
> format and an output file name without which it will output the report to
> stdout.
> • gnucash-cli --report run --name=[reportname/guid]
> datafile.gnucash
> • gnucash-cli --report run --name=[reportname/guid]
> --output-file=x.html datafile.gnucash
> • gnucash-cli --report run --name=[reportname/guid]
> --output-file=x.html --export-type=TYPE datafile.gnucash
>
> Thanks,
> Robin
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.