and discounts are computed, stored, and returned. Fix the Entry
XML code to save/load the new taxtable data (not backwards
compatible). Integrate new changes into the entry-ledger.
fix some bugs in the business xml code. fix some memory leaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6966 57a11ea4-9604-0410-9ed3-97b8803252fd
save reports that reference Invoices, Customers, or Vendors and have
them reload properly.
* Add two new functions to interface Invoices, Customers, and Vendors
to scheme (RetGUID and LookupDirect)
* fix the way Entry values are computed. Cache the computed values so
you're not recomputing the math all the time. It should also round
properly, now.
* fix the display of entry values to round to the commodity fraction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6920 57a11ea4-9604-0410-9ed3-97b8803252fd
provide backend-support without changing the core backend
implementation.
* src/engine/gncObject: Add a 'mark_clean' data-type method()
add backend extension registration.
* src/engine/gnc-book.c: use mark_clean object interface
* src/backend/file/io-gncxml-v2: use the backend extensions
* src/business/business-core/gnc*: add the mark_clean methods
add commodities to many objects
* src/business/business-core/gncInvoice.c: fix GetPaidTxn() bug
* src/business/business-core/file: the XML backend extensions for
business objects.
* src/business/business-gnome/dialog-*: supply default commodities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6770 57a11ea4-9604-0410-9ed3-97b8803252fd
gncEntry: emit engine events for changes
emit an event when the order is set: 'owner' modified
gncOrder: add the entry to the order before setting the entry
business-gnome.scm: change the API for invoice/order find/edit functions
dialog-customer: change terms entry to a GtkEntry; handle as string
integrate invoice/order API changes
dialog-invoice: change find/edit API; start work for asynchronous UI
dialog-order: change find/edit API; start work for asynchronous UI
dialog-vendor: integrate invoice/order API changes
dialog-job-select: integrate invoice/order API changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6750 57a11ea4-9604-0410-9ed3-97b8803252fd
gncEntry: add date_entered for better sorting
change SetDate methods from "Timespec*" to "Timespec"
update entry ledger to use new function calls
Fix a comparison bug in Entry/Invoice/Order. Compares now
work correctly.
Updated invoice report; use date->string to print today's date;
flags to print notes. Added more flexibility in what gets printed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6748 57a11ea4-9604-0410-9ed3-97b8803252fd
add 'ReturnValue' and 'ReturnTaxValue' functions for simplicity of wrapping
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6737 57a11ea4-9604-0410-9ed3-97b8803252fd
the *_GUID defines, and change them all the QUERY_PARAM_GUID.
- Add a gncObject is_dirty() method, and have the book call it --
this gives the UI a means to warn the user if any business objects
changed.
- abstract out the storage methods in the business objects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6734 57a11ea4-9604-0410-9ed3-97b8803252fd
* Update the QueryNew API to take a GList of terms to allow
for any number of iterative lookups (such as
GncEntry->GncInvoice->GncAccount->GNCBook->guid) (not that this
is a useful example ;)
* Update all the business objects to the new API -- don't distinguish
between a parameter that returns a core type and a parameter that
returns another object. Note that this implies that the namespace
is shared between the objects and core types. Also note that this
is not enforced in any way.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6681 57a11ea4-9604-0410-9ed3-97b8803252fd
* QueryNew interface revision-1 check-in
* update all the business objects to register with the new query system
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6680 57a11ea4-9604-0410-9ed3-97b8803252fd
of closing and sets the close-date (for when you close out an
order to post an invoice).
- Refactor the Entry Value computation so that it is possible to
compute the values in real-time (although it's not used at the
moment)
- Change the Order Entry UI to make it a but clearer.
- change the EntryLedger to allow RO and RW entries for Invoices and
Orders.
- Implement closing an Order; Opening (editing/viewing) a closed should be
a read-only operation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6621 57a11ea4-9604-0410-9ed3-97b8803252fd
into the Entry from the Invoice.
Add more hooks to post an Invoice to an Account and lookup
an invoice from a transaction
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6615 57a11ea4-9604-0410-9ed3-97b8803252fd
structure registration (GncBusinessObject) into "gncCore" in the
engine.
* Change all the Business Objects to take a GNCBook instead of
GncBusiness; use the GNCEntityTable in the Book for GUID storage.
* Use xaccGUIDNew() instead of guid_new().
* Move the object storage tables into the GNCBook via get/set_data.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6041 57a11ea4-9604-0410-9ed3-97b8803252fd
to change how the Tax and Discount fields are handled (values
or percentages)
Add code to link a GncInvoice to a Transaction, and to lookup
the GncInvoice from a linked Transaction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5989 57a11ea4-9604-0410-9ed3-97b8803252fd