Table llx contrat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 15: | Line 15: | ||
= Structure = | = Structure = | ||
== Table == | |||
'''Version 1.1 2009/10/07''' | |||
{| 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" | {| 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> | |style="background-color: #e9e9ef"| <b>Field</b> | ||
| Line 26: | Line 28: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 35: | Line 37: | ||
| varchar(30) | | varchar(30) | ||
| YES | | YES | ||
| | | UNI | ||
| | | NULL | ||
| | | | ||
| contrat reference | | contrat reference | ||
| Line 42: | Line 44: | ||
| entity | | entity | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | UNI | ||
| 1 | | 1 | ||
| | | | ||
| Line 106: | Line 108: | ||
| fk_soc | | fk_soc | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | MUL | ||
| | | | ||
| | | | ||
| Line 122: | Line 124: | ||
| fk_commercial_signature | | fk_commercial_signature | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | | ||
| | | | ||
| Line 130: | Line 132: | ||
| fk_commercial_suivi | | fk_commercial_suivi | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | | ||
| | | | ||
| Line 138: | Line 140: | ||
| fk_user_author | | fk_user_author | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | MUL | ||
| 0 | | 0 | ||
| | | | ||
| Line 175: | Line 177: | ||
| | | | ||
| public comentary | | public comentary | ||
|} | |} | ||
== Keys == | |||
'''Version 1.1 2009/10/07''' | |||
{| 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>Key</b> | |||
|style="background-color: #e9e9ef"| <b>Type</b> | |||
|style="background-color: #e9e9ef"| <b>Fields</b> | |||
|- | |||
| PRIMARY | |||
| PRIMARY | |||
| rowid | |||
|- | |||
| uk_contrat_ref | |||
| UNIQUE | |||
| ref,entity | |||
|- | |||
| idx_contrat_fk_soc | |||
| MULTIPLE | |||
| fk_soc | |||
|- | |||
| idx_contrat_fk_user_author | |||
| MULTIPLE | |||
| fk_user_author | |||
|} | |||
Revision as of 08:28, 20 October 2009
The documentation related to other tables is available on the page: Table SQL
La documentation relative aux autres tables est disponible sur la page: Table SQL
La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
与其他表相关的文档请参阅:Table SQL
Content/Contenu/Contenido
Contains the contrats. The contrats details are in Table llx_contratdet
Contient des contrats, les détails du contrat sont dans la Table llx_contratdet
Contiene los contratos, los detalles de los contratos están en Table llx_contratdet
Structure
Table
Version 1.1 2009/10/07
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | NO | PRI | auto_increment | technical index | |
| ref | varchar(30) | YES | UNI | NULL | contrat reference | |
| entity | int(11) | NO | UNI | 1 | multi company id | |
| tms | timestamp | NO | CURRENT_TIMESTAMP | last update date | ||
| date_c | datetime | YES | NULL | creation date | ||
| date_contract | datetime | YES | NULL | date of contract | ||
| statut | smallint(6) | YES | 0 | status of contract | ||
| mise_en_service | datetime | YES | NULL | date of contract activation | ||
| fin_validite | datetime | YES | NULL | date of end validation | ||
| date_cloture | datetime | YES | NULL | date of contract close | ||
| fk_soc | int(11) | NO | MUL | ID society (llx_societe->rowid) | ||
| fk_projet | int(11) | YES | NULL | ID of proyect (llx_projet->rowid) | ||
| fk_commercial_signature | int(11) | NO | obsolete | |||
| fk_commercial_suivi | int(11) | NO | obsolete | |||
| fk_user_author | int(11) | NO | MUL | 0 | ID creator user (llx_user->rowid) | |
| fk_user_mis_en_service | int(11) | YES | NULL | ID activator user (llx_user->rowid) | ||
| fk_user_cloture | int(11) | YES | NULL | ID closer user (llx_user->rowid) | ||
| note | text | YES | NULL | comentary | ||
| note_public | text | YES | NULL | public comentary |
Keys
Version 1.1 2009/10/07
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| uk_contrat_ref | UNIQUE | ref,entity |
| idx_contrat_fk_soc | MULTIPLE | fk_soc |
| idx_contrat_fk_user_author | MULTIPLE | fk_user_author |