Rename records with NAS (hide dialog)
dlebech
Member Posts: 7
Hi,
I have a Navision Application Handler (NAS) running every night and I want to rename som item numbers from the Item table. I use the built-in C/AL function RENAME but this function brings up a dialog and the NAS does not like this and hence cannot run the job.
Is there any way to avoid this dialog or maybe rename records without the RENAME function?
Thank you!
Best regards
David
I have a Navision Application Handler (NAS) running every night and I want to rename som item numbers from the Item table. I use the built-in C/AL function RENAME but this function brings up a dialog and the NAS does not like this and hence cannot run the job.
Is there any way to avoid this dialog or maybe rename records without the RENAME function?
Thank you!
Best regards
David
0
Comments
-
Don't use the rename function, create the new record and delete the old one.0
-
Alisha wrote:Don't use the rename function, create the new record and delete the old one.
But this will not change all related fields!!! :whistle:0 -
A workaround is run Navision client as NAS. and let it do the renaming. Once it's done go back to using NAS.
I've tried to rename in NAS in 3.7 version and did not have any problems.0 -
Thank you for your replies.kine wrote:Alisha wrote:Don't use the rename function, create the new record and delete the old one.
But this will not change all related fields!!! :whistle:
Exactly, and I need to "validate" when renamingara3n wrote:A workaround is run Navision client as NAS. and let it do the renaming. Once it's done go back to using NAS.
I've tried to rename in NAS in 3.7 version and did not have any problems.
I am not quite sure I understand what you mean. How can I run a client with a NAS? I understand the NAS as a service to run codeunit code outside Navision. If a client is supposed to run anyway, I could might as well have the computer running overnight instead of using a NAS? Or what do you mean?
David0 -
dlebech wrote:Thank you for your replies.kine wrote:Alisha wrote:Don't use the rename function, create the new record and delete the old one.
But this will not change all related fields!!! :whistle:
Exactly, and I need to "validate" when renamingara3n wrote:A workaround is run Navision client as NAS. and let it do the renaming. Once it's done go back to using NAS.
I've tried to rename in NAS in 3.7 version and did not have any problems.
I am not quite sure I understand what you mean. How can I run a client with a NAS? I understand the NAS as a service to run codeunit code outside Navision. If a client is supposed to run anyway, I could might as well have the computer running overnight instead of using a NAS? Or what do you mean?
David
yes run a client overnight.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

