Add guile function to extract a lot's guid

Useful for debugging lot issues in reports.
This commit is contained in:
Geert Janssens 2020-01-27 11:53:16 +01:00 committed by Christopher Lam
parent 00d00a4650
commit 0131780b30

View File

@ -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); }