🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 llx_receptiondet_batch.sql

📁 Path: /home/s/t/a/stakrfrcol/dolibarr/htdocs/install/mysql/tables/llx_receptiondet_batch.sql
📊 Size: 2.27 KB
🔒 Perm: 0604
📝 MIME: text/plain
-- ===================================================================
-- Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
--
-- This table is just an history table to track all receiption to do or done for a
-- particular supplier order. A movement with same information is also done
-- into stock_movement so this table may be useless.
--
-- Detail of each lines of a reception (qty, batch and into which warehouse must be
-- received or has been receveived a purchase order line).
--
-- This table should be renamed into llx_receptiondet_batch
-- ===================================================================

create table llx_receptiondet_batch
(
  rowid          integer AUTO_INCREMENT PRIMARY KEY,
  fk_reception 	 integer  DEFAULT NULL,							-- ID of parent object
  fk_element	 integer,                       				-- ID of main source object.
  fk_elementdet  integer,                  						-- ID of line of main source object.
  element_type   varchar(50) DEFAULT 'supplier_order' NOT NULL,	-- Type of source object ('supplier_order', ...)
  fk_product     integer,
  qty            float,             			-- qty to move
  fk_entrepot    integer,						-- ID of warehouse to use for the stock change
  fk_projet  	 integer  DEFAULT NULL,
  comment		 varchar(255),					-- comment on movement
  batch          varchar(128) DEFAULT NULL,		-- serial/lot number
  eatby          date DEFAULT NULL,
  sellby         date DEFAULT NULL,
  status         integer,
  fk_user        integer,
  datec          datetime,
  tms            timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  cost_price     double(24,8) DEFAULT 0
)ENGINE=innodb;
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨