* src/business/business-core/gncOwner.[ch]: Add api to get owner
kvp-slots abstractly.
* src/business/business-gnome/dialog-payment.c: Load/save the
last-used transfer account whenever the owner changes or
the dialog completes.
Fixes#329725.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13298 57a11ea4-9604-0410-9ed3-97b8803252fd
(Yes Derek, I'm agonizing over whether/how to clone/not clone depending
on the backend. But in the meantime this fills in needed function anyway.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9606 57a11ea4-9604-0410-9ed3-97b8803252fd
with entity reworjk in engine. Add GPL licenses to some of the files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9533 57a11ea4-9604-0410-9ed3-97b8803252fd
...Currency()
* src/business/business-core/gncInvoice.[ch]: rename ...CommonCommodity()
to ...Currency()
use new gncOwner function name
* src/business/business-core/gncEntry.c: use new Currency() functions
* src/business/business-core/gw-business-core-spec.scm:
wrap gncInvoiceSetCurrency()
wrap gncInvoiceGetCurrency()
wrap gncOwnerGetCurrency()
* src/business/business-core/file/gnc-invoice-xml-v2.c: use new funcs
* src/business/business-gnome/dialog-invoice.c: use new functions --
set invoice currency based on owner's currency
* src/business/business-reports/invoice.scm: use invoice's currency
for printing the invoice.
PARTITAL fix for #101001
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7817 57a11ea4-9604-0410-9ed3-97b8803252fd
* add a new function: gncOwnerIsValid() which is really a
scheme-helper to detect whether an owner is holding a NULL value
(i.e. a real container with no value in the container).
* fix part of bug #96032 -- use (gnc:owner-is-valid) to detect owner
existence.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7331 57a11ea4-9604-0410-9ed3-97b8803252fd
owner-from-lot. Wrap some of the business query-param names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7042 57a11ea4-9604-0410-9ed3-97b8803252fd
Payment transactions and also an aging report for a single "owner"
(e.g. Customer or Vendor). This is still a first pass, so it
might not be correct. It uses Lots, but it assumes that the
Account is periodically closed and re-opened (does not have a
'start-date'). It still needs to be tied into the main GUI.
* gncJob: add gncJobRetGUID() and gncJobLookupDirect()
* gncOwner: add gncOwnerRetGUID()
* gw-business-core-spec.scm: wrap GncAmountType, GncTaxIncluded
GncBillTermType, gncInvoiceGetInvoiceFromLot(), gncJobRetGUID(),
jobJobLookupDirect(), gncOwnerGetEndOwner(),
gncOwnerGetOwnerFromLot(), gncOwnerRetGUID()
* business-gnome.scm: add extensions to test the owner-report
* business-options.scm: add an "owner" option-type
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7037 57a11ea4-9604-0410-9ed3-97b8803252fd
Lot's kvp_frame.
* gncInvoice.c: add implemention of GetPostedLot(); when posting
to an Account, look for any pre-payment Lots and post to that. If
the Invoice total < pre-payment, then autmatically forward the
payments to a future Lot. If no pre-payment Lot is found, then
create a new one.
* dialog-payment.c: force payment amounts to be positive values
(you cannot un-pay via this dialog). Apply payments to open
Invoice Lots in a FIFO manner (by Due Date). If there is anything
left over, then create a pre-payment Lot.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7024 57a11ea4-9604-0410-9ed3-97b8803252fd
returns "Invoice" or "Bill"
add this type to the list of accessible parameters
gncOwner: add GetCommodity() interface
Refactor some common code out of dialog-date-close and dialog-invoice
into business-utils so that the payment dialog can use it too.
Add Payment Dialog, glade file, C and header, and link it into scheme
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6868 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
- g-wrap the gncOwner interfaces
- restructure the Extensions menu
- dialog-invoice.c: hide the 'print invoice' button until after the
invoice has been posted
- dialog-order.c: validate the passed-in gncowner to make sure it is a
valid type
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6687 57a11ea4-9604-0410-9ed3-97b8803252fd
- add to EntryLedger query for invoices; moving from an order->invoice
will show the appropriate entries for the customer/vendor.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6682 57a11ea4-9604-0410-9ed3-97b8803252fd
you create Jobs for Vendors as well as Jobs for Customers.
Still needs more Vendor support to maintain a Job list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6635 57a11ea4-9604-0410-9ed3-97b8803252fd
Create a general Owner Selection widget (sort of) by using gnc-general-select
Update the order dialog to provide an OrderID, owner, start/end date, etc.
Order-Dialog buttons still appear right-justified for some strange reason?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6260 57a11ea4-9604-0410-9ed3-97b8803252fd