summaryrefslogtreecommitdiff
path: root/sql
AgeCommit message (Collapse)Author
2007-09-12Added sequences, etc. Roles should be functional with these permissionseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1580 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-12More additions to role systemeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1574 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-12Goods and Services permissions now addedeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1573 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-12Correcting validation issues in frameseteinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1572 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-11More permissions material added to the Roleseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1570 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-11Cleaning up lsmb-request slightlyeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1569 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-11Adding some permission grantseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1560 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-11Full tree in place. Now to add permission grantseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1559 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-10Creation of next-gen admin.pl, admin.pm, and admin.sql systems.aurynn_cmd
Admin.pm defines the new controller admin.pl is the direct view-backing software. POD is not completed, will be provided shortly. Full UI templates provided for the Reconciliation, Vendor, Customer, and Employee as well. UI/ is being delineated by subdirectories for Admin, Vendor, Customer and Employee, to date. Minor whitespace cleanup. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1557 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-08Correcting customer/vendor viewseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1540 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-08Adding some SQL queries for reports that are being moved out of the old ↵einhverfr
codebase because they are broken git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1539 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-06Final menu change: Stored procedure for inserting menu items.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1517 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-06Adding date format conversion to upgrade script.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1516 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-01Moving employee table further up the creation script.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1492 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-01Fixing a few foreign keyseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1489 4979c152-3d1c-0410-bac9-87ea11338e46
2007-09-01Menu cross sections, used for example in handhelds, now work from an API ↵einhverfr
point of view git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1477 4979c152-3d1c-0410-bac9-87ea11338e46
2007-08-27Applying patch 1780397einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1468 4979c152-3d1c-0410-bac9-87ea11338e46
2007-08-09fixed primary key for entitylinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1455 4979c152-3d1c-0410-bac9-87ea11338e46
2007-08-06Addition of Vendor and Customer-specific save, get, and search functions in ↵aurynn_cmd
Pgsql stored procedures. Cleanup and modification of Employee.sql, to fit the new Entity framework, as well as the modifications to support trigram searching. Addition of customer.pl and vendor.pl scripts, to support new perl framework code, as well as .pm modules for the same. Some cleanup of Pg-database.sql. addition of note_class = 1 check on entity_note, removal of check id = 1. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1454 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-24Adds the missing SELECT INTO statements for the correct_bank_charge and ↵aurynn_cmd
correct_unaccounted_charge functions git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1437 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-20Adding locking mechanism for discretionary lockseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1431 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-16Adding foreign key to acc_trans.trans_ideinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1406 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-16Finalizing data integrity control checks for global sequence for 1.3einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1405 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-15* Restoring global id sequence (until 1.4)einhverfr
* Dropping new not null constraints in legacy portions of db. * Updating Menu db tables. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1398 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-12Adding partial unique index on partnumber to prevent multiple active items ↵einhverfr
sharing the same part number git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1391 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-10Got rid of del_customer and del_vendor triggers and moved to ON DELETE ↵einhverfr
actions instead git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1379 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-10Merging Pg-central and Pg-database fileseinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1378 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-10Changes to the comments on entity_metadata, which does not exist, to refer ↵aurynn_cmd
to entity_credit account. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1374 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-10Fixes Add Vendor, to correctly work with the new entity_credit_account ↵aurynn_cmd
table, in place of the customer/vendor tables. Removes the Vendor and Customer tables, replacing them with entity_credit_account (previously entity_metadata) and Vendor and Customer as a view, mimicking the original Vendor and Customer tables. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1373 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-10Fixing menu_attributes so that it does not roll back the functioneinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1369 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-10Moving commit to end of fileeinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1368 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-09Moving menu over to new template and stored proc model. THe menu ↵einhverfr
expansion/contraction doesn't quite work yet and there needs to be some additional help on the CSS/Javascript side of this. Also, this makes a few changes to the lower-level Perl API. Classes calling LedgerSMB::call_procedure() directly may need some editing but I believe I got them all. These changes were necessary to accomodate zero-argument stored procedures. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1355 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-08Menu db schema added for revieweinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1354 4979c152-3d1c-0410-bac9-87ea11338e46
2007-07-05fix entity/entity_class so you aren't limited to only one customer everlinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1351 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-27changed inventory to track employee table, instead of entity tablelinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1340 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-27fixed inventory model to force employeelinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1339 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-22Added version of Aurynn's reconciliation logiceinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1302 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-21minor date style changelinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1296 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-21added tracking capability to location. When implemented in 1.3, locations ↵linuxpoet
should not be deleted. Instead they are marked active/inactive and tracked git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1295 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-19man that was more work that it should of been. there is no employee(id), ↵linuxpoet
vendor(id) anymore. Refer to key checks. Also fixed rules associated to compile, but may not be correct git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1288 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-19further cleaning of batchlinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1287 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-19fixed some issues with batch tableslinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1286 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-19Added ar voucher type.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1283 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-19Added on-hold flags for invoices and voucher information to db schema.einhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1282 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-12Committing Aurynn's changes to Reconciliation logiceinhverfr
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1268 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-10added referential mapping for noteslinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1261 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-07fix uniqueness on entity nameslinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1260 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-07fixed default of current_date to now()linuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1259 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-07first run of new notes system, includes tsearch2 full text indexinglinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1258 4979c152-3d1c-0410-bac9-87ea11338e46
2007-06-07added documentationm for tsearch2 requirementlinuxpoet
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1257 4979c152-3d1c-0410-bac9-87ea11338e46