HEX
Server: Apache
System: Linux darrell.nocdirect.com 4.18.0-513.18.2.el8_9.x86_64 #1 SMP Sat Mar 30 06:10:41 EDT 2024 x86_64
User: joderbya (1358)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/joderbya/beira.quick-step-ei.com/install/mysql/data/llx_c_payment_term.sql
-- Copyright (C) 2001-2004	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
-- Copyright (C) 2003		Jean-Louis Bergamo		<jlb@j1b.org>
-- Copyright (C) 2004-2009	Laurent Destailleur		<eldy@users.sourceforge.net>
-- Copyright (C) 2004		Benoit Mortier			<benoit.mortier@opensides.be>
-- Copyright (C) 2004		Guillaume Delecourt		<guillaume.delecourt@opensides.be>
-- Copyright (C) 2005-2009	Regis Houssin			<regis.houssin@inodbox.com>
-- Copyright (C) 2007		Patrick Raguin			<patrick.raguin@gmail.com>
-- Copyright (C) 2012		Tommaso Basilici		<t.basilici@19.coop>
-- Copyright (C) 2025		Alexandre Spangaro		<alexandre@inovea-conseil.com>
--
-- 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/>.
--
--

--
-- Do not include comments at end of line, this file is parsed during install and string '--' are removed.
--

insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (1, 'RECEP',       1,1, 'Due upon receipt','Due upon receipt',0,1,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (2, '30D',         5,1, '30 days','Due in 30 days',0,30,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (3, '30DENDMONTH', 7,1, '30 days end of month','Due in 30 days, end of month',1,30,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (4, '60D',         20,1, '60 days','Due in 60 days',0,60,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (5, '60DENDMONTH', 25,0, '60 days end of month','Due in 60 days, end of month',1,60,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (6, 'PT_ORDER',    30,1, 'Due on order','Due on order',0,1,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (7, 'PT_DELIVERY', 35,1, 'Due on delivery','Due on delivery',0,1,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (8, 'PT_5050',     40,1, '50 and 50','50% on order, 50% on delivery',0,1,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (14,'45D',         10,1, '45 days','Due in 45 days',0,45,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (15,'45DENDMONTH', 15,1, '45 days end of month','Due in 45 days, end of month',1,45,NULL);

-- Add additional payment terms often needed in Austria
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (9, '10D',         50,1, '10 days','Due in 10 days',0,10,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (10,'10DENDMONTH', 55,1, '10 days end of month','Due in 10 days, end of month',1,10,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (11,'14D',         60,1, '14 days','Due in 14 days',0,14,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (12,'14DENDMONTH', 65,1, '14 days end of month','Due in 14 days, end of month',1,14,NULL);
insert into llx_c_payment_term(rowid, code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, deposit_percent) values (13,'DEP30PCTDEL', 90,0, '__DEPOSIT_PERCENT__% deposit','__DEPOSIT_PERCENT__% deposit, remainder on delivery',0,1,'30');