Table llx product fournisseur price: Difference between revisions
Jump to navigation
Jump to search
(→Table) |
|||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
= Structure = | = Structure = | ||
{| align="left" width="100%" border="0 | == 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 28: | Line 29: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
| | | NO | ||
| PRI | | PRI | ||
| | | | ||
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
| Line 41: | Line 42: | ||
| | | | ||
| creation date | | creation date | ||
{{FieldTms}} | |||
|- | |- | ||
| | | fk_product | ||
| | | int(11) | ||
| NO | | NO | ||
| MUL | |||
| NULL | |||
| | | | ||
| | | ID of supplied product ([[Table llx_product|llx_product]]->rowid) | ||
| | |||
|- | |- | ||
| | | fk_soc | ||
| int(11) | | int(11) | ||
| NO | | NO | ||
| MUL | |||
| NULL | |||
| | | | ||
| ID of thirdparty ([[Table llx_societe|llx_societe]]->rowid) | |||
|- | |||
| ref_fourn | |||
| varchar(30) | |||
| NO | |||
| MUL | |||
| NULL | | NULL | ||
| | | | ||
| ID of | | Ref for supplier | ||
|- | |||
| fk_availability | |||
| int(11) | |||
| YES | |||
| | |||
| | |||
| | |||
| ID of availability ([[Table llx_c_availability|llx_c_availability]]->rowid) | |||
|- | |- | ||
| price | | price | ||
| double( | | double(24,8) | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0,00000000 | ||
| | | | ||
| price | | price | ||
| Line 75: | Line 93: | ||
|- | |- | ||
| unitprice | | unitprice | ||
| double( | | double(24,8) | ||
| YES | | YES | ||
| | | | ||
| 0 | | 0.00000000 | ||
| | | | ||
| price unitary | | price unitary | ||
|- | |||
| tva_tx | |||
| double(6,3) | |||
| YES | |||
| | |||
| 0.00000000 | |||
| | |||
| vat rate | |||
|- | |- | ||
| fk_user | | fk_user | ||
| int(11) | | int(11) | ||
| YES | | YES | ||
| | | MUL | ||
| NULL | | NULL | ||
| | | | ||
| ID last modifier user ([[Table llx_user|llx_user]]->rowid) | | ID last modifier user ([[Table llx_user|llx_user]]->rowid) | ||
|} | |} | ||
== 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 | |||
|- | |||
| idx_product_fournisseur_price_fk_user | |||
| MULTIPLE | |||
| fk_user | |||
|- | |||
| idx_product_fournisseur_price_fk_product | |||
| MULTIPLE | |||
| fk_product, entity | |||
|- | |||
| idx_product_fournisseur_price_fk_soc | |||
| MULTIPLE | |||
| fk_soc, entity | |||
|- | |||
| uk_product_fournisseur_price_ref | |||
| MULTIPLE | |||
| ref_fourn, fk_soc, quantity, entity | |||
|} | |||
Latest revision as of 12:47, 10 August 2012
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 price of products by each supplier.
Contient les prix des produits de chaque fournisseur.
Contiene los precios de los productos de cada proveedor.
Structure
Table
| Field | Type | Null | Key | Default | Extra | Description |
| rowid | int(11) | NO | PRI | auto_increment | technical index | |
| datec | datetime | YES | NULL | creation date | ||
| tms | timestamp | NO | Current date | Date of last modification. See page Field Tms. | ||
| fk_product | int(11) | NO | MUL | NULL | ID of supplied product (llx_product->rowid) | |
| fk_soc | int(11) | NO | MUL | NULL | ID of thirdparty (llx_societe->rowid) | |
| ref_fourn | varchar(30) | NO | MUL | NULL | Ref for supplier | |
| fk_availability | int(11) | YES | ID of availability (llx_c_availability->rowid) | |||
| price | double(24,8) | YES | 0,00000000 | price | ||
| quantity | double | YES | NULL | quantity of product | ||
| unitprice | double(24,8) | YES | 0.00000000 | price unitary | ||
| tva_tx | double(6,3) | YES | 0.00000000 | vat rate | ||
| fk_user | int(11) | YES | MUL | NULL | ID last modifier user (llx_user->rowid) |
Keys
| Key | Type | Fields |
| PRIMARY | PRIMARY | rowid |
| idx_product_fournisseur_price_fk_user | MULTIPLE | fk_user |
| idx_product_fournisseur_price_fk_product | MULTIPLE | fk_product, entity |
| idx_product_fournisseur_price_fk_soc | MULTIPLE | fk_soc, entity |
| uk_product_fournisseur_price_ref | MULTIPLE | ref_fourn, fk_soc, quantity, entity |