Clean code and prepare database for reception from any source

This commit is contained in:
Laurent Destailleur
2023-11-14 17:30:50 +01:00
parent 0770ce640e
commit d9df238ac4
7 changed files with 46 additions and 19 deletions

View File

@@ -17,6 +17,7 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
--
-- Note: a reception is linked to a supplier order or other object using llx_element_element table.
-- ===================================================================
create table llx_reception
@@ -29,7 +30,7 @@ create table llx_reception
fk_projet integer DEFAULT NULL,
ref_ext varchar(30), -- reference into an external system (not used by dolibarr)
ref_supplier varchar(255), -- supplier number
ref_supplier varchar(255), -- reference of reception on supplier side
date_creation datetime, -- date de creation
fk_user_author integer, -- author of creation