Confusion about split transaction amount vs value vs parentAmount vs parentValue

jugdizh's Avatar

jugdizh

30 Dec, 2016 07:00 PM

I am thoroughly confused about the differences between:
SplitTxn.getAmount()
SplitTxn.getValue()
SplitTxn.getParentAmount()
SplitTxn.getParentValue()

For one, the getParentAmount() and getParentValue() seem to be exactly identical. They return the same value and have the same description in the docs. But getAmount() and getValue() return different things. Why?

Also, why is the description for getAmount() and getParentAmount() the same in the docs?

Most importantly, why when I view the details of a split transaction, does the <SPLITAMT> value different from the getAmount() number I get back?

  1. System closed this discussion on 31 Mar, 2017 07:10 PM.

  2. jugdizh re-opened this discussion on 11 Aug, 2018 06:38 AM

  3. 1 Posted by jugdizh on 11 Aug, 2018 06:38 AM

    jugdizh's Avatar

    This never got an answer, so I'm re-opening.

  4. System closed this discussion on 10 Nov, 2018 06:40 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

02 Dec, 2024 12:49 PM
02 Dec, 2024 12:38 PM
02 Dec, 2024 11:29 AM
02 Dec, 2024 08:29 AM
02 Dec, 2024 07:08 AM