Module Categories (developer): Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
mNo edit summary
Line 15: 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.


= Entity Category =
It is available for:
 
- Products / Services  (type 0)
 
- Suppliers  (type 1)
 
-
 
=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]]

Revision as of 08:27, 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)

-

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