Table llx commande fournisseur: Difference between revisions

Jump to navigation Jump to search
Line 16: Line 16:
= Structure =
= Structure =


<pre>
{|  align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0"  style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5"
+---------------------+-------------+------+-----+-------------------+----------------+
|style="background-color: #e9e9ef"| <b>Field</b>
| Field              | Type       | Null | Key | Default           | Extra         |
|style="background-color: #e9e9ef"| <b>Type</b>
+---------------------+-------------+------+-----+-------------------+----------------+
|style="background-color: #e9e9ef"| <b>Null</b>
| rowid               | int(11)     | NO  | PRI | NULL             | auto_increment |  
|style="background-color: #e9e9ef"| <b>Key</b>
| tms                 | timestamp   | NO   |     | CURRENT_TIMESTAMP |               |  
|style="background-color: #e9e9ef"| <b>Default</b>
| fk_soc             | int(11)     | NO   | MUL |                   |               |  
|style="background-color: #e9e9ef"| <b>Extra</b>
| fk_projet           | int(11)     | YES |     | 0                 |               |  
|style="background-color: #e9e9ef"| <b>Description</b>
| ref                 | varchar(30) | NO   | UNI |                   |               |  
|-  
| date_creation       | datetime   | YES |     | NULL             |               |  
| rowid  
| date_valid         | datetime   | YES |     | NULL             |               |  
| int(11)  
| date_cloture       | datetime   | YES |     | NULL             |               |  
| &nbsp;
| date_commande       | date       | YES |     | NULL             |               |  
| PRI
| fk_user_author     | int(11)     | YES |     | NULL             |               |  
| NULL
| fk_user_valid       | int(11)     | YES |     | NULL             |               |  
| auto_increment  
| fk_user_cloture     | int(11)     | YES |     | NULL             |               |  
| technical index
| source             | smallint(6) | NO   |     |                   |               |  
|-
| fk_statut           | smallint(6) | YES |     | 0                 |               | 0 pour brouillon, 1 pour validée, 2 pour "approuvée", 5 pour "reçu complètement"
| tms  
| amount_ht           | double     | YES |     | 0                 |               |  
| timestamp  
| remise_percent     | double     | YES |     | 0                 |               |  
| NO  
| remise             | double     | YES |     | 0                 |               |  
|
| tva                 | double     | YES |     | 0                 |               |  
| CURRENT_TIMESTAMP  
| total_ht           | double     | YES |     | 0                 |               |  
|
| total_ttc           | double     | YES |     | 0                 |               |  
|  
| note               | text       | YES |     | NULL             |               |  
|-
| note_public         | text       | YES |     | NULL             |               |  
| fk_soc  
| model_pdf           | varchar(50) | YES |     | NULL             |               |  
| int(11)  
| fk_methode_commande | int(11)     | YES |     | 0                 |               |  
| NO  
+---------------------+-------------+------+-----+-------------------+----------------+
| MUL  
</pre>
|
|
| ID of society
|-
| fk_projet  
| int(11)
| YES  
|
| 0
|
| ID of proyect
|-
| ref  
| varchar(30)
| NO  
| UNI  
|  
|
|  
|-
| date_creation  
| datetime  
| YES  
|
| NULL  
|
|  
|-
| date_valid  
| datetime  
| YES  
|
| NULL  
|
|  
|-
| date_cloture  
| datetime  
| YES  
|  
| NULL  
|  
|  
|-
| date_commande  
| date  
| YES  
|  
| NULL  
|
|
|-
| fk_user_author  
| int(11)  
| YES  
|  
| NULL  
|
|  
|-
| fk_user_valid  
| int(11)  
| YES  
|
| NULL  
|
|  
|-
| fk_user_cloture  
| int(11)  
| YES  
|
| NULL  
|  
|  
|-
| source  
| smallint(6)  
| NO  
|
|
|
|  
|-
| fk_statut  
| smallint(6)  
| YES  
|
| 0  
|
| 0 pour brouillon, 1 pour validée, 2 pour "approuvée", 5 pour "reçu complètement"
|-
| amount_ht  
| double  
| YES  
|
| 0  
|  
|  
|-
| remise_percent  
| double  
| YES  
|
| 0  
|
|  
|-
| remise  
| double  
| YES  
|  
| 0  
|
|  
|-
| tva  
| double  
| YES  
|  
| 0  
|
|
|-
| total_ht  
| double  
| YES  
|
| 0
|
|  
|-
| total_ttc  
| double  
| YES  
|  
| 0
|
|  
|-
| note  
| text  
| YES  
|
| NULL  
|
|  
|-
| note_public  
| text  
| YES  
|
| NULL  
|
|  
|-
| model_pdf  
| varchar(50)
| YES  
|  
| NULL  
|
|  
|-
| fk_methode_commande  
| int(11)  
| YES  
|  
| 0  
|  
|  
|}

Navigation menu