Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Experts,
How to create the DAILY & MONTHLY QVD'S by using script ? Explain with Example ?
follow same for year & qtr
LET vcurrentdate= num(MonthStart(AddYears(num(Today()),-3))); // Set start date
DO WHILE vcurrentdate <= Today()
ExportSales:
NOCONCATENATE
LOAD *
RESIDENT Sales
WHERE InMonth(Date, $(vcurrentdate), 0) = true();
LET vdatestring = Date($(vcurrentdate), 'YYYY_MMM');
// STORE Sales INTO
DROP Table ExportSales;
LET vcurrentdate = num(AddMonths($(vcurrentdate), 1));
LOOP
Hi All,
may be this is help full to others
'Daily & Monthly Qvd's
Regards