Table llx user entrepot: Difference between revisions

No edit summary
 
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Catégorie:Stock]][[Catégorie:Utilisateur]][[Catégorie:Table SQL]]
[[Category:Stock]]
[[Category:Table SQL]]
[[Category:Utilisateurs]]
[[Category:Users]]
[[Category:Usuarios]]
{{ListOfTables}}


La table '''llx_user_entrepot''' permet d'affecter un stock à un utilisateur avec des permissions spécifiques
= Content/Contenu/Contenido =


create table llx_user_entrepot
{{flag_en}} Allows to assign a stock to a user with specific permissions.
(
 
  rowid        integer AUTO_INCREMENT PRIMARY KEY,
{{flag_fr}} Permet d'affecter un stock à un utilisateur avec des permissions spécifiques.
  fk_entrepot integer UNSIGNED, -- pointe sur llx_entrepot
 
  fk_user     integer UNSIGNED, -- pointe sur llx_user
{{flag_sp}} Permite asignar un stock a un usuario con permisos específicos.
  consult     tinyint(1) UNSIGNED,
 
  send         tinyint(1) UNSIGNED
= Structure =
)type=innodb;
== 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
|-
| fk_entrepot
| int(10)
| YES
|
| NULL
|
| ID of warehouse ([[Table llx_entrepot|llx_entrepot]]->rowid)
|-
| fk_user
| int(10)
| YES
|
| NULL
|
| ID of user ([[Table llx_user|llx_user]]->rowid)
|-
| consult
| tinyint(1)  
| YES
|
| NULL
|
|
|-
| send
| tinyint(1)  
| YES
|
| NULL
|
|
|}&nbsp;
== 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
|}&nbsp;

Latest revision as of 16:01, 19 July 2011


En verysmall.png The documentation related to other tables is available on the page: Table SQL
Fr verysmall.png La documentation relative aux autres tables est disponible sur la page: Table SQL
Es verysmall.png La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
De verysmall.png Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
Cn verysmall.png与其他表相关的文档请参阅:Table SQL


Content/Contenu/Contenido

  Allows to assign a stock to a user with specific permissions.

  Permet d'affecter un stock à un utilisateur avec des permissions spécifiques.

  Permite asignar un stock a un usuario con permisos específicos.

Structure

Table

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
fk_entrepot int(10) YES NULL ID of warehouse (llx_entrepot->rowid)
fk_user int(10) YES NULL ID of user (llx_user->rowid)
consult tinyint(1) YES NULL
send tinyint(1) YES NULL

 

Keys

Key Type Fields
PRIMARY PRIMARY rowid