[ Index ] |
|
Code source de osCommerce 2.2ms2-060817 |
1 # $Id: tax_zones_example_quebec.sql,v 1.1 2001/08/04 12:33:21 mbradley Exp $ 2 # 3 # The Exchange Project Database Model for Preview Release 2.2 4 # 5 # NOTE: * Please make any modifications to this file by hand! 6 # * DO NOT use a mysqldump created file for new changes! 7 # * Please take note of the table structure, and use this 8 # structure as a standard for future modifications! 9 # * To see the 'diff'erence between MySQL databases, use 10 # the mysqldiff perl script located in the extras 11 # directory of the 'catalog' module. 12 13 # tax zones 14 # separated from zones because we would like to have the option of: 15 # 1. Tax for a particular Country/state combination as normal 16 # 2. Tax for a whole country or group of counties in one zone (i.e. European Union) 17 18 DELETE FROM geo_zones; 19 DELETE FROM zones_to_geo_zones; 20 DELETE FROM tax_rates; 21 22 INSERT INTO geo_zones (geo_zone_id,geo_zone_name,geo_zone_description,date_added) 23 VALUES (1,"Canada","Canadian Federal Tax Zone",now()); 24 INSERT INTO geo_zones (geo_zone_id,geo_zone_name,geo_zone_description,date_added) 25 VALUES (2,"Quebec","Quebec Local Tax Zone",now()); 26 27 INSERT INTO zones_to_geo_zones VALUES (1,38,0,1,now(),now()); 28 INSERT INTO zones_to_geo_zones VALUES (2,38,76,2,now(),now()); 29 30 INSERT INTO tax_rates (tax_rates_id, tax_zone_id, tax_class_id, tax_priority, tax_rate, tax_description, last_modified, date_added) 31 VALUES (1, 1, 1, 1, 7.0, 'Canada 7%', now(), now()); 32 INSERT INTO tax_rates ( tax_rates_id, tax_zone_id, tax_class_id, tax_priority,tax_rate, tax_description, last_modified, date_added) 33 VALUES (2, 2, 1, 2, 7.5, 'Quebec 7.5%', now(), now());
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 19:48:25 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |