43 if(
GCW::app()-> gnucashew_session().isOpen() )
47 if( m_customerGuid ==
"" )
53 std::cout << __FILE__ <<
":" << __LINE__
54 <<
" " << m_customerGuid
55 <<
" " << results.resultList().size()
65 .where(
"owner_guid = ? OR owner_guid in (select guid from jobs where owner_guid = ?)" )
68 .bind( m_customerGuid )
69 .bind( m_customerGuid )
72 std::cout << __FILE__ <<
":" << __LINE__
73 <<
" " << m_customerGuid
74 <<
" " << results.resultList().size()
82 if( m_fields.size() > 0 )
84 for(
auto field : m_fields )
90 addAllFieldsAsColumns();
95 std::cout << __FILE__ <<
":" << __LINE__ <<
" " << rowCount() << std::endl;