Access to budget amounts in an extension

blake's Avatar


29 Mar, 2010 06:57 PM

I'm trying to create an extension to create a better interface to the budget. I'm able to pull the account names (from getAccountName()), budget intervals (from get.BudgetInterval(i)). I'm having trouble getting the budget amounts from getBudgetAmount(i). It always returns zero. I also don't see a way that I could set the budget amounts. Is there a way to access this information or is this something that needs to be added to a work ticket to suggest a better API?

  1. 1 Posted by Ben Spencer on 29 Mar, 2010 07:42 PM

    Ben Spencer's Avatar

    Hi Blake

    It sounds like you need to be accessing the BudgetItem object rather than the account.


  2. 2 Posted by Blake on 30 Mar, 2010 01:14 AM

    Blake's Avatar

    I'll give that a try. I had seen this before, but had not tried it because it is not listed in the 2.2 API. Is this and the budget, budget list, etc valid parts of the current API since they are not listed in the new documentation?

  3. Brian Adler closed this discussion on 12 May, 2010 04:34 PM.

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

Keyboard shortcuts


? 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