/[papo]/papo/sql/papo.sql
ViewVC logotype

Diff of /papo/sql/papo.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by apronotti, Wed Mar 12 19:20:14 2003 UTC revision 1.15 by apronotti, Fri Mar 21 22:42:56 2003 UTC
# Line 1798  insert into entity_uid_type (id) values Line 1798  insert into entity_uid_type (id) values
1798  insert into _entity_uid_type_data (id,_table,name,_start_t) values (1,1,'CUIT',current_timestamp);  insert into _entity_uid_type_data (id,_table,name,_start_t) values (1,1,'CUIT',current_timestamp);
1799  insert into entity_uid_type (id) values (2);  insert into entity_uid_type (id) values (2);
1800  insert into _entity_uid_type_data (id,_table,name,_start_t) values (2,2,'Ingresos Brutos',current_timestamp);  insert into _entity_uid_type_data (id,_table,name,_start_t) values (2,2,'Ingresos Brutos',current_timestamp);
1801    insert into entity_uid_type (id) values (3);
1802    insert into _entity_uid_type_data (id,_table,name,_start_t) values (3,3,'Codigo',current_timestamp);
1803    
1804  delete from _movement_type_data;  delete from _movement_type_data;
1805  delete from movement_type;  delete from movement_type;
1806  insert into movement_type (id) values (1);  insert into movement_type (id) values (1);
# Line 1816  insert into tax (id) values (1); Line 1819  insert into tax (id) values (1);
1819  insert into _tax_data (id,_table,name,_start_t,graft) values (1,1,'IVA',current_timestamp,'def graft(ourIVACond, alienIVACond, amount, taxPercent):\n\tif ourIVACond == 1 and alienIVACond == 2:\n\t\treturn amount * taxPercent / 100 + (amount * taxPercent / 100) / 2\n\telse:\n\t\treturn amount * taxPercent / 100\n');  insert into _tax_data (id,_table,name,_start_t,graft) values (1,1,'IVA',current_timestamp,'def graft(ourIVACond, alienIVACond, amount, taxPercent):\n\tif ourIVACond == 1 and alienIVACond == 2:\n\t\treturn amount * taxPercent / 100 + (amount * taxPercent / 100) / 2\n\telse:\n\t\treturn amount * taxPercent / 100\n');
1820    
1821  DELETE FROM entity_type_uid_conf;  DELETE FROM entity_type_uid_conf;
1822  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (7,1);  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (7,3);
1823  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (8,1);  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (8,3);
1824  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (2,1);  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (2,1);
1825  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (4,1);  INSERT INTO entity_type_uid_conf ("entity_type","entity_uid_type") VALUES (4,1);
1826  delete from _tax_profile_data;  delete from _tax_profile_data;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26