>>>>> "Chris" == Chris Travers <[email protected]> writes:
    >> >>>>> "Michael" == Michael Richardson <[email protected]> writes:
    Michael> b) July 1, 2010, our Provincial Sales Tax was killed (merged
    >> into
    Michael> the federal Harmonized Sales Tax... VAT).  So I have:
    >> 
    >> I tried to add a new row with a zero tax rate, but when I hit update to
    >> get a blank row I get one for the GST as well, and I see no way to
    >> remove that row, and leaving it blank doesn't work.


    Chris> blank rows are ignored when saving.

okay, but:

Error!


ERROR: invalid input syntax for type numeric: ""
LINE 1: select account__save_tax('12','infinity','0','',NULL,'2320',...
^

I figured out that the problem is that "min taxable" must have a "0",
not a blank.

    >> Is there an example of a way to run ap.pl outside of Apache, or
    >> something that goes through old-handler.pl to load stuff.    Clearly the
    >> error is buried much deeper.
    >> 

    Chris> What I have done in the past is this:

    Chris> Since this is ap.pl you can go step through it by adding a like like

    Chris> $form->error(__LINE__)
    Chris> to sub update and use this to set breakpoints.  you can also
    Chris> warn instead 

I'm not sure where "sub update" is...?

    Chris> and send the messages to the log file.  If you'd like to email me the
    Chris> results of:

    Chris> SELECT * FROM tax WHERE chart_id = 12;

    Chris> then maybe I can try to reproduce.

done.

-- 
]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[
   Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
                       then sign the petition. 

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Ledger-smb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Reply via email to