mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add guile function to extract a lot's guid
Useful for debugging lot issues in reports.
This commit is contained in:
parent
00d00a4650
commit
0131780b30
@ -52,6 +52,9 @@ static GncGUID gncCustomerReturnGUID(GncCustomer *x)
|
||||
static GncGUID gncEmployeeReturnGUID(GncEmployee *x)
|
||||
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
|
||||
|
||||
static GncGUID gncLotReturnGUID(GNCLot *x)
|
||||
{ return (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())); }
|
||||
|
||||
static GncTaxTable * gncTaxTableLookupFlip(GncGUID g, QofBook *b)
|
||||
{ return gncTaxTableLookup(b, &g); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user