Copy to external device speed issues

MatStephensSandA
Member Posts: 74
Hi all.
We are a Navision financials customer running on a NATIVE 2.6 database with 3.7 executables.
As i Love Navision (sorry cant bring myself to call it MBS Dynamics NAV) i try to do as much as i can in and through Navision.
One thing i do daily is to do a csv export of key data. this is NOT the issue as it works fine.
The issue is that this data is then copied to 3 seperate locations throughout the business (from within Navision).
If one of these locations (Servers) is unavailable for any reason then the copy does not fail as i have built in basic redundancy.
The issue is the time the process takes to fail then move on.
Is there a way to speed up the failed write transaction??
As i said the basics of my code does work its just not quick enough to be practical.
An example of the the code i have implemented is attached
Thanks in advance
We are a Navision financials customer running on a NATIVE 2.6 database with 3.7 executables.
As i Love Navision (sorry cant bring myself to call it MBS Dynamics NAV) i try to do as much as i can in and through Navision.
One thing i do daily is to do a csv export of key data. this is NOT the issue as it works fine.
The issue is that this data is then copied to 3 seperate locations throughout the business (from within Navision).
If one of these locations (Servers) is unavailable for any reason then the copy does not fail as i have built in basic redundancy.
The issue is the time the process takes to fail then move on.
Is there a way to speed up the failed write transaction??
As i said the basics of my code does work its just not quick enough to be practical.
An example of the the code i have implemented is attached
CLEAR(lvWOFilename); lvWOFilename := DRExportLocations."Nav DR Location 1" + 'WOEXPORT.CSV'; IF EXISTS(lvWOFilename) THEN ERASE(lvWOFilename); IF NOT COPY(WOFilename,lvWOFilename) THEN Fail1 := TRUE ELSE ........
Thanks in advance
M@
I have seen the future and it's egg shaped.
I have seen the future and it's egg shaped.
0
Comments
-
I suggest to use Script host automation to do the copying of the file instead.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions