Re: [Ledger-smb-devel] RFC: Moving menu.ini information into the database

2007-06-28 Thread Josh Berkus
Josh Berkus wrote: > Chris, > >> Unfortunately, SQL is pretty bad at handling arbitrary-depth menus >> (esp. without WITH RECURSIVE or CONNECT BY). Fortunately, the amount >> of data is likely to be pretty small, so it is not too bad using >> stored procedures. > > See connect_by() in tablefunc.

Re: [Ledger-smb-devel] RFC: Moving menu.ini information into the database

2007-06-28 Thread Josh Berkus
Chris, > Unfortunately, SQL is pretty bad at handling arbitrary-depth menus > (esp. without WITH RECURSIVE or CONNECT BY). Fortunately, the amount > of data is likely to be pretty small, so it is not too bad using > stored procedures. See connect_by() in tablefunc. Please don't reinvent the whe

[Ledger-smb-devel] RFC: Moving menu.ini information into the database

2007-06-28 Thread Chris Travers
Hi all; As part of the refactoring effort, I looking at moving the menu handling into the database. This will allow add-on modules to add menu items, allow system administrators to refactor menus using SQL statements and the like. Unfortunately, SQL is pretty bad at handling arbitrary-depth menu

Re: [Ledger-smb-devel] CLI order and invoice scripts (was: COGS and part setup)

2007-06-28 Thread Charley Tiggs
http://www.tiggs.net/lsmb_resources.zip A little later than I wanted but here's what I promised, in all it's bug ugly, messy glory. I'll explain a little. Please bear in mind that I've never released any code to a larger community like this so there may be pieces/components needed that I did