From: Dieter S. <dsi...@sq...> - 2001-05-04 18:36:14
|
source is used to store a cheque number, receipt number, etc; it's a text field. debit_1=100&credit_2=50 is correct you can also use debit_1=100&credit_1=&debit_2=&credit_2=50 If you edit a transaction then the 'id' from the gl table must be sent to the backend too. Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Fri, 4 May 2001, Linas Vepstas wrote: > On Fri, May 04, 2001 at 10:30:12AM -0600, Dieter Simader was heard to remark: > > > > variables must include > > action subroutine in gl.cgi > > transdate date of transaction > > source source > > what's 'source'? is it another account number from the chart? > > > comment comment > > rowcount number of debit/credit rows > > accno_(1 .. n) account number from chart > > debit_(1 .. n) debit > > credit_(1 .. n) credit > > > > debit and credit cannot have both a value assigned, one must be zero or > > empty, if an error occurs the script dies, nothing will be posted if one > > step fails in the posting process > > I assume you mean debit_k and credit_k cannot both occur, but that > debit_1=100.0&credit_2=50.0 is perfectly valid. > > --linas > > |