mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/engine/gnc-lot.[ch]: add LOT_IS_CLOSED and LOT_BALANCE
query parameter methods git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8334 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2003-05-18 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* src/engine/gnc-lot.[ch]: add LOT_IS_CLOSED and LOT_BALANCE
|
||||
query parameter methods
|
||||
|
||||
2003-05-17 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* src/import-export/qif-import/qif-file.scm: the numeric test
|
||||
|
||||
@@ -331,6 +331,8 @@ void gnc_lot_register (void)
|
||||
static const QueryObjectDef params[] = {
|
||||
{ QUERY_PARAM_BOOK, GNC_ID_BOOK, (QueryAccess)gnc_lot_get_book },
|
||||
{ QUERY_PARAM_GUID, QUERYCORE_GUID, (QueryAccess)gnc_lot_get_guid },
|
||||
{ LOT_IS_CLOSED, QUERYCORE_BOOLEAN, (QueryAccess)gnc_lot_is_closed },
|
||||
{ LOT_BALANCE, QUERYCORE_NUMERIC, (QueryAccess)gnc_lot_get_balance },
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
|
||||
@@ -95,4 +95,7 @@ Split * gnc_lot_get_latest_split (GNCLot *lot);
|
||||
* */
|
||||
kvp_frame * gnc_lot_get_slots (GNCLot *);
|
||||
|
||||
#define LOT_IS_CLOSED "is-closed?"
|
||||
#define LOT_BALANCE "balance"
|
||||
|
||||
#endif /* GNC_LOT_H */
|
||||
|
||||
Reference in New Issue
Block a user