31,040
edits
mNo edit summary Tag: 2017 source edit |
|||
| (9 intermediate revisions by 3 users not shown) | |||
| Line 6: | Line 6: | ||
{{ListOfTables}} | {{ListOfTables}} | ||
= Contenu = | = Content/Contenu/Contenido = | ||
{{flag en}} Contains the contrats. The contrats details are in [[Table llx_contratdet]] | |||
{{flag fr}} Contient des contrats, les détails du contrat sont dans la [[Table llx_contratdet]] | |||
{{flag sp}} Contiene los contratos, los detalles de los contratos están en [[Table llx_contratdet]] | |||
= Structure = | = Structure = | ||
{| | == Table == | ||
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | |||
|style="background-color: #e9e9ef"| <b>Field</b> | |style="background-color: #e9e9ef"| <b>Field</b> | ||
|style="background-color: #e9e9ef"| <b>Type</b> | |style="background-color: #e9e9ef"| <b>Type</b> | ||
| Line 21: | Line 27: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
|- | |- | ||
| | | ref | ||
| | | varchar(30) | ||
| YES | |||
| UNI | |||
| NULL | |||
| | | | ||
| contrat reference | |||
{{FieldEntity}} | |||
{{FieldRefExt}} | |||
{{FieldTms}} | |||
|- | |||
| date_c | |||
| datetime | |||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| creation date | |||
|- | |||
| date_contract | |||
| datetime | |||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| date of contract | |||
|- | |- | ||
| | | statut | ||
| smallint | | smallint(6) | ||
| | | YES | ||
| | | | ||
| 0 | | 0 | ||
| | | | ||
| | | status of contract, 0=draft,1=validated | ||
|- | |- | ||
| mise_en_service | | mise_en_service | ||
| datetime | | datetime | ||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| | | date of contract activation | ||
|- | |- | ||
| | | fin_validite | ||
| datetime | | datetime | ||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| | | date of end validation | ||
|- | |- | ||
| date_cloture | | date_cloture | ||
| datetime | | datetime | ||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| | | date of contract close | ||
|- | |- | ||
| fk_soc | | fk_soc | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | MUL | ||
| | | | ||
| | | | ||
| ID | | ID society ([[Table llx_societe|llx_societe]]->rowid) | ||
|- | |- | ||
| | | fk_projet | ||
| int(11) | | int(11) | ||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| ID of proyect ([[Table llx_projet|llx_projet]]->rowid) | |||
| ID of | |||
|- | |- | ||
| | | fk_commercial_signature | ||
| int(11) | | int(11) | ||
| NO | |||
| | | | ||
| | |||
| | | | ||
| | | obsolete | ||
|- | |- | ||
| | | fk_commercial_suivi | ||
| int(11) | | int(11) | ||
| NO | |||
| | | | ||
| | | | ||
| | | | ||
| obsolete | |||
|- | |- | ||
| fk_user_author | | fk_user_author | ||
| int(11) | | int(11) | ||
| | | NO | ||
| | | MUL | ||
| 0 | | 0 | ||
| | | | ||
| | | ID creator user ([[Table llx_user|llx_user]]->rowid) | ||
|- | |- | ||
| fk_user_mis_en_service | | fk_user_mis_en_service | ||
| int(11) | | int(11) | ||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| | | ID activator user ([[Table llx_user|llx_user]]->rowid) | ||
| | |||
|- | |- | ||
| fk_user_cloture | | fk_user_cloture | ||
| int(11) | | int(11) | ||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| ID closer user ([[Table llx_user|llx_user]]->rowid) | |||
|- | |||
| note | |||
| text | |||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| comentary | |||
|- | |||
| note_public | |||
| text | |||
| YES | |||
| | | | ||
|} | | NULL | ||
| | |||
| public comentary | |||
{{FieldImportKey}} | |||
|} | |||
== Keys == | |||
{| align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox" | |||
|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 | |||
|} | |||