4,395
edits
| Line 15: | Line 15: | ||
= 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" | |||
|style="background-color: #e9e9ef"| <b>Field</b> | |||
|style="background-color: #e9e9ef"| <b>Type</b> | |||
| | |style="background-color: #e9e9ef"| <b>Null</b> | ||
|style="background-color: #e9e9ef"| <b>Key</b> | |||
| rowid | |style="background-color: #e9e9ef"| <b>Default</b> | ||
| datec | |style="background-color: #e9e9ef"| <b>Extra</b> | ||
| tms | |style="background-color: #e9e9ef"| <b>Description</b> | ||
| ref | |- | ||
| label | | rowid | ||
| description | | int(11) | ||
| note | | | ||
| price | | PRI | ||
| price_ttc | | NULL | ||
| price_base_type | | auto_increment | ||
| tva_tx | | technical index | ||
| fk_user_author | |- | ||
| envente | | datec | ||
| nbvente | | datetime | ||
| fk_product_type | | YES | ||
| duration | | | ||
| stock_propale | | NULL | ||
| stock_commande | | | ||
| seuil_stock_alerte | int(11) | | | ||
| stock_loc | |- | ||
| gencode | | tms | ||
| weight | | timestamp | ||
| weight_units | | NO | ||
| volume | | | ||
| volume_units | | CURRENT_TIMESTAMP | ||
| canvas | | | ||
| | |||
|- | |||
| ref | |||
| varchar(32) | |||
| NO | |||
| UNI | |||
| | |||
| | |||
| | |||
|- | |||
| label | |||
| varchar(255) | |||
| NO | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
| description | |||
| text | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| note | |||
| text | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| price | |||
| double(16,8) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| price_ttc | |||
| double(16,8) | |||
| YES | |||
| | |||
| 0.00000000 | |||
| | |||
| | |||
|- | |||
| price_base_type | |||
| varchar(3) | |||
| YES | |||
| | |||
| HT | |||
| | |||
| | |||
|- | |||
| tva_tx | |||
| double(6,3) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| fk_user_author | |||
| int(11) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| envente | |||
| tinyint(4) | |||
| YES | |||
| | |||
| 1 | |||
| | |||
| | |||
|- | |||
| nbvente | |||
| int(11) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| fk_product_type | |||
| int(11) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| duration | |||
| varchar(6) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| stock_propale | |||
| int(11) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| stock_commande | |||
| int(11) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| seuil_stock_alerte | |||
| int(11) | |||
| YES | |||
| | |||
| 0 | |||
| | |||
| | |||
|- | |||
| stock_loc | |||
| varchar(10) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| gencode | |||
| varchar(255) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| | |||
|- | |||
| weight | |||
| float | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| weight value, depending on weight units | |||
|- | |||
| weight_units | |||
| tinyint(4) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| weight units (0=kg,-3=g,-6=mg) | |||
|- | |||
| volume | |||
| float | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| volume value | |||
|- | |||
| volume_units | |||
| tinyint(4) | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| volume units (0=m3,-3=cm3,-6=mm3) | |||
|- | |||
| canvas | |||
| varchar(15) | |||
| YES | |||
| | |||
| | |||
| | |||
| | |||
|} | |||
= Notes = | = Notes = | ||