Options

Error on ENVIRON

snyktpsnyktp Member Posts: 75
edited 2009-09-30 in NAV Three Tier
Hi eveyone,

I have a question about using ENVIRON on report NAV 2009. I have a report it has below line on postdataitem

AttachmentName := ENVIRON('TEMP') + '\' + SSSS+ ' ' + "Pricelist Header"."No." + '_' +
Customer."Search Name" + '.xls';

When I run the report I get an error. I go to report design after that i compile the report. It gives an error on the error list

Error No. Object Type Object ID Object Name Error Type Function/Trigger Line No. Description
1 Report 63012 Pricelist Warning PageLoopOnPostDataItem 13 Function 'ENVIRON' is obsolete for Microsoft Dynamics NAV Server.

Do you have any ide about that?

Thank you

Answers

Sign In or Register to comment.