Yeah! I finally figured out why a
programmatically generated invoice sometimes display as an AR
Transaction and sometimes as a Sales Invoice. It appears to be
the setting (value) of the invoice column on the ar table (i.e.,
ar.invoice). If set to TRUE, displays as a Sales Invoice; if
false, displays as an AR Transaction.
It seems that there are several AR transactions where person_id is null. (person_id column tracks who created the transaction.) PostgreSQL will not let me set the value of person_id: a (current) null value violates non-null constraint on the audittrail table. It will also not let me update ar.invoice. What is the best work-around for this situation? Thanks.
Brian Brian Wolf
Phone: 410.367.2958
Email: ..hidden..
Try out Activus
Secure Payments™, our recurring payments
application.
Demo at http://demo.activustech.com
|
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev
_______________________________________________ Ledger-smb-users mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-users