Table llx commande fournisseur: Difference between revisions
| Line 14: | Line 14: | ||
= Structure = | = Structure = | ||
{| 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 33: | Line 32: | ||
|- | |- | ||
| tms | | tms | ||
| timestamp | | timestamp | ||
| NO | | NO | ||
| | | | ||
| CURRENT_TIMESTAMP | |||
| | |||
| last update date | |||
|- | |- | ||
| fk_soc | | fk_soc | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| | | | ||
| | | | ||
| | | | ||
| ID | | ID society ([[Table llx_societe|llx_societe]]->rowid) | ||
|- | |- | ||
| fk_projet | | fk_projet | ||
| int(11) | | int(11) | ||
| | | | ||
| | | | ||
| 0 | | 0 | ||
| | | | ||
| ID of proyect | | ID of proyect ([[Table llx_projet|llx_projet]]->rowid) | ||
|- | |- | ||
| ref | | ref | ||
| varchar(30) | | varchar(30) | ||
| | | YES | ||
| | | | ||
| | |||
| | |||
| order number | |||
|- | |||
| entity | |||
| int(11) | |||
| | |||
| | | | ||
| | | 1 | ||
| | | | ||
| multi company id | |||
|- | |- | ||
| | | ref_supplier | ||
| | | varchar(30) | ||
| YES | | YES | ||
| | | | ||
| NULL | |||
| | |||
| supplier order number | |||
|- | |- | ||
| | | date_creation | ||
| datetime | | datetime | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| creation date | |||
|- | |- | ||
| | | date_valid | ||
| datetime | | datetime | ||
| YES | | YES | ||
| | |||
| NULL | |||
| | | | ||
| | | validation date | ||
|- | |||
| date_cloture | |||
| datetime | |||
| YES | |||
| | | | ||
| NULL | |||
| | | | ||
| closed date | |||
|- | |- | ||
| | | date_comande | ||
| date | | date | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| order date | |||
|- | |- | ||
| fk_user_author | | fk_user_author | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| ID creator user ([[Table llx_user|llx_user]]->rowid) | |||
|- | |||
| fk_user_valid | |||
| int(11) | |||
| YES | |||
| | | | ||
| NULL | |||
| | |||
| ID validator user ([[Table llx_user|llx_user]]->rowid) | |||
|- | |- | ||
| | | fk_user_cloture | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| ID closer user ([[Table llx_user|llx_user]]->rowid) | |||
|- | |- | ||
| | | source | ||
| | | smallint(6) | ||
| YES | | YES | ||
| | | | ||
| NULL | |||
| | | | ||
| order source | |||
|- | |- | ||
| | | fk_statut | ||
| smallint(6) | | smallint(6) | ||
| | | YES | ||
| | | | ||
| | | 0 | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | amount_ht | ||
| | | double | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0 | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | remise_percent | ||
| double | | double | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0 | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | remise | ||
| double | | double | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0 | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | tva | ||
| double | | double(24,8) | ||
| YES | | YES | ||
| | |||
| 0.00 | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | total_ht | ||
| double | | double(24,8) | ||
| YES | | YES | ||
| | |||
| 0.00 | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | total_ttc | ||
| double | | double(24,8) | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0.00 | ||
| | | | ||
| | | | ||
|- | |- | ||
| | | note | ||
| | | text | ||
| YES | | YES | ||
| | | | ||
| | | NULL | ||
| | | | ||
| comentary | |||
|- | |- | ||
| | | note_public | ||
| text | | text | ||
| YES | | YES | ||
| | | | ||
| NULL | |||
| NULL | |||
| | | | ||
| public comentary | |||
|- | |- | ||
| model_pdf | | model_pdf | ||
| varchar(50) | | varchar(50) | ||
| YES | | YES | ||
| | | | ||
| NULL | | NULL | ||
| | | | ||
| Model PDF to print | |||
|- | |- | ||
| fk_methode_commande | | fk_methode_commande | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | | ||
| 0 | |||
| | | | ||
| order method | |||
|} | |} | ||
Revision as of 16:14, 2 June 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 provider orders (orders made to the providers). These orders may be later extended as (provider-) invoices, in which case is used the Table llx_facture_fourn.
La table llx_commande_fournisseur contient les commandes fournisseurs (les commandes effectuées auprès des fournisseurs). Ces commandes peuvent plus tard être étendues sous forme de factures fournisseurs, auquel cas c'est la table Table llx_facture_fourn qui est utilisée.
Contiene los pedidos a proveedores (pedidos realizados a los proveedores). Estos pedidos pueden extenderse a facturas de proveedores, en este caso se usa la Table llx_facture_fourn.
Structure
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | PRI | NULL | auto_increment | technical index | |
| tms | timestamp | NO | CURRENT_TIMESTAMP | last update date | ||
| fk_soc | int(11) | NO | ID society (llx_societe->rowid) | |||
| fk_projet | int(11) | 0 | ID of proyect (llx_projet->rowid) | |||
| ref | varchar(30) | YES | order number | |||
| entity | int(11) | 1 | multi company id | |||
| ref_supplier | varchar(30) | YES | NULL | supplier order number | ||
| date_creation | datetime | YES | NULL | creation date | ||
| date_valid | datetime | YES | NULL | validation date | ||
| date_cloture | datetime | YES | NULL | closed date | ||
| date_comande | date | YES | NULL | order date | ||
| fk_user_author | int(11) | YES | NULL | ID creator user (llx_user->rowid) | ||
| fk_user_valid | int(11) | YES | NULL | ID validator user (llx_user->rowid) | ||
| fk_user_cloture | int(11) | YES | NULL | ID closer user (llx_user->rowid) | ||
| source | smallint(6) | YES | NULL | order source | ||
| fk_statut | smallint(6) | YES | 0 | |||
| amount_ht | double | YES | 0 | |||
| remise_percent | double | YES | 0 | |||
| remise | double | YES | 0 | |||
| tva | double(24,8) | YES | 0.00 | |||
| total_ht | double(24,8) | YES | 0.00 | |||
| total_ttc | double(24,8) | YES | 0.00 | |||
| note | text | YES | NULL | comentary | ||
| note_public | text | YES | NULL | public comentary | ||
| model_pdf | varchar(50) | YES | NULL | Model PDF to print | ||
| fk_methode_commande | int(11) | YES | 0 | order method |