Hi all,
In nav I was creating a one new report for Purchase Order Analysis, this report to analysis for how many orders are created particular period, & Modified, and we need to store the report as pdf format into the one location automatically as daily basis, here we run the report through the job queue,
here I try some code but job queue is working fine, but Report not saved as PSF in mentioned Location,
Kindly Guide / Help me to solve this issue
this is my code , if need any changes kindly Correct it
//this code Wrote in Code unit.
gFileName := 'C:\Po_Autosave'; // Store location
FileNameSI := DELCHR(FORMAT(TODAY), '=', '|\?/<>,.@#$%^&*()!-=_+'); // Formatting Date For put as File name
ReportPDF := FORMAT(gFileName)+FORMAT(FileNameSI)+'.PDF';
REPORT.SAVEASPDF(50064,ReportPDF);
Thanks
Vijay R.