Re: [GNC-dev] How do I get the "sign" (or side) of the transaction from the account or transaction element in xml?

2021-07-11 Thread John Ralls
> On Jul 11, 2021, at 4:50 AM, Geert Janssens > wrote: > > Op zondag 11 juli 2021 13:38:43 CEST schreef Arman Schwarz: >> Thanks Geert, >> >> I'm aware of the need to think in terms of debit/credit signs, but my >> question was how I could know whether a positive value in the split element

Re: [GNC-dev] How do I get the "sign" (or side) of the transaction from the account or transaction element in xml?

2021-07-11 Thread D. via gnucash-devel
I'm not sure I follow your issue, but I'll note that the list of types of accounts in GnuCash is outlined in the Help docs in Chapter 5 at https://code.gnucash.org/docs/C/gnucash-help/acct-types.html There are 13 types listed there. Original Message From: Arman Schwarz

Re: [GNC-dev] How do I get the "sign" (or side) of the transaction from the account or transaction element in xml?

2021-07-11 Thread Arman Schwarz
Ok I'll take a look myself, thanks for pointing me in the right direction. On Sun, 11 Jul 2021, 9:50 pm Geert Janssens, wrote: > Op zondag 11 juli 2021 13:38:43 CEST schreef Arman Schwarz: > > Thanks Geert, > > > > I'm aware of the need to think in terms of debit/credit signs, but my > >

Re: [GNC-dev] How do I get the "sign" (or side) of the transaction from the account or transaction element in xml?

2021-07-11 Thread Geert Janssens
Op zondag 11 juli 2021 13:38:43 CEST schreef Arman Schwarz: > Thanks Geert, > > I'm aware of the need to think in terms of debit/credit signs, but my > question was how I could know whether a positive value in the split element > in the XML will increase or decrease the "balance" that the user

Re: [GNC-dev] How do I get the "sign" (or side) of the transaction from the account or transaction element in xml?

2021-07-11 Thread Arman Schwarz
Thanks Geert, I'm aware of the need to think in terms of debit/credit signs, but my question was how I could know whether a positive value in the split element in the XML will increase or decrease the "balance" that the user sees in gnucash. This depends on the side of the accounting equation

Re: [GNC-dev] How do I get the "sign" (or side) of the transaction from the account or transaction element in xml?

2021-07-11 Thread Geert Janssens
Op zondag 11 juli 2021 10:36:40 CEST schreef Arman Schwarz: > Hi Frank, I'm not sure how this helps. Are you suggesting that I should > change the way the GUI renders the balances? I had hoped to instead just > find a way to programmatically know the sign of the balance from looking at > the XML.

Re: [GNC-dev] How do I get the "sign" (or side) of the transaction from the account or transaction element in xml?

2021-07-11 Thread Arman Schwarz
Hi Frank, I'm not sure how this helps. Are you suggesting that I should change the way the GUI renders the balances? I had hoped to instead just find a way to programmatically know the sign of the balance from looking at the XML. If that makes sense. On Sun, 11 Jul 2021 at 14:33, Frank H.