Table llx product fournisseur price: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Table) |
||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[ | [[Category:Table SQL]] | ||
[[Category:Produit]] | |||
[[Category:Product]] | |||
[[Category:Productos]] | |||
[[Category:Fournisseur]] | |||
[[Category:Supplier]] | |||
[[Category:Proveedores]] | |||
{{ListOfTables}} | |||
= Content/Contenu/Contenido = | |||
{{flag en}} Contains the price of products by each supplier. | |||
{{flag fr}} Contient les prix des produits de chaque fournisseur. | |||
{{flag sp}} Contiene los precios de los productos de cada proveedor. | |||
= 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>Type</b> | |||
|style="background-color: #e9e9ef"| <b>Null</b> | |||
|style="background-color: #e9e9ef"| <b>Key</b> | |||
|style="background-color: #e9e9ef"| <b>Default</b> | |||
|style="background-color: #e9e9ef"| <b>Extra</b> | |||
|style="background-color: #e9e9ef"| <b>Description</b> | |||
|- | |||
| rowid | |||
| int(11) | |||
| NO | |||
| PRI | |||
| | |||
| auto_increment | |||
| technical index | |||
|- | |||
| datec | |||
| datetime | |||
| YES | |||
| | |||
| NULL | |||
| | |||
| creation date | |||
{{FieldTms}} | |||
|- | |||
| fk_product | |||
| int(11) | |||
| NO | |||
| MUL | |||
| NULL | |||
| | |||
| ID of supplied product ([[Table llx_product|llx_product]]->rowid) | |||
|- | |||
| fk_soc | |||
| int(11) | |||
| NO | |||
| MUL | |||
| NULL | |||
| | |||
| ID of thirdparty ([[Table llx_societe|llx_societe]]->rowid) | |||
|- | |||
| ref_fourn | |||
| varchar(30) | |||
| NO | |||
| MUL | |||
| NULL | |||
| | |||
| Ref for supplier | |||
|- | |||
| fk_availability | |||
| int(11) | |||
| YES | |||
| | |||
| | |||
| | |||
| ID of availability ([[Table llx_c_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 ([[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 |