#114 fix eca__set_taxes stored procedure

closed
nobody
None
5
2011-05-25
2010-03-14
Ian Goodacre
No

This is a patch to a recent checkout of Trunk from SVN.

Stored procedure eca__set_taxes was saving links to customer tax
accounts to table vendortax and links to vendor tax accounts to table
customertax but the sales invoice routines were looking for links to
customer tax accounts in table customertax and, I presume, the vendor
invoice routines were looking for links to vendor tax accounts in table
vendortax.

With this change, links to customer tax accounts are written to table
customertax and links to vendor tax accounts are written to table
vendortax. After this, and re-saving customer accounts, taxes show up in
sales invoices as one might expect.

Note that this is a change to one of the database setup file. Either
create a new company database or re-run the sql script
(sql/modules/Company.sql) against an existing company file.

Discussion

  • Chris Travers
    Chris Travers
    2011-05-25

    commit 3180

     
  • Chris Travers
    Chris Travers
    2011-05-25

    • status: open --> closed