![]() |
#1 |
Участник
|
I have collected few tips maybe could be used in NAV 2009 developing.
Don't claim me too much if this looks to easy... ![]() [list=1][*]Files managing on RTC pc. In C/AL we have statements for working with files like: EXISTS(<File_Name>); RENAME([list=1],<New_File_Name>); ERASE(<File_Name>); COPY(<From_File_Name>,<To_File_Name> ) . But this is working only on CC, as on RTC these statements are executed on Service Tier. What to do if we want to managing files on RTC PC? I propose to use automation: 'Windows Script Host Object Model'.FileSystemObject. If we create it using "Client side" parameter, then automation will be loaded on RTC and we can use all functions from it. For example functions: Function in NAV C/ALFunction in automationEXISTS(<File_Name>);<automationName>.FileExists(<File_Name>);RENAME([list=1],<New_File_Name>);<automationName>.MoveFile(
Источник: http://feedproxy.google.com/~r/Micro...evelopers.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|