...
CLEAR(NotItemizedPurchaseVATAmount);
END;
// Delete the following line.
LOCAL PROCEDURE SetFolderLocation@1360019(VAR ClientFileName@1360001 : Text[1024];VAR FileExtension@1360002 : Text[32]);
VAR
CommonDialogManagement@1360003 : Codeunit 412;
DefaultFileType@1360004 : ' ,Text,Excel,Word,Custom,Xml,Htm,Xsd,Xslt';
...
...
CLEAR(NotItemizedPurchaseVATAmount);
END;
// Add the following line.
LOCAL PROCEDURE SetFolderLocation@1360019(PeriodFrom@1360000 : Date;VAR ClientFileName@1360001 : Text[1024];VAR FileExtension@1360002 : Text[32]);
VAR
CommonDialogManagement@1360003 : Codeunit 412;
DefaultFileType@1360004 : ' ,Text,Excel,Word,Custom,Xml,Htm,Xsd,Xslt';
...
...
Action@1360005 : 'Open,Save';
BEGIN
IF ClientFilePath <> '' THEN BEGIN
// Delete the following line.
ClientFileName := ClientFilePath + '\1365M';
FileExtension := '.imp';
END ELSE BEGIN
ClientFileName := CommonDialogManagement.OpenFile('',ClientFileName,DefaultFileType::Custom,FileType,Action::Save);
...
...
Action@1360005 : 'Open,Save';
BEGIN
IF ClientFilePath <> '' THEN BEGIN
// Add the following line.
ClientFileName := ClientFilePath + '\' + GetFormID(PeriodFrom);
FileExtension := '.imp';
END ELSE BEGIN
ClientFileName := CommonDialogManagement.OpenFile('',ClientFileName,DefaultFileType::Custom,FileType,Action::Save);
...