Module Categories (developer): Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
mNo edit summary
m (add user)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- BEGIN origin interlang links -->
<!-- You can edit this section but do NOT remove these comments
    Links below will be automatically replicated on translated pages by PolyglotBot -->
[[fr:Module_Catégories_(développeur)]]
[[es:Módulo_Categorías_(desarrollador)]]
<!-- END interlang links -->
[[Category:Categories]]
[[Category:Categories]]
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}
Line 8: Line 15:
userdoc=[[Module Categories]]|}}
userdoc=[[Module Categories]]|}}


= Features =
=Features=
The category module adds a way to classify customer third parties, supplier third parties and products in one or multiple categories.
The category module adds a way to classify objects in one or multiple categories.
 
It is available for: 
 
- Products / Services  (type 0)   
 
- Suppliers  (type 1)   
 
- Customers  (type 2)   
 
- Members  (type 3)   
 
- Contacts  (type 4) 
 
- Projects  (type 6) 
 
- User  (type 7) 
 
..  


= Entity Category =
=Entity Category=
{{TemplateDocDevEntityEn|
{{TemplateDocDevEntityEn|
class=htdocs/categories/class/categorie.class.php}}
class=htdocs/categories/class/categorie.class.php}}


= Permissions =
=Permissions=
* ->categorie->lire
 
* ->categorie->creer
*->categorie->lire
* ->categorie->supprimer
*->categorie->creer
* ->categorie->voir
*->categorie->supprimer
*->categorie->voir
 
=Tables SQL=


= Tables SQL =
*[[Table llx categorie|llx categorie]] Contains different categories for different "objects" of Dolibarr (suppliers, customers, products, ...)
* [[Table llx categorie|llx categorie]] Contains different categories for different "objects" of Dolibarr (suppliers, customers, products, ...)
*[[Table llx categorie association|llx categorie association]]
* [[Table llx categorie association|llx categorie association]]

Latest revision as of 09:29, 30 October 2020

Category
Numero/ID of module 1780
User doc. of module Module Categories
Developer doc. of module This page

Features

The category module adds a way to classify objects in one or multiple categories.

It is available for:

- Products / Services (type 0)

- Suppliers (type 1)

- Customers (type 2)

- Members (type 3)

- Contacts (type 4)

- Projects (type 6)

- User (type 7)

..

Entity Category

The PHP class to use to manipulate such object is file htdocs/categories/class/categorie.class.php.

It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.

Permissions

  • ->categorie->lire
  • ->categorie->creer
  • ->categorie->supprimer
  • ->categorie->voir

Tables SQL