llx_c_payment_term.sql 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. -- Copyright (C) 2009-2018 Regis Houssin <regis.houssin@inodbox.com>
  2. --
  3. -- This program is free software; you can redistribute it and/or modify
  4. -- it under the terms of the GNU General Public License as published by
  5. -- the Free Software Foundation; either version 3 of the License, or
  6. -- (at your option) any later version.
  7. --
  8. -- This program is distributed in the hope that it will be useful,
  9. -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. -- GNU General Public License for more details.
  12. --
  13. -- You should have received a copy of the GNU General Public License
  14. -- along with this program; if not, write to the Free Software
  15. -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  16. --
  17. --
  18. --
  19. -- Ne pas placer de commentaire en fin de ligne, ce fichier est parsé lors
  20. -- de l'install et tous les sigles '--' sont supprimés.
  21. --
  22. --
  23. -- llx_c_payment_term
  24. --
  25. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('RECEP', 1,1, 'Due upon receipt','Due upon receipt',0,1,__ENTITY__);
  26. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('30D', 2,1, '30 days','Due in 30 days',0,30,__ENTITY__);
  27. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('30DENDMONTH', 3,1, '30 days end of month','Due in 30 days, end of month',1,30,__ENTITY__);
  28. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('60D', 4,1, '60 days','Due in 60 days, end of month',0,60,__ENTITY__);
  29. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('60DENDMONTH', 5,1, '60 days end of month','Due in 60 days, end of month',1,60,__ENTITY__);
  30. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('PT_ORDER', 6,1, 'Due on order','Due on order',0,1,__ENTITY__);
  31. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('PT_DELIVERY', 7,1, 'Due on delivery','Due on delivery',0,1,__ENTITY__);
  32. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('PT_5050', 8,1, '50 and 50','50% on order, 50% on delivery',0,1,__ENTITY__);
  33. -- Add additional payment terms often needed in Austria
  34. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('10D', 9,1, '10 days','Due in 10 days',0,10,__ENTITY__);
  35. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('10DENDMONTH', 10,1, '10 days end of month','Due in 10 days, end of month',1,10,__ENTITY__);
  36. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('14D', 11,1, '14 days','Due in 14 days',0,14,__ENTITY__);
  37. insert into llx_c_payment_term(code, sortorder, active, libelle, libelle_facture, type_cdr, nbjour, entity) values ('14DENDMONTH', 12,1, '14 days end of month','Due in 14 days, end of month',1,14,__ENTITY__);