Hello,
with more and more triggers in DB,
you hit problems , e.g. with audittrail, when doing
sql-work outside of ledgerSMB, e.g. psql
person__get_my_entity_id() returning empty list
Could we redefine function as to always receive default row?
CREATE OR REPLACE FUNCTION person__get_my_entity_id() RETURNS INT AS
$$
SELECT entity_id from users where username = SESSION_USER union
select 1 order by 1 desc limit 1;
$$ LANGUAGE SQL;
Greetings,
Herman Vierendeels
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel