mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Doc
This commit is contained in:
parent
3979798bbd
commit
47a146fa85
|
|
@ -49,7 +49,7 @@ create table llx_contrat
|
|||
total_ht double(24,8) DEFAULT 0, -- total without tax
|
||||
total_ttc double(24,8) DEFAULT 0, -- total with tax
|
||||
|
||||
denormalized_lower_planned_end_date datetime,
|
||||
denormalized_lower_planned_end_date datetime, -- DENORMALIZED FIELD to store end date of last subscription
|
||||
|
||||
signed_status smallint DEFAULT NULL, -- signed status NULL, 0 or 1
|
||||
online_sign_ip varchar(48),
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
--
|
||||
-- ===================================================================
|
||||
|
||||
CREATE TABLE llx_holiday
|
||||
CREATE TABLE llx_holiday
|
||||
(
|
||||
rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
ref varchar(30) NOT NULL,
|
||||
|
|
@ -31,7 +31,7 @@ description VARCHAR( 255 ) NOT NULL,
|
|||
date_debut DATE NOT NULL,
|
||||
date_fin DATE NOT NULL,
|
||||
halfday integer DEFAULT 0, -- 0=start morning and end afternoon, -1=start afternoon end afternoon, 1=start morning and end morning, 2=start afternoon and end morning
|
||||
nb_open_day double(24,8) DEFAULT NULL, -- denormalized number of open days of holiday. Not always set. More reliable when re-calculated with num_open_days(date_debut, date_fin, halfday).
|
||||
nb_open_day double(24,8) DEFAULT NULL, -- DENORMALIZED FIELD. number of open days of holiday. Not always set. More reliable when re-calculated with num_open_days(date_debut, date_fin, halfday).
|
||||
statut integer NOT NULL DEFAULT 1, -- status of leave request
|
||||
fk_validator integer NOT NULL, -- who should approve the leave
|
||||
date_valid DATETIME DEFAULT NULL, -- date validation
|
||||
|
|
@ -48,5 +48,5 @@ note_public text,
|
|||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
import_key varchar(14),
|
||||
extraparams varchar(255) -- for other parameters with json format
|
||||
)
|
||||
)
|
||||
ENGINE=innodb;
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ create table llx_product
|
|||
volume float DEFAULT NULL,
|
||||
volume_units tinyint DEFAULT NULL,
|
||||
stockable_product integer DEFAULT 1 NOT NULL,
|
||||
stock real, -- Current physical stock (DENORMALIZED FIELD)
|
||||
stock real, -- DENORMALIZED FIELD. Current physical stock.
|
||||
pmp double(24,8) DEFAULT 0 NOT NULL, -- To store valuation of stock calculated using average price method, for this product
|
||||
fifo double(24,8), -- To store valuation of stock calculated using fifo method, for this product. TODO Not used, should be replaced by stock value stored into movement table.
|
||||
lifo double(24,8), -- To store valuation of stock calculated using lifo method, for this product. TODO Not used, should be replaced by stock value stored into movement table.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ create table llx_projet_task
|
|||
datev datetime, -- date validation
|
||||
label varchar(255) NOT NULL,
|
||||
description text,
|
||||
duration_effective real DEFAULT 0, -- total of time spent on the task. DENORMALIZED FIELD of total of lines into llx_element_time
|
||||
duration_effective real DEFAULT 0, -- DENORMALIZED FIELD. total of time spent on the task. total of lines into llx_element_time
|
||||
planned_workload real DEFAULT 0,
|
||||
progress integer DEFAULT 0, -- percentage increase
|
||||
priority integer DEFAULT 0, -- priority
|
||||
|
|
@ -44,6 +44,6 @@ create table llx_projet_task
|
|||
note_public text,
|
||||
rang integer DEFAULT 0,
|
||||
model_pdf varchar(255),
|
||||
import_key varchar(14), -- Import key,
|
||||
import_key varchar(14), -- Import key,
|
||||
billable smallint DEFAULT 1
|
||||
)ENGINE=innodb;
|
||||
|
|
|
|||
|
|
@ -103,11 +103,11 @@ create table llx_user
|
|||
thm double(24,8),
|
||||
tjm double(24,8),
|
||||
|
||||
salary double(24,8), -- denormalized value coming from llx_user_employment
|
||||
salaryextra double(24,8), -- denormalized value coming from llx_user_employment
|
||||
dateemployment date, -- denormalized value coming from llx_user_employment
|
||||
dateemploymentend date, -- denormalized value coming from llx_user_employment
|
||||
weeklyhours double(16,8), -- denormalized value coming from llx_user_employment
|
||||
salary double(24,8), -- DENORMALIZED FIELD. Value coming from llx_user_employment
|
||||
salaryextra double(24,8), -- DENORMALIZED FIELD. Value coming from llx_user_employment
|
||||
dateemployment date, -- DENORMALIZED FIELD. Value coming from llx_user_employment
|
||||
dateemploymentend date, -- DENORMALIZED FIELD. Value coming from llx_user_employment
|
||||
weeklyhours double(16,8), -- DENORMALIZED FIELD. Value coming from llx_user_employment
|
||||
|
||||
import_key varchar(14), -- import key
|
||||
default_range integer,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user