28 lines
650 B
Batchfile
28 lines
650 B
Batchfile
REM GEN_EXPORT_FACT
|
|
REM
|
|
REM BLCC
|
|
REM
|
|
REM Exporteert verkoopfacturatie vanuit FACILITOR als CSV tbv. Twinfield.
|
|
REM Het aangemaakte CSV-bestand wordt gemaild naar de afgesproken persoon.
|
|
REM
|
|
REM Context : roep deze file aan indien nodig, of schedule deze
|
|
REM Vereist : de randvoorwaarde voor het gebruik van gen_export
|
|
REM
|
|
REM $Revision$
|
|
REM $Id$
|
|
REM
|
|
REM (c) 2017 Facilitor B.V.
|
|
REM
|
|
|
|
REM === cleanup
|
|
copy .\FACT\FACT*.csv .\FACT\Backup
|
|
del .\FACT\FACT*.csv
|
|
|
|
REM === create exportfile
|
|
CALL ..\..\..\utils\gen_export\gen_export.bat FACT
|
|
|
|
REM === mail
|
|
if not exist ".\FACT\FACT*.csv" goto einde
|
|
cscript sendmailFact.vbs
|
|
:einde
|