-
Notifications
You must be signed in to change notification settings - Fork 2
/
DMT_Dump_Aqoola_VFR.bat
50 lines (35 loc) · 2.57 KB
/
DMT_Dump_Aqoola_VFR.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
REM ScriptFolder is where the scripts are located
SET Company=VFR
Set ScriptFolder=%~dp0
Call "%ScriptFolder%Setup.bat"
Set CompanyFolder=C:\Users\PaulM\OneDrive - TIME MANUFACTURING COMPANY\EpicorImplementation\5_VDK\20_Aqoola
Set CompanyPW=%PW%
Call "%ScriptFolder%Setup_Prod.bat"
Set OutputFolder=%CompanyFolder%\%date:~10%%date:~4,2%%date:~7,2%%time:~0,2%%time:~3,2%
MkDir "%OutputFolder%"
echo %OutputFolder%
timeout /t 30
Set Company=VFR
Set Prog=AqoolaExpCompany
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpCurrency
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpLedTable
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpPayment
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpPurchLines
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpPurchTable
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpUnitCode
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpVatCodes
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpVatRates
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpVendTable
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
Set Prog=AqoolaExpVendBankAccount
START %DMT_Program% -ConfigValue=%ConfigValue% -User=DMT_%Company% -pass=%PW% -DisableUpdateService -Export -BAQ="%Prog%" -Target="%OutputFolder%\%Company%_%Prog%.csv"
timeout /t 30