Files
Customer/onces/NYBU/nybu9.sql
Peter Koerhuis 93194a0cad NYBU#29674 Aanvullende rapportages voor cateraar Vermaat
svn path=/Customer/; revision=21695
2014-05-22 14:59:37 +00:00

43 lines
1.2 KiB
SQL

-- Customer specific once-script NYBU.
--
-- Support: +31 53 4800700
SET ECHO ON
SPOOL xNYBU9.lst
SET DEFINE OFF
CREATE OR REPLACE VIEW nybu_v_rap_vermaat_facturatie AS SELECT * FROM DUAL;
-- WEB_RESBOF = 31
INSERT INTO fac_usrrap
(fac_usrrap_omschrijving, fac_usrrap_view_name,
fac_usrrap_in_huidige_locatie,
fac_usrrap_template, fac_usrrap_macro,
fac_usrrap_vraagbegindatum, fac_usrrap_vraageinddatum,
fac_usrrap_functie,
fac_usrrap_info,
fac_functie_key,
fac_usrrap_autorefresh
)
VALUES ('VERMAAT: Facturatiegegevens', 'NYBU_V_RAP_VERMAAT_FACTURATIE',
NULL,
NULL, NULL,
0, 0,
0,
'Alle benodigde info om periodiek een factuur te kunnen opstellen. Uitvoering kan even duren!',
31,
0
);
-- Nog geen enkel cateringartikel heeft een BTW-tarief ingesteld. Laten we de beheerder een handje helpen
UPDATE res_artikel
SET res_artikel_btw = 6
WHERE res_artikel_btw IS NULL;
BEGIN adm.systrackscriptId('$Id$'); END;
/
COMMIT;
SPOOL OFF
@nybu.sql