TAB_DOCUMENT Class
Entity's document (company, opportunity, project, order, product, purchase, action, delivery, positioning).
Properties
DOC_TYPE
Tinyint(1)Entity's type :
0
: Company1
: Opportunity2
: Project3
: Order4
: Product5
: Purchase6
: Action7
: Delivery9
: Positioning10
: Log11
: Contract12
: FollowedDocument
Default: 0
ID_ESIGNATURE
Int(11)Signature related to the document:
- Signature: TAB_ESIGNATURE.ID_ESIGNATURE.
Default: 0
ID_PARENT
Int(11)Entity's identifier :
- Company : if TAB_DOCUMENT.DOC_TYPE is
0
, cf. TAB_CRMSOCIETE.ID_CRMSOCIETE - Opportunity : if TAB_DOCUMENT.DOC_TYPE is
1
, cf. TAB_AO.ID_AO - Project : if TAB_DOCUMENT.DOC_TYPE is
2
, cf. TAB_PROJET.ID_PROJET - Order : if TAB_DOCUMENT.DOC_TYPE is
3
, cf. TAB_BONDECOMMANDE.ID_BONDECOMMANDE - Product : if TAB_DOCUMENT.DOC_TYPE is
4
, cf. TAB_PRODUIT.ID_PRODUIT - Purchase : if TAB_DOCUMENT.DOC_TYPE is
5
in [20,21,22,23,24,25,26,27,28,29,105], cf. TAB_ACHAT.ID_ACHAT - Action : if TAB_DOCUMENT.DOC_TYPE is in
6
, cf. TAB_ACTION.ID_ACTION - Delivery : if TAB_DOCUMENT.DOC_TYPE is in
7
, cf. TAB_MISSIONPROJET.ID_MISSIONPROJET - Positioning : if TAB_DOCUMENT.DOC_TYPE is in
9
, cf. TAB_POSITIONNEMENT.ID_POSITIONNEMENT - Log : if TAB_DOCUMENT.DOC_TYPE is
10
, cf. TAB_LOG.ID_LOG - Contract : if TAB_DOCUMENT.DOC_TYPE is
11
, cf. TAB_CONTRAT.ID_CONTRAT - FollowedDocument : if TAB_DOCUMENT.DOC_TYPE is
12
, cf. TAB_FOLLOWED_DOCUMENT.ID_FOLLOWED_DOCUMENT
Default: 0