|
|
@@ -0,0 +1,17660 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<dataSource name="dbcosmodasML">
|
|
|
+ <database-model serializer="dbm" dbms="MYSQL" family-id="MYSQL" format-version="4.52">
|
|
|
+ <root id="1">
|
|
|
+ <DefaultCasing>exact</DefaultCasing>
|
|
|
+ <DefaultEngine>InnoDB</DefaultEngine>
|
|
|
+ <DefaultTmpEngine>InnoDB</DefaultTmpEngine>
|
|
|
+ <Grants>|root||debian-sys-maint|localhost|ALTER|G
|
|
|
+|root||dexter||ALTER|G
|
|
|
+|root||root||ALTER|G
|
|
|
+|root||root|localhost|ALTER|G
|
|
|
+|root||sistemas||ALTER|G
|
|
|
+|root||debian-sys-maint|localhost|ALTER ROUTINE|G
|
|
|
+|root||dexter||ALTER ROUTINE|G
|
|
|
+|root||root||ALTER ROUTINE|G
|
|
|
+|root||root|localhost|ALTER ROUTINE|G
|
|
|
+|root||sistemas||ALTER ROUTINE|G
|
|
|
+|root||debian-sys-maint|localhost|CREATE|G
|
|
|
+|root||dexter||CREATE|G
|
|
|
+|root||root||CREATE|G
|
|
|
+|root||root|localhost|CREATE|G
|
|
|
+|root||sistemas||CREATE|G
|
|
|
+|root||debian-sys-maint|localhost|CREATE ROUTINE|G
|
|
|
+|root||dexter||CREATE ROUTINE|G
|
|
|
+|root||root||CREATE ROUTINE|G
|
|
|
+|root||root|localhost|CREATE ROUTINE|G
|
|
|
+|root||sistemas||CREATE ROUTINE|G
|
|
|
+|root||debian-sys-maint|localhost|CREATE TABLESPACE|G
|
|
|
+|root||dexter||CREATE TABLESPACE|G
|
|
|
+|root||root||CREATE TABLESPACE|G
|
|
|
+|root||root|localhost|CREATE TABLESPACE|G
|
|
|
+|root||sistemas||CREATE TABLESPACE|G
|
|
|
+|root||debian-sys-maint|localhost|CREATE TEMPORARY TABLES|G
|
|
|
+|root||dexter||CREATE TEMPORARY TABLES|G
|
|
|
+|root||root||CREATE TEMPORARY TABLES|G
|
|
|
+|root||root|localhost|CREATE TEMPORARY TABLES|G
|
|
|
+|root||sistemas||CREATE TEMPORARY TABLES|G
|
|
|
+|root||debian-sys-maint|localhost|CREATE USER|G
|
|
|
+|root||dexter||CREATE USER|G
|
|
|
+|root||root||CREATE USER|G
|
|
|
+|root||root|localhost|CREATE USER|G
|
|
|
+|root||sistemas||CREATE USER|G
|
|
|
+|root||debian-sys-maint|localhost|CREATE VIEW|G
|
|
|
+|root||dexter||CREATE VIEW|G
|
|
|
+|root||root||CREATE VIEW|G
|
|
|
+|root||root|localhost|CREATE VIEW|G
|
|
|
+|root||sistemas||CREATE VIEW|G
|
|
|
+|root||debian-sys-maint|localhost|DELETE|G
|
|
|
+|root||dexter||DELETE|G
|
|
|
+|root||root||DELETE|G
|
|
|
+|root||root|localhost|DELETE|G
|
|
|
+|root||sistemas||DELETE|G
|
|
|
+|root||debian-sys-maint|localhost|DROP|G
|
|
|
+|root||dexter||DROP|G
|
|
|
+|root||root||DROP|G
|
|
|
+|root||root|localhost|DROP|G
|
|
|
+|root||sistemas||DROP|G
|
|
|
+|root||debian-sys-maint|localhost|EVENT|G
|
|
|
+|root||dexter||EVENT|G
|
|
|
+|root||root||EVENT|G
|
|
|
+|root||root|localhost|EVENT|G
|
|
|
+|root||sistemas||EVENT|G
|
|
|
+|root||debian-sys-maint|localhost|EXECUTE|G
|
|
|
+|root||dexter||EXECUTE|G
|
|
|
+|root||root||EXECUTE|G
|
|
|
+|root||root|localhost|EXECUTE|G
|
|
|
+|root||sistemas||EXECUTE|G
|
|
|
+|root||debian-sys-maint|localhost|FILE|G
|
|
|
+|root||dexter||FILE|G
|
|
|
+|root||root||FILE|G
|
|
|
+|root||root|localhost|FILE|G
|
|
|
+|root||sistemas||FILE|G
|
|
|
+|root||debian-sys-maint|localhost|INDEX|G
|
|
|
+|root||dexter||INDEX|G
|
|
|
+|root||root||INDEX|G
|
|
|
+|root||root|localhost|INDEX|G
|
|
|
+|root||sistemas||INDEX|G
|
|
|
+|root||debian-sys-maint|localhost|INSERT|G
|
|
|
+|root||dexter||INSERT|G
|
|
|
+|root||root||INSERT|G
|
|
|
+|root||root|localhost|INSERT|G
|
|
|
+|root||sistemas||INSERT|G
|
|
|
+|root||debian-sys-maint|localhost|LOCK TABLES|G
|
|
|
+|root||dexter||LOCK TABLES|G
|
|
|
+|root||root||LOCK TABLES|G
|
|
|
+|root||root|localhost|LOCK TABLES|G
|
|
|
+|root||sistemas||LOCK TABLES|G
|
|
|
+|root||debian-sys-maint|localhost|PROCESS|G
|
|
|
+|root||dexter||PROCESS|G
|
|
|
+|root||root||PROCESS|G
|
|
|
+|root||root|localhost|PROCESS|G
|
|
|
+|root||sistemas||PROCESS|G
|
|
|
+|root||debian-sys-maint|localhost|REFERENCES|G
|
|
|
+|root||dexter||REFERENCES|G
|
|
|
+|root||root||REFERENCES|G
|
|
|
+|root||root|localhost|REFERENCES|G
|
|
|
+|root||sistemas||REFERENCES|G
|
|
|
+|root||debian-sys-maint|localhost|RELOAD|G
|
|
|
+|root||dexter||RELOAD|G
|
|
|
+|root||root||RELOAD|G
|
|
|
+|root||root|localhost|RELOAD|G
|
|
|
+|root||sistemas||RELOAD|G
|
|
|
+|root||debian-sys-maint|localhost|REPLICATION CLIENT|G
|
|
|
+|root||dexter||REPLICATION CLIENT|G
|
|
|
+|root||root||REPLICATION CLIENT|G
|
|
|
+|root||root|localhost|REPLICATION CLIENT|G
|
|
|
+|root||sistemas||REPLICATION CLIENT|G
|
|
|
+|root||debian-sys-maint|localhost|REPLICATION SLAVE|G
|
|
|
+|root||dexter||REPLICATION SLAVE|G
|
|
|
+|root||root||REPLICATION SLAVE|G
|
|
|
+|root||root|localhost|REPLICATION SLAVE|G
|
|
|
+|root||sistemas||REPLICATION SLAVE|G
|
|
|
+|root||debian-sys-maint|localhost|SELECT|G
|
|
|
+|root||dexter||SELECT|G
|
|
|
+|root||root||SELECT|G
|
|
|
+|root||root|localhost|SELECT|G
|
|
|
+|root||sistemas||SELECT|G
|
|
|
+|root||debian-sys-maint|localhost|SHOW DATABASES|G
|
|
|
+|root||dexter||SHOW DATABASES|G
|
|
|
+|root||root||SHOW DATABASES|G
|
|
|
+|root||root|localhost|SHOW DATABASES|G
|
|
|
+|root||sistemas||SHOW DATABASES|G
|
|
|
+|root||debian-sys-maint|localhost|SHOW VIEW|G
|
|
|
+|root||dexter||SHOW VIEW|G
|
|
|
+|root||root||SHOW VIEW|G
|
|
|
+|root||root|localhost|SHOW VIEW|G
|
|
|
+|root||sistemas||SHOW VIEW|G
|
|
|
+|root||debian-sys-maint|localhost|SHUTDOWN|G
|
|
|
+|root||dexter||SHUTDOWN|G
|
|
|
+|root||root||SHUTDOWN|G
|
|
|
+|root||root|localhost|SHUTDOWN|G
|
|
|
+|root||sistemas||SHUTDOWN|G
|
|
|
+|root||debian-sys-maint|localhost|SUPER|G
|
|
|
+|root||dexter||SUPER|G
|
|
|
+|root||mysql.session|localhost|SUPER|G
|
|
|
+|root||root||SUPER|G
|
|
|
+|root||root|localhost|SUPER|G
|
|
|
+|root||sistemas||SUPER|G
|
|
|
+|root||debian-sys-maint|localhost|TRIGGER|G
|
|
|
+|root||dexter||TRIGGER|G
|
|
|
+|root||root||TRIGGER|G
|
|
|
+|root||root|localhost|TRIGGER|G
|
|
|
+|root||sistemas||TRIGGER|G
|
|
|
+|root||debian-sys-maint|localhost|UPDATE|G
|
|
|
+|root||dexter||UPDATE|G
|
|
|
+|root||root||UPDATE|G
|
|
|
+|root||root|localhost|UPDATE|G
|
|
|
+|root||sistemas||UPDATE|G
|
|
|
+|root||debian-sys-maint|localhost|grant option|G
|
|
|
+|root||dexter||grant option|G
|
|
|
+|root||root||grant option|G
|
|
|
+|root||root|localhost|grant option|G
|
|
|
+|root||sistemas||grant option|G
|
|
|
+%|schema||dexter||ALTER|G
|
|
|
+%|schema||sistemas||ALTER|G
|
|
|
+%|schema||dexter||ALTER ROUTINE|G
|
|
|
+%|schema||sistemas||ALTER ROUTINE|G
|
|
|
+%|schema||dexter||CREATE|G
|
|
|
+%|schema||sistemas||CREATE|G
|
|
|
+%|schema||dexter||CREATE ROUTINE|G
|
|
|
+%|schema||sistemas||CREATE ROUTINE|G
|
|
|
+%|schema||dexter||CREATE TEMPORARY TABLES|G
|
|
|
+%|schema||sistemas||CREATE TEMPORARY TABLES|G
|
|
|
+%|schema||dexter||CREATE VIEW|G
|
|
|
+%|schema||sistemas||CREATE VIEW|G
|
|
|
+%|schema||dexter||DELETE|G
|
|
|
+%|schema||sistemas||DELETE|G
|
|
|
+%|schema||dexter||DROP|G
|
|
|
+%|schema||sistemas||DROP|G
|
|
|
+%|schema||dexter||EVENT|G
|
|
|
+%|schema||sistemas||EVENT|G
|
|
|
+%|schema||dexter||EXECUTE|G
|
|
|
+%|schema||sistemas||EXECUTE|G
|
|
|
+%|schema||dexter||INDEX|G
|
|
|
+%|schema||sistemas||INDEX|G
|
|
|
+%|schema||dexter||INSERT|G
|
|
|
+%|schema||sistemas||INSERT|G
|
|
|
+%|schema||dexter||LOCK TABLES|G
|
|
|
+%|schema||sistemas||LOCK TABLES|G
|
|
|
+%|schema||dexter||REFERENCES|G
|
|
|
+%|schema||sistemas||REFERENCES|G
|
|
|
+%|schema||dexter||SELECT|G
|
|
|
+%|schema||sistemas||SELECT|G
|
|
|
+%|schema||dexter||SHOW VIEW|G
|
|
|
+%|schema||sistemas||SHOW VIEW|G
|
|
|
+%|schema||dexter||TRIGGER|G
|
|
|
+%|schema||sistemas||TRIGGER|G
|
|
|
+%|schema||dexter||UPDATE|G
|
|
|
+%|schema||sistemas||UPDATE|G
|
|
|
+%|schema||dexter||grant option|G
|
|
|
+%|schema||sistemas||grant option|G
|
|
|
+performance_schema|schema||mysql.session|localhost|SELECT|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|ALTER|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|ALTER ROUTINE|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|CREATE|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|CREATE ROUTINE|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|CREATE TEMPORARY TABLES|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|CREATE VIEW|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|DELETE|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|DROP|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|EVENT|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|EXECUTE|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|INDEX|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|INSERT|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|LOCK TABLES|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|REFERENCES|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|SELECT|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|SHOW VIEW|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|TRIGGER|G
|
|
|
+phpmyadmin|schema||phpmyadmin|localhost|UPDATE|G
|
|
|
+sys|schema||mysql.sys|localhost|TRIGGER|G</Grants>
|
|
|
+ <ServerVersion>5.7.44</ServerVersion>
|
|
|
+ </root>
|
|
|
+ <collation id="2" parent="1" name="big5_chinese_ci">
|
|
|
+ <Charset>big5</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="3" parent="1" name="big5_bin">
|
|
|
+ <Charset>big5</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="4" parent="1" name="dec8_swedish_ci">
|
|
|
+ <Charset>dec8</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="5" parent="1" name="dec8_bin">
|
|
|
+ <Charset>dec8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="6" parent="1" name="cp850_general_ci">
|
|
|
+ <Charset>cp850</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="7" parent="1" name="cp850_bin">
|
|
|
+ <Charset>cp850</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="8" parent="1" name="hp8_english_ci">
|
|
|
+ <Charset>hp8</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="9" parent="1" name="hp8_bin">
|
|
|
+ <Charset>hp8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="10" parent="1" name="koi8r_general_ci">
|
|
|
+ <Charset>koi8r</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="11" parent="1" name="koi8r_bin">
|
|
|
+ <Charset>koi8r</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="12" parent="1" name="latin1_german1_ci">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="13" parent="1" name="latin1_swedish_ci">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="14" parent="1" name="latin1_danish_ci">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="15" parent="1" name="latin1_german2_ci">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="16" parent="1" name="latin1_bin">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="17" parent="1" name="latin1_general_ci">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="18" parent="1" name="latin1_general_cs">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="19" parent="1" name="latin1_spanish_ci">
|
|
|
+ <Charset>latin1</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="20" parent="1" name="latin2_czech_cs">
|
|
|
+ <Charset>latin2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="21" parent="1" name="latin2_general_ci">
|
|
|
+ <Charset>latin2</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="22" parent="1" name="latin2_hungarian_ci">
|
|
|
+ <Charset>latin2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="23" parent="1" name="latin2_croatian_ci">
|
|
|
+ <Charset>latin2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="24" parent="1" name="latin2_bin">
|
|
|
+ <Charset>latin2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="25" parent="1" name="swe7_swedish_ci">
|
|
|
+ <Charset>swe7</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="26" parent="1" name="swe7_bin">
|
|
|
+ <Charset>swe7</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="27" parent="1" name="ascii_general_ci">
|
|
|
+ <Charset>ascii</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="28" parent="1" name="ascii_bin">
|
|
|
+ <Charset>ascii</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="29" parent="1" name="ujis_japanese_ci">
|
|
|
+ <Charset>ujis</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="30" parent="1" name="ujis_bin">
|
|
|
+ <Charset>ujis</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="31" parent="1" name="sjis_japanese_ci">
|
|
|
+ <Charset>sjis</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="32" parent="1" name="sjis_bin">
|
|
|
+ <Charset>sjis</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="33" parent="1" name="hebrew_general_ci">
|
|
|
+ <Charset>hebrew</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="34" parent="1" name="hebrew_bin">
|
|
|
+ <Charset>hebrew</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="35" parent="1" name="tis620_thai_ci">
|
|
|
+ <Charset>tis620</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="36" parent="1" name="tis620_bin">
|
|
|
+ <Charset>tis620</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="37" parent="1" name="euckr_korean_ci">
|
|
|
+ <Charset>euckr</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="38" parent="1" name="euckr_bin">
|
|
|
+ <Charset>euckr</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="39" parent="1" name="koi8u_general_ci">
|
|
|
+ <Charset>koi8u</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="40" parent="1" name="koi8u_bin">
|
|
|
+ <Charset>koi8u</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="41" parent="1" name="gb2312_chinese_ci">
|
|
|
+ <Charset>gb2312</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="42" parent="1" name="gb2312_bin">
|
|
|
+ <Charset>gb2312</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="43" parent="1" name="greek_general_ci">
|
|
|
+ <Charset>greek</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="44" parent="1" name="greek_bin">
|
|
|
+ <Charset>greek</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="45" parent="1" name="cp1250_general_ci">
|
|
|
+ <Charset>cp1250</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="46" parent="1" name="cp1250_czech_cs">
|
|
|
+ <Charset>cp1250</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="47" parent="1" name="cp1250_croatian_ci">
|
|
|
+ <Charset>cp1250</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="48" parent="1" name="cp1250_bin">
|
|
|
+ <Charset>cp1250</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="49" parent="1" name="cp1250_polish_ci">
|
|
|
+ <Charset>cp1250</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="50" parent="1" name="gbk_chinese_ci">
|
|
|
+ <Charset>gbk</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="51" parent="1" name="gbk_bin">
|
|
|
+ <Charset>gbk</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="52" parent="1" name="latin5_turkish_ci">
|
|
|
+ <Charset>latin5</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="53" parent="1" name="latin5_bin">
|
|
|
+ <Charset>latin5</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="54" parent="1" name="armscii8_general_ci">
|
|
|
+ <Charset>armscii8</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="55" parent="1" name="armscii8_bin">
|
|
|
+ <Charset>armscii8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="56" parent="1" name="utf8_general_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="57" parent="1" name="utf8_bin">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="58" parent="1" name="utf8_unicode_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="59" parent="1" name="utf8_icelandic_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="60" parent="1" name="utf8_latvian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="61" parent="1" name="utf8_romanian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="62" parent="1" name="utf8_slovenian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="63" parent="1" name="utf8_polish_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="64" parent="1" name="utf8_estonian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="65" parent="1" name="utf8_spanish_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="66" parent="1" name="utf8_swedish_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="67" parent="1" name="utf8_turkish_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="68" parent="1" name="utf8_czech_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="69" parent="1" name="utf8_danish_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="70" parent="1" name="utf8_lithuanian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="71" parent="1" name="utf8_slovak_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="72" parent="1" name="utf8_spanish2_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="73" parent="1" name="utf8_roman_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="74" parent="1" name="utf8_persian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="75" parent="1" name="utf8_esperanto_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="76" parent="1" name="utf8_hungarian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="77" parent="1" name="utf8_sinhala_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="78" parent="1" name="utf8_german2_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="79" parent="1" name="utf8_croatian_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="80" parent="1" name="utf8_unicode_520_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="81" parent="1" name="utf8_vietnamese_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="82" parent="1" name="utf8_general_mysql500_ci">
|
|
|
+ <Charset>utf8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="83" parent="1" name="ucs2_general_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="84" parent="1" name="ucs2_bin">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="85" parent="1" name="ucs2_unicode_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="86" parent="1" name="ucs2_icelandic_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="87" parent="1" name="ucs2_latvian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="88" parent="1" name="ucs2_romanian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="89" parent="1" name="ucs2_slovenian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="90" parent="1" name="ucs2_polish_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="91" parent="1" name="ucs2_estonian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="92" parent="1" name="ucs2_spanish_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="93" parent="1" name="ucs2_swedish_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="94" parent="1" name="ucs2_turkish_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="95" parent="1" name="ucs2_czech_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="96" parent="1" name="ucs2_danish_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="97" parent="1" name="ucs2_lithuanian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="98" parent="1" name="ucs2_slovak_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="99" parent="1" name="ucs2_spanish2_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="100" parent="1" name="ucs2_roman_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="101" parent="1" name="ucs2_persian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="102" parent="1" name="ucs2_esperanto_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="103" parent="1" name="ucs2_hungarian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="104" parent="1" name="ucs2_sinhala_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="105" parent="1" name="ucs2_german2_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="106" parent="1" name="ucs2_croatian_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="107" parent="1" name="ucs2_unicode_520_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="108" parent="1" name="ucs2_vietnamese_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="109" parent="1" name="ucs2_general_mysql500_ci">
|
|
|
+ <Charset>ucs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="110" parent="1" name="cp866_general_ci">
|
|
|
+ <Charset>cp866</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="111" parent="1" name="cp866_bin">
|
|
|
+ <Charset>cp866</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="112" parent="1" name="keybcs2_general_ci">
|
|
|
+ <Charset>keybcs2</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="113" parent="1" name="keybcs2_bin">
|
|
|
+ <Charset>keybcs2</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="114" parent="1" name="macce_general_ci">
|
|
|
+ <Charset>macce</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="115" parent="1" name="macce_bin">
|
|
|
+ <Charset>macce</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="116" parent="1" name="macroman_general_ci">
|
|
|
+ <Charset>macroman</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="117" parent="1" name="macroman_bin">
|
|
|
+ <Charset>macroman</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="118" parent="1" name="cp852_general_ci">
|
|
|
+ <Charset>cp852</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="119" parent="1" name="cp852_bin">
|
|
|
+ <Charset>cp852</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="120" parent="1" name="latin7_estonian_cs">
|
|
|
+ <Charset>latin7</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="121" parent="1" name="latin7_general_ci">
|
|
|
+ <Charset>latin7</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="122" parent="1" name="latin7_general_cs">
|
|
|
+ <Charset>latin7</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="123" parent="1" name="latin7_bin">
|
|
|
+ <Charset>latin7</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="124" parent="1" name="utf8mb4_general_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="125" parent="1" name="utf8mb4_bin">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="126" parent="1" name="utf8mb4_unicode_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="127" parent="1" name="utf8mb4_icelandic_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="128" parent="1" name="utf8mb4_latvian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="129" parent="1" name="utf8mb4_romanian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="130" parent="1" name="utf8mb4_slovenian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="131" parent="1" name="utf8mb4_polish_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="132" parent="1" name="utf8mb4_estonian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="133" parent="1" name="utf8mb4_spanish_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="134" parent="1" name="utf8mb4_swedish_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="135" parent="1" name="utf8mb4_turkish_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="136" parent="1" name="utf8mb4_czech_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="137" parent="1" name="utf8mb4_danish_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="138" parent="1" name="utf8mb4_lithuanian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="139" parent="1" name="utf8mb4_slovak_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="140" parent="1" name="utf8mb4_spanish2_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="141" parent="1" name="utf8mb4_roman_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="142" parent="1" name="utf8mb4_persian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="143" parent="1" name="utf8mb4_esperanto_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="144" parent="1" name="utf8mb4_hungarian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="145" parent="1" name="utf8mb4_sinhala_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="146" parent="1" name="utf8mb4_german2_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="147" parent="1" name="utf8mb4_croatian_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="148" parent="1" name="utf8mb4_unicode_520_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="149" parent="1" name="utf8mb4_vietnamese_ci">
|
|
|
+ <Charset>utf8mb4</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="150" parent="1" name="cp1251_bulgarian_ci">
|
|
|
+ <Charset>cp1251</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="151" parent="1" name="cp1251_ukrainian_ci">
|
|
|
+ <Charset>cp1251</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="152" parent="1" name="cp1251_bin">
|
|
|
+ <Charset>cp1251</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="153" parent="1" name="cp1251_general_ci">
|
|
|
+ <Charset>cp1251</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="154" parent="1" name="cp1251_general_cs">
|
|
|
+ <Charset>cp1251</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="155" parent="1" name="utf16_general_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="156" parent="1" name="utf16_bin">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="157" parent="1" name="utf16_unicode_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="158" parent="1" name="utf16_icelandic_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="159" parent="1" name="utf16_latvian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="160" parent="1" name="utf16_romanian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="161" parent="1" name="utf16_slovenian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="162" parent="1" name="utf16_polish_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="163" parent="1" name="utf16_estonian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="164" parent="1" name="utf16_spanish_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="165" parent="1" name="utf16_swedish_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="166" parent="1" name="utf16_turkish_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="167" parent="1" name="utf16_czech_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="168" parent="1" name="utf16_danish_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="169" parent="1" name="utf16_lithuanian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="170" parent="1" name="utf16_slovak_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="171" parent="1" name="utf16_spanish2_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="172" parent="1" name="utf16_roman_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="173" parent="1" name="utf16_persian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="174" parent="1" name="utf16_esperanto_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="175" parent="1" name="utf16_hungarian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="176" parent="1" name="utf16_sinhala_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="177" parent="1" name="utf16_german2_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="178" parent="1" name="utf16_croatian_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="179" parent="1" name="utf16_unicode_520_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="180" parent="1" name="utf16_vietnamese_ci">
|
|
|
+ <Charset>utf16</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="181" parent="1" name="utf16le_general_ci">
|
|
|
+ <Charset>utf16le</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="182" parent="1" name="utf16le_bin">
|
|
|
+ <Charset>utf16le</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="183" parent="1" name="cp1256_general_ci">
|
|
|
+ <Charset>cp1256</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="184" parent="1" name="cp1256_bin">
|
|
|
+ <Charset>cp1256</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="185" parent="1" name="cp1257_lithuanian_ci">
|
|
|
+ <Charset>cp1257</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="186" parent="1" name="cp1257_bin">
|
|
|
+ <Charset>cp1257</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="187" parent="1" name="cp1257_general_ci">
|
|
|
+ <Charset>cp1257</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="188" parent="1" name="utf32_general_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="189" parent="1" name="utf32_bin">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="190" parent="1" name="utf32_unicode_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="191" parent="1" name="utf32_icelandic_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="192" parent="1" name="utf32_latvian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="193" parent="1" name="utf32_romanian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="194" parent="1" name="utf32_slovenian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="195" parent="1" name="utf32_polish_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="196" parent="1" name="utf32_estonian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="197" parent="1" name="utf32_spanish_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="198" parent="1" name="utf32_swedish_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="199" parent="1" name="utf32_turkish_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="200" parent="1" name="utf32_czech_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="201" parent="1" name="utf32_danish_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="202" parent="1" name="utf32_lithuanian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="203" parent="1" name="utf32_slovak_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="204" parent="1" name="utf32_spanish2_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="205" parent="1" name="utf32_roman_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="206" parent="1" name="utf32_persian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="207" parent="1" name="utf32_esperanto_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="208" parent="1" name="utf32_hungarian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="209" parent="1" name="utf32_sinhala_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="210" parent="1" name="utf32_german2_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="211" parent="1" name="utf32_croatian_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="212" parent="1" name="utf32_unicode_520_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="213" parent="1" name="utf32_vietnamese_ci">
|
|
|
+ <Charset>utf32</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="214" parent="1" name="binary">
|
|
|
+ <Charset>binary</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="215" parent="1" name="geostd8_general_ci">
|
|
|
+ <Charset>geostd8</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="216" parent="1" name="geostd8_bin">
|
|
|
+ <Charset>geostd8</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="217" parent="1" name="cp932_japanese_ci">
|
|
|
+ <Charset>cp932</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="218" parent="1" name="cp932_bin">
|
|
|
+ <Charset>cp932</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="219" parent="1" name="eucjpms_japanese_ci">
|
|
|
+ <Charset>eucjpms</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="220" parent="1" name="eucjpms_bin">
|
|
|
+ <Charset>eucjpms</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="221" parent="1" name="gb18030_chinese_ci">
|
|
|
+ <Charset>gb18030</Charset>
|
|
|
+ <DefaultForCharset>1</DefaultForCharset>
|
|
|
+ </collation>
|
|
|
+ <collation id="222" parent="1" name="gb18030_bin">
|
|
|
+ <Charset>gb18030</Charset>
|
|
|
+ </collation>
|
|
|
+ <collation id="223" parent="1" name="gb18030_unicode_520_ci">
|
|
|
+ <Charset>gb18030</Charset>
|
|
|
+ </collation>
|
|
|
+ <schema id="224" parent="1" name="information_schema">
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="225" parent="1" name="caprecosmos">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="226" parent="1" name="cosmodas2022">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="227" parent="1" name="cr_debug">
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="228" parent="1" name="dbcontabilidad">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="229" parent="1" name="dbcontabilidad2014">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="230" parent="1" name="dbcontabilidad2015">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="231" parent="1" name="dbcontabilidad2016">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="232" parent="1" name="dbcontabilidad2017">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="233" parent="1" name="dbcontabilidad2018">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="234" parent="1" name="dbcontabilidad2019">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="235" parent="1" name="dbcontabilidad2020">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="236" parent="1" name="dbcontabilidad2021">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="237" parent="1" name="dbcontabilidad2022">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="238" parent="1" name="dbcontabilidad2023">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="239" parent="1" name="dbcontabilidadt">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="240" parent="1" name="dbcosmodas">
|
|
|
+ <Current>1</Current>
|
|
|
+ <LastIntrospectionLocalTimestamp>2025-02-11.15:04:41</LastIntrospectionLocalTimestamp>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="241" parent="1" name="dbcosmodas2001">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="242" parent="1" name="dbcosmodas2002">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="243" parent="1" name="dbcosmodas2010">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="244" parent="1" name="dbcosmodas2011">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="245" parent="1" name="dbcosmodas2012">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="246" parent="1" name="dbcosmodas2013">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="247" parent="1" name="dbcosmodas2014">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="248" parent="1" name="dbcosmodas2015">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="249" parent="1" name="dbcosmodas2016">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="250" parent="1" name="dbcosmodas2017">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="251" parent="1" name="dbcosmodas2018">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="252" parent="1" name="dbcosmodas2019">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="253" parent="1" name="dbcosmodas2020">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="254" parent="1" name="dbcosmodas2021">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="255" parent="1" name="dbcosmodas2022">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="256" parent="1" name="dbcosmodas2023">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="257" parent="1" name="dbcosmodas2024">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="258" parent="1" name="dbcosmodasg">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="259" parent="1" name="dbcosmodasr">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="260" parent="1" name="dbcosmodast">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="261" parent="1" name="dbcosnet">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="262" parent="1" name="dbimportplus">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="263" parent="1" name="dbimportplus2017">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="264" parent="1" name="dbimportplus2018">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="265" parent="1" name="dbimportplus2019">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="266" parent="1" name="dbimportplus2020">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="267" parent="1" name="dbinventario">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="268" parent="1" name="dbmarcaciones">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="269" parent="1" name="dbsmsenvios">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="270" parent="1" name="dte">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="271" parent="1" name="ingress">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="272" parent="1" name="inventariodb">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="273" parent="1" name="mysql">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="274" parent="1" name="openfire">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="275" parent="1" name="performance_schema">
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="276" parent="1" name="phpmyadmin">
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <schema id="277" parent="1" name="sys">
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </schema>
|
|
|
+ <user id="278" parent="1" name="root">
|
|
|
+ <Host>localhost</Host>
|
|
|
+ </user>
|
|
|
+ <user id="279" parent="1" name="mysql.session">
|
|
|
+ <Host>localhost</Host>
|
|
|
+ </user>
|
|
|
+ <user id="280" parent="1" name="mysql.sys">
|
|
|
+ <Host>localhost</Host>
|
|
|
+ </user>
|
|
|
+ <user id="281" parent="1" name="debian-sys-maint">
|
|
|
+ <Host>localhost</Host>
|
|
|
+ </user>
|
|
|
+ <user id="282" parent="1" name="sistemas"/>
|
|
|
+ <user id="283" parent="1" name="gexpacho"/>
|
|
|
+ <user id="284" parent="1" name="phpmyadmin">
|
|
|
+ <Host>localhost</Host>
|
|
|
+ </user>
|
|
|
+ <user id="285" parent="1" name="root"/>
|
|
|
+ <user id="286" parent="1" name="dexter"/>
|
|
|
+ <routine id="287" parent="240" name="FC_consultorPromocion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>413</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="288" parent="240" name="FUNCTION_equipo_trabajo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1850</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="289" parent="240" name="FUNC_IMPERIAS">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>556</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="290" parent="240" name="PBitacoraWeb">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>419</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="291" parent="240" name="PROCEDURE_cod_productos">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1054</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="292" parent="240" name="PROC_chooseQueryKardex">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>6716</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="293" parent="240" name="PRO_NOTA_ABO_TERRITORIO">
|
|
|
+ <Definer>root@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1016</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="294" parent="240" name="PRO_PREMIOS">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>4071</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="295" parent="240" name="PRO_calcula_ventas">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>6934</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="296" parent="240" name="PRO_cuadreinventario">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>6955</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="297" parent="240" name="PRO_cuadrepremios">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>4743</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="298" parent="240" name="PRO_datos_BySala">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>800</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="299" parent="240" name="PRO_existenciasBySala">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>784</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="300" parent="240" name="PRO_imperias_territorio">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>2970</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="301" parent="240" name="PRO_inventario">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>6935</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="302" parent="240" name="PRO_kardex">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>10961</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="303" parent="240" name="PRO_kardex_anterior">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1862</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="304" parent="240" name="PRO_validaciones">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>3484</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="305" parent="240" name="PRO_venta_facturas">
|
|
|
+ <Definer>root@192.168.1.150</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>367</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="306" parent="240" name="Pbusqueda_facturas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>100</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="307" parent="240" name="Pconsultores_datos_reparto">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>472</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="308" parent="240" name="Pro_Descuadre">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>912</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="309" parent="240" name="Pzonas_vs_actual">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>2346</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="310" parent="240" name="abonofl_android">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1092</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="311" parent="240" name="actualiza_1_cf">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>495</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="312" parent="240" name="actualiza_ofertas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>284</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="313" parent="240" name="actualiza_topagar">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>244</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="314" parent="240" name="actualiza_usuarios">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>86</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="315" parent="240" name="bolso_primer_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1237</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="316" parent="240" name="cargos_consultor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>357</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="317" parent="240" name="cargos_consultor2">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>357</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="318" parent="240" name="cargos_de_regalo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>262</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="319" parent="240" name="cartera_act_det">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>677</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="320" parent="240" name="cero_inventario">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>447</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="321" parent="240" name="cl_puntos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>2912</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="322" parent="240" name="consulta_de_consulres">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>665</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="323" parent="240" name="consultor_dato_reparto">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1160</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="324" parent="240" name="correlativo_proceso_de_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>436</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="325" parent="240" name="correlativo_proceso_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>391</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="326" parent="240" name="correo_por_codigo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>182</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="327" parent="240" name="datos_completos_consultor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>705</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="328" parent="240" name="datos_completos_consultor_abonos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>623</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="329" parent="240" name="descarga_articulo_sala">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>802</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="330" parent="240" name="entrega_premios">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>731</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="331" parent="240" name="estadisticaFun">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1469</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="332" parent="240" name="existencia_por_sala">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>221</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="333" parent="240" name="ext_por_codigo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>153</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="334" parent="240" name="fNotas_Abonos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>300</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="335" parent="240" name="fProCantFacturas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>417</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="336" parent="240" name="fProCantPedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>386</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="337" parent="240" name="fPuntos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>729</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="338" parent="240" name="fPuntos2">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1169</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="339" parent="240" name="factura_final_anio">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1151</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="340" parent="240" name="fboleta_duplicada">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>385</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="341" parent="240" name="fcargos_publico_consultor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>261</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="342" parent="240" name="fecha_cargo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>175</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="343" parent="240" name="findAjuste">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>531</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="344" parent="240" name="findCompras">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>286</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="345" parent="240" name="findRemicion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1418</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="346" parent="240" name="findRemision">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1418</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="347" parent="240" name="fpremio_sala">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>247</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="348" parent="240" name="fpremio_sala_entregado">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>987</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="349" parent="240" name="fpromocion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>307</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="350" parent="240" name="fremie">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>240</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="351" parent="240" name="generar_num_recibo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>496</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="352" parent="240" name="gestionbusqueda">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>294</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="353" parent="240" name="hdetfacts">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>110</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="354" parent="240" name="hfacts">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>103</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="355" parent="240" name="ingresa_cargos">
|
|
|
+ <Definer>root@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>312</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="356" parent="240" name="ingresa_credito_fiscal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>89</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="357" parent="240" name="ingresa_detalle_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>251</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="358" parent="240" name="ingresa_detalles">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>104</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="359" parent="240" name="ingresa_proceso_de_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>228</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="360" parent="240" name="ingresa_proceso_de_pedido_cab">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>224</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="361" parent="240" name="ingreso_factura_t">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>785</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="362" parent="240" name="mover_factura_nueva">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>712</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="363" parent="240" name="muestras_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>871</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="364" parent="240" name="nuevo_abonof">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>196</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="365" parent="240" name="nuevo_codigo_consultor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>317</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="366" parent="240" name="obtenerCargos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>308</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="367" parent="240" name="obtenerCargosSuc">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>393</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="368" parent="240" name="obtener_consultor_facturacion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1302</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="369" parent="240" name="obtener_dias_pago">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1394</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="370" parent="240" name="obtener_direccion_consultor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>545</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="371" parent="240" name="obtener_direccion_consultor_otro">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>440</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="372" parent="240" name="obtener_fecha_solicitud">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>432</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="373" parent="240" name="obtener_info_productos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1845</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="374" parent="240" name="obtener_nombrecompleto_consultor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>438</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="375" parent="240" name="obtener_nombrecompleto_consultor_corto">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>356</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="376" parent="240" name="obtener_nota_abono">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1763</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="377" parent="240" name="obtener_pedidos_app">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>470</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="378" parent="240" name="obtener_pedidos_apps">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>404</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="379" parent="240" name="obtener_ruta_reparto_cosultor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>244</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="380" parent="240" name="obtener_totales_pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>610</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="381" parent="240" name="ofertas_vendidas_por_territorio">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>907</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="382" parent="240" name="pedidos_total">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>276</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="383" parent="240" name="pproducto_requisicion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>536</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="384" parent="240" name="pproducto_requisicion_pornom">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1174</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="385" parent="240" name="pproducto_requisicion_porp">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1025</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="386" parent="240" name="prProceso_de_pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>182</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="387" parent="240" name="prProceso_de_pedidosSuper">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>294</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="388" parent="240" name="prProceso_de_pedidos_des">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>188</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="389" parent="240" name="prProceso_de_pedidos_reporte">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>359</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="390" parent="240" name="precio_programa_f">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1276</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="391" parent="240" name="precio_programa_f2">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1039</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="392" parent="240" name="precio_programa_ofer">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1011</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="393" parent="240" name="predictivo_bodega">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1998</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="394" parent="240" name="predictivo_bodega1">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>861</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="395" parent="240" name="preporte_facturacion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>180</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="396" parent="240" name="primer_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>475</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="397" parent="240" name="primer_pedido_mes">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>372</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="398" parent="240" name="primera_factura">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>431</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="399" parent="240" name="pro_AppAbonofl">
|
|
|
+ <Definer>root@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>974</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="400" parent="240" name="pro_App_pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1554</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="401" parent="240" name="pro_appSuper">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>8040</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="402" parent="240" name="pro_appSuper2">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>8035</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="403" parent="240" name="pro_consultor_premio">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>2733</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="404" parent="240" name="pro_imperias">
|
|
|
+ <Definer>root@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>5095</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="405" parent="240" name="pro_imperias_online">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>69</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="406" parent="240" name="pro_imperias_online_back">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>5293</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="407" parent="240" name="proceso_papeleria">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>477</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="408" parent="240" name="producto_requipornombre_papel">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>262</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="409" parent="240" name="producto_requisicion_papel">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>286</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="410" parent="240" name="proximo_recibo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>355</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="411" parent="240" name="reporte_recibos_p">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1489</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="412" parent="240" name="restas_de_premios_puntos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1357</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="413" parent="240" name="restas_inventario_facturacion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>1726</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="414" parent="240" name="telefono_supervisor">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>230</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="415" parent="240" name="total_consultore_sin_pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>384</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="416" parent="240" name="total_factura_fin_anio">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>252</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="417" parent="240" name="ultima_factura">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>757</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="418" parent="240" name="ultima_factura2">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>418</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="419" parent="240" name="ultima_factura_fiscal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>763</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="420" parent="240" name="ultimo_pedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>188</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="421" parent="240" name="ultimo_recibo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>354</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="422" parent="240" name="v_inventario">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>5551</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="423" parent="240" name="v_inventario_f">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>21037</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="424" parent="240" name="v_inventario_full">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>12819</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="425" parent="240" name="v_inventario_full_d">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>12819</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="426" parent="240" name="v_inventariot">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>2626</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="427" parent="240" name="validaBolsoPrimerPedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>460</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="428" parent="240" name="validaBolsoPrimerPedido2">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>494</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="429" parent="240" name="validaBolsoPrimerPedidob">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>289</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="430" parent="240" name="valida_articulo_sala">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>178</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="431" parent="240" name="valida_boleta">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>323</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="432" parent="240" name="valida_cargos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>375</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="433" parent="240" name="valida_catalogo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1383</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="434" parent="240" name="valida_consultor">
|
|
|
+ <Definer>root@localhost</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>8935</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="435" parent="240" name="valida_existencia_facturas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>1616</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="436" parent="240" name="valida_existencia_premios">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>950</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="437" parent="240" name="valida_existencia_premiosn">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>957</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="438" parent="240" name="valida_premio_productosucursal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>procedure</RoutineKind>
|
|
|
+ <SourceTextLength>185</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="439" parent="240" name="venta_total">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>625</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <routine id="440" parent="240" name="ventas_producto_inventario">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <RoutineKind>function</RoutineKind>
|
|
|
+ <SourceTextLength>615</SourceTextLength>
|
|
|
+ </routine>
|
|
|
+ <table id="441" parent="240" name="abonofl">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="442" parent="240" name="abonos">
|
|
|
+ <Comment>ingreso de recibos de clientes</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="443" parent="240" name="abonos_tigo">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="444" parent="240" name="actualimperia">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="445" parent="240" name="actualpremio">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="446" parent="240" name="ajuste">
|
|
|
+ <Comment>ajuste de inventario</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="447" parent="240" name="ajuste_sala">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="448" parent="240" name="articulo">
|
|
|
+ <Comment>articulo que son premios </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="449" parent="240" name="articulo_papeleria">
|
|
|
+ <Comment>para registrar artciulos de papaleria</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="450" parent="240" name="articulo_sala">
|
|
|
+ <Comment>existencia en departamentos</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="451" parent="240" name="articulos_zonas_total">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="452" parent="240" name="bancos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="453" parent="240" name="berror">
|
|
|
+ <Comment>almacena algunos errores del sistema</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="454" parent="240" name="bitacora">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="455" parent="240" name="bitacoras_web">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="456" parent="240" name="cambio_territorio">
|
|
|
+ <Comment>cambios de territorios de consultoras</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="457" parent="240" name="cambios_mes">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="458" parent="240" name="cargos">
|
|
|
+ <Comment>Facturas de clientes</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="459" parent="240" name="certificaciones">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="460" parent="240" name="clasificacion">
|
|
|
+ <Comment>clasificacion de productos de venta</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="461" parent="240" name="clasificacion_producto">
|
|
|
+ <Comment>clasficacion de los productos</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="462" parent="240" name="cobros">
|
|
|
+ <Comment>Gestión de Cobros</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="463" parent="240" name="cola_consultor">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="464" parent="240" name="compra_papeleria">
|
|
|
+ <Comment>Ingreso de compras de papeleria de oficina</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="465" parent="240" name="compras">
|
|
|
+ <Comment>Compra de premios y productos de venta</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="466" parent="240" name="consultores">
|
|
|
+ <Comment>Registro de Clientes de Cosmodas</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="467" parent="240" name="consultores_dato_reparto">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="468" parent="240" name="consultores_datos">
|
|
|
+ <Comment>Segunda parte de Registro de Clientes de Cosmodas</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="469" parent="240" name="consultorpromocion">
|
|
|
+ <Comment>Para facturas que inlcuyen promociones de acumulacion anual</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="470" parent="240" name="consultortrabajo">
|
|
|
+ <Comment>Informacion del trabajo del cliente, si este labora actualme</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="471" parent="240" name="corresponsales">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="472" parent="240" name="cortes">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="473" parent="240" name="credito_fiscal">
|
|
|
+ <Comment>para percepciones</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="474" parent="240" name="cuentas_bancos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="475" parent="240" name="datos_productos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="476" parent="240" name="datosdet">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="477" parent="240" name="delegadosolucion">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="478" parent="240" name="depto_municipio">
|
|
|
+ <Comment>Guarda la información de los Departamentos y Municipios del </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="479" parent="240" name="detalle_abonos">
|
|
|
+ <Comment>Detalle de pagos realizados por clientes e incluye </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="480" parent="240" name="detalle_ajuste">
|
|
|
+ <Comment>almacena la informacion de los productos y articulos de los </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="481" parent="240" name="detalle_ajuste_sala">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="482" parent="240" name="detalle_cambio">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="483" parent="240" name="detalle_cargo">
|
|
|
+ <Comment>Detalle de las notas de cargo aplicadas a clientes</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="484" parent="240" name="detalle_compapeleria">
|
|
|
+ <Comment>Detalle de las compras de papelería de oficina</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="485" parent="240" name="detalle_compra">
|
|
|
+ <Comment>Detalle de las compras de articulos de premios y productos </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="486" parent="240" name="detalle_compra_temporal">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="487" parent="240" name="detalle_factura">
|
|
|
+ <Comment>Muestra los productos que incluye la compra del cliente</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="488" parent="240" name="detalle_nota_abonos">
|
|
|
+ <Comment>detalle de productos devueltos</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="489" parent="240" name="detalle_oferta">
|
|
|
+ <Comment>productos que incluye la oferta</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="490" parent="240" name="detalle_orden_compra">
|
|
|
+ <Comment>información de la orden de compra</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="491" parent="240" name="detalle_pedidos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="492" parent="240" name="detalle_pre_compra">
|
|
|
+ <Comment>Detalle de las compras de articulos de premios y productos </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="493" parent="240" name="detalle_premio">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="494" parent="240" name="detalle_remision">
|
|
|
+ <Comment>Almacena los productos y articulos que incluyen de las remi</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="495" parent="240" name="detalle_requisicion">
|
|
|
+ <Comment>Almacena los articulos de papeleria de la requisicion</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="496" parent="240" name="diccionario">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="497" parent="240" name="direccionesip">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="498" parent="240" name="doc_pendiente">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="499" parent="240" name="docu">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="500" parent="240" name="documentos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="501" parent="240" name="entrega_premios">
|
|
|
+ <Comment>Almacena informacion de los premios del año</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="502" parent="240" name="errores">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="503" parent="240" name="estadistica_producto">
|
|
|
+ <Comment>Almacena el total de productos vendidos separados por salas </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="504" parent="240" name="estado">
|
|
|
+ <Comment>Para almacenar el tipo de estado en que se encuentra una sol</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="505" parent="240" name="etiquetas">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="506" parent="240" name="etiquetas_otro">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="507" parent="240" name="factura_prod_especial">
|
|
|
+ <Comment>facturas con producto especial que no se toma en cuenta para premios.</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="508" parent="240" name="facturas">
|
|
|
+ <Comment>Almacena los datos generales de las facturas</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="509" parent="240" name="fcliente">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="510" parent="240" name="fiadores">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="511" parent="240" name="ganadores">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="512" parent="240" name="generales">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="513" parent="240" name="gestUsuario">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="514" parent="240" name="gestioncliente">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="515" parent="240" name="gestionconsultor">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="516" parent="240" name="gestiones">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="517" parent="240" name="gestionestado">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="518" parent="240" name="gestionqueja">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="519" parent="240" name="gestionseguimiento">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="520" parent="240" name="gestmenu">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="521" parent="240" name="gpotencialseguimiento">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="522" parent="240" name="gresultadopotencial">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="523" parent="240" name="hbitacora">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="524" parent="240" name="hdetalle_factura">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="525" parent="240" name="hdetalle_pedidos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="526" parent="240" name="hfacturas">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="527" parent="240" name="historial_producto">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="528" parent="240" name="hpartida">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="529" parent="240" name="hpedidos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="530" parent="240" name="hproductos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="531" parent="240" name="hproductos_zonas_total">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="532" parent="240" name="hproductosucursal">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="533" parent="240" name="imagenes_productos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="534" parent="240" name="inactivos">
|
|
|
+ <Comment>inactivos</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="535" parent="240" name="inscripcion">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="536" parent="240" name="inventario_papeleria">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="537" parent="240" name="inventario_premio">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="538" parent="240" name="inventario_temp">
|
|
|
+ <Comment>INFORMACION DE INVENTARIO</Comment>
|
|
|
+ <Engine>MyISAM</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="539" parent="240" name="letras">
|
|
|
+ <Engine>MyISAM</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="540" parent="240" name="marcaciones_t">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="541" parent="240" name="nota_remision">
|
|
|
+ <Comment>Encabezado de las remisiones, sucursales, fecha, programa</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="542" parent="240" name="ofertas">
|
|
|
+ <Comment>Oferta de Catalogo de ventas</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="543" parent="240" name="opcion_menu">
|
|
|
+ <Comment>Coloca las opciones del sistema para ser seleccionadas para </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="544" parent="240" name="orden_compras">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="545" parent="240" name="otros_pedidos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="546" parent="240" name="pago_extra">
|
|
|
+ <Comment>abonos de clientes que no afectan facturas</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="547" parent="240" name="paquetes">
|
|
|
+ <Comment>Para promociones </Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="548" parent="240" name="pedidos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="549" parent="240" name="permisos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="550" parent="240" name="pre_compras">
|
|
|
+ <Comment>Compra de premios y productos de venta</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="551" parent="240" name="precioprograma">
|
|
|
+ <Comment>Contiene la Información del catálogo de ventas</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="552" parent="240" name="premios">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="553" parent="240" name="proceso_de_pedidos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="554" parent="240" name="producto_based">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="555" parent="240" name="producto_sinpremio">
|
|
|
+ <Comment>productos que no son tomados para premios/imperias</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="556" parent="240" name="productos">
|
|
|
+ <Comment>Almacena la informacion de los productos de venta y promocio</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="557" parent="240" name="productos_temp">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="558" parent="240" name="productos_zonas_total">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="559" parent="240" name="productosucursal">
|
|
|
+ <Comment>inventario por salas</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="560" parent="240" name="programas">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="561" parent="240" name="puntos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="562" parent="240" name="recepciones">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="563" parent="240" name="regalo">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="564" parent="240" name="reparto">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="565" parent="240" name="reparto_empaque">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <Options>row_format
|
|
|
+DYNAMIC</Options>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="566" parent="240" name="requisicion">
|
|
|
+ <Comment>Requisicion de Papelería de Oficina</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="567" parent="240" name="rifa">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="568" parent="240" name="rifaml">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="569" parent="240" name="ruta_reparto">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="570" parent="240" name="solicitudes">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="571" parent="240" name="sub_clasifi_prod">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="572" parent="240" name="sucursales">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="573" parent="240" name="supervisoras_reporte_venta">
|
|
|
+ <Comment>SON LOS REPORTES DE VENTA DE CADA SUPERVISORAS</Comment>
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="574" parent="240" name="tablas">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="575" parent="240" name="take_number">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="576" parent="240" name="territorio_telefonos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="577" parent="240" name="territorios">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="578" parent="240" name="tipogestion">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="579" parent="240" name="tiporesultado">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="580" parent="240" name="trebol_premio">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="581" parent="240" name="trebolclasificacion">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="582" parent="240" name="ubicacion">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="583" parent="240" name="usuario">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="584" parent="240" name="valida_producto">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="585" parent="240" name="validacion_fact">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="586" parent="240" name="validacion_recibos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="587" parent="240" name="wc_apps">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="588" parent="240" name="wc_clientes_app">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="589" parent="240" name="wc_detalle_requisicion_producto">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="590" parent="240" name="wc_detalle_requisicion_productopapel">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="591" parent="240" name="wc_grupos_usuarios">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="592" parent="240" name="wc_ofertas_descuentazos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="593" parent="240" name="wc_ofertas_flotantes">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="594" parent="240" name="wc_opciones">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="595" parent="240" name="wc_opciones_grupos">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="596" parent="240" name="wc_requisicion_producto">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="597" parent="240" name="wc_usuarios">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="598" parent="240" name="wcrequisicion_productopapel">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <table id="599" parent="240" name="zonas_salas">
|
|
|
+ <Engine>InnoDB</Engine>
|
|
|
+ <CollationName>latin1_swedish_ci</CollationName>
|
|
|
+ </table>
|
|
|
+ <view id="600" parent="240" name="Htventas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>558</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="601" parent="240" name="TAbonos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>481</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="602" parent="240" name="TactualSalas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>328</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="603" parent="240" name="TajusteE">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>524</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="604" parent="240" name="TajusteS">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>523</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="605" parent="240" name="Tcactivos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>290</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="606" parent="240" name="Tcnuevos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>249</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="607" parent="240" name="Tcobros">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>356</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="608" parent="240" name="Tcompras">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>370</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="609" parent="240" name="Tcpedido">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>435</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="610" parent="240" name="Tcupones">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>477</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="611" parent="240" name="ThactualSalas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>456</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="612" parent="240" name="Thofertas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>739</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="613" parent="240" name="Thventas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>608</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="614" parent="240" name="TnAbonos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>481</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="615" parent="240" name="Tnabono">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>576</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="616" parent="240" name="Tofertas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>673</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="617" parent="240" name="TremiE">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>520</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="618" parent="240" name="TremiS">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>520</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="619" parent="240" name="Trventas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>778</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="620" parent="240" name="Tventas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>515</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="621" parent="240" name="TventasTotal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>318</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="622" parent="240" name="VProductosZonasAll">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>571</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="623" parent="240" name="VProductos_Sucursales">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>443</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="624" parent="240" name="VProductos_Total">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>543</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="625" parent="240" name="Varticulos_Salas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>336</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="626" parent="240" name="Varticulos_total">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>532</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="627" parent="240" name="Varticulos_zonas_all">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>510</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="628" parent="240" name="Zonas_Vs_Actual">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>570</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="629" parent="240" name="cabecera_pedidos_DB">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>417</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="630" parent="240" name="consultore_ccf">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>675</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="631" parent="240" name="cuerpo_pedido_DB">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>174</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="632" parent="240" name="datos_cosultores_completos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>719</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="633" parent="240" name="datos_cosultores_completos_facturacion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1159</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="634" parent="240" name="detalle_pedido_bitacora">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>510</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="635" parent="240" name="detalle_pedidos_distinto">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>411</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="636" parent="240" name="dx">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>102</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="637" parent="240" name="dxh">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>104</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="638" parent="240" name="existenciaDolarPremios">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>723</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="639" parent="240" name="facturas_bita_web">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>397</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="640" parent="240" name="facturas_por_territorios">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>760</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="641" parent="240" name="g1v">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>971</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="642" parent="240" name="hfacturas_por_territorios">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>844</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="643" parent="240" name="hventas_aniversario">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>764</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="644" parent="240" name="nuevos_codigos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>280</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="645" parent="240" name="pedidos_app">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>621</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="646" parent="240" name="proSucursal01">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>478</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="647" parent="240" name="reparto_arreglo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>329</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="648" parent="240" name="reporte_reparto">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>917</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="649" parent="240" name="rifa_mayo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>617</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="650" parent="240" name="testDis">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1027</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="651" parent="240" name="top_20">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>868</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="652" parent="240" name="total_pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>222</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="653" parent="240" name="vAbonos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>613</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="654" parent="240" name="vAbonos_Fl">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>387</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="655" parent="240" name="vAutoAjuste">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>587</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="656" parent="240" name="vBancos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>186</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="657" parent="240" name="vCargos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>465</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="658" parent="240" name="vCargosInvestiga">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>728</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="659" parent="240" name="vCierreProductos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>676</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="660" parent="240" name="vCompra">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>84</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="661" parent="240" name="vConsultaCargosMora">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>453</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="662" parent="240" name="vConsultor_login">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>348</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="663" parent="240" name="vConsultor_premio">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>266</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="664" parent="240" name="vConsultore_ws">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>662</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="665" parent="240" name="vConsultoresCos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1931</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="666" parent="240" name="vCosultorGestion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>353</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="667" parent="240" name="vDatosPremios">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>239</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="668" parent="240" name="vDetalle_abonos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>532</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="669" parent="240" name="vDiferencias">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1196</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="670" parent="240" name="vEtiquetas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1356</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="671" parent="240" name="vExistencia_dolarizada">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>785</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="672" parent="240" name="vExistencias_salas_para_pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>646</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="673" parent="240" name="vHexistencia_dolarizada">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>829</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="674" parent="240" name="vHtventasTotal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>401</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="675" parent="240" name="vHtventasTotalSalas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>794</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="676" parent="240" name="vInventa">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>447</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="677" parent="240" name="vPedidosRepartoTotalesSalidas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>326</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="678" parent="240" name="vPedidos_apps">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>629</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="679" parent="240" name="vPremios_salas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>753</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="680" parent="240" name="vProceso_de_pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1560</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="681" parent="240" name="vProducto_sucursal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>640</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="682" parent="240" name="vProductos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>970</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="683" parent="240" name="vRemisi">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>204</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="684" parent="240" name="vReporte_facturacion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>756</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="685" parent="240" name="vReporte_recibos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1412</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="686" parent="240" name="vSaldos_android">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>401</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="687" parent="240" name="vThventasTotal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>431</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="688" parent="240" name="vTventasTotal">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>383</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="689" parent="240" name="vTventasTotalSalas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>594</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="690" parent="240" name="vZonas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>292</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="691" parent="240" name="v_Pedidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>582</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="692" parent="240" name="v_productos_para_android">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1254</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="693" parent="240" name="v_productos_para_android1">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1121</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="694" parent="240" name="v_productos_para_android3">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1064</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="695" parent="240" name="v_productos_para_android_bk">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>959</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="696" parent="240" name="v_productos_para_androidbf2024">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1247</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="697" parent="240" name="vcatalogo">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>401</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="698" parent="240" name="vcobros">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>455</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="699" parent="240" name="vconsutescaladofecha">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1010</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="700" parent="240" name="vconsutseguimientofecha">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>992</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="701" parent="240" name="vcuentas_bancos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>692</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="702" parent="240" name="vdepar">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>206</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="703" parent="240" name="ventas_aniversario">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>762</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="704" parent="240" name="ventas_facturas_consultores">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>596</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="705" parent="240" name="vfacturausuario">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>367</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="706" parent="240" name="vfacturaverificac">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>500</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="707" parent="240" name="vinfo_super">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>335</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="708" parent="240" name="vinventarioAPapeleria">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>846</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="709" parent="240" name="vlist_ajuste">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>133</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="710" parent="240" name="vlista_ubica">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>153</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="711" parent="240" name="vmasvendidos">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>719</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="712" parent="240" name="vpaquetes_40">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>631</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="713" parent="240" name="vprecio_programa_f">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>1015</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="714" parent="240" name="vproductos_requisicion">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>549</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="715" parent="240" name="vprogramas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>383</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="716" parent="240" name="vpzonas_antes">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>360</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="717" parent="240" name="vreparto_reprote">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>853</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <view id="718" parent="240" name="vventan_salas">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <SourceTextLength>428</SourceTextLength>
|
|
|
+ </view>
|
|
|
+ <argument id="719" parent="287">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="720" parent="287" name="id_consultor">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="721" parent="287" name="promocion_num">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="722" parent="288">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="723" parent="288" name="p_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="724" parent="289">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="725" parent="290" name="usuarioWeb">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="726" parent="290" name="usuarioCos">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="727" parent="290" name="feh">
|
|
|
+ <DasType>varchar(19)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="728" parent="292" name="in_tipoKardex">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="729" parent="292" name="in_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="730" parent="292" name="in_fechaInicial">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="731" parent="292" name="in_fechaFinal">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="732" parent="293" name="territorio_var">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="733" parent="293" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="734" parent="293" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="735" parent="294" name="consultor_var">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="736" parent="294" name="programa_act">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="737" parent="294" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="738" parent="294" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="739" parent="295" name="programa_cod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="740" parent="295" name="sucursal_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="741" parent="296" name="programa_cod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="742" parent="296" name="sucursal_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="743" parent="297" name="sucursal_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="744" parent="298" name="sucursal_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="745" parent="298" name="programa_cod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="746" parent="299" name="producto_cod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="747" parent="299" name="sucursal_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="748" parent="299" name="programa_cod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="749" parent="300" name="territorio_var">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="750" parent="300" name="programa_act">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="751" parent="300" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="752" parent="300" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="753" parent="301" name="programa_cod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="754" parent="301" name="sucursal_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="755" parent="302" name="in_tipoKardex">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="756" parent="302" name="in_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="757" parent="302" name="in_fechaInicial">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="758" parent="302" name="in_fechaFinal">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="759" parent="303" name="in_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="760" parent="303" name="in_fechaInicial">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="761" parent="303" name="R_saldo">
|
|
|
+ <ArgumentDirection>O</ArgumentDirection>
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="762" parent="304" name="fechai">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="763" parent="304" name="fechaf">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="764" parent="304" name="tipo_factura">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="765" parent="304" name="tipo_validacion">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="766" parent="304" name="var_sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="767" parent="305" name="programa_cod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="768" parent="305" name="sucursal_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="769" parent="305" name="fact_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="770" parent="306" name="codfac">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="771" parent="306" name="serfac">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="772" parent="307" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="773" parent="309" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="774" parent="310">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="775" parent="310" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="776" parent="310" name="pagoCantidad">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="777" parent="310" name="uss">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="778" parent="311" name="faccod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="779" parent="311" name="serico">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="780" parent="311" name="dato">
|
|
|
+ <DasType>decimal(9,2 digit)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="781" parent="313" name="faccod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="782" parent="313" name="serico">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="783" parent="313" name="dato">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="784" parent="314" name="usu">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="785" parent="314" name="contra">
|
|
|
+ <DasType>varchar(70)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="786" parent="315">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="787" parent="315" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="788" parent="316">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="789" parent="316" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="790" parent="317">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="791" parent="317" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="792" parent="318">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="793" parent="318" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="794" parent="319" name="procod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="795" parent="320" name="sucursalCodigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="796" parent="320" name="progCod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="797" parent="321" name="territorio_var">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="798" parent="321" name="programa_var">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="799" parent="321" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="800" parent="321" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="801" parent="322" name="terr">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="802" parent="322" name="tipoPag">
|
|
|
+ <DasType>tinyint(4)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="803" parent="322" name="fechaIni">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="804" parent="322" name="fechaFin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="805" parent="323" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="806" parent="324">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="807" parent="324" name="tipoped">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="808" parent="324" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="809" parent="325">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="810" parent="325" name="tipoped">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="811" parent="326">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="812" parent="326" name="cod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="813" parent="327" name="codcon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="814" parent="328" name="codcon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="815" parent="329" name="precod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="816" parent="329" name="sucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="817" parent="330" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="818" parent="330" name="premioCod">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="819" parent="330" name="facCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="820" parent="331">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>bigint(20)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="821" parent="331" name="proCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="822" parent="331" name="progCod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="823" parent="331" name="anioAnt">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="824" parent="332">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(14)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="825" parent="332" name="pcod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="826" parent="332" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="827" parent="333">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="828" parent="333" name="cod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="829" parent="334">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="830" parent="334" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="831" parent="334" name="fechaIni">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="832" parent="334" name="fechaFin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="833" parent="335">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="834" parent="335" name="procod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="835" parent="335" name="progracod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="836" parent="335" name="sucucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="837" parent="336">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="838" parent="336" name="procod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="839" parent="336" name="progracod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="840" parent="336" name="sucucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="841" parent="337">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="842" parent="337" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="843" parent="337" name="fechaIni">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="844" parent="337" name="fechaFin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="845" parent="338">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="846" parent="338" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="847" parent="338" name="tipo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="848" parent="339" name="ajus">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="849" parent="339" name="sucu">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="850" parent="339" name="fechs">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="851" parent="340">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="852" parent="340" name="concod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="853" parent="340" name="abova">
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="854" parent="340" name="ban">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="855" parent="341">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="856" parent="341" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="857" parent="341" name="fechaIni">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="858" parent="341" name="fechaFin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="859" parent="342">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="860" parent="342" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="861" parent="343" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="862" parent="343" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="863" parent="343" name="tipo">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="864" parent="343" name="prod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="865" parent="344" name="proco">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="866" parent="344" name="progra">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="867" parent="345" name="codProdu">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="868" parent="345" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="869" parent="345" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="870" parent="345" name="tipo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="871" parent="346" name="codProdu">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="872" parent="346" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="873" parent="346" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="874" parent="346" name="tipo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="875" parent="347">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="876" parent="347" name="procod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="877" parent="347" name="sucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="878" parent="348">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="879" parent="348" name="procod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="880" parent="348" name="sucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="881" parent="348" name="progcod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="882" parent="349">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="883" parent="349" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="884" parent="349" name="fechaIni">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="885" parent="349" name="fechaFin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="886" parent="350">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="887" parent="350" name="proco">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="888" parent="350" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="889" parent="350" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="890" parent="351">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="891" parent="351" name="p_abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="892" parent="351" name="p_sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="893" parent="352">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="894" parent="352" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="895" parent="353" name="faccod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="896" parent="353" name="serco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="897" parent="354" name="faccod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="898" parent="354" name="serco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="899" parent="355" name="consultor">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="900" parent="355" name="factura">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="901" parent="355" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="902" parent="355" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="903" parent="355" name="documento">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="904" parent="355" name="serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="905" parent="355" name="fecha">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="906" parent="355" name="totalcd">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="907" parent="355" name="totalsd">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="908" parent="355" name="credito">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="909" parent="355" name="bazar">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="910" parent="355" name="otrodesc">
|
|
|
+ <DasType>decimal(5,2 digit)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="911" parent="355" name="reparto">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="912" parent="355" name="tabla">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="913" parent="356" name="factura">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="914" parent="356" name="codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="915" parent="356" name="perscio">
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="916" parent="356" name="serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="917" parent="357" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="918" parent="357" name="ped">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="919" parent="357" name="prodcod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="920" parent="357" name="oferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="921" parent="357" name="cant">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="922" parent="357" name="totalcd">
|
|
|
+ <DasType>decimal(10,3 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="923" parent="357" name="totalsd">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="924" parent="358" name="serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="925" parent="358" name="factura">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="926" parent="358" name="prodcod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="927" parent="358" name="oferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="928" parent="358" name="cant">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="929" parent="358" name="totalcd">
|
|
|
+ <DasType>decimal(10,3 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="930" parent="358" name="totalsd">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="931" parent="359" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="932" parent="359" name="ped">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="933" parent="359" name="ingres">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="934" parent="359" name="libera">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="935" parent="360" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="936" parent="360" name="ped">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="937" parent="360" name="ingres">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="938" parent="360" name="libera">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="939" parent="361" name="codfac">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="940" parent="361" name="sercod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="941" parent="361" name="conCod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="942" parent="361" name="suCod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="943" parent="361" name="tsd">
|
|
|
+ <DasType>double(10,2 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="944" parent="361" name="tcd">
|
|
|
+ <DasType>double(10,2 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="945" parent="361" name="otrsDes">
|
|
|
+ <DasType>double(10,2 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="946" parent="361" name="crein">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="947" parent="362" name="codfac">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="948" parent="362" name="sercod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="949" parent="363">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="950" parent="363" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="951" parent="364">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="952" parent="364" name="terco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="953" parent="365">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="954" parent="365" name="letraApellido">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="955" parent="365" name="numeroSala">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="956" parent="366" name="codcon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="957" parent="366" name="opc">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="958" parent="367" name="codcon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="959" parent="367" name="opc">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="960" parent="367" name="sucdo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="961" parent="368" name="codcon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="962" parent="369">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="963" parent="369" name="p_consultor">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="964" parent="369" name="p_fechai">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="965" parent="369" name="p_fechaf">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="966" parent="370">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="967" parent="370" name="p_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="968" parent="371">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="969" parent="371" name="p_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="970" parent="372">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(14)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="971" parent="372" name="codcon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="972" parent="373">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="973" parent="373" name="proco">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="974" parent="373" name="scu">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="975" parent="373" name="prograco">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="976" parent="373" name="tipocod">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="977" parent="374">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="978" parent="374" name="p_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="979" parent="375">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="980" parent="375" name="p_consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="981" parent="376" name="p_consultor_var">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="982" parent="376" name="p_fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="983" parent="376" name="p_fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="984" parent="376" name="p_programa_act">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="985" parent="376" name="abono_codigo">
|
|
|
+ <ArgumentDirection>O</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="986" parent="376" name="v_condesc">
|
|
|
+ <ArgumentDirection>O</ArgumentDirection>
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="987" parent="376" name="consultor_codigo">
|
|
|
+ <ArgumentDirection>O</ArgumentDirection>
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="988" parent="376" name="abono_valor">
|
|
|
+ <ArgumentDirection>O</ArgumentDirection>
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="989" parent="376" name="v_sindescuento">
|
|
|
+ <ArgumentDirection>O</ArgumentDirection>
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="990" parent="377" name="consucod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="991" parent="377" name="pronom">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="992" parent="378" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="993" parent="379">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="994" parent="379" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="995" parent="380">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="996" parent="380" name="proco">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="997" parent="380" name="terr">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="998" parent="380" name="tipoIng">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="999" parent="380" name="condes">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1000" parent="381" name="codOff">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1001" parent="381" name="histor">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1002" parent="382">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(5)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1003" parent="383" name="sucuco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1004" parent="383" name="promaco">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1005" parent="384" name="sucuco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1006" parent="384" name="promaco">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1007" parent="384" name="pronom">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1008" parent="385" name="sucuco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1009" parent="385" name="promaco">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1010" parent="385" name="procod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1011" parent="386" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1012" parent="386" name="repar">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1013" parent="386" name="sucu">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1014" parent="387" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1015" parent="387" name="repar">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1016" parent="387" name="sucu">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1017" parent="388" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1018" parent="388" name="repar">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1019" parent="388" name="sucu">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1020" parent="389" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1021" parent="389" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1022" parent="390" name="pcod">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1023" parent="390" name="tipe">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1024" parent="390" name="progcod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1025" parent="391" name="pcod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1026" parent="391" name="ofe">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1027" parent="391" name="progcod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1028" parent="392" name="oferCod">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1029" parent="392" name="progcod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1030" parent="393" name="succod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1031" parent="393" name="procod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1032" parent="393" name="tama">
|
|
|
+ <DasType>int(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1033" parent="394" name="succod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1034" parent="394" name="procod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1035" parent="394" name="tama">
|
|
|
+ <DasType>int(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1036" parent="395" name="ini">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1037" parent="395" name="fin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1038" parent="395" name="ser">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1039" parent="396">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1040" parent="396" name="concod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1041" parent="397">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1042" parent="397" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1043" parent="398">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double(3,2 digit)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1044" parent="398" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1045" parent="398" name="programs">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1046" parent="398" name="hfas">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1047" parent="399" name="tp">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1048" parent="399" name="codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1049" parent="399" name="cliente">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1050" parent="399" name="fec">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1051" parent="399" name="valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1052" parent="399" name="Refe">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1053" parent="399" name="fecv">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1054" parent="399" name="bank">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1055" parent="399" name="ak">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1056" parent="400" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1057" parent="401" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1058" parent="402" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1059" parent="403" name="codcon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1060" parent="403" name="fechaIni">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1061" parent="403" name="fechaFin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1062" parent="403" name="progCod">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1063" parent="404" name="consultor_var">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1064" parent="404" name="programa_act">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1065" parent="404" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1066" parent="404" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1067" parent="405" name="consultor_var">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1068" parent="405" name="programa_act">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1069" parent="405" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1070" parent="405" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1071" parent="406" name="consultor_var">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1072" parent="406" name="programa_act">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1073" parent="406" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1074" parent="406" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1075" parent="407" name="depcod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1076" parent="407" name="produc">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1077" parent="407" name="canpro">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1078" parent="407" name="tipoOper">
|
|
|
+ <DasType>tinyint(4)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1079" parent="408" name="pronom">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1080" parent="409" name="procodigopp">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1081" parent="410">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1082" parent="410" name="serc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1083" parent="411" name="suc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1084" parent="411" name="abo">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1085" parent="412">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1086" parent="412" name="concod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1087" parent="412" name="fechi">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1088" parent="412" name="fecho">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1089" parent="412" name="progra">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1090" parent="413" name="prodcod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1091" parent="413" name="ofercod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1092" parent="413" name="sucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1093" parent="413" name="catipro">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1094" parent="414">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1095" parent="414" name="concod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1096" parent="415">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(5)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1097" parent="416">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1098" parent="416" name="ajus">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1099" parent="417">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1100" parent="417" name="sucCod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1101" parent="417" name="tipDoc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1102" parent="417" name="serFac">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1103" parent="418">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1104" parent="418" name="sucCod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1105" parent="418" name="tipDoc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1106" parent="418" name="serFac">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1107" parent="419">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1108" parent="419" name="sucCod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1109" parent="419" name="tipDoc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1110" parent="419" name="serFac">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1111" parent="420">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1112" parent="420" name="terrs">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1113" parent="421">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1114" parent="421" name="sucCod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1115" parent="421" name="tipDoc">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1116" parent="422" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1117" parent="422" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1118" parent="423" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1119" parent="423" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1120" parent="423" name="premios">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1121" parent="424" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1122" parent="424" name="premios">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1123" parent="425" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1124" parent="425" name="premios">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1125" parent="426" name="prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1126" parent="426" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1127" parent="427">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1128" parent="427" name="consuco">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1129" parent="428">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1130" parent="428" name="consuco">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1131" parent="429">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1132" parent="429" name="consuco">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1133" parent="430" name="arco">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1134" parent="430" name="sucs">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1135" parent="431">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1136" parent="431" name="concod">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1137" parent="431" name="abova">
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1138" parent="431" name="ban">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1139" parent="432">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1140" parent="432" name="codCon">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1141" parent="433">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1142" parent="433" name="p_consultor">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1143" parent="433" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1144" parent="434" name="consultor_var">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1145" parent="434" name="territorio_cod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1146" parent="434" name="programa_act">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1147" parent="434" name="fecini">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1148" parent="434" name="fecfin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1149" parent="435">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(4)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1150" parent="435" name="prodcod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1151" parent="435" name="ofercod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1152" parent="435" name="sucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1153" parent="435" name="catipro">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1154" parent="436">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(4)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1155" parent="436" name="precod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1156" parent="436" name="sucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1157" parent="437">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>tinyint(4)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1158" parent="437" name="precod">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1159" parent="437" name="sucod">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1160" parent="438" name="arco">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1161" parent="438" name="sucs">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1162" parent="439">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1163" parent="440">
|
|
|
+ <ArgumentDirection>R</ArgumentDirection>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ </argument>
|
|
|
+ <argument id="1164" parent="440" name="producto">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </argument>
|
|
|
+ <argument id="1165" parent="440" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </argument>
|
|
|
+ <column id="1166" parent="441" name="tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1167" parent="441" name="cabono">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1168" parent="441" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1169" parent="441" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1170" parent="441" name="monto">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1171" parent="441" name="fecha_pago">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1172" parent="441" name="banco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1173" parent="441" name="verificado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1174" parent="441" name="numero_recibo">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1175" parent="441" name="comentarios">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1176" parent="441" name="usuario_ingresa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1177" parent="441" name="usuario_aplica">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1178" parent="441" name="anulado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1179" parent="441" name="aplicado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1180" parent="441" name="impreso">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1181" parent="441" name="PRIMARY">
|
|
|
+ <ColNames>tipo
|
|
|
+cabono</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1182" parent="441" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1183" parent="442" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1184" parent="442" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1185" parent="442" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1186" parent="442" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1187" parent="442" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1188" parent="442" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1189" parent="442" name="abono_comentario">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1190" parent="442" name="abono_fecha_valor">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1191" parent="442" name="abono_inventario">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1192" parent="442" name="abono_anulado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1193" parent="442" name="abono_saldo_anterior">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1194" parent="442" name="banco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1195" parent="442" name="abono_envio">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1196" parent="442" name="fk_abonos_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1197" parent="442" name="fk_abonos_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <RefColNames>sucursal_codigo</RefColNames>
|
|
|
+ <RefTableName>sucursales</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1198" parent="442" name="PRIMARY">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+abono_tipo
|
|
|
+abono_anulado</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1199" parent="442" name="fk_abonos_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1200" parent="442" name="fk_abonos_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1201" parent="442" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1202" parent="443" name="idcorrelativo">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1203" parent="443" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1204" parent="443" name="monto">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1205" parent="443" name="fechapago">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1206" parent="443" name="numero_recibo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1207" parent="443" name="serie_abono">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1208" parent="443" name="usuario">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1209" parent="443" name="anulado">
|
|
|
+ <DasType>tinyint(3) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1210" parent="443" name="aplicado">
|
|
|
+ <DasType>tinyint(3) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1211" parent="443" name="PRIMARY">
|
|
|
+ <ColNames>idcorrelativo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1212" parent="443" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1213" parent="444" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1214" parent="444" name="venta_sin_descuento">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1215" parent="444" name="promocion_1">
|
|
|
+ <DasType>decimal(5,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1216" parent="444" name="promocion_2">
|
|
|
+ <DasType>decimal(5,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1217" parent="444" name="rangoi">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1218" parent="444" name="rangof">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1219" parent="444" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+rangoi
|
|
|
+rangof</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1220" parent="444" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1221" parent="445" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1222" parent="445" name="nombre_consultor">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1223" parent="445" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1224" parent="445" name="venta_programa_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1225" parent="445" name="venta_programa_total_con_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1226" parent="445" name="dias_3">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1227" parent="445" name="promocion_1">
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1228" parent="445" name="promocion_2">
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1229" parent="445" name="premio_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1230" parent="445" name="premio_nombre">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1231" parent="445" name="rangoi">
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1232" parent="445" name="rangof">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1233" parent="445" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1234" parent="445" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1235" parent="446" name="ajuste_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1236" parent="446" name="ajuste_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1237" parent="446" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1238" parent="446" name="ajuste_observacion">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1239" parent="446" name="ajuste_inventario">
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1240" parent="446" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1241" parent="446" name="ajuste_envio">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1242" parent="446" name="fk_ajuste_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <RefColNames>sucursal_codigo</RefColNames>
|
|
|
+ <RefTableName>sucursales</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1243" parent="446" name="PRIMARY">
|
|
|
+ <ColNames>ajuste_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1244" parent="446" name="AJUSTE">
|
|
|
+ <ColNames>ajuste_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1245" parent="446" name="fk_ajuste_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1246" parent="446" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1247" parent="447" name="ajuste_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1248" parent="447" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1249" parent="447" name="observacion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1250" parent="447" name="usuario">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1251" parent="447" name="autorizado">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1252" parent="447" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1253" parent="447" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1254" parent="447" name="PRIMARY">
|
|
|
+ <ColNames>ajuste_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1255" parent="447" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1256" parent="448" name="articulo_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1257" parent="448" name="articulo_nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1258" parent="448" name="articulo_detalle">
|
|
|
+ <DasType>varchar(250)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1259" parent="448" name="articulo_precio_venta">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1260" parent="448" name="articulo_precio_compra">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1261" parent="448" name="articulo_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1262" parent="448" name="articulo_muestra">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1263" parent="448" name="PRIMARY">
|
|
|
+ <ColNames>articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1264" parent="448" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1265" parent="449" name="codigo_papeleria">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1266" parent="449" name="descripcion_papeleria">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1267" parent="449" name="marca">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1268" parent="449" name="clasificacion">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1269" parent="449" name="fk_articulo_papeleria_clasificacion1">
|
|
|
+ <ColNames>clasificacion</ColNames>
|
|
|
+ <RefColNames>codigo_clasificacion</RefColNames>
|
|
|
+ <RefTableName>clasificacion</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1270" parent="449" name="PRIMARY">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1271" parent="449" name="papeleria">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1272" parent="449" name="fk_articulo_papeleria_clasificacion1">
|
|
|
+ <ColNames>clasificacion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1273" parent="449" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1274" parent="450" name="articulo_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1275" parent="450" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1276" parent="450" name="articulo_existencia_fisica">
|
|
|
+ <DasType>decimal(12)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1277" parent="450" name="articulo_existencia_actual">
|
|
|
+ <DasType>decimal(12)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1278" parent="450" name="articulo_existencia_anterior">
|
|
|
+ <DasType>decimal(12)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1279" parent="450" name="fk_articulo_sala_articulo1">
|
|
|
+ <ColNames>articulo_codigo</ColNames>
|
|
|
+ <RefColNames>articulo_codigo</RefColNames>
|
|
|
+ <RefTableName>articulo</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1280" parent="450" name="PRIMARY">
|
|
|
+ <ColNames>sucursal_codigo
|
|
|
+articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1281" parent="450" name="fk_articulo_sala_articulo1">
|
|
|
+ <ColNames>articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1282" parent="450" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1283" parent="451" name="zona">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1284" parent="451" name="articulo_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1285" parent="451" name="cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1286" parent="451" name="cajas">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1287" parent="451" name="fecha">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1288" parent="451" name="observacion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1289" parent="451" name="idzone">
|
|
|
+ <AutoIncrement>2723</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1290" parent="451" name="fingreso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1291" parent="451" name="usuario_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="1292" parent="451" name="sucursal_codigo">
|
|
|
+ <DasType>int(2) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1293" parent="451" name="sin_tablet">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1294" parent="451" name="idzonetablet">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1295" parent="451" name="FK_productos_articulos_total2">
|
|
|
+ <ColNames>articulo_codigo</ColNames>
|
|
|
+ <RefColNames>articulo_codigo</RefColNames>
|
|
|
+ <RefTableName>articulo</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1296" parent="451" name="PRIMARY">
|
|
|
+ <ColNames>idzone</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1297" parent="451" name="FK_productos_zonas_total_2">
|
|
|
+ <ColNames>articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1298" parent="451" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1299" parent="452" name="codigo_banco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1300" parent="452" name="nombre_banco">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <index id="1301" parent="452" name="PRIMARY">
|
|
|
+ <ColNames>codigo_banco</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1302" parent="452" name="codigo_banco">
|
|
|
+ <ColNames>codigo_banco</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1303" parent="452" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1304" parent="453" name="error_numero">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1305" parent="453" name="mensaje">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1306" parent="453" name="linea_codigo">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1307" parent="453" name="numero_linea">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1308" parent="453" name="programa_error">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1309" parent="453" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1310" parent="453" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1311" parent="453" name="equipo">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1312" parent="453" name="fk_berror_usuario1_idx">
|
|
|
+ <ColNames>usuario_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1313" parent="453" name="fecha">
|
|
|
+ <ColNames>fecha</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <column id="1314" parent="454" name="usuario">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1315" parent="454" name="formular">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1316" parent="454" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1317" parent="454" name="equipo">
|
|
|
+ <DasType>varchar(70)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1318" parent="454" name="descripc">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1319" parent="454" name="accion">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1320" parent="454" name="fk_bitacora_usuario1">
|
|
|
+ <ColNames>usuario</ColNames>
|
|
|
+ <RefColNames>usuario_codigo</RefColNames>
|
|
|
+ <RefTableName>usuario</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1321" parent="454" name="fk_bitacora_usuario1">
|
|
|
+ <ColNames>usuario</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <column id="1322" parent="455" name="id">
|
|
|
+ <AutoIncrement>13652</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1323" parent="455" name="modulo">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1324" parent="455" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1325" parent="455" name="host">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1326" parent="455" name="descripcion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1327" parent="455" name="accion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1328" parent="455" name="usuario_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </column>
|
|
|
+ <index id="1329" parent="455" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1330" parent="455" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1331" parent="456" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1332" parent="456" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1333" parent="456" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1334" parent="456" name="cambio_territorio_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <DefaultExpression>'0000-00-00'</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1335" parent="456" name="cambio_territorio_actualizacion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1336" parent="456" name="fk_cambio_territorio_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1337" parent="456" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+cambio_territorio_fecha
|
|
|
+territorio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1338" parent="456" name="territorio">
|
|
|
+ <ColNames>territorio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1339" parent="456" name="consultor">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1340" parent="456" name="fk_cambio_territorio_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1341" parent="456" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1342" parent="457" name="codigo">
|
|
|
+ <AutoIncrement>1</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1343" parent="457" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1344" parent="457" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1345" parent="457" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1346" parent="457" name="factura">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1347" parent="457" name="serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1348" parent="457" name="nota">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1349" parent="457" name="PRIMARY">
|
|
|
+ <ColNames>codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1350" parent="457" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1351" parent="458" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1352" parent="458" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1353" parent="458" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1354" parent="458" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1355" parent="458" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1356" parent="458" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="1357" parent="458" name="cargo_fecha_factura">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1358" parent="458" name="cargo_valor">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1359" parent="458" name="cargo_pendiente">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1360" parent="458" name="cargo_publico">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1361" parent="458" name="cargo_envio_tarjeta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1362" parent="458" name="credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1363" parent="458" name="bazar">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1364" parent="458" name="otrodesc">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1365" parent="458" name="FK_cargos_2">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1366" parent="458" name="fk_cargos_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <RefColNames>sucursal_codigo</RefColNames>
|
|
|
+ <RefTableName>sucursales</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1367" parent="458" name="PRIMARY">
|
|
|
+ <ColNames>factura_codigo
|
|
|
+factura_serie
|
|
|
+documento_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1368" parent="458" name="fk_cargos_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1369" parent="458" name="fac_serie">
|
|
|
+ <ColNames>factura_codigo
|
|
|
+factura_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1370" parent="458" name="fk_cargos_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1371" parent="458" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <trigger id="1372" parent="458" name="cargos_BEFORE_INSERT">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <Events>I</Events>
|
|
|
+ <SourceTextLength>505</SourceTextLength>
|
|
|
+ <Turn>before-row</Turn>
|
|
|
+ </trigger>
|
|
|
+ <column id="1373" parent="459" name="codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1374" parent="459" name="codigo_producto">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1375" parent="459" name="numero_registro">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1376" parent="459" name="numero_folio">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1377" parent="459" name="numero_libro">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1378" parent="459" name="fecha_vencimiento">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1379" parent="459" name="fecha_extension">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1380" parent="459" name="nombre_producto">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1381" parent="459" name="registro_guatemala">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1382" parent="459" name="foto">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1383" parent="459" name="foto1">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ <CollationName>utf8_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <index id="1384" parent="459" name="PRIMARY">
|
|
|
+ <ColNames>codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1385" parent="459" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1386" parent="460" name="codigo_clasificacion">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1387" parent="460" name="descripcion_clasificacion">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1388" parent="460" name="PRIMARY">
|
|
|
+ <ColNames>codigo_clasificacion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1389" parent="460" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1390" parent="461" name="producto_clasificacion">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1391" parent="461" name="clasificacion_nombre">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1392" parent="461" name="clasificacion_inicio">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1393" parent="461" name="clasificacion_correlativo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1394" parent="461" name="clasificacion_tope">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1395" parent="461" name="PRIMARY">
|
|
|
+ <ColNames>producto_clasificacion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1396" parent="461" name="clasificacion">
|
|
|
+ <ColNames>producto_clasificacion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1397" parent="461" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1398" parent="462" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1399" parent="462" name="fecha_gestion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <DefaultExpression>'2000-01-01'</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1400" parent="462" name="resultado">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1401" parent="462" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1402" parent="462" name="observacion">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1403" parent="462" name="vpendiente">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1404" parent="462" name="abono">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1405" parent="462" name="Fechai">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1406" parent="462" name="usuario">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1407" parent="462" name="fk_cobros_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1408" parent="462" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+fecha_gestion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1409" parent="462" name="fk_cobros_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1410" parent="462" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1411" parent="463" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1412" parent="463" name="consultor_nombre">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1413" parent="463" name="hora">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1414" parent="463" name="despacho">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1415" parent="463" name="idn">
|
|
|
+ <AutoIncrement>10</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1416" parent="463" name="llamada">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1417" parent="463" name="PRIMARY">
|
|
|
+ <ColNames>idn
|
|
|
+consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1418" parent="463" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1419" parent="464" name="codigo_compra">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1420" parent="464" name="proveedor">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1421" parent="464" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1422" parent="464" name="observacion">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1423" parent="464" name="numero_factura">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1424" parent="464" name="monto_compra">
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1425" parent="464" name="PRIMARY">
|
|
|
+ <ColNames>codigo_compra</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1426" parent="464" name="COMPRA">
|
|
|
+ <ColNames>codigo_compra</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1427" parent="464" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1428" parent="465" name="compra_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1429" parent="465" name="compra_fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1430" parent="465" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1431" parent="465" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1432" parent="465" name="concepto_compra">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1433" parent="465" name="PRIMARY">
|
|
|
+ <ColNames>compra_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1434" parent="465" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1435" parent="466" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1436" parent="466" name="municipio_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1437" parent="466" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1438" parent="466" name="ubicacion_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1439" parent="466" name="doc_pendiente_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1440" parent="466" name="consultor_codigo_anterior">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1441" parent="466" name="consultor_sexo">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1442" parent="466" name="consultor_apellido1">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1443" parent="466" name="consultor_apellido2">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1444" parent="466" name="consultor_apellido_c">
|
|
|
+ <DasType>varchar(17)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1445" parent="466" name="consultor_nombre1">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1446" parent="466" name="consultor_nombre2">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1447" parent="466" name="consultor_telefono_residencia">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1448" parent="466" name="consultor_trabajo_fijo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1449" parent="466" name="consultor_profesion">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1450" parent="466" name="consultor_nacimiento">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1451" parent="466" name="consultor_direccion_nombre_ubicacion">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1452" parent="466" name="consultor_direccion_complemento_ubicacion">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1453" parent="466" name="consultor_tipo_pago">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1454" parent="466" name="consultor_tipo_limite">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1455" parent="466" name="consultor_monto_limite">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1456" parent="466" name="consultor_estado_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1457" parent="466" name="consultor_fecha_ingreso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1458" parent="466" name="consultor_estado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>24</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1459" parent="466" name="consultor_celular">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>25</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1460" parent="466" name="consultor_tipo_documento">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>26</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1461" parent="466" name="consultor_nit">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>27</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1462" parent="466" name="fecha_solicitud">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>28</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1463" parent="466" name="fecha_aprobacion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>29</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1464" parent="466" name="consultor_en_proceso">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>30</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1465" parent="466" name="consultor_listo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>31</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1466" parent="466" name="consultor_numero_documento">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>32</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1467" parent="466" name="mcard">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>33</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1468" parent="466" name="fk_consultores_depto_municipio1">
|
|
|
+ <ColNames>municipio_codigo</ColNames>
|
|
|
+ <RefColNames>depto_municipio_codigo</RefColNames>
|
|
|
+ <RefTableName>depto_municipio</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1469" parent="466" name="fk_consultores_territorios1">
|
|
|
+ <ColNames>territorio_codigo</ColNames>
|
|
|
+ <RefColNames>codigo_territorio</RefColNames>
|
|
|
+ <RefTableName>territorios</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1470" parent="466" name="fk_consultores_ubicacion1">
|
|
|
+ <ColNames>ubicacion_codigo</ColNames>
|
|
|
+ <RefColNames>ubicacion_codigo</RefColNames>
|
|
|
+ <RefTableName>ubicacion</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1471" parent="466" name="fk_consultores_doc_pendiente1">
|
|
|
+ <ColNames>doc_pendiente_codigo</ColNames>
|
|
|
+ <RefColNames>doc_pendiente_codigo</RefColNames>
|
|
|
+ <RefTableName>doc_pendiente</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1472" parent="466" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1473" parent="466" name="MUNICIPIO">
|
|
|
+ <ColNames>municipio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1474" parent="466" name="fk_consultores_depto_municipio1">
|
|
|
+ <ColNames>municipio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1475" parent="466" name="TERRITORIO">
|
|
|
+ <ColNames>territorio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1476" parent="466" name="fk_consultores_territorios1">
|
|
|
+ <ColNames>territorio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1477" parent="466" name="UBICACION">
|
|
|
+ <ColNames>ubicacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1478" parent="466" name="fk_consultores_ubicacion1">
|
|
|
+ <ColNames>ubicacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1479" parent="466" name="fk_consultores_doc_pendiente1">
|
|
|
+ <ColNames>doc_pendiente_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1480" parent="466" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1481" parent="467" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1482" parent="467" name="direccio_reparto">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1483" parent="467" name="municipio_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1484" parent="467" name="telefono_contacto">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1485" parent="467" name="latitud">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1486" parent="467" name="longitud">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1487" parent="467" name="correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1488" parent="467" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1489" parent="467" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1490" parent="468" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1491" parent="468" name="consultor_iva">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <DefaultExpression>'0'</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1492" parent="468" name="consultor_observaciones">
|
|
|
+ <DasType>varchar(250)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="1493" parent="468" name="consultor_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1494" parent="468" name="consultor_fecha_modificacion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1495" parent="468" name="consultor_tarjeta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1496" parent="468" name="consultor_reactivacion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1497" parent="468" name="consultor_masivo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1498" parent="468" name="consultor_reparto">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1499" parent="468" name="correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1500" parent="468" name="fecha_cargo">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1501" parent="468" name="giro">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1502" parent="468" name="registro">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1503" parent="468" name="dias_pago">
|
|
|
+ <DasType>decimal(6)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1504" parent="468" name="premio_entregado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1505" parent="468" name="autorizado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1506" parent="468" name="premio">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1507" parent="468" name="trebol">
|
|
|
+ <DasType>decimal(8,4 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1508" parent="468" name="mcard">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1509" parent="468" name="consultor_etiqueta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1510" parent="468" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1511" parent="468" name="tipo_reparto">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1512" parent="468" name="zona_reparto">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1513" parent="468" name="FK_consultores_datos_1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1514" parent="468" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1515" parent="468" name="index_consultor_codigo">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1516" parent="468" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1517" parent="469" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1518" parent="469" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1519" parent="469" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1520" parent="469" name="consultor_promocion_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1521" parent="469" name="consultor_promocion_con_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1522" parent="469" name="consultor_promocion_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1523" parent="469" name="numero_promocion">
|
|
|
+ <DasType>decimal(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1524" parent="469" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+factura_codigo
|
|
|
+factura_serie
|
|
|
+numero_promocion
|
|
|
+consultor_promocion_sin_descuento</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1525" parent="469" name="cons_fact">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+factura_codigo
|
|
|
+factura_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1526" parent="469" name="fk_consultorpromocion_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1527" parent="469" name="F_C_T">
|
|
|
+ <ColNames>factura_codigo
|
|
|
+consultor_codigo
|
|
|
+numero_promocion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1528" parent="469" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1529" parent="470" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1530" parent="470" name="consultor_tel_trabajo">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1531" parent="470" name="consultor_nombre_trabajo">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="1532" parent="470" name="consultor_direccion_trabajo">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1533" parent="470" name="trabajo_falta">
|
|
|
+ <DasType>decimal(2)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1534" parent="470" name="consultor_puesto">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1535" parent="470" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1536" parent="470" name="CONSULTOR">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1537" parent="470" name="fk_consultortrabajo_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1538" parent="470" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1539" parent="471" name="ID">
|
|
|
+ <AutoIncrement>47</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1540" parent="471" name="Banco">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1541" parent="471" name="Corresponsal">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1542" parent="471" name="Direccion">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1543" parent="471" name="Latitud">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1544" parent="471" name="Longitud">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1545" parent="471" name="Horario1">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1546" parent="471" name="Horario2">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1547" parent="471" name="Cuenta">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1548" parent="471" name="Departamento">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1549" parent="471" name="PRIMARY">
|
|
|
+ <ColNames>ID</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1550" parent="471" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1551" parent="472" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1552" parent="472" name="sala">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1553" parent="472" name="saldo">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1554" parent="472" name="contado">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1555" parent="472" name="efectivo">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1556" parent="472" name="bancos">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1557" parent="472" name="remesa1">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1558" parent="472" name="ncorte">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1559" parent="472" name="banco1">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1560" parent="472" name="ndoc1">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1561" parent="472" name="remesa2">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1562" parent="472" name="banco2">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1563" parent="472" name="ndoc2">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1564" parent="472" name="remesa3">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1565" parent="472" name="banco3">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1566" parent="472" name="ndoc3">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1567" parent="472" name="remesa4">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1568" parent="472" name="banco4">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1569" parent="472" name="ndoc4">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1570" parent="472" name="remesa5">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1571" parent="472" name="banco5">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1572" parent="472" name="ndoc5">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1573" parent="472" name="remesa6">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1574" parent="472" name="ndoc6">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>24</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1575" parent="472" name="banco6">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>25</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1576" parent="472" name="gastos">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>26</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1577" parent="472" name="PRIMARY">
|
|
|
+ <ColNames>fecha
|
|
|
+sala</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1578" parent="472" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1579" parent="473" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1580" parent="473" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1581" parent="473" name="percepcion">
|
|
|
+ <DasType>decimal(4,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1582" parent="473" name="serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1583" parent="473" name="monto_SIva">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1584" parent="473" name="Iva">
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1585" parent="473" name="PRIMARY">
|
|
|
+ <ColNames>factura_codigo
|
|
|
+serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1586" parent="473" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1587" parent="474" name="codigo_banco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1588" parent="474" name="correlativo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1589" parent="474" name="tipo_cuenta">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1590" parent="474" name="descripcion_cuenta">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1591" parent="474" name="numero_cuenta">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1592" parent="474" name="inicio_talonario">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1593" parent="474" name="fin_talonario">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1594" parent="474" name="numeracion_siguiente">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1595" parent="474" name="cuenta_contable">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1596" parent="474" name="PRIMARY">
|
|
|
+ <ColNames>correlativo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1597" parent="474" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1598" parent="475" name="producto_codigo">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1599" parent="475" name="dellate_prodcutos">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1600" parent="475" name="descripcion">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1601" parent="475" name="observacion">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1602" parent="475" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1603" parent="475" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1604" parent="476" name="Codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1605" parent="476" name="SerieFiscal">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1606" parent="476" name="Resolucion">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1607" parent="476" name="TipoDocumento">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1608" parent="476" name="Sala">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1609" parent="476" name="Serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1610" parent="476" name="Inicio">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1611" parent="476" name="Final">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1612" parent="476" name="Activo">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1613" parent="476" name="PRIMARY">
|
|
|
+ <ColNames>Codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1614" parent="476" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1615" parent="477" name="iddelegadosolucion">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1616" parent="477" name="descripcion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1617" parent="477" name="PRIMARY">
|
|
|
+ <ColNames>iddelegadosolucion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1618" parent="477" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1619" parent="478" name="depto_municipio_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1620" parent="478" name="depto_municipio_departamento">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1621" parent="478" name="depto_municipio_nombre">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1622" parent="478" name="PRIMARY">
|
|
|
+ <ColNames>depto_municipio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1623" parent="478" name="Municipio">
|
|
|
+ <ColNames>depto_municipio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1624" parent="478" name="Nombre">
|
|
|
+ <ColNames>depto_municipio_nombre</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1625" parent="478" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1626" parent="479" name="abono_anulado">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1627" parent="479" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1628" parent="479" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1629" parent="479" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1630" parent="479" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1631" parent="479" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1632" parent="479" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1633" parent="479" name="detalle_abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1634" parent="479" name="detalle_abono_cantidad">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1635" parent="479" name="FK_detalle_abonos_1">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+abono_tipo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>abono_codigo
|
|
|
+abono_tipo</RefColNames>
|
|
|
+ <RefTableName>abonos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1636" parent="479" name="PRIMARY">
|
|
|
+ <ColNames>abono_anulado
|
|
|
+abono_codigo
|
|
|
+abono_tipo
|
|
|
+factura_codigo
|
|
|
+factura_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1637" parent="479" name="FK_detalle_abonos_1">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+abono_tipo
|
|
|
+abono_anulado</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1638" parent="479" name="ABONO">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+abono_tipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1639" parent="479" name="fk_detalle_abonos_abonos1">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+abono_tipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1640" parent="479" name="FACTURA">
|
|
|
+ <ColNames>factura_codigo
|
|
|
+factura_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1641" parent="479" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1642" parent="480" name="ajuste_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1643" parent="480" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1644" parent="480" name="detalle_ajuste_cantidad">
|
|
|
+ <DasType>decimal(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1645" parent="480" name="detalle_ajuste_precio">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1646" parent="480" name="detalle_ajuste_tipo">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1647" parent="480" name="FK_detalle_ajuste">
|
|
|
+ <ColNames>ajuste_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>ajuste_codigo</RefColNames>
|
|
|
+ <RefTableName>ajuste</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1648" parent="480" name="PRIMARY">
|
|
|
+ <ColNames>ajuste_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1649" parent="480" name="fk_detalle_ajuste_articulo1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1650" parent="480" name="fk_detalle_ajuste_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1651" parent="480" name="producto">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1652" parent="480" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1653" parent="481" name="ajuste_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1654" parent="481" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1655" parent="481" name="cantidad">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1656" parent="481" name="PRIMARY">
|
|
|
+ <ColNames>ajuste_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1657" parent="481" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1658" parent="482" name="codigo">
|
|
|
+ <AutoIncrement>1</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1659" parent="482" name="productoE">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1660" parent="482" name="ofertaE">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1661" parent="482" name="cantidadE">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1662" parent="482" name="productoS">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1663" parent="482" name="ofertaS">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1664" parent="482" name="PRIMARY">
|
|
|
+ <ColNames>codigo
|
|
|
+productoE</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1665" parent="482" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1666" parent="483" name="cargo_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1667" parent="483" name="detalle_cargo_descripcion">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1668" parent="483" name="afecta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1669" parent="483" name="fk_detalle_cargo_cargos1">
|
|
|
+ <ColNames>cargo_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>factura_codigo</RefColNames>
|
|
|
+ <RefTableName>cargos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1670" parent="483" name="PRIMARY">
|
|
|
+ <ColNames>cargo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1671" parent="483" name="fk_detalle_cargo_cargos1">
|
|
|
+ <ColNames>cargo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1672" parent="483" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1673" parent="484" name="codigo_compra">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1674" parent="484" name="codigo_papeleria">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1675" parent="484" name="cantidad">
|
|
|
+ <DasType>decimal(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1676" parent="484" name="precio">
|
|
|
+ <DasType>decimal(10,4 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1677" parent="484" name="fk_detalle_compapeleria_compra_papeleria1">
|
|
|
+ <ColNames>codigo_compra</ColNames>
|
|
|
+ <RefColNames>codigo_compra</RefColNames>
|
|
|
+ <RefTableName>compra_papeleria</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1678" parent="484" name="fk_detalle_compapeleria_articulo_papeleria1">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <RefColNames>codigo_papeleria</RefColNames>
|
|
|
+ <RefTableName>articulo_papeleria</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1679" parent="484" name="PRIMARY">
|
|
|
+ <ColNames>codigo_compra
|
|
|
+codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1680" parent="484" name="COMPRA">
|
|
|
+ <ColNames>codigo_compra</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1681" parent="484" name="fk_detalle_compapeleria_compra_papeleria1">
|
|
|
+ <ColNames>codigo_compra</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1682" parent="484" name="fk_detalle_compapeleria_articulo_papeleria1">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1683" parent="484" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1684" parent="485" name="compra_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1685" parent="485" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1686" parent="485" name="cantidad">
|
|
|
+ <DasType>decimal(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1687" parent="485" name="compra_precio">
|
|
|
+ <DasType>decimal(10,4 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1688" parent="485" name="tipo">
|
|
|
+ <DasType>varchar(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1689" parent="485" name="detalle_envio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1690" parent="485" name="fk_detalle_compra_compras1">
|
|
|
+ <ColNames>compra_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>compra_codigo</RefColNames>
|
|
|
+ <RefTableName>compras</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1691" parent="485" name="PRIMARY">
|
|
|
+ <ColNames>compra_codigo
|
|
|
+producto_codigo
|
|
|
+tipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1692" parent="485" name="COM_PROD">
|
|
|
+ <ColNames>compra_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1693" parent="485" name="COMPRA">
|
|
|
+ <ColNames>compra_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1694" parent="485" name="fk_detalle_compra_compras1">
|
|
|
+ <ColNames>compra_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1695" parent="485" name="PRODUCTO">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1696" parent="485" name="fk_detalle_compra_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1697" parent="485" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1698" parent="486" name="cantidad">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1699" parent="486" name="compra_precio">
|
|
|
+ <DasType>decimal(38)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1700" parent="486" name="detalle_envio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1701" parent="486" name="tipo">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1702" parent="486" name="compra_codigo">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1703" parent="486" name="producto_codigo">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1704" parent="486" name="PRIMARY">
|
|
|
+ <ColNames>tipo
|
|
|
+compra_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1705" parent="486" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1706" parent="487" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1707" parent="487" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1708" parent="487" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1709" parent="487" name="detalle_factura_oferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1710" parent="487" name="detalle_factura_cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1711" parent="487" name="detalle_factura_entregado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1712" parent="487" name="detalle_factura_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1713" parent="487" name="detalle_factura_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1714" parent="487" name="PRIMARY">
|
|
|
+ <ColNames>factura_serie
|
|
|
+factura_codigo
|
|
|
+detalle_factura_oferta
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1715" parent="487" name="FAC_SERIE">
|
|
|
+ <ColNames>factura_codigo
|
|
|
+factura_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1716" parent="487" name="fk_detalle_factura_precioprograma1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1717" parent="487" name="fk_detalle_factura_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1718" parent="487" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1719" parent="488" name="nota_abo_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1720" parent="488" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1721" parent="488" name="detalle_noabo_cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1722" parent="488" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1723" parent="488" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1724" parent="488" name="detalle_noabo_total_con_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1725" parent="488" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1726" parent="488" name="fk_detalle_nota_abonos_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>producto_codigo</RefColNames>
|
|
|
+ <RefTableName>productos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1727" parent="488" name="PRIMARY">
|
|
|
+ <ColNames>nota_abo_codigo
|
|
|
+producto_codigo
|
|
|
+programa_codigo
|
|
|
+oferta_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1728" parent="488" name="NOTA_ABONO">
|
|
|
+ <ColNames>nota_abo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1729" parent="488" name="fk_detalle_nota_abonos_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1730" parent="488" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1731" parent="489" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1732" parent="489" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1733" parent="489" name="oferta_cantidad">
|
|
|
+ <DasType>decimal(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1734" parent="489" name="oferta_promocional">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1735" parent="489" name="PRIMARY">
|
|
|
+ <ColNames>oferta_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1736" parent="489" name="OFE_PRO">
|
|
|
+ <ColNames>oferta_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1737" parent="489" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1738" parent="490" name="cod_orden">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1739" parent="490" name="cantidad">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1740" parent="490" name="producto">
|
|
|
+ <DasType>varchar(2000)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1741" parent="490" name="precio">
|
|
|
+ <DasType>decimal(12,5 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1742" parent="490" name="fk_detalle_orden_compra_orden_compras1">
|
|
|
+ <ColNames>cod_orden</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>cod_orden</RefColNames>
|
|
|
+ <RefTableName>orden_compras</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1743" parent="490" name="PRIMARY">
|
|
|
+ <ColNames>cod_orden
|
|
|
+producto</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1744" parent="490" name="compra">
|
|
|
+ <ColNames>cod_orden</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1745" parent="490" name="fk_detalle_orden_compra_orden_compras1">
|
|
|
+ <ColNames>cod_orden</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1746" parent="490" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1747" parent="491" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1748" parent="491" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1749" parent="491" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1750" parent="491" name="oferta_detalle_pedido">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1751" parent="491" name="cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1752" parent="491" name="entregado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1753" parent="491" name="sin_descuentto">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1754" parent="491" name="con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1755" parent="491" name="idpedido">
|
|
|
+ <DasType>int(11) unsigned zerofill|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1756" parent="491" name="detalle_pedidos_pedidos_FK">
|
|
|
+ <ColNames>numero_pedido
|
|
|
+territorio</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>numero_pedido
|
|
|
+territorio</RefColNames>
|
|
|
+ <RefTableName>pedidos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1757" parent="491" name="PRIMARY">
|
|
|
+ <ColNames>territorio
|
|
|
+numero_pedido
|
|
|
+producto_codigo
|
|
|
+oferta_detalle_pedido</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1758" parent="491" name="detalle_pedidos_pedidos_FK">
|
|
|
+ <ColNames>numero_pedido
|
|
|
+territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1759" parent="491" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <trigger id="1760" parent="491" name="detalle_pedidos_BEFORE_INSERT">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <Events>I</Events>
|
|
|
+ <SourceTextLength>866</SourceTextLength>
|
|
|
+ <Turn>before-row</Turn>
|
|
|
+ </trigger>
|
|
|
+ <column id="1761" parent="492" name="compra_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1762" parent="492" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1763" parent="492" name="cantidad">
|
|
|
+ <DasType>decimal(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1764" parent="492" name="compra_precio">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1765" parent="492" name="tipo">
|
|
|
+ <DasType>varchar(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1766" parent="492" name="detalle_envio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1767" parent="492" name="FK_detalle_pre_compra_1">
|
|
|
+ <ColNames>compra_codigo</ColNames>
|
|
|
+ <RefColNames>compra_codigo</RefColNames>
|
|
|
+ <RefTableName>pre_compras</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1768" parent="492" name="PRIMARY">
|
|
|
+ <ColNames>compra_codigo
|
|
|
+producto_codigo
|
|
|
+tipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1769" parent="492" name="COM_PROD">
|
|
|
+ <ColNames>compra_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1770" parent="492" name="COMPRA">
|
|
|
+ <ColNames>compra_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1771" parent="492" name="PRODUCTO">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1772" parent="492" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1773" parent="493" name="premio_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1774" parent="493" name="articulo_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1775" parent="493" name="detalle_premio_cantidad">
|
|
|
+ <DasType>decimal(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1776" parent="493" name="detalle_envio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1777" parent="493" name="fk_detalle_premio_premios1">
|
|
|
+ <ColNames>premio_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>premio_codigo</RefColNames>
|
|
|
+ <RefTableName>premios</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1778" parent="493" name="PRIMARY">
|
|
|
+ <ColNames>premio_codigo
|
|
|
+articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1779" parent="493" name="PREMIO_ARTICULO">
|
|
|
+ <ColNames>premio_codigo
|
|
|
+articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1780" parent="493" name="fk_detalle_premio_premios1">
|
|
|
+ <ColNames>premio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1781" parent="493" name="fk_detalle_premio_articulo1">
|
|
|
+ <ColNames>articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1782" parent="493" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1783" parent="494" name="notare_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1784" parent="494" name="notare_cantidad">
|
|
|
+ <DasType>decimal(12)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1785" parent="494" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1786" parent="494" name="notare_tipo">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1787" parent="494" name="fk_detalle_remision_nota_remision1">
|
|
|
+ <ColNames>notare_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>notare_codigo</RefColNames>
|
|
|
+ <RefTableName>nota_remision</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1788" parent="494" name="PRIMARY">
|
|
|
+ <ColNames>notare_codigo
|
|
|
+producto_codigo
|
|
|
+notare_tipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1789" parent="494" name="NO_PRO">
|
|
|
+ <ColNames>notare_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1790" parent="494" name="fk_detalle_remision_nota_remision1">
|
|
|
+ <ColNames>notare_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1791" parent="494" name="fk_detalle_remision_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1792" parent="494" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1793" parent="495" name="codigo_requisicion">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1794" parent="495" name="cantidad">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1795" parent="495" name="codigo_papeleria">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1796" parent="495" name="fk_detalle_requision_requisicion1">
|
|
|
+ <ColNames>codigo_requisicion</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>codigo_requisicion</RefColNames>
|
|
|
+ <RefTableName>requisicion</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1797" parent="495" name="fk_detalle_requision_articulo_papeleria1">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>codigo_papeleria</RefColNames>
|
|
|
+ <RefTableName>articulo_papeleria</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1798" parent="495" name="PRIMARY">
|
|
|
+ <ColNames>codigo_requisicion
|
|
|
+codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1799" parent="495" name="CODIGO">
|
|
|
+ <ColNames>codigo_requisicion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1800" parent="495" name="fk_detalle_requision_requisicion1">
|
|
|
+ <ColNames>codigo_requisicion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1801" parent="495" name="fk_detalle_requision_articulo_papeleria1">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1802" parent="495" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1803" parent="496" name="BUSCAR">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1804" parent="496" name="CAMBIAR">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1805" parent="496" name="PRIMARY">
|
|
|
+ <ColNames>BUSCAR</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1806" parent="496" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1807" parent="497" name="id">
|
|
|
+ <AutoIncrement>16</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1808" parent="497" name="ip">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1809" parent="497" name="usuario">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1810" parent="497" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1811" parent="497" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1812" parent="498" name="doc_pendiente_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1813" parent="498" name="doc_pendiente_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1814" parent="498" name="PRIMARY">
|
|
|
+ <ColNames>doc_pendiente_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1815" parent="498" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1816" parent="499" name="numero">
|
|
|
+ <DasType>char(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1817" parent="499" name="observacion">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1818" parent="499" name="tipo">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1819" parent="499" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1820" parent="499" name="enviado_a">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1821" parent="499" name="afecta">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1822" parent="499" name="PRIMARY">
|
|
|
+ <ColNames>numero</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1823" parent="499" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1824" parent="500" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1825" parent="500" name="tabla_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1826" parent="500" name="documento_nombre">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1827" parent="500" name="documento_siguiente">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1828" parent="500" name="fk_documentos_tablas1">
|
|
|
+ <ColNames>tabla_codigo</ColNames>
|
|
|
+ <RefColNames>tabla_codigo</RefColNames>
|
|
|
+ <RefTableName>tablas</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1829" parent="500" name="PRIMARY">
|
|
|
+ <ColNames>documento_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1830" parent="500" name="DOCUMENTO">
|
|
|
+ <ColNames>documento_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1831" parent="500" name="TABLA">
|
|
|
+ <ColNames>tabla_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1832" parent="500" name="fk_documentos_tablas1">
|
|
|
+ <ColNames>tabla_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1833" parent="500" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1834" parent="501" name="codigo_consultor">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1835" parent="501" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1836" parent="501" name="premio">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1837" parent="501" name="entregado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1838" parent="501" name="autorizado">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1839" parent="501" name="FK_entrega_premios_1">
|
|
|
+ <ColNames>codigo_consultor</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1840" parent="501" name="PRIMARY">
|
|
|
+ <ColNames>codigo_consultor
|
|
|
+programa
|
|
|
+autorizado</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1841" parent="501" name="CONSULTOR">
|
|
|
+ <ColNames>codigo_consultor</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1842" parent="501" name="fk_entrega_premios_consultores1">
|
|
|
+ <ColNames>codigo_consultor</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1843" parent="501" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1844" parent="502" name="id_error">
|
|
|
+ <AutoIncrement>449788</AutoIncrement>
|
|
|
+ <DasType>int(11) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1845" parent="502" name="numero_doc">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1846" parent="502" name="montos">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1847" parent="502" name="observaciones">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1848" parent="502" name="dimension">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1849" parent="502" name="PRIMARY">
|
|
|
+ <ColNames>id_error</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1850" parent="502" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1851" parent="503" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1852" parent="503" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1853" parent="503" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1854" parent="503" name="estadistica_producto_cantidad">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1855" parent="503" name="estadistica_producto_ingreso">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1856" parent="503" name="fk_estadistica_producto_programas1">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>programa_codigo</RefColNames>
|
|
|
+ <RefTableName>programas</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1857" parent="503" name="fk_estadistica_producto_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>producto_codigo</RefColNames>
|
|
|
+ <RefTableName>productos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1858" parent="503" name="fk_estadistica_producto_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>sucursal_codigo</RefColNames>
|
|
|
+ <RefTableName>sucursales</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1859" parent="503" name="PRIMARY">
|
|
|
+ <ColNames>programa_codigo
|
|
|
+producto_codigo
|
|
|
+sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1860" parent="503" name="PROGRAMA">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1861" parent="503" name="fk_estadistica_producto_programas1">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1862" parent="503" name="PRODUCTO">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1863" parent="503" name="fk_estadistica_producto_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1864" parent="503" name="SUCURSAL">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1865" parent="503" name="fk_estadistica_producto_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1866" parent="503" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1867" parent="504" name="codigo_estado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="1868" parent="504" name="nombre_estado">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1869" parent="504" name="PRIMARY">
|
|
|
+ <ColNames>codigo_estado</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1870" parent="504" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1871" parent="505" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1872" parent="505" name="producto_nombre">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1873" parent="505" name="codigo_barra">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1874" parent="505" name="numero_etiqueta">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1875" parent="505" name="cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1876" parent="505" name="revisado">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1877" parent="505" name="fecha_vencimiento">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1878" parent="505" name="fechav">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1879" parent="505" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo
|
|
|
+codigo_barra
|
|
|
+numero_etiqueta
|
|
|
+fecha_vencimiento</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1880" parent="505" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1881" parent="506" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1882" parent="506" name="producto_nombre">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1883" parent="506" name="codigo_barra">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1884" parent="506" name="numero_etiqueta">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1885" parent="506" name="cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1886" parent="506" name="revisado">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1887" parent="506" name="fecha_vencimiento">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1888" parent="507" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1889" parent="507" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1890" parent="507" name="factura_sindescuento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1891" parent="507" name="factura_condescuento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1892" parent="507" name="factura_sindes_especial">
|
|
|
+ <DasType>double(8,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1893" parent="507" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1894" parent="507" name="fact_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1895" parent="507" name="PRIMARY">
|
|
|
+ <ColNames>factura_codigo
|
|
|
+fact_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1896" parent="507" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1897" parent="508" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1898" parent="508" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1899" parent="508" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1900" parent="508" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1901" parent="508" name="factura_anulada">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1902" parent="508" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1903" parent="508" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="1904" parent="508" name="factura_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1905" parent="508" name="factura_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1906" parent="508" name="factura_total_con_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1907" parent="508" name="factura_iva">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1908" parent="508" name="factura_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1909" parent="508" name="factura_impresa">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1910" parent="508" name="factura_reparto">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1911" parent="508" name="facturaenvio">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1912" parent="508" name="otrodesc">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1913" parent="508" name="fk_facturas_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1914" parent="508" name="fk_facturas_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <RefColNames>sucursal_codigo</RefColNames>
|
|
|
+ <RefTableName>sucursales</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1915" parent="508" name="PRIMARY">
|
|
|
+ <ColNames>factura_serie
|
|
|
+factura_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1916" parent="508" name="idx002">
|
|
|
+ <ColNames>factura_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1917" parent="508" name="idx003">
|
|
|
+ <ColNames>factura_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1918" parent="508" name="CONSULTOR">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1919" parent="508" name="fk_facturas_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1920" parent="508" name="idx004">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1921" parent="508" name="fk_facturas_sucursales1">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1922" parent="508" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <trigger id="1923" parent="508" name="facturas_BEFORE_INSERT">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <Events>I</Events>
|
|
|
+ <SourceTextLength>482</SourceTextLength>
|
|
|
+ <Turn>before-row</Turn>
|
|
|
+ </trigger>
|
|
|
+ <trigger id="1924" parent="508" name="facturas_AFTER_INSERT">
|
|
|
+ <Definer>sistemas@%</Definer>
|
|
|
+ <Events>I</Events>
|
|
|
+ <SourceTextLength>390</SourceTextLength>
|
|
|
+ </trigger>
|
|
|
+ <column id="1925" parent="509" name="id">
|
|
|
+ <AutoIncrement>513</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1926" parent="509" name="nombre">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1927" parent="509" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1928" parent="509" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1929" parent="509" name="telefono">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1930" parent="509" name="municipio">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1931" parent="509" name="direccion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1932" parent="509" name="userface">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1933" parent="509" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1934" parent="509" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1935" parent="510" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1936" parent="510" name="municipio_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1937" parent="510" name="ubicacion_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1938" parent="510" name="fiador_apellido1">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1939" parent="510" name="fiador_apellido2">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="1940" parent="510" name="fiador_apellido_c">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1941" parent="510" name="fiador_nombre1">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1942" parent="510" name="fiador_nombre_completo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1943" parent="510" name="fiador_tel_residencia">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1944" parent="510" name="fiador_profesion">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1945" parent="510" name="fiador_celular">
|
|
|
+ <DasType>varchar(11)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1946" parent="510" name="fiador_tipo_documento">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1947" parent="510" name="fiador_numero_documento">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1948" parent="510" name="fiador_nit">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1949" parent="510" name="fiador_observacion">
|
|
|
+ <DasType>varchar(250)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1950" parent="510" name="fiador_direccion_ubicacion">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1951" parent="510" name="fiador_direccion_complemento_ubicacion">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1952" parent="510" name="fiador_tel_trabajo">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1953" parent="510" name="fiador_nombre_trabajo">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1954" parent="510" name="fiador_direccion_trabajo">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1955" parent="510" name="fiador_falta">
|
|
|
+ <DasType>decimal(2)|0s</DasType>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1956" parent="510" name="fiador_puesto">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1957" parent="510" name="fiador_nombre2">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="1958" parent="510" name="fk_fiadores_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1959" parent="510" name="fk_fiadores_depto_municipio1">
|
|
|
+ <ColNames>municipio_codigo</ColNames>
|
|
|
+ <RefColNames>depto_municipio_codigo</RefColNames>
|
|
|
+ <RefTableName>depto_municipio</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="1960" parent="510" name="fk_fiadores_ubicacion1">
|
|
|
+ <ColNames>ubicacion_codigo</ColNames>
|
|
|
+ <RefColNames>ubicacion_codigo</RefColNames>
|
|
|
+ <RefTableName>ubicacion</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="1961" parent="510" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="1962" parent="510" name="fk_fiadores_consultores1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1963" parent="510" name="MUNICIPIO">
|
|
|
+ <ColNames>municipio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1964" parent="510" name="fk_fiadores_depto_municipio1">
|
|
|
+ <ColNames>municipio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1965" parent="510" name="UBICACION">
|
|
|
+ <ColNames>ubicacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="1966" parent="510" name="fk_fiadores_ubicacion1">
|
|
|
+ <ColNames>ubicacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="1967" parent="510" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1968" parent="511" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1969" parent="511" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1970" parent="511" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="1971" parent="511" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+fecha</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="1972" parent="511" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="1973" parent="512" name="cod_articulo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1974" parent="512" name="clas_treb">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1975" parent="512" name="pre_treb">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1976" parent="512" name="pre_prog">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1977" parent="512" name="ofert">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1978" parent="512" name="descuento">
|
|
|
+ <DasType>decimal(4,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1979" parent="512" name="nota_remision">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1980" parent="512" name="valor_imperia">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1981" parent="512" name="derecho">
|
|
|
+ <DasType>decimal(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1982" parent="512" name="correlativo_autorizacion_credito">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1983" parent="512" name="nota_abono">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1984" parent="512" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1985" parent="512" name="correlativo_nota_cargo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1986" parent="512" name="cambiar_territorio">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1987" parent="512" name="p0">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1988" parent="512" name="p1">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1989" parent="512" name="p2">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1990" parent="512" name="p3">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1991" parent="512" name="p4">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1992" parent="512" name="p5">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1993" parent="512" name="p6">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1994" parent="512" name="correlativo_usuario">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1995" parent="512" name="cierre">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1996" parent="512" name="limite_reparto">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>24</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1997" parent="512" name="cambio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>25</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1998" parent="512" name="impresor">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>26</Position>
|
|
|
+ </column>
|
|
|
+ <column id="1999" parent="512" name="error">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>27</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2000" parent="512" name="producto">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>28</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2001" parent="512" name="precio">
|
|
|
+ <DasType>decimal(5,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>29</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2002" parent="512" name="primer_pedido">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>30</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2003" parent="512" name="diaspremio">
|
|
|
+ <DasType>int(2) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>31</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2004" parent="512" name="documento">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>32</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2005" parent="512" name="dpm">
|
|
|
+ <DasType>int(2) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>33</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2006" parent="512" name="notare">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>34</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2007" parent="512" name="diaslider">
|
|
|
+ <DasType>int(2) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>35</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2008" parent="512" name="programa_app">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>36</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2009" parent="512" name="serie_fiscal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>37</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2010" parent="512" name="PRIMARY">
|
|
|
+ <ColNames>programa</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2011" parent="512" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2012" parent="513" name="codigousuario">
|
|
|
+ <AutoIncrement>4</AutoIncrement>
|
|
|
+ <DasType>int(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2013" parent="513" name="nombreusuario">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2014" parent="513" name="usuario">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2015" parent="513" name="clave">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2016" parent="513" name="tipo">
|
|
|
+ <DasType>enum('A', 'O', 'G', 'SC', 'V')|0e</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2017" parent="513" name="estado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2018" parent="513" name="dui">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2019" parent="513" name="fechaingreso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2020" parent="513" name="PRIMARY">
|
|
|
+ <ColNames>codigousuario</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2021" parent="513" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2022" parent="514" name="idgestioncliente">
|
|
|
+ <AutoIncrement>7</AutoIncrement>
|
|
|
+ <DasType>int(6) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2023" parent="514" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2024" parent="514" name="direccion">
|
|
|
+ <DasType>varchar(125)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2025" parent="514" name="dui">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2026" parent="514" name="telefono">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2027" parent="514" name="descripcion">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2028" parent="514" name="municipio">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2029" parent="514" name="departamento">
|
|
|
+ <DasType>varchar(16)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2030" parent="514" name="fechainiciocn">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2031" parent="514" name="tipocliente">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2032" parent="514" name="usuariofbook">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2033" parent="514" name="estadosegto">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2034" parent="514" name="dsolucion">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2035" parent="514" name="codigo_territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2036" parent="514" name="iddelegadosolucion">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2037" parent="514" name="idgestionestado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2038" parent="514" name="idgresultadopotencial">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2039" parent="514" name="fk_gestioncliente_2">
|
|
|
+ <ColNames>codigo_territorio</ColNames>
|
|
|
+ <RefColNames>codigo_territorio</RefColNames>
|
|
|
+ <RefTableName>territorios</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2040" parent="514" name="fk_gestioncliente_3">
|
|
|
+ <ColNames>iddelegadosolucion</ColNames>
|
|
|
+ <RefColNames>iddelegadosolucion</RefColNames>
|
|
|
+ <RefTableName>delegadosolucion</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2041" parent="514" name="fk_gestioncliente_4">
|
|
|
+ <ColNames>idgestionestado</ColNames>
|
|
|
+ <RefColNames>idgestionestado</RefColNames>
|
|
|
+ <RefTableName>gestionestado</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2042" parent="514" name="fk_gestioncliente_1">
|
|
|
+ <ColNames>idgresultadopotencial</ColNames>
|
|
|
+ <RefColNames>idgresultadopotencial</RefColNames>
|
|
|
+ <RefTableName>gresultadopotencial</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2043" parent="514" name="PRIMARY">
|
|
|
+ <ColNames>idgestioncliente</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2044" parent="514" name="fk_gestioncliente_2_idx">
|
|
|
+ <ColNames>codigo_territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2045" parent="514" name="fk_gestioncliente_3_idx">
|
|
|
+ <ColNames>iddelegadosolucion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2046" parent="514" name="fk_gestioncliente_4_idx">
|
|
|
+ <ColNames>idgestionestado</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2047" parent="514" name="fk_gestioncliente_1_idx">
|
|
|
+ <ColNames>idgresultadopotencial</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2048" parent="514" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2049" parent="515" name="idgestconsultor">
|
|
|
+ <AutoIncrement>31</AutoIncrement>
|
|
|
+ <DasType>int(6) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2050" parent="515" name="fechainicio">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2051" parent="515" name="descripciongc">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2052" parent="515" name="observaciones">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2053" parent="515" name="usuariogestor">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2054" parent="515" name="clasificacion">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2055" parent="515" name="estado">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2056" parent="515" name="motivoqueja">
|
|
|
+ <DasType>varchar(130)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2057" parent="515" name="fechaqueja">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2058" parent="515" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2059" parent="515" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2060" parent="515" name="idtipoges">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2061" parent="515" name="codigousuario">
|
|
|
+ <DasType>int(5)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2062" parent="515" name="fk_gestionconsultor_1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2063" parent="515" name="fk_gestionconsultor_2">
|
|
|
+ <ColNames>usuario_codigo</ColNames>
|
|
|
+ <RefColNames>usuario_codigo</RefColNames>
|
|
|
+ <RefTableName>usuario</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2064" parent="515" name="fk_gestionconsultor_4">
|
|
|
+ <ColNames>idtipoges</ColNames>
|
|
|
+ <RefColNames>idtipoges</RefColNames>
|
|
|
+ <RefTableName>tipogestion</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2065" parent="515" name="fk_gestionconsultor_3">
|
|
|
+ <ColNames>codigousuario</ColNames>
|
|
|
+ <RefColNames>codigousuario</RefColNames>
|
|
|
+ <RefTableName>gestUsuario</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2066" parent="515" name="PRIMARY">
|
|
|
+ <ColNames>idgestconsultor</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2067" parent="515" name="fk_gestionconsultor_1_idx1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2068" parent="515" name="fk_gestionconsultor_2_idx">
|
|
|
+ <ColNames>usuario_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2069" parent="515" name="fk_gestionconsultor_4_idx">
|
|
|
+ <ColNames>idtipoges</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2070" parent="515" name="fk_gestionconsultor_3_idx">
|
|
|
+ <ColNames>codigousuario</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2071" parent="515" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2072" parent="516" name="id">
|
|
|
+ <AutoIncrement>13</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2073" parent="516" name="id_cliente">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2074" parent="516" name="scontacto">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2075" parent="516" name="svisito">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2076" parent="516" name="fecha_visita">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2077" parent="516" name="comentario">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2078" parent="516" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2079" parent="516" name="resultado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2080" parent="516" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2081" parent="516" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2082" parent="517" name="idgestionestado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2083" parent="517" name="descripciones">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2084" parent="517" name="PRIMARY">
|
|
|
+ <ColNames>idgestionestado</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2085" parent="517" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2086" parent="518" name="idgestionqueja">
|
|
|
+ <AutoIncrement>1</AutoIncrement>
|
|
|
+ <DasType>int(6) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2087" parent="518" name="nombreq">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2088" parent="518" name="departamento">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2089" parent="518" name="puestoempresa">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2090" parent="518" name="motivo">
|
|
|
+ <DasType>varchar(125)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2091" parent="518" name="observaciones">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2092" parent="518" name="fechainicio">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2093" parent="518" name="nombreclienteq">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2094" parent="518" name="telefonocliente">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2095" parent="518" name="seguimientoqueja">
|
|
|
+ <DasType>varchar(125)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2096" parent="518" name="fechaseguimiento">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2097" parent="518" name="descripcionsolucion">
|
|
|
+ <DasType>varchar(125)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2098" parent="518" name="fechafinal">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2099" parent="518" name="clasificacion">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2100" parent="518" name="tipoqueja">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2101" parent="518" name="estadoqueja">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2102" parent="518" name="iddelegadosolucion">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2103" parent="518" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2104" parent="518" name="fk_gestionqueja_1">
|
|
|
+ <ColNames>iddelegadosolucion</ColNames>
|
|
|
+ <RefColNames>iddelegadosolucion</RefColNames>
|
|
|
+ <RefTableName>delegadosolucion</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2105" parent="518" name="fk_gestionqueja_2">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2106" parent="518" name="PRIMARY">
|
|
|
+ <ColNames>idgestionqueja</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2107" parent="518" name="fk_gestionqueja_1_idx">
|
|
|
+ <ColNames>iddelegadosolucion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2108" parent="518" name="fk_gestionqueja_2_idx">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2109" parent="518" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2110" parent="519" name="idgeseguimiento">
|
|
|
+ <AutoIncrement>2</AutoIncrement>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2111" parent="519" name="autorizacion">
|
|
|
+ <DasType>smallint(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2112" parent="519" name="descripcionseg">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2113" parent="519" name="descripcionsegdos">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2114" parent="519" name="descripcionsolucion">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2115" parent="519" name="fechaescalado">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2116" parent="519" name="fechaproceso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2117" parent="519" name="fechaprocesodos">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2118" parent="519" name="fechasolucion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2119" parent="519" name="proceso">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2120" parent="519" name="procesoescalado">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2121" parent="519" name="respuestaescalado">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2122" parent="519" name="tiposeg">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2123" parent="519" name="idgestconsultor">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2124" parent="519" name="idgestionestado">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2125" parent="519" name="idtipo">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2126" parent="519" name="FK_gestionseguimiento_idgestionestado">
|
|
|
+ <ColNames>idgestionestado</ColNames>
|
|
|
+ <RefColNames>idgestionestado</RefColNames>
|
|
|
+ <RefTableName>gestionestado</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2127" parent="519" name="FK_gestionseguimiento_idtipo">
|
|
|
+ <ColNames>idtipo</ColNames>
|
|
|
+ <RefColNames>idtipo</RefColNames>
|
|
|
+ <RefTableName>tiporesultado</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2128" parent="519" name="PRIMARY">
|
|
|
+ <ColNames>idgeseguimiento</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2129" parent="519" name="FK_gestionseguimiento_idgestionestado">
|
|
|
+ <ColNames>idgestionestado</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2130" parent="519" name="FK_gestionseguimiento_idtipo">
|
|
|
+ <ColNames>idtipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2131" parent="519" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2132" parent="520" name="codigomenu">
|
|
|
+ <DasType>tinyint(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2133" parent="520" name="nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2134" parent="520" name="tipo">
|
|
|
+ <DasType>enum('S', 'I')|0e</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2135" parent="520" name="tipoUsuario">
|
|
|
+ <DasType>enum('A', 'O', 'SC', 'V')|0e</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2136" parent="520" name="codigosubmenu">
|
|
|
+ <DasType>tinyint(4)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2137" parent="520" name="estado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2138" parent="520" name="url">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2139" parent="520" name="fk_gestmenu_1">
|
|
|
+ <ColNames>codigosubmenu</ColNames>
|
|
|
+ <RefColNames>codigomenu</RefColNames>
|
|
|
+ <RefTableName>gestmenu</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2140" parent="520" name="PRIMARY">
|
|
|
+ <ColNames>codigomenu</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2141" parent="520" name="fk_gestmenu_1_idx">
|
|
|
+ <ColNames>codigosubmenu</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2142" parent="520" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2143" parent="521" name="idgpotencialseg">
|
|
|
+ <AutoIncrement>5</AutoIncrement>
|
|
|
+ <DasType>int(6) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2144" parent="521" name="comentarioseguimiento">
|
|
|
+ <DasType>varchar(110)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2145" parent="521" name="fechaseguimiento">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2146" parent="521" name="cseguimientodos">
|
|
|
+ <DasType>varchar(110)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2147" parent="521" name="fechasegdos">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2148" parent="521" name="detalleseguimientodos">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2149" parent="521" name="solucionseguimiento">
|
|
|
+ <DasType>varchar(110)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2150" parent="521" name="fechafinal">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2151" parent="521" name="idgestioncliente">
|
|
|
+ <DasType>int(6) unsigned zerofill|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2152" parent="521" name="idgresultadopotencial">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2153" parent="521" name="fk_gpotencialseguimiento_2">
|
|
|
+ <ColNames>idgestioncliente</ColNames>
|
|
|
+ <RefColNames>idgestioncliente</RefColNames>
|
|
|
+ <RefTableName>gestioncliente</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2154" parent="521" name="fk_gpotencialseguimiento_1">
|
|
|
+ <ColNames>idgresultadopotencial</ColNames>
|
|
|
+ <RefColNames>idgresultadopotencial</RefColNames>
|
|
|
+ <RefTableName>gresultadopotencial</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2155" parent="521" name="PRIMARY">
|
|
|
+ <ColNames>idgpotencialseg</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2156" parent="521" name="fk_gpotencialseguimiento_1_idx">
|
|
|
+ <ColNames>idgestioncliente</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2157" parent="521" name="fk_gpotencialseguimiento_1_idx1">
|
|
|
+ <ColNames>idgresultadopotencial</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2158" parent="521" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2159" parent="522" name="idgresultadopotencial">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2160" parent="522" name="descripcion">
|
|
|
+ <DasType>varchar(35)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2161" parent="522" name="PRIMARY">
|
|
|
+ <ColNames>idgresultadopotencial</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2162" parent="522" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2163" parent="523" name="usuario">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2164" parent="523" name="formular">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2165" parent="523" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2166" parent="523" name="equipo">
|
|
|
+ <DasType>varchar(70)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2167" parent="523" name="descripc">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2168" parent="523" name="accion">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2169" parent="524" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2170" parent="524" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2171" parent="524" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2172" parent="524" name="detalle_factura_oferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2173" parent="524" name="detalle_factura_cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2174" parent="524" name="detalle_factura_entregado">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2175" parent="524" name="detalle_factura_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2176" parent="524" name="detalle_factura_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2177" parent="524" name="PRIMARY">
|
|
|
+ <ColNames>factura_serie
|
|
|
+factura_codigo
|
|
|
+producto_codigo
|
|
|
+detalle_factura_oferta</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2178" parent="524" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2179" parent="525" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2180" parent="525" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2181" parent="525" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2182" parent="525" name="oferta_detalle_pedido">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2183" parent="525" name="cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2184" parent="525" name="entregado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2185" parent="525" name="sin_descuentto">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2186" parent="525" name="con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2187" parent="525" name="idpedidos">
|
|
|
+ <DasType>int(11) unsigned|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2188" parent="525" name="hdetalle_pedidos_pedidos_FK">
|
|
|
+ <ColNames>numero_pedido
|
|
|
+territorio</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>numero_pedido
|
|
|
+territorio</RefColNames>
|
|
|
+ <RefTableName>hpedidos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2189" parent="525" name="PRIMARY">
|
|
|
+ <ColNames>territorio
|
|
|
+numero_pedido
|
|
|
+producto_codigo
|
|
|
+oferta_detalle_pedido</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2190" parent="525" name="hdetalle_pedidos_pedidos_FK">
|
|
|
+ <ColNames>numero_pedido
|
|
|
+territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2191" parent="525" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2192" parent="526" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2193" parent="526" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2194" parent="526" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2195" parent="526" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2196" parent="526" name="factura_anulada">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2197" parent="526" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2198" parent="526" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2199" parent="526" name="factura_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2200" parent="526" name="factura_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2201" parent="526" name="factura_total_con_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2202" parent="526" name="factura_iva">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2203" parent="526" name="factura_credito">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2204" parent="526" name="factura_impresa">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2205" parent="526" name="factura_reparto">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2206" parent="526" name="facturaenvio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2207" parent="526" name="otrodesc">
|
|
|
+ <DasType>decimal(5,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2208" parent="526" name="PRIMARY">
|
|
|
+ <ColNames>factura_serie
|
|
|
+factura_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2209" parent="526" name="idx002">
|
|
|
+ <ColNames>factura_serie</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2210" parent="526" name="idx003">
|
|
|
+ <ColNames>factura_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2211" parent="526" name="idx001">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2212" parent="526" name="idx004">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2213" parent="526" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2214" parent="527" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2215" parent="527" name="Existencia">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2216" parent="527" name="Venta">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2217" parent="527" name="Annio">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2218" parent="527" name="Programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2219" parent="527" name="Precio">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2220" parent="527" name="Compra">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2221" parent="527" name="Costo">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2222" parent="527" name="Fechac">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2223" parent="527" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2224" parent="527" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2225" parent="528" name="partidanum">
|
|
|
+ <DasType>char(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2226" parent="528" name="fechaparti">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2227" parent="528" name="debeparti">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2228" parent="528" name="haberparti">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2229" parent="528" name="concepto">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2230" parent="528" name="fechadigi">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2231" parent="528" name="fechamodi">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2232" parent="528" name="programa">
|
|
|
+ <DasType>char(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2233" parent="528" name="PRIMARY">
|
|
|
+ <ColNames>partidanum</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2234" parent="528" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2235" parent="529" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2236" parent="529" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2237" parent="529" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2238" parent="529" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2239" parent="529" name="pedido_anulado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2240" parent="529" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2241" parent="529" name="pedido_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2242" parent="529" name="factura_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2243" parent="529" name="factura_total_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2244" parent="529" name="pedido_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2245" parent="529" name="pedido_reparto">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2246" parent="529" name="pedido_correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2247" parent="529" name="usuario_pedido">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2248" parent="529" name="observaciones">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2249" parent="529" name="observaciones_reparto">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2250" parent="529" name="tipo_pedido">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2251" parent="529" name="fecha_hora_retira">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2252" parent="529" name="tipo_reparto">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2253" parent="529" name="idpedidos">
|
|
|
+ <DasType>int(11) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2254" parent="529" name="fk_hpedidos_1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2255" parent="529" name="PRIMARY">
|
|
|
+ <ColNames>numero_pedido
|
|
|
+territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2256" parent="529" name="fk_hpedidos_1_idx">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2257" parent="529" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2258" parent="530" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2259" parent="530" name="producto_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2260" parent="530" name="producto_costo_promedio">
|
|
|
+ <DasType>decimal(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2261" parent="530" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2262" parent="530" name="producto_subclasificacion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2263" parent="530" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo
|
|
|
+programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2264" parent="530" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2265" parent="531" name="zona">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2266" parent="531" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2267" parent="531" name="cantidad">
|
|
|
+ <DasType>decimal(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2268" parent="531" name="cajas">
|
|
|
+ <DasType>decimal(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2269" parent="531" name="fecha">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2270" parent="531" name="observacion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2271" parent="531" name="idzone">
|
|
|
+ <AutoIncrement>1987286</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2272" parent="531" name="fingreso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2273" parent="531" name="usuario_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="2274" parent="531" name="sucursal_codigo">
|
|
|
+ <DasType>int(2) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2275" parent="531" name="sin_tablet">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2276" parent="531" name="idzonetablet">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2277" parent="531" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2278" parent="531" name="FK_hproductos_zonas_total_2">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <RefColNames>producto_codigo</RefColNames>
|
|
|
+ <RefTableName>productos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2279" parent="531" name="PRIMARY">
|
|
|
+ <ColNames>idzone</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2280" parent="531" name="FK_hproductos_zonas_total_2">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2281" parent="531" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2282" parent="532" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2283" parent="532" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2284" parent="532" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2285" parent="532" name="producto_sucursal_existencia_anterior">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2286" parent="532" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2287" parent="532" name="producto_sucursal_fisica">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2288" parent="532" name="existencia_tricoder">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2289" parent="532" name="PRIMARY">
|
|
|
+ <ColNames>programa_codigo
|
|
|
+sucursal_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2290" parent="532" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2291" parent="533" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2292" parent="533" name="imagen">
|
|
|
+ <DasType>longblob|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2293" parent="533" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2294" parent="533" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2295" parent="534" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2296" parent="534" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2297" parent="534" name="dias_pago">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2298" parent="534" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2299" parent="534" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2300" parent="535" name="id">
|
|
|
+ <AutoIncrement>1</AutoIncrement>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2301" parent="535" name="nombre">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2302" parent="535" name="apellido">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2303" parent="535" name="numero_dui">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2304" parent="535" name="nit">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2305" parent="535" name="departamento">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2306" parent="535" name="visto">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2307" parent="535" name="visto_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2308" parent="535" name="gestionado">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2309" parent="535" name="gestionado_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2310" parent="535" name="observaciones">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2311" parent="535" name="gestionado_usuario">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2312" parent="535" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2313" parent="535" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2314" parent="536" name="codigo_papeleria">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2315" parent="536" name="departamento">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2316" parent="536" name="existencia_anterior">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2317" parent="536" name="existencia_actual">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2318" parent="536" name="existencia_fisica">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2319" parent="536" name="fk_inventario_papeleria_articulo_papeleria1">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>codigo_papeleria</RefColNames>
|
|
|
+ <RefTableName>articulo_papeleria</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2320" parent="536" name="PRIMARY">
|
|
|
+ <ColNames>codigo_papeleria
|
|
|
+departamento</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2321" parent="536" name="CODIGO">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2322" parent="536" name="fk_inventario_papeleria_articulo_papeleria1">
|
|
|
+ <ColNames>codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2323" parent="536" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2324" parent="537" name="articulo_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2325" parent="537" name="articulo_nombre">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2326" parent="537" name="anterior">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2327" parent="537" name="actual">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2328" parent="537" name="remision_e">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2329" parent="537" name="ajuste_e">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2330" parent="537" name="remision_s">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2331" parent="537" name="ajuste_s">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2332" parent="537" name="ventas">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2333" parent="537" name="sucursal">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2334" parent="537" name="PRIMARY">
|
|
|
+ <ColNames>articulo_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2335" parent="537" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2336" parent="538" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2337" parent="538" name="producto_nombre">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2338" parent="538" name="producto_sucursal_existencia_anterior">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2339" parent="538" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2340" parent="538" name="remision_e">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2341" parent="538" name="ajuste_e">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2342" parent="538" name="remision_s">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2343" parent="538" name="ajuste_s">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2344" parent="538" name="nota_abo">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2345" parent="538" name="ventas">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2346" parent="538" name="averias">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2347" parent="538" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2348" parent="538" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo
|
|
|
+sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2349" parent="538" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2350" parent="539" name="letras">
|
|
|
+ <DasType>char(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2351" parent="540" name="codigo_empleado">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2352" parent="540" name="fecha_hora_autentica">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2353" parent="540" name="nombre_persona">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2354" parent="540" name="fecha_autentica">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2355" parent="540" name="hora_autentica">
|
|
|
+ <DasType>time|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2356" parent="540" name="direccion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2357" parent="540" name="nombre_dispositivo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2358" parent="540" name="serie_equipo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2359" parent="540" name="tarjeta">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2360" parent="540" name="id_marcacion">
|
|
|
+ <AutoIncrement>1</AutoIncrement>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2361" parent="540" name="PRIMARY">
|
|
|
+ <ColNames>id_marcacion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2362" parent="540" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2363" parent="541" name="notare_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2364" parent="541" name="sucursal_saliente_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2365" parent="541" name="sucursal_entrante_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2366" parent="541" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2367" parent="541" name="notare_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2368" parent="541" name="notare_envio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2369" parent="541" name="observa">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <DefaultExpression>'-'</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2370" parent="541" name="fk_nota_remision_sucursales1">
|
|
|
+ <ColNames>sucursal_saliente_codigo</ColNames>
|
|
|
+ <RefColNames>sucursal_codigo</RefColNames>
|
|
|
+ <RefTableName>sucursales</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2371" parent="541" name="fk_nota_remision_sucursales2">
|
|
|
+ <ColNames>sucursal_entrante_codigo</ColNames>
|
|
|
+ <RefColNames>sucursal_codigo</RefColNames>
|
|
|
+ <RefTableName>sucursales</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2372" parent="541" name="PRIMARY">
|
|
|
+ <ColNames>notare_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2373" parent="541" name="SUCURSAL_SALIENTE">
|
|
|
+ <ColNames>sucursal_saliente_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2374" parent="541" name="fk_nota_remision_sucursales1">
|
|
|
+ <ColNames>sucursal_saliente_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2375" parent="541" name="SUCURSAL_ENTRANTE">
|
|
|
+ <ColNames>sucursal_entrante_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2376" parent="541" name="fk_nota_remision_sucursales2">
|
|
|
+ <ColNames>sucursal_entrante_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2377" parent="541" name="PROGRAMA">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2378" parent="541" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2379" parent="542" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2380" parent="542" name="oferta_descripcion">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2381" parent="542" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2382" parent="542" name="oferta_llave">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2383" parent="542" name="oferta_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2384" parent="542" name="PRIMARY">
|
|
|
+ <ColNames>oferta_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2385" parent="542" name="programa">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2386" parent="542" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2387" parent="543" name="opcion_nombre">
|
|
|
+ <DasType>varchar(35)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2388" parent="543" name="opcion_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2389" parent="543" name="PRIMARY">
|
|
|
+ <ColNames>opcion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2390" parent="543" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2391" parent="544" name="cod_orden">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2392" parent="544" name="fecha_orden">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2393" parent="544" name="proveedor">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2394" parent="544" name="solicitante">
|
|
|
+ <DasType>varchar(35)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2395" parent="544" name="forma_pago">
|
|
|
+ <Comment>T para credito y F para contado</Comment>
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2396" parent="544" name="observacion">
|
|
|
+ <DasType>varchar(250)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2397" parent="544" name="sub_total">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2398" parent="544" name="total">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2399" parent="544" name="credito_fiscal">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2400" parent="544" name="direccion">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2401" parent="544" name="telefono">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2402" parent="544" name="tel_fax">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2403" parent="544" name="contacto">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2404" parent="544" name="iva">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2405" parent="544" name="anulada">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2406" parent="544" name="PRIMARY">
|
|
|
+ <ColNames>cod_orden</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2407" parent="544" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2408" parent="545" name="Id">
|
|
|
+ <AutoIncrement>12</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2409" parent="545" name="Codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2410" parent="545" name="Nombre">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2411" parent="545" name="Tipo">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2412" parent="545" name="Fecha">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2413" parent="545" name="TipoC">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2414" parent="545" name="Observacion">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2415" parent="545" name="PRIMARY">
|
|
|
+ <ColNames>Id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2416" parent="545" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2417" parent="546" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2418" parent="546" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2419" parent="546" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2420" parent="546" name="pago_extra_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2421" parent="546" name="pago_extra_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2422" parent="546" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2423" parent="546" name="fk_pago_extra_abonos1">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+abono_tipo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>abono_codigo
|
|
|
+abono_tipo</RefColNames>
|
|
|
+ <RefTableName>abonos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2424" parent="546" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo
|
|
|
+abono_codigo
|
|
|
+abono_tipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2425" parent="546" name="Abo_Con">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2426" parent="546" name="Abo_Tipo">
|
|
|
+ <ColNames>abono_codigo
|
|
|
+abono_tipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2427" parent="546" name="fk_pago_extra_abonos1">
|
|
|
+ <ColNames>abono_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2428" parent="546" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2429" parent="547" name="codigo_oferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2430" parent="547" name="porcion_promocion">
|
|
|
+ <DasType>decimal(6,4 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2431" parent="547" name="fk_paquetes_ofertas1">
|
|
|
+ <ColNames>codigo_oferta</ColNames>
|
|
|
+ <RefColNames>oferta_codigo</RefColNames>
|
|
|
+ <RefTableName>ofertas</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2432" parent="547" name="PRIMARY">
|
|
|
+ <ColNames>codigo_oferta</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2433" parent="547" name="fk_paquetes_ofertas1">
|
|
|
+ <ColNames>codigo_oferta</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2434" parent="547" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2435" parent="548" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2436" parent="548" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2437" parent="548" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2438" parent="548" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2439" parent="548" name="pedido_anulado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2440" parent="548" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2441" parent="548" name="pedido_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2442" parent="548" name="factura_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2443" parent="548" name="factura_total_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2444" parent="548" name="pedido_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2445" parent="548" name="pedido_reparto">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2446" parent="548" name="pedido_correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2447" parent="548" name="usuario_pedido">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2448" parent="548" name="observaciones">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2449" parent="548" name="observaciones_reparto">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2450" parent="548" name="tipo_pedido">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2451" parent="548" name="fecha_hora_retira">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2452" parent="548" name="tipo_reparto">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2453" parent="548" name="idpedidos">
|
|
|
+ <AutoIncrement>454157</AutoIncrement>
|
|
|
+ <DasType>int(11) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2454" parent="548" name="fk_pedidos_1">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>consultor_codigo</RefColNames>
|
|
|
+ <RefTableName>consultores</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2455" parent="548" name="PRIMARY">
|
|
|
+ <ColNames>numero_pedido
|
|
|
+territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2456" parent="548" name="idpedidos_UNIQUE">
|
|
|
+ <ColNames>idpedidos</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2457" parent="548" name="fk_pedidos_1_idx">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2458" parent="548" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <key id="2459" parent="548" name="idpedidos_UNIQUE">
|
|
|
+ <UnderlyingIndexName>idpedidos_UNIQUE</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2460" parent="549" name="opcion_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2461" parent="549" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2462" parent="549" name="permiso_usuario">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2463" parent="549" name="nivel_usuario">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <DefaultExpression>'0'</DefaultExpression>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2464" parent="549" name="fk_permisos_opcion_menu1">
|
|
|
+ <ColNames>opcion_codigo</ColNames>
|
|
|
+ <RefColNames>opcion_codigo</RefColNames>
|
|
|
+ <RefTableName>opcion_menu</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2465" parent="549" name="fk_permisos_usuario1">
|
|
|
+ <ColNames>usuario_codigo</ColNames>
|
|
|
+ <RefColNames>usuario_codigo</RefColNames>
|
|
|
+ <RefTableName>usuario</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2466" parent="549" name="PRIMARY">
|
|
|
+ <ColNames>opcion_codigo
|
|
|
+usuario_codigo
|
|
|
+permiso_usuario</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2467" parent="549" name="fk_permisos_opcion_menu1">
|
|
|
+ <ColNames>opcion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2468" parent="549" name="Usua_opc">
|
|
|
+ <ColNames>usuario_codigo
|
|
|
+opcion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2469" parent="549" name="fk_permisos_usuario1">
|
|
|
+ <ColNames>usuario_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2470" parent="549" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2471" parent="550" name="compra_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2472" parent="550" name="compra_fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2473" parent="550" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2474" parent="550" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2475" parent="550" name="concepto_compra">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2476" parent="550" name="PRIMARY">
|
|
|
+ <ColNames>compra_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2477" parent="550" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2478" parent="551" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2479" parent="551" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2480" parent="551" name="precio_programa_oferta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2481" parent="551" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2482" parent="551" name="precio_programa_doble_promocion">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2483" parent="551" name="precio_programa_catalogo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2484" parent="551" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2485" parent="551" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2486" parent="551" name="detalle_envio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2487" parent="551" name="numero_promocion">
|
|
|
+ <DasType>decimal(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2488" parent="551" name="tipo_oferta">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2489" parent="551" name="foferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <DefaultExpression>'" "'</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2490" parent="551" name="fk_precioprograma_programas1">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <RefColNames>programa_codigo</RefColNames>
|
|
|
+ <RefTableName>programas</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2491" parent="551" name="fk_precioprograma_detalle_oferta1">
|
|
|
+ <ColNames>oferta_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>oferta_codigo</RefColNames>
|
|
|
+ <RefTableName>ofertas</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2492" parent="551" name="PRIMARY">
|
|
|
+ <ColNames>programa_codigo
|
|
|
+producto_codigo
|
|
|
+oferta_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2493" parent="551" name="Pro_pro_of">
|
|
|
+ <ColNames>programa_codigo
|
|
|
+producto_codigo
|
|
|
+oferta_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2494" parent="551" name="Programa">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2495" parent="551" name="fk_precioprograma_programas1">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2496" parent="551" name="fk_precioprograma_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2497" parent="551" name="fk_precioprograma_detalle_oferta1">
|
|
|
+ <ColNames>oferta_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2498" parent="551" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2499" parent="552" name="premio_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2500" parent="552" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2501" parent="552" name="premio_nombre">
|
|
|
+ <DasType>varchar(35)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2502" parent="552" name="premio_rango_inicio">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2503" parent="552" name="premio_rango_final">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2504" parent="552" name="premio_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2505" parent="552" name="PRIMARY">
|
|
|
+ <ColNames>premio_codigo
|
|
|
+programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2506" parent="552" name="Premio_nom">
|
|
|
+ <ColNames>premio_codigo
|
|
|
+premio_nombre</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2507" parent="552" name="PREMIO">
|
|
|
+ <ColNames>premio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2508" parent="552" name="Programa">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2509" parent="552" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2510" parent="553" name="id">
|
|
|
+ <AutoIncrement>453496</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2511" parent="553" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2512" parent="553" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2513" parent="553" name="ingreso_pedido">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2514" parent="553" name="aprobado">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2515" parent="553" name="tiempo_aprobado">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2516" parent="553" name="lee_pedido">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2517" parent="553" name="lee_pedido_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2518" parent="553" name="fin_sacado">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2519" parent="553" name="fin_sacado_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2520" parent="553" name="inicio_facturacion">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2521" parent="553" name="inicio_facturacion_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2522" parent="553" name="despachado">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2523" parent="553" name="despachado_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2524" parent="553" name="observacion">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2525" parent="553" name="anulado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2526" parent="553" name="numeracion_diaria">
|
|
|
+ <DasType>int(4)|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2527" parent="553" name="usuario_aprueba_ped">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2528" parent="553" name="liberado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2529" parent="553" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2530" parent="553" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2531" parent="554" name="produto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2532" parent="554" name="cantidad">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2533" parent="554" name="sucrusal">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2534" parent="554" name="PRIMARY">
|
|
|
+ <ColNames>produto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2535" parent="554" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2536" parent="555" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2537" parent="555" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2538" parent="555" name="activo">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2539" parent="555" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo
|
|
|
+programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2540" parent="555" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2541" parent="556" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2542" parent="556" name="producto_subclasificacion">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2543" parent="556" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2544" parent="556" name="producto_costo_promedio">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2545" parent="556" name="producto_ultima_compra">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2546" parent="556" name="producto_precio_regular">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2547" parent="556" name="producto_marca">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2548" parent="556" name="producto_codigo_anterior">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2549" parent="556" name="code1">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2550" parent="556" name="producto_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2551" parent="556" name="discontinuado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2552" parent="556" name="existencia_minima">
|
|
|
+ <DasType>decimal(6)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2553" parent="556" name="codigo_barra">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2554" parent="556" name="medida">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2555" parent="556" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2556" parent="556" name="fk_productos_sub_clasifi_prod1">
|
|
|
+ <ColNames>producto_subclasificacion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2557" parent="556" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2558" parent="557" name="codigo_clasificacion">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2559" parent="557" name="codigo_anterior">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2560" parent="557" name="codigo_nuevo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2561" parent="557" name="sub_clasif_nueva">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2562" parent="557" name="PRIMARY">
|
|
|
+ <ColNames>codigo_anterior</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2563" parent="557" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2564" parent="558" name="zona">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2565" parent="558" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2566" parent="558" name="cantidad">
|
|
|
+ <DasType>int(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2567" parent="558" name="cajas">
|
|
|
+ <DasType>int(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2568" parent="558" name="fecha">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2569" parent="558" name="observacion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2570" parent="558" name="idzone">
|
|
|
+ <AutoIncrement>351773</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2571" parent="558" name="fingreso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2572" parent="558" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ <CollationName>utf8_general_ci</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="2573" parent="558" name="sucursal_codigo">
|
|
|
+ <DasType>int(2) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2574" parent="558" name="sin_tablet">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2575" parent="558" name="idzonetablet">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2576" parent="558" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2577" parent="558" name="FK_productos_zonas_total_2">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <RefColNames>producto_codigo</RefColNames>
|
|
|
+ <RefTableName>productos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2578" parent="558" name="PRIMARY">
|
|
|
+ <ColNames>idzone</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2579" parent="558" name="FK_productos_zonas_total_2">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2580" parent="558" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2581" parent="559" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2582" parent="559" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2583" parent="559" name="producto_sucursal_existencia_anterior">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2584" parent="559" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2585" parent="559" name="producto_sucursal_fisica">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2586" parent="559" name="existencia_tricoder">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2587" parent="559" name="fk_productosucursal_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>producto_codigo</RefColNames>
|
|
|
+ <RefTableName>productos</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2588" parent="559" name="PRIMARY">
|
|
|
+ <ColNames>sucursal_codigo
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2589" parent="559" name="SUC_PRO">
|
|
|
+ <ColNames>producto_codigo
|
|
|
+sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2590" parent="559" name="fk_productosucursal_productos1">
|
|
|
+ <ColNames>producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2591" parent="559" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2592" parent="560" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2593" parent="560" name="programa_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2594" parent="560" name="programa_mensaje">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2595" parent="560" name="programa_llave">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2596" parent="560" name="programa_correlativo">
|
|
|
+ <DasType>decimal(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2597" parent="560" name="programa_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2598" parent="560" name="PRIMARY">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2599" parent="560" name="PROGRAMAS">
|
|
|
+ <ColNames>programa_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2600" parent="560" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2601" parent="561" name="codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2602" parent="561" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2603" parent="561" name="nombres">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2604" parent="561" name="PRIMARY">
|
|
|
+ <ColNames>codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2605" parent="561" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2606" parent="562" name="mes">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2607" parent="562" name="fechaCierre">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2608" parent="562" name="fechaInicio">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2609" parent="562" name="MesSiguiente">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2610" parent="562" name="MesAnterior">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2611" parent="562" name="fechaFin">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <DefaultExpression>'2022-01-01'</DefaultExpression>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2612" parent="562" name="PRIMARY">
|
|
|
+ <ColNames>mes</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2613" parent="562" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2614" parent="563" name="producto">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2615" parent="563" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2616" parent="563" name="id">
|
|
|
+ <AutoIncrement>11</AutoIncrement>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2617" parent="563" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2618" parent="563" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2619" parent="564" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2620" parent="564" name="direccion">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2621" parent="564" name="celular_contacto">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2622" parent="564" name="celular2_contacto">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2623" parent="564" name="departamento">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2624" parent="564" name="municipio">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2625" parent="564" name="PRIMARY">
|
|
|
+ <ColNames>consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2626" parent="564" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2627" parent="565" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2628" parent="565" name="codigo_programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2629" parent="565" name="tipo_empaque">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2630" parent="565" name="cantidad">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2631" parent="565" name="id">
|
|
|
+ <AutoIncrement>60631</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2632" parent="565" name="tipoe">
|
|
|
+ <DasType>int(1) unsigned|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2633" parent="565" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2634" parent="565" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2635" parent="565" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2636" parent="566" name="codigo_requisicion">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2637" parent="566" name="departamento">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2638" parent="566" name="fecha_requisicion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2639" parent="566" name="entrada">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2640" parent="566" name="solicitud">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2641" parent="566" name="PRIMARY">
|
|
|
+ <ColNames>codigo_requisicion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2642" parent="566" name="Codigo">
|
|
|
+ <ColNames>codigo_requisicion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2643" parent="566" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2644" parent="567" name="id">
|
|
|
+ <AutoIncrement>1470</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2645" parent="567" name="numero">
|
|
|
+ <DasType>decimal(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2646" parent="567" name="territorio">
|
|
|
+ <DasType>char(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2647" parent="567" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2648" parent="567" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2649" parent="568" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2650" parent="568" name="consultor">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2651" parent="568" name="numero">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2652" parent="568" name="correlativo">
|
|
|
+ <AutoIncrement>1329285</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2653" parent="568" name="PRIMARY">
|
|
|
+ <ColNames>correlativo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2654" parent="568" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2655" parent="569" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2656" parent="569" name="ruta">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2657" parent="569" name="direccion">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2658" parent="569" name="color">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2659" parent="569" name="codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2660" parent="569" name="color_codigo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2661" parent="569" name="tipo">
|
|
|
+ <DasType>int(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2662" parent="569" name="fk_ruta_reparto_territorios1">
|
|
|
+ <ColNames>territorio</ColNames>
|
|
|
+ <RefColNames>codigo_territorio</RefColNames>
|
|
|
+ <RefTableName>territorios</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2663" parent="569" name="PRIMARY">
|
|
|
+ <ColNames>codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2664" parent="569" name="fk_ruta_reparto_territorios1">
|
|
|
+ <ColNames>territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2665" parent="569" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2666" parent="570" name="fecha_solicitud">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2667" parent="570" name="numero_solicitud">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2668" parent="570" name="nombre1">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2669" parent="570" name="apellido1">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2670" parent="570" name="recibo_inscripcion">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2671" parent="570" name="refiere">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2672" parent="570" name="doc_pendiente">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2673" parent="570" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2674" parent="570" name="telefono">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2675" parent="570" name="estado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2676" parent="570" name="direccion">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2677" parent="570" name="observacion">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2678" parent="570" name="nombre2">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2679" parent="570" name="apellido2">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2680" parent="570" name="apellidoc">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2681" parent="570" name="celular">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2682" parent="570" name="nit">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2683" parent="570" name="dui">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2684" parent="570" name="fecha_nac">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2685" parent="570" name="profesion">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2686" parent="570" name="ubicacion">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2687" parent="570" name="municipio">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2688" parent="570" name="nombre_ubicacion">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2689" parent="570" name="genero">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>24</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2690" parent="570" name="trefiere">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>25</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2691" parent="570" name="fecha_consulta">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>26</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2692" parent="570" name="PRIMARY">
|
|
|
+ <ColNames>numero_solicitud</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2693" parent="570" name="FECHA_SOL">
|
|
|
+ <ColNames>fecha_solicitud</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2694" parent="570" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2695" parent="571" name="subclasificacion_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <DefaultExpression>''</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2696" parent="571" name="clasificacion_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2697" parent="571" name="subclasificacion_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2698" parent="571" name="subclasificacion_correlativo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2699" parent="571" name="code1">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2700" parent="571" name="subclasificacion_tope">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2701" parent="571" name="fk_sub_clasifi_prod_clasificacion_producto1">
|
|
|
+ <ColNames>clasificacion_codigo</ColNames>
|
|
|
+ <RefColNames>producto_clasificacion</RefColNames>
|
|
|
+ <RefTableName>clasificacion_producto</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2702" parent="571" name="PRIMARY">
|
|
|
+ <ColNames>subclasificacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2703" parent="571" name="Clasificacion">
|
|
|
+ <ColNames>clasificacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2704" parent="571" name="fk_sub_clasifi_prod_clasificacion1">
|
|
|
+ <ColNames>clasificacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2705" parent="571" name="fk_sub_clasifi_prod_clasificacion_producto1">
|
|
|
+ <ColNames>clasificacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2706" parent="571" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2707" parent="572" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2708" parent="572" name="sala_nombre">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2709" parent="572" name="sala_nombre_corto">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2710" parent="572" name="sala_factura_inicio">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2711" parent="572" name="sala_factura_final">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2712" parent="572" name="sala_factura_siguiente">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2713" parent="572" name="sala_encargado">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2714" parent="572" name="sala_direccion">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2715" parent="572" name="sala_telefono1">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2716" parent="572" name="sala_telefono2">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2717" parent="572" name="sala_fax">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2718" parent="572" name="sala_recibo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="2719" parent="572" name="sala_extension">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2720" parent="572" name="sala_email">
|
|
|
+ <DasType>varchar(35)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2721" parent="572" name="sala_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2722" parent="572" name="serie">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2723" parent="572" name="sucursal_descarga">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2724" parent="572" name="terminal">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2725" parent="572" name="serie_fiscal">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2726" parent="572" name="PRIMARY">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2727" parent="572" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2728" parent="573" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2729" parent="573" name="nombre_supervisora">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2730" parent="573" name="fecha_reunion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2731" parent="573" name="METE_alcance_venta">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2732" parent="573" name="METE_efectividad_cartera">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2733" parent="573" name="METE_alcance_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2734" parent="573" name="METE_efectiva_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2735" parent="573" name="RESULTADO_alcance_venta">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2736" parent="573" name="RESULTADO_efectividad_cartera">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2737" parent="573" name="RESULTADO_alcance_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2738" parent="573" name="RESULTADO_efectiva_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2739" parent="573" name="ALCANCE_alcance_venta">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2740" parent="573" name="ALCANCE_efectividad_cartera">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2741" parent="573" name="ALCANCE_alcance_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2742" parent="573" name="ALCANCE_efectiva_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2743" parent="573" name="COMPROMISO_alcance_venta">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2744" parent="573" name="COMPROMISO_efectividad_cartera">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2745" parent="573" name="COMPROMISO_alcance_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2746" parent="573" name="COMPROMISO_efectiva_reclutamiento">
|
|
|
+ <DasType>double(8,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2747" parent="573" name="PRIMARY">
|
|
|
+ <ColNames>territorio_codigo
|
|
|
+fecha_reunion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2748" parent="573" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2749" parent="574" name="tabla_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2750" parent="574" name="tabla_nombre">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2751" parent="574" name="PRIMARY">
|
|
|
+ <ColNames>tabla_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2752" parent="574" name="Tabla">
|
|
|
+ <ColNames>tabla_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2753" parent="574" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2754" parent="575" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2755" parent="575" name="consultor_nombre">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2756" parent="575" name="hora">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2757" parent="575" name="despacho">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2758" parent="575" name="idn">
|
|
|
+ <AutoIncrement>8</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2759" parent="575" name="llamada">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2760" parent="575" name="PRIMARY">
|
|
|
+ <ColNames>idn
|
|
|
+consultor_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2761" parent="575" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2762" parent="576" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2763" parent="576" name="telefono">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2764" parent="576" name="nombre_supervisora">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2765" parent="576" name="PRIMARY">
|
|
|
+ <ColNames>territorio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2766" parent="576" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2767" parent="577" name="codigo_territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2768" parent="577" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2769" parent="577" name="territorio_nombre">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2770" parent="577" name="territorio_norte">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2771" parent="577" name="territorio_sur">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2772" parent="577" name="territorio_este">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2773" parent="577" name="territorio_oeste">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2774" parent="577" name="territorio_apellido1_supervisora">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2775" parent="577" name="territorio_apellido2_supervisora">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2776" parent="577" name="territorio_apellido_c">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2777" parent="577" name="territorio_nombre1">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2778" parent="577" name="territorio_nombre2">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ <CollationName>latin1_bin</CollationName>
|
|
|
+ </column>
|
|
|
+ <column id="2779" parent="577" name="territorio_supervisora_catagoria">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2780" parent="577" name="limite_reparto">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2781" parent="577" name="recepcion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2782" parent="577" name="PRIMARY">
|
|
|
+ <ColNames>codigo_territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2783" parent="577" name="Territorio">
|
|
|
+ <ColNames>codigo_territorio</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <index id="2784" parent="577" name="Sucursal">
|
|
|
+ <ColNames>sucursal_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2785" parent="577" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2786" parent="578" name="idtipoges">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2787" parent="578" name="descripcion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2788" parent="578" name="PRIMARY">
|
|
|
+ <ColNames>idtipoges</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2789" parent="578" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2790" parent="579" name="idtipo">
|
|
|
+ <DasType>int(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2791" parent="579" name="resultado">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2792" parent="579" name="PRIMARY">
|
|
|
+ <ColNames>idtipo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2793" parent="579" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2794" parent="580" name="trebol_premio_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2795" parent="580" name="trebol_premio_cantidad">
|
|
|
+ <DasType>decimal(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2796" parent="580" name="trebol_premio_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2797" parent="580" name="trebol_premio_descripcion">
|
|
|
+ <DasType>varchar(150)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2798" parent="580" name="trebol_premio_alternativo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2799" parent="580" name="PRIMARY">
|
|
|
+ <ColNames>trebol_premio_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2800" parent="580" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2801" parent="581" name="trebol_clasificacion_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2802" parent="581" name="trebol_clasificacion_nombre">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2803" parent="581" name="trebol_clasificacion_rango_inicio">
|
|
|
+ <DasType>decimal(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2804" parent="581" name="trebol_clasificacion_rango_final">
|
|
|
+ <DasType>decimal(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2805" parent="581" name="PRIMARY">
|
|
|
+ <ColNames>trebol_clasificacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2806" parent="581" name="Trebol">
|
|
|
+ <ColNames>trebol_clasificacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2807" parent="581" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2808" parent="582" name="ubicacion_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2809" parent="582" name="ubicacion_nombre">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2810" parent="582" name="PRIMARY">
|
|
|
+ <ColNames>ubicacion_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2811" parent="582" name="Nombre">
|
|
|
+ <ColNames>ubicacion_nombre</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2812" parent="582" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2813" parent="583" name="usuario_nombre">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2814" parent="583" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2815" parent="583" name="usuario_contraseña">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2816" parent="583" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2817" parent="583" name="nombre_empleado">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2818" parent="583" name="departamento">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2819" parent="583" name="dui">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2820" parent="583" name="turno">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2821" parent="583" name="PRIMARY">
|
|
|
+ <ColNames>usuario_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2822" parent="583" name="nom_usua">
|
|
|
+ <ColNames>usuario_nombre</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2823" parent="583" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2824" parent="584" name="respuesta">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2825" parent="584" name="PRIMARY">
|
|
|
+ <ColNames>respuesta</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2826" parent="584" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2827" parent="585" name="consultor_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2828" parent="585" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2829" parent="585" name="nombre_consultor">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2830" parent="585" name="registro">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2831" parent="585" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2832" parent="585" name="factura_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2833" parent="585" name="factura_anulada">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2834" parent="585" name="factura_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2835" parent="585" name="factura_total_con_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2836" parent="585" name="factura_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2837" parent="585" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2838" parent="585" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2839" parent="585" name="factura_iva">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2840" parent="585" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2841" parent="585" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2842" parent="585" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2843" parent="585" name="abono_anulado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2844" parent="585" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2845" parent="585" name="banco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2846" parent="585" name="abono_inventario">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2847" parent="586" name="consultor_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2848" parent="586" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2849" parent="586" name="nombre_consultor">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2850" parent="586" name="abono_anulado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2851" parent="586" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2852" parent="586" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2853" parent="586" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2854" parent="586" name="abono_fecha_valor">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2855" parent="586" name="pago_extra_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2856" parent="586" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2857" parent="586" name="pago_extra_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2858" parent="586" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2859" parent="586" name="detalle_abono_cantidad">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2860" parent="586" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2861" parent="586" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2862" parent="587" name="id_app">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2863" parent="587" name="app">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2864" parent="587" name="icon">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2865" parent="587" name="PRIMARY">
|
|
|
+ <ColNames>id_app</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2866" parent="587" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2867" parent="588" name="id">
|
|
|
+ <AutoIncrement>10476</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2868" parent="588" name="consultor_codigo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2869" parent="588" name="onesignal">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2870" parent="588" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2871" parent="588" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2872" parent="589" name="id_req">
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2873" parent="589" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2874" parent="589" name="cantidad_pedida">
|
|
|
+ <DasType>int(9)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2875" parent="589" name="cantidad_enviada">
|
|
|
+ <DasType>int(9)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2876" parent="589" name="tipo_producto">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2877" parent="589" name="fk_wc_detalle_requisicion_producto_1">
|
|
|
+ <ColNames>id_req</ColNames>
|
|
|
+ <OnDelete>cascade</OnDelete>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>id_req</RefColNames>
|
|
|
+ <RefTableName>wc_requisicion_producto</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2878" parent="589" name="PRIMARY">
|
|
|
+ <ColNames>id_req
|
|
|
+producto_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2879" parent="589" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2880" parent="590" name="idrepp">
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2881" parent="590" name="codigo_papeleria">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2882" parent="590" name="cantidadpedida">
|
|
|
+ <DasType>int(9)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2883" parent="590" name="cantidadenviada">
|
|
|
+ <DasType>int(9)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2884" parent="590" name="tipo_producto">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2885" parent="590" name="fk_wc_detalle_requisicion_productopapel_1">
|
|
|
+ <ColNames>idrepp</ColNames>
|
|
|
+ <RefColNames>idrepp</RefColNames>
|
|
|
+ <RefTableName>wcrequisicion_productopapel</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2886" parent="590" name="PRIMARY">
|
|
|
+ <ColNames>idrepp
|
|
|
+codigo_papeleria</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2887" parent="590" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2888" parent="591" name="id_grupos_usuarios">
|
|
|
+ <AutoIncrement>17</AutoIncrement>
|
|
|
+ <DasType>int(3) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2889" parent="591" name="nombre_grupos_usuarios">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2890" parent="591" name="accion_grupos_usuarios">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2891" parent="591" name="tipo_grupos_usuarios">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2892" parent="591" name="PRIMARY">
|
|
|
+ <ColNames>id_grupos_usuarios</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2893" parent="591" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2894" parent="592" name="id">
|
|
|
+ <AutoIncrement>9</AutoIncrement>
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2895" parent="592" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2896" parent="592" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2897" parent="592" name="precio_con_descuento">
|
|
|
+ <DasType>decimal(5,3 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2898" parent="592" name="precio_sin_descuento">
|
|
|
+ <DasType>decimal(5,2 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2899" parent="592" name="desde">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2900" parent="592" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2901" parent="592" name="PRIMARY">
|
|
|
+ <ColNames>id</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2902" parent="592" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2903" parent="593" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2904" parent="593" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2905" parent="593" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2906" parent="593" name="tipo_operacion">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2907" parent="593" name="cantidad_operacion">
|
|
|
+ <DasType>int(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2908" parent="593" name="cantidad_guardar">
|
|
|
+ <DasType>int(4)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2909" parent="593" name="nombre_promo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2910" parent="593" name="cantidad_facturar">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2911" parent="593" name="oferta_activa">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2912" parent="593" name="producto_promocion_multiple">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2913" parent="593" name="limite_factura">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2914" parent="593" name="resta_limite">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2915" parent="593" name="oferta_adcionales">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2916" parent="593" name="oferta_adcionales_agregados">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2917" parent="593" name="PRIMARY">
|
|
|
+ <ColNames>producto_codigo
|
|
|
+oferta_codigo
|
|
|
+programa_codigo
|
|
|
+cantidad_facturar
|
|
|
+cantidad_operacion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2918" parent="593" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2919" parent="594" name="id_opcion">
|
|
|
+ <AutoIncrement>4015</AutoIncrement>
|
|
|
+ <DasType>int(4) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2920" parent="594" name="nombre_opcion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2921" parent="594" name="estado_opcion">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2922" parent="594" name="url">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2923" parent="594" name="tipo_menu">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2924" parent="594" name="sub_menu_id">
|
|
|
+ <DasType>int(4) unsigned zerofill|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2925" parent="594" name="icono">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2926" parent="594" name="app">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2927" parent="594" name="PRIMARY">
|
|
|
+ <ColNames>id_opcion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2928" parent="594" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2929" parent="595" name="id_grupo">
|
|
|
+ <DasType>int(3) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2930" parent="595" name="id_opcion">
|
|
|
+ <DasType>int(4) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2931" parent="595" name="otros">
|
|
|
+ <DasType>int(3)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2932" parent="595" name="fk_wc_opciones_grupos_2">
|
|
|
+ <ColNames>id_grupo</ColNames>
|
|
|
+ <RefColNames>id_grupos_usuarios</RefColNames>
|
|
|
+ <RefTableName>wc_grupos_usuarios</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <foreign-key id="2933" parent="595" name="fk_wc_opciones_grupos_1">
|
|
|
+ <ColNames>id_opcion</ColNames>
|
|
|
+ <OnUpdate>cascade</OnUpdate>
|
|
|
+ <RefColNames>id_opcion</RefColNames>
|
|
|
+ <RefTableName>wc_opciones</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2934" parent="595" name="PRIMARY">
|
|
|
+ <ColNames>id_grupo
|
|
|
+id_opcion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2935" parent="595" name="fk_wc_opciones_grupos_1_idx">
|
|
|
+ <ColNames>id_opcion</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2936" parent="595" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2937" parent="596" name="id_req">
|
|
|
+ <AutoIncrement>3466</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2938" parent="596" name="sala_origen">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2939" parent="596" name="ingresada">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2940" parent="596" name="programa_requisicion">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2941" parent="596" name="observaciones">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2942" parent="596" name="numero_remision">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2943" parent="596" name="fecha_remision">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2944" parent="596" name="leida_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2945" parent="596" name="leida_f">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2946" parent="596" name="despachada_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2947" parent="596" name="despachada_f">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2948" parent="596" name="cajas">
|
|
|
+ <DasType>int(5)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2949" parent="596" name="user_requiere">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2950" parent="596" name="user_remite">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2951" parent="596" name="PRIMARY">
|
|
|
+ <ColNames>id_req</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2952" parent="596" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2953" parent="597" name="usuario_nombre">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2954" parent="597" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2955" parent="597" name="contrasenia">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2956" parent="597" name="nombre_empleado">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2957" parent="597" name="correo">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2958" parent="597" name="dui">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2959" parent="597" name="logueado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <DefaultExpression>0</DefaultExpression>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2960" parent="597" name="grupo_usuario">
|
|
|
+ <DasType>int(3) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2961" parent="597" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <foreign-key id="2962" parent="597" name="fk_wc_usuarios_1">
|
|
|
+ <ColNames>grupo_usuario</ColNames>
|
|
|
+ <RefColNames>id_grupos_usuarios</RefColNames>
|
|
|
+ <RefTableName>wc_grupos_usuarios</RefTableName>
|
|
|
+ </foreign-key>
|
|
|
+ <index id="2963" parent="597" name="PRIMARY">
|
|
|
+ <ColNames>usuario_codigo</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <index id="2964" parent="597" name="fk_wc_usuarios_1_idx">
|
|
|
+ <ColNames>grupo_usuario</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ </index>
|
|
|
+ <key id="2965" parent="597" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2966" parent="598" name="idrepp">
|
|
|
+ <AutoIncrement>1</AutoIncrement>
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2967" parent="598" name="salaorigen">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2968" parent="598" name="ingresada">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2969" parent="598" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2970" parent="598" name="numeroremision">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2971" parent="598" name="fecharemision">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2972" parent="598" name="observaciones">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2973" parent="598" name="vistab">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2974" parent="598" name="vistaf">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2975" parent="598" name="despachadab">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2976" parent="598" name="despachadaf">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2977" parent="598" name="cajas">
|
|
|
+ <DasType>int(5)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2978" parent="598" name="usuariosolicita">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2979" parent="598" name="usuariovalida">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2980" parent="598" name="PRIMARY">
|
|
|
+ <ColNames>idrepp</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2981" parent="598" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2982" parent="599" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2983" parent="599" name="zona">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <index id="2984" parent="599" name="PRIMARY">
|
|
|
+ <ColNames>sucursal_codigo
|
|
|
+zona</ColNames>
|
|
|
+ <Type>btree</Type>
|
|
|
+ <Unique>1</Unique>
|
|
|
+ </index>
|
|
|
+ <key id="2985" parent="599" name="PRIMARY">
|
|
|
+ <NameSurrogate>1</NameSurrogate>
|
|
|
+ <Primary>1</Primary>
|
|
|
+ <UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
+ </key>
|
|
|
+ <column id="2986" parent="600" name="id">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2987" parent="600" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2988" parent="600" name="cantidad">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2989" parent="600" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2990" parent="600" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2991" parent="601" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2992" parent="601" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2993" parent="601" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2994" parent="601" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2995" parent="601" name="abono_anulado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2996" parent="601" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2997" parent="602" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2998" parent="602" name="actual">
|
|
|
+ <DasType>decimal(30)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="2999" parent="603" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3000" parent="603" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3001" parent="603" name="cantidad">
|
|
|
+ <DasType>decimal(28)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3002" parent="603" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3003" parent="603" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3004" parent="604" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3005" parent="604" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3006" parent="604" name="cantidad">
|
|
|
+ <DasType>decimal(28)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3007" parent="604" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3008" parent="604" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3009" parent="605" name="contador1">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3010" parent="605" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3011" parent="606" name="contador">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3012" parent="606" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3013" parent="607" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3014" parent="607" name="sum(b.abono_valor)">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3015" parent="608" name="id">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3016" parent="608" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3017" parent="608" name="cantidad">
|
|
|
+ <DasType>decimal(29)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3018" parent="608" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3019" parent="609" name="pedidos">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3020" parent="609" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3021" parent="609" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3022" parent="609" name="v_factura">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3023" parent="609" name="cargo_fecha_factura">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3024" parent="610" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3025" parent="610" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3026" parent="610" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3027" parent="610" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3028" parent="610" name="abono_anulado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3029" parent="610" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3030" parent="611" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3031" parent="611" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3032" parent="611" name="actual">
|
|
|
+ <DasType>decimal(30)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3033" parent="612" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3034" parent="612" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3035" parent="612" name="cantidad">
|
|
|
+ <DasType>decimal(29)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3036" parent="612" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3037" parent="612" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3038" parent="613" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3039" parent="613" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3040" parent="613" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3041" parent="613" name="cantidad">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3042" parent="613" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3043" parent="614" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3044" parent="614" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3045" parent="614" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3046" parent="614" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3047" parent="614" name="abono_anulado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3048" parent="614" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3049" parent="615" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3050" parent="615" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3051" parent="615" name="cantidad">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3052" parent="615" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3053" parent="615" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3054" parent="616" name="id">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3055" parent="616" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3056" parent="616" name="cantidad">
|
|
|
+ <DasType>decimal(29)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3057" parent="616" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3058" parent="616" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3059" parent="617" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3060" parent="617" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3061" parent="617" name="cantidad">
|
|
|
+ <DasType>decimal(34)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3062" parent="617" name="sucursal_entrante_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3063" parent="617" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3064" parent="618" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3065" parent="618" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3066" parent="618" name="cantidad">
|
|
|
+ <DasType>decimal(34)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3067" parent="618" name="sucursal_saliente_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3068" parent="618" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3069" parent="619" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3070" parent="619" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3071" parent="619" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3072" parent="619" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3073" parent="619" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3074" parent="619" name="cargo_valor">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3075" parent="619" name="cargo">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3076" parent="620" name="id">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3077" parent="620" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3078" parent="620" name="cantidad">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3079" parent="620" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3080" parent="621" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3081" parent="621" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3082" parent="621" name="total">
|
|
|
+ <DasType>decimal(30)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3083" parent="622" name="sucursal_codigo">
|
|
|
+ <DasType>int(2) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3084" parent="622" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3085" parent="622" name="unidades">
|
|
|
+ <DasType>decimal(32)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3086" parent="622" name="cajas">
|
|
|
+ <DasType>decimal(32)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3087" parent="622" name="total_unidades">
|
|
|
+ <DasType>decimal(42)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3088" parent="623" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3089" parent="623" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3090" parent="623" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3091" parent="623" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3092" parent="624" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3093" parent="624" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3094" parent="624" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3095" parent="624" name="existenciaActual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3096" parent="624" name="unidades">
|
|
|
+ <DasType>decimal(42)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3097" parent="624" name="diferiencias">
|
|
|
+ <DasType>decimal(43)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3098" parent="625" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3099" parent="625" name="articulo_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3100" parent="625" name="articulo_nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3101" parent="625" name="articulo_existencia_actual">
|
|
|
+ <DasType>decimal(12)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3102" parent="626" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3103" parent="626" name="articulo_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3104" parent="626" name="articulo_nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3105" parent="626" name="articulo_existencia_actual">
|
|
|
+ <DasType>decimal(12)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3106" parent="626" name="unidades">
|
|
|
+ <DasType>decimal(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3107" parent="626" name="diferiencias">
|
|
|
+ <DasType>decimal(31)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3108" parent="627" name="sucursal_codigo">
|
|
|
+ <DasType>int(2) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3109" parent="627" name="articulo_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3110" parent="627" name="unidades">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3111" parent="627" name="total_unidades">
|
|
|
+ <DasType>decimal(30)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3112" parent="628" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3113" parent="628" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3114" parent="628" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3115" parent="628" name="existenciaActual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3116" parent="628" name="unidades">
|
|
|
+ <DasType>decimal(42)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3117" parent="628" name="diferiencias">
|
|
|
+ <DasType>decimal(43)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3118" parent="628" name="exedente">
|
|
|
+ <DasType>varchar(44)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3119" parent="628" name="faltante">
|
|
|
+ <DasType>varchar(44)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3120" parent="629" name="codigo_consultor">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3121" parent="629" name="fecha_retiro">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3122" parent="629" name="id_pedido">
|
|
|
+ <DasType>int(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3123" parent="629" name="observaciones">
|
|
|
+ <DasType>varchar(110)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3124" parent="629" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3125" parent="629" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3126" parent="629" name="sucusal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3127" parent="629" name="correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3128" parent="629" name="tipo_pedido">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3129" parent="629" name="total_con_descuento">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3130" parent="629" name="total_sin_descuento">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3131" parent="630" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3132" parent="630" name="iva">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3133" parent="630" name="nrc">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3134" parent="630" name="municipio">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3135" parent="630" name="departamento">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3136" parent="631" name="cantidad">
|
|
|
+ <DasType>int(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3137" parent="631" name="id_pedido">
|
|
|
+ <DasType>int(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3138" parent="631" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3139" parent="631" name="producto_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3140" parent="631" name="total_con_descuento">
|
|
|
+ <DasType>decimal(7,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3141" parent="631" name="total_sin_descuento">
|
|
|
+ <DasType>decimal(7,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3142" parent="632" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3143" parent="632" name="nombre_consultor">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3144" parent="632" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3145" parent="632" name="consultor_telefono_residencia">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3146" parent="632" name="consultor_celular">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3147" parent="632" name="direccion_completa">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3148" parent="632" name="cargo_pendiente">
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3149" parent="632" name="consultor_estado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3150" parent="632" name="consultor_tipo_pago">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3151" parent="632" name="correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3152" parent="633" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3153" parent="633" name="nombre_consultor">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3154" parent="633" name="nombre_corto">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3155" parent="633" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3156" parent="633" name="consultor_telefono_residencia">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3157" parent="633" name="consultor_celular">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3158" parent="633" name="consultor_monto_limite">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3159" parent="633" name="consultor_masivo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3160" parent="633" name="fecha_recepcion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3161" parent="633" name="direccion_completa">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3162" parent="633" name="cargo_pendiente">
|
|
|
+ <DasType>double|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3163" parent="633" name="consultor_estado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3164" parent="633" name="dui">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3165" parent="633" name="nit">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3166" parent="633" name="consultor_tipo_pago">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3167" parent="633" name="consultor_iva">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3168" parent="633" name="correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3169" parent="634" name="id">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3170" parent="634" name="host">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3171" parent="634" name="numero_factura">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3172" parent="634" name="serie_factura">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3173" parent="634" name="usuario_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3174" parent="634" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3175" parent="635" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3176" parent="635" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3177" parent="635" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3178" parent="635" name="oferta_detalle_pedido">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3179" parent="635" name="cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3180" parent="635" name="entregado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3181" parent="635" name="sin_descuentto">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3182" parent="635" name="con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3183" parent="635" name="id">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3184" parent="636" name="id">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3185" parent="637" name="idh">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3186" parent="638" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3187" parent="638" name="sucursal">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3188" parent="638" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3189" parent="638" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3190" parent="638" name="producto_costo_promedio">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3191" parent="638" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3192" parent="638" name="total_dolares">
|
|
|
+ <DasType>decimal(20,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3193" parent="639" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3194" parent="639" name="usuario_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3195" parent="639" name="nombre_empleado">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3196" parent="639" name="usuario_nombre">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3197" parent="639" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3198" parent="639" name="factura">
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3199" parent="639" name="serie">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3200" parent="640" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3201" parent="640" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3202" parent="640" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3203" parent="640" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3204" parent="640" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3205" parent="640" name="detalle_factura_cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3206" parent="640" name="detalle_factura_oferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3207" parent="640" name="detalle_factura_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3208" parent="640" name="detalle_factura_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3209" parent="641" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3210" parent="641" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3211" parent="641" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3212" parent="641" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3213" parent="641" name="factura_anulada">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3214" parent="641" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3215" parent="641" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3216" parent="641" name="factura_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3217" parent="641" name="factura_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3218" parent="641" name="factura_total_con_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3219" parent="641" name="factura_iva">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3220" parent="641" name="factura_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3221" parent="641" name="factura_impresa">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3222" parent="641" name="factura_reparto">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3223" parent="641" name="facturaenvio">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3224" parent="641" name="otrodesc">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3225" parent="642" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3226" parent="642" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3227" parent="642" name="factura_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3228" parent="642" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3229" parent="642" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3230" parent="642" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3231" parent="642" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3232" parent="642" name="detalle_factura_cantidad">
|
|
|
+ <DasType>decimal(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3233" parent="642" name="detalle_factura_oferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3234" parent="642" name="detalle_factura_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3235" parent="642" name="detalle_factura_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3236" parent="643" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3237" parent="643" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3238" parent="643" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3239" parent="643" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3240" parent="643" name="vendidas">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3241" parent="643" name="ventas_publica">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3242" parent="643" name="ventas">
|
|
|
+ <DasType>decimal(34,3 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3243" parent="644" name="antiguo_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3244" parent="644" name="inicio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3245" parent="644" name="final">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3246" parent="644" name="nuevo_codigo">
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3247" parent="645" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3248" parent="645" name="aprobado">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3249" parent="645" name="anulado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3250" parent="645" name="despachado_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3251" parent="645" name="ingreso_pedido">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3252" parent="645" name="tipo_pedido">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3253" parent="646" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3254" parent="646" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3255" parent="646" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3256" parent="646" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3257" parent="647" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3258" parent="647" name="direccion">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3259" parent="647" name="zona_reparto">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3260" parent="647" name="correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3261" parent="648" name="codigo_programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3262" parent="648" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3263" parent="648" name="tipo">
|
|
|
+ <DasType>bigint(10) unsigned|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3264" parent="648" name="ruta">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3265" parent="648" name="direccion">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3266" parent="648" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3267" parent="648" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3268" parent="648" name="cantidad">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3269" parent="649" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3270" parent="649" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3271" parent="649" name="vendidos">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3272" parent="649" name="sin_descuento">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3273" parent="649" name="con_descuento">
|
|
|
+ <DasType>decimal(34,3 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3274" parent="649" name="cupones">
|
|
|
+ <DasType>decimal(30,4 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3275" parent="650" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3276" parent="650" name="producto_subclasificacion">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3277" parent="650" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3278" parent="650" name="producto_costo_promedio">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3279" parent="650" name="producto_ultima_compra">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3280" parent="650" name="producto_precio_regular">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3281" parent="650" name="producto_marca">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3282" parent="650" name="producto_codigo_anterior">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3283" parent="650" name="code1">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3284" parent="650" name="producto_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3285" parent="650" name="discontinuado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3286" parent="650" name="existencia_minima">
|
|
|
+ <DasType>decimal(6)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3287" parent="650" name="codigo_barra">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3288" parent="650" name="medida">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3289" parent="651" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3290" parent="651" name="nombre_producto">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3291" parent="651" name="vendidos">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3292" parent="651" name="venta">
|
|
|
+ <DasType>decimal(34,3 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3293" parent="651" name="existencia_actual_central">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3294" parent="651" name="existencia_actual_salas">
|
|
|
+ <DasType>decimal(30)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3295" parent="652" name="count(c.consultor_codigo)">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3296" parent="653" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3297" parent="653" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3298" parent="653" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3299" parent="653" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3300" parent="653" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3301" parent="653" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3302" parent="653" name="abono_comentario">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3303" parent="653" name="abono_fecha_valor">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3304" parent="653" name="abono_inventario">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3305" parent="653" name="abono_anulado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3306" parent="653" name="abono_saldo_anterior">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3307" parent="653" name="banco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3308" parent="653" name="abono_envio">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3309" parent="653" name="id">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3310" parent="654" name="id">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3311" parent="654" name="tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3312" parent="654" name="ficha">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3313" parent="654" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3314" parent="654" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3315" parent="654" name="monto">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3316" parent="654" name="aplicado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3317" parent="654" name="numero_recibo">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3318" parent="654" name="comentarios">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3319" parent="655" name="resultado">
|
|
|
+ <DasType>decimal(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3320" parent="655" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3321" parent="655" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3322" parent="655" name="detalle_ajuste_cantidad">
|
|
|
+ <DasType>decimal(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3323" parent="655" name="detalle_ajuste_precio">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3324" parent="655" name="detalle_ajuste_tipo">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3325" parent="656" name="codigo_banco">
|
|
|
+ <DasType>char(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3326" parent="656" name="nombre_banco">
|
|
|
+ <DasType>char(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3327" parent="657" name="id">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3328" parent="657" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3329" parent="657" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3330" parent="657" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3331" parent="657" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3332" parent="657" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3333" parent="657" name="cargo_fecha_factura">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3334" parent="657" name="cargo_valor">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3335" parent="657" name="cargo_pendiente">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3336" parent="657" name="credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3337" parent="658" name="terr">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3338" parent="658" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3339" parent="658" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3340" parent="658" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3341" parent="658" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3342" parent="658" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3343" parent="658" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3344" parent="658" name="cargo_fecha_factura">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3345" parent="658" name="cargo_valor">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3346" parent="658" name="cargo_pendiente">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3347" parent="658" name="cargo_publico">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3348" parent="658" name="cargo_envio_tarjeta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3349" parent="658" name="credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3350" parent="658" name="bazar">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3351" parent="658" name="otrodesc">
|
|
|
+ <DasType>decimal(6,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3352" parent="659" name="DIC">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3353" parent="659" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3354" parent="659" name="1">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3355" parent="659" name="0007">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3356" parent="659" name="0">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3357" parent="659" name="My_exp_0">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3358" parent="659" name="costo">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3359" parent="659" name="costo_pro">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3360" parent="659" name="en">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3361" parent="659" name="ij">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3362" parent="659" name="cierre">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3363" parent="660" name="compra_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3364" parent="660" name="fecha">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3365" parent="660" name="cantidad">
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3366" parent="661" name="terr">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3367" parent="661" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3368" parent="661" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3369" parent="661" name="cargo_fecha_factura">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3370" parent="661" name="cargo_valor">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3371" parent="661" name="cargo_pendiente">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3372" parent="661" name="dias_pagos">
|
|
|
+ <DasType>int(7)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3373" parent="662" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3374" parent="662" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3375" parent="662" name="dui">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3376" parent="662" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3377" parent="662" name="password">
|
|
|
+ <DasType>varchar(32)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3378" parent="663" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3379" parent="663" name="codigo_premio">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3380" parent="663" name="premio_nombre">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3381" parent="663" name="proximo_premio">
|
|
|
+ <DasType>decimal(10,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3382" parent="663" name="premio_autorizado">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3383" parent="663" name="premio_entregado">
|
|
|
+ <DasType>int(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3384" parent="663" name="codigo_premio_autorizado">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3385" parent="663" name="dias_pago">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3386" parent="663" name="cargos">
|
|
|
+ <DasType>decimal(11,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3387" parent="664" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3388" parent="664" name="consultor_nombre">
|
|
|
+ <DasType>varchar(203)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3389" parent="664" name="consultor_numero_documento">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3390" parent="664" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3391" parent="664" name="consultor_estado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3392" parent="665" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3393" parent="665" name="municipio_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3394" parent="665" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3395" parent="665" name="ubicacion_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3396" parent="665" name="doc_pendiente_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3397" parent="665" name="consultor_codigo_anterior">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3398" parent="665" name="consultor_sexo">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3399" parent="665" name="consultor_apellido1">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3400" parent="665" name="consultor_apellido2">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3401" parent="665" name="consultor_apellido_c">
|
|
|
+ <DasType>varchar(17)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3402" parent="665" name="consultor_nombre1">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3403" parent="665" name="consultor_nombre2">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3404" parent="665" name="consultor_telefono_residencia">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3405" parent="665" name="consultor_trabajo_fijo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3406" parent="665" name="consultor_profesion">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3407" parent="665" name="consultor_nacimiento">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3408" parent="665" name="consultor_direccion_nombre_ubicacion">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3409" parent="665" name="consultor_direccion_complemento_ubicacion">
|
|
|
+ <DasType>varchar(200)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3410" parent="665" name="consultor_tipo_pago">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3411" parent="665" name="consultor_tipo_limite">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3412" parent="665" name="consultor_monto_limite">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3413" parent="665" name="consultor_estado_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3414" parent="665" name="consultor_fecha_ingreso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3415" parent="665" name="consultor_estado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>24</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3416" parent="665" name="consultor_celular">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>25</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3417" parent="665" name="consultor_tipo_documento">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>26</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3418" parent="665" name="consultor_nit">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>27</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3419" parent="665" name="fecha_solicitud">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>28</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3420" parent="665" name="fecha_aprobacion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>29</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3421" parent="665" name="consultor_en_proceso">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>30</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3422" parent="665" name="consultor_listo">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>31</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3423" parent="665" name="consultor_numero_documento">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>32</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3424" parent="665" name="mcard">
|
|
|
+ <DasType>tinyint(1) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>33</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3425" parent="665" name="dir_com">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>34</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3426" parent="665" name="nom_comp">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>35</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3427" parent="666" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3428" parent="666" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3429" parent="666" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3430" parent="666" name="consultor_telefono_residencia">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3431" parent="666" name="direccion">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3432" parent="667" name="consultor_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3433" parent="667" name="codigo_premio">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3434" parent="667" name="premio_nombre">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3435" parent="667" name="proximo_premio">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3436" parent="667" name="premio_autorizado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3437" parent="667" name="premio_entregado">
|
|
|
+ <DasType>varchar(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3438" parent="667" name="codigo_premio_autorizado">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3439" parent="667" name="dias_pago">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3440" parent="668" name="abono_anulado">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3441" parent="668" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3442" parent="668" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3443" parent="668" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3444" parent="668" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3445" parent="668" name="documento_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3446" parent="668" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3447" parent="668" name="detalle_abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3448" parent="668" name="detalle_abono_cantidad">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3449" parent="668" name="id">
|
|
|
+ <DasType>varchar(19)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3450" parent="669" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3451" parent="669" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3452" parent="669" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3453" parent="669" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3454" parent="669" name="producto_sucursal_fisica">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3455" parent="669" name="sobrante">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3456" parent="669" name="faltante">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3457" parent="669" name="resultado">
|
|
|
+ <DasType>decimal(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3458" parent="669" name="resultado_entero">
|
|
|
+ <DasType>decimal(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3459" parent="669" name="nueva_existencia_actual">
|
|
|
+ <DasType>decimal(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3460" parent="670" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3461" parent="670" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3462" parent="670" name="municipio_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3463" parent="670" name="telefono">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3464" parent="670" name="color">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3465" parent="670" name="celular">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3466" parent="670" name="zonac">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3467" parent="670" name="nombres">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3468" parent="670" name="direccion">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3469" parent="671" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3470" parent="671" name="sucursal">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3471" parent="671" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3472" parent="671" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3473" parent="671" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3474" parent="671" name="producto_costo_promedio">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3475" parent="671" name="total_dolares">
|
|
|
+ <DasType>decimal(20,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3476" parent="671" name="discontinuado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3477" parent="672" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3478" parent="672" name="nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3479" parent="672" name="producto_sucursal_existencia_anterior">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3480" parent="672" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3481" parent="672" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3482" parent="672" name="nombre_sucursal">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3483" parent="673" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3484" parent="673" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3485" parent="673" name="sucursal">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3486" parent="673" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3487" parent="673" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3488" parent="673" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3489" parent="673" name="producto_costo_promedio">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3490" parent="673" name="total_dolares">
|
|
|
+ <DasType>decimal(20,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3491" parent="673" name="discontinuado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3492" parent="674" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3493" parent="674" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3494" parent="674" name="tcantidad">
|
|
|
+ <DasType>decimal(52)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3495" parent="674" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3496" parent="675" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3497" parent="675" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3498" parent="675" name="tcantidad">
|
|
|
+ <DasType>decimal(52)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3499" parent="675" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3500" parent="676" name="producto_codigo">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3501" parent="676" name="nombre_producto">
|
|
|
+ <DasType>varchar(96)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3502" parent="676" name="inicial">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3503" parent="676" name="compras">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3504" parent="676" name="remision_entrante">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3505" parent="676" name="ajuste_entrada">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3506" parent="676" name="abonos">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3507" parent="676" name="venta">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3508" parent="676" name="remision_saliente">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3509" parent="676" name="ajuste_salida">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3510" parent="676" name="actual">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3511" parent="676" name="salas_actual">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3512" parent="676" name="salas_venta">
|
|
|
+ <DasType>int(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3513" parent="677" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3514" parent="677" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3515" parent="677" name="cantidad">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3516" parent="677" name="codigo_programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3517" parent="678" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3518" parent="678" name="pedidos">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3519" parent="678" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3520" parent="678" name="sin_descuento">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3521" parent="678" name="con_descuento">
|
|
|
+ <DasType>decimal(34,3 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3522" parent="679" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3523" parent="679" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3524" parent="679" name="bodega_central">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3525" parent="679" name="despacho_central">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3526" parent="679" name="soyapango">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3527" parent="679" name="san_miguel">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3528" parent="679" name="usulutan">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3529" parent="679" name="zacate">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3530" parent="679" name="santa_ana">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3531" parent="679" name="sonsonate">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3532" parent="679" name="apopa">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3533" parent="680" name="id">
|
|
|
+ <DasType>int(10) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3534" parent="680" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3535" parent="680" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3536" parent="680" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3537" parent="680" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3538" parent="680" name="pedido_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3539" parent="680" name="factura_total_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3540" parent="680" name="factura_total_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3541" parent="680" name="aprobado">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3542" parent="680" name="tiempo_aprobado">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3543" parent="680" name="pedido_credito">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3544" parent="680" name="pedido_reparto">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3545" parent="680" name="sucursal">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3546" parent="680" name="ingreso_pedido">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3547" parent="680" name="lee_pedido">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>15</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3548" parent="680" name="lee_pedido_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>16</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3549" parent="680" name="fin_sacado">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>17</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3550" parent="680" name="fin_sacado_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>18</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3551" parent="680" name="inicio_facturacion">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>19</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3552" parent="680" name="inicio_facturacion_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>20</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3553" parent="680" name="despachado">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>21</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3554" parent="680" name="despachado_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>22</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3555" parent="680" name="anulado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>23</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3556" parent="680" name="numeracion_diaria">
|
|
|
+ <DasType>int(4)|0s</DasType>
|
|
|
+ <Position>24</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3557" parent="680" name="usuario_aprueba_ped">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>25</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3558" parent="680" name="usuario_pedido">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>26</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3559" parent="680" name="pedido_correlativo_reparto">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>27</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3560" parent="680" name="observaciones">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>28</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3561" parent="680" name="observaciones_reparto">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>29</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3562" parent="680" name="tipo_pedido">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>30</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3563" parent="680" name="fecha_hora_retira">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>31</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3564" parent="680" name="tipo_reparto">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <Position>32</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3565" parent="680" name="liberado">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>33</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3566" parent="681" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3567" parent="681" name="nombre_sala">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3568" parent="681" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3569" parent="681" name="producto">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3570" parent="681" name="producto_sucursal_existencia_anterior">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3571" parent="681" name="producto_sucursal_existencia_actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3572" parent="681" name="producto_sucursal_fisica">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3573" parent="682" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3574" parent="682" name="producto_subclasificacion">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3575" parent="682" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3576" parent="682" name="producto_costo_promedio">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3577" parent="682" name="producto_ultima_compra">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3578" parent="682" name="producto_precio_regular">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3579" parent="682" name="producto_marca">
|
|
|
+ <DasType>varchar(80)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3580" parent="682" name="producto_codigo_anterior">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3581" parent="682" name="code1">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3582" parent="682" name="producto_envio">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3583" parent="682" name="discontinuado">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3584" parent="682" name="existencia_minima">
|
|
|
+ <DasType>decimal(6)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3585" parent="682" name="codigo_barra">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3586" parent="682" name="medida">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <Position>14</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3587" parent="683" name="compra_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3588" parent="683" name="fecha">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3589" parent="683" name="cantidad">
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3590" parent="683" name="sala">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3591" parent="683" name="Observaciones">
|
|
|
+ <DasType>varchar(73)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3592" parent="684" name="id">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3593" parent="684" name="host">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3594" parent="684" name="numero_factura">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3595" parent="684" name="serie_factura">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3596" parent="684" name="usuario_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3597" parent="684" name="fecha">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3598" parent="684" name="monto_factura">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3599" parent="685" name="id">
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3600" parent="685" name="abono_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3601" parent="685" name="abono_tipo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3602" parent="685" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3603" parent="685" name="nombre_consultor">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3604" parent="685" name="abono_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3605" parent="685" name="abono_valor">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3606" parent="685" name="valor_detalle">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3607" parent="685" name="diferiencia">
|
|
|
+ <DasType>decimal(35,2 digit)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3608" parent="685" name="pex">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3609" parent="685" name="estado">
|
|
|
+ <DasType>varchar(7)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3610" parent="685" name="codigo_banco">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3611" parent="685" name="banco">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3612" parent="686" name="factura">
|
|
|
+ <DasType>varchar(9)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3613" parent="686" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3614" parent="686" name="cargo_pendiente">
|
|
|
+ <DasType>decimal(12,2 digit) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3615" parent="686" name="dias">
|
|
|
+ <DasType>int(7)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3616" parent="687" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3617" parent="687" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3618" parent="687" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3619" parent="687" name="tcantidad">
|
|
|
+ <DasType>decimal(52)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3620" parent="687" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3621" parent="688" name="id">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3622" parent="688" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3623" parent="688" name="tcantidad">
|
|
|
+ <DasType>decimal(52)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3624" parent="688" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3625" parent="689" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3626" parent="689" name="tcantidad">
|
|
|
+ <DasType>decimal(52)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3627" parent="689" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3628" parent="690" name="id">
|
|
|
+ <DasType>varchar(23)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3629" parent="690" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3630" parent="690" name="zona">
|
|
|
+ <DasType>varchar(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3631" parent="691" name="numero_pedido">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3632" parent="691" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3633" parent="691" name="ingreso_pedido">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3634" parent="691" name="lee_pedido_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3635" parent="691" name="inicio_facturacion">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3636" parent="691" name="despachado_b">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3637" parent="691" name="factura_total_con_Descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3638" parent="691" name="factura_total_sin_Descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3639" parent="691" name="observacion">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3640" parent="692" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3641" parent="692" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3642" parent="692" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3643" parent="692" name="precio_programa_oferta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3644" parent="692" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3645" parent="692" name="oferta_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3646" parent="692" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3647" parent="692" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3648" parent="692" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3649" parent="692" name="ruta_imagen">
|
|
|
+ <DasType>varchar(49)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3650" parent="693" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3651" parent="693" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3652" parent="693" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3653" parent="693" name="precio_programa_oferta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3654" parent="693" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3655" parent="693" name="oferta_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3656" parent="693" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3657" parent="693" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3658" parent="693" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3659" parent="693" name="ruta_imagen">
|
|
|
+ <DasType>varchar(49)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3660" parent="694" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3661" parent="694" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3662" parent="694" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3663" parent="694" name="precio_programa_oferta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3664" parent="694" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3665" parent="694" name="oferta_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3666" parent="694" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3667" parent="694" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3668" parent="694" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3669" parent="694" name="ruta_imagen">
|
|
|
+ <DasType>varchar(49)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3670" parent="695" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3671" parent="695" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3672" parent="695" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3673" parent="695" name="precio_programa_oferta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3674" parent="695" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3675" parent="695" name="oferta_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3676" parent="695" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3677" parent="695" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3678" parent="695" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3679" parent="695" name="ruta_imagen">
|
|
|
+ <DasType>varchar(49)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3680" parent="696" name="id">
|
|
|
+ <DasType>varchar(12)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3681" parent="696" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3682" parent="696" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3683" parent="696" name="precio_programa_oferta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3684" parent="696" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3685" parent="696" name="oferta_nombre">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3686" parent="696" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3687" parent="696" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3688" parent="696" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3689" parent="696" name="ruta_imagen">
|
|
|
+ <DasType>varchar(49)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3690" parent="697" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3691" parent="697" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3692" parent="697" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3693" parent="697" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3694" parent="698" name="terr">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3695" parent="698" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3696" parent="698" name="fecha_gestion">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3697" parent="698" name="resultado">
|
|
|
+ <DasType>varchar(25)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3698" parent="698" name="fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3699" parent="698" name="observacion">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3700" parent="698" name="vpendiente">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3701" parent="698" name="abono">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3702" parent="698" name="Fechai">
|
|
|
+ <DasType>datetime|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3703" parent="698" name="usuario">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3704" parent="699" name="idgestconsultor">
|
|
|
+ <DasType>int(6) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3705" parent="699" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3706" parent="699" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3707" parent="699" name="descripciongc">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3708" parent="699" name="observaciones">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3709" parent="699" name="fechapc">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3710" parent="699" name="fechainicio">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3711" parent="699" name="procesoescalado">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3712" parent="699" name="fechaescalado">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3713" parent="699" name="descripcionseg">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3714" parent="699" name="ticket">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3715" parent="699" name="tipogestion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3716" parent="699" name="diasseguimientos">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3717" parent="700" name="idgestconsultor">
|
|
|
+ <DasType>int(6) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3718" parent="700" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3719" parent="700" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3720" parent="700" name="descripciongc">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3721" parent="700" name="observaciones">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3722" parent="700" name="fechapc">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3723" parent="700" name="fechainicio">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3724" parent="700" name="proceso">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3725" parent="700" name="fechaproceso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3726" parent="700" name="descripcionseg">
|
|
|
+ <DasType>varchar(255)|0s</DasType>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3727" parent="700" name="ticket">
|
|
|
+ <DasType>int(11)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3728" parent="700" name="tipogestion">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3729" parent="700" name="diasseguimientos">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3730" parent="701" name="codigo_banco">
|
|
|
+ <DasType>char(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3731" parent="701" name="correlativo">
|
|
|
+ <DasType>char(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3732" parent="701" name="tipo_cuenta">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3733" parent="701" name="descripcion_cuenta">
|
|
|
+ <DasType>char(30)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3734" parent="701" name="numero_cuenta">
|
|
|
+ <DasType>char(20)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3735" parent="701" name="inicio_talonario">
|
|
|
+ <DasType>char(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3736" parent="701" name="fin_talonario">
|
|
|
+ <DasType>char(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3737" parent="701" name="numeracion_siguiente">
|
|
|
+ <DasType>char(9)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3738" parent="701" name="cuenta_contable">
|
|
|
+ <DasType>char(14)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3739" parent="702" name="codigo_departamento">
|
|
|
+ <DasType>char(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3740" parent="702" name="nombre_departamento">
|
|
|
+ <DasType>char(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3741" parent="703" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3742" parent="703" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3743" parent="703" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3744" parent="703" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3745" parent="703" name="vendidas">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3746" parent="703" name="ventas_publica">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3747" parent="703" name="ventas">
|
|
|
+ <DasType>decimal(34,3 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3748" parent="704" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3749" parent="704" name="facturas">
|
|
|
+ <DasType>bigint(21)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3750" parent="704" name="tcd">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3751" parent="704" name="tsd">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3752" parent="704" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3753" parent="704" name="codigo_s">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3754" parent="704" name="sucursal">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3755" parent="705" name="usuario_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3756" parent="705" name="facturacodb">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3757" parent="705" name="serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3758" parent="706" name="factura_fecha">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3759" parent="706" name="factura_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3760" parent="706" name="factura_serie">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3761" parent="706" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3762" parent="706" name="territorio_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3763" parent="706" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3764" parent="706" name="factura_anulada">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3765" parent="707" name="terri">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3766" parent="707" name="R_venta">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3767" parent="707" name="R_nabono">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3768" parent="707" name="R_cobro">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3769" parent="707" name="R_efectivas">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3770" parent="707" name="R_ingresos">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3771" parent="707" name="R_mora">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3772" parent="707" name="R_pedidos_ingresados">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3773" parent="707" name="R_pedidos_facturados">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3774" parent="707" name="R_activos">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3775" parent="707" name="R_clientes_pedidos">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3776" parent="707" name="R_credito">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3777" parent="707" name="R_contado">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>13</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3778" parent="708" name="codigo_papeleria">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3779" parent="708" name="descripcion_papeleria">
|
|
|
+ <DasType>varchar(60)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3780" parent="708" name="departamento">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3781" parent="708" name="nombre_departamento">
|
|
|
+ <DasType>char(25)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3782" parent="708" name="existencia_actual">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3783" parent="708" name="existencia_anterior">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3784" parent="708" name="existencia_fisica">
|
|
|
+ <DasType>decimal(5)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3785" parent="708" name="codigo_clasificacion">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3786" parent="708" name="descripcion_clasificacion">
|
|
|
+ <DasType>varchar(40)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3787" parent="709" name="codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3788" parent="709" name="producto">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3789" parent="709" name="cantidad">
|
|
|
+ <DasType>varchar(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3790" parent="709" name="observacion">
|
|
|
+ <DasType>varchar(37)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3791" parent="710" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3792" parent="710" name="dir2">
|
|
|
+ <DasType>text|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3793" parent="711" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3794" parent="711" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3795" parent="711" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3796" parent="711" name="nombre">
|
|
|
+ <DasType>varchar(100)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3797" parent="711" name="vendidas">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3798" parent="711" name="ventas_publica">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3799" parent="711" name="ventas">
|
|
|
+ <DasType>decimal(34,3 digit)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3800" parent="712" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3801" parent="712" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3802" parent="712" name="paquetes">
|
|
|
+ <DasType>decimal(26)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3803" parent="712" name="total_con_descuento">
|
|
|
+ <DasType>decimal(34,3 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3804" parent="712" name="total_sin_descuento">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3805" parent="713" name="id">
|
|
|
+ <DasType>varchar(14)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3806" parent="713" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3807" parent="713" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3808" parent="713" name="detalle_envio">
|
|
|
+ <DasType>char(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3809" parent="713" name="codigo_barra">
|
|
|
+ <DasType>varchar(13)|0s</DasType>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3810" parent="713" name="producto_nombre">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3811" parent="713" name="precio_programa_oferta">
|
|
|
+ <DasType>tinyint(1)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3812" parent="713" name="oferta_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3813" parent="713" name="nombre_oferta">
|
|
|
+ <DasType>varchar(50)|0s</DasType>
|
|
|
+ <Position>9</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3814" parent="713" name="precio_programa_sin_descuento">
|
|
|
+ <DasType>decimal(12,2 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>10</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3815" parent="713" name="precio_programa_con_descuento">
|
|
|
+ <DasType>decimal(12,3 digit)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>11</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3816" parent="713" name="foferta">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>12</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3817" parent="714" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3818" parent="714" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3819" parent="714" name="producto">
|
|
|
+ <DasType>varchar(75)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3820" parent="714" name="actual">
|
|
|
+ <DasType>decimal(8)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3821" parent="714" name="vendidos">
|
|
|
+ <DasType>int(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3822" parent="715" name="fecha_inicio">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3823" parent="715" name="fecha_fin">
|
|
|
+ <DasType>varchar(10)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3824" parent="715" name="programa_actual">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3825" parent="715" name="programa_sigiente">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3826" parent="715" name="programa_anterior">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3827" parent="716" name="producto_codigo">
|
|
|
+ <DasType>varchar(5)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3828" parent="716" name="producto_total">
|
|
|
+ <DasType>decimal(40)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3829" parent="716" name="sucursal_codigo">
|
|
|
+ <DasType>int(2) unsigned zerofill|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3830" parent="716" name="programa_codigo">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3831" parent="716" name="fingreso">
|
|
|
+ <DasType>date|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3832" parent="717" name="territorio">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3833" parent="717" name="consultor_codigo">
|
|
|
+ <DasType>varchar(6)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3834" parent="717" name="programa">
|
|
|
+ <DasType>varchar(3)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3835" parent="717" name="tipo_empaque">
|
|
|
+ <DasType>varchar(45)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3836" parent="717" name="cantidad">
|
|
|
+ <DasType>int(10) unsigned|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>5</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3837" parent="717" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>6</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3838" parent="717" name="reparto_codigo">
|
|
|
+ <DasType>varchar(4)|0s</DasType>
|
|
|
+ <Position>7</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3839" parent="717" name="apoyo">
|
|
|
+ <DasType>varchar(30)|0s</DasType>
|
|
|
+ <Position>8</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3840" parent="718" name="sucursal_codigo">
|
|
|
+ <DasType>varchar(2)|0s</DasType>
|
|
|
+ <NotNull>1</NotNull>
|
|
|
+ <Position>1</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3841" parent="718" name="sucursal">
|
|
|
+ <DasType>varchar(15)|0s</DasType>
|
|
|
+ <Position>2</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3842" parent="718" name="total_con_iva">
|
|
|
+ <DasType>decimal(34,2 digit)|0s</DasType>
|
|
|
+ <Position>3</Position>
|
|
|
+ </column>
|
|
|
+ <column id="3843" parent="718" name="total_sin_iva">
|
|
|
+ <DasType>decimal(35,2 digit)|0s</DasType>
|
|
|
+ <Position>4</Position>
|
|
|
+ </column>
|
|
|
+ </database-model>
|
|
|
+</dataSource>
|