Table llx product fournisseur price: Difference between revisions
Jump to navigation
Jump to search
(→Table) |
(→Table) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 42: | 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) | |||
| NO | |||
| MUL | |||
| NULL | |||
| | | | ||
| | | ID of thirdparty ([[Table llx_societe|llx_societe]]->rowid) | ||
|- | |- | ||
| | | ref_fourn | ||
| | | varchar(30) | ||
| NO | | NO | ||
| MUL | | MUL | ||
| NULL | | NULL | ||
| | | | ||
| | | Ref for supplier | ||
|- | |- | ||
| fk_availability | | fk_availability | ||
| int(11) | | int(11) | ||
| | | YES | ||
| | | | ||
| | | | ||
| Line 90: | Line 99: | ||
| | | | ||
| price unitary | | price unitary | ||
|- | |||
| tva_tx | |||
| double(6,3) | |||
| YES | |||
| | |||
| 0.00000000 | |||
| | |||
| vat rate | |||
|- | |- | ||
| fk_user | | fk_user | ||
| Line 114: | Line 131: | ||
| fk_user | | 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 | | 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 |