NAV 2015 - Job Queue Log Entries Job stuck in Process doesn't upda
nav_student
Member Posts: 175
Hi guys,
I've a job that imports data from Excel Buffer that works fine if I run it manually ( although it takes 2 hours to import a 12MB file), but if it's running from the Job Queue it starts but doesn't update the End Date/Time and the Status keeps in Process.
Any ideas?
I've a job that imports data from Excel Buffer that works fine if I run it manually ( although it takes 2 hours to import a 12MB file), but if it's running from the Job Queue it starts but doesn't update the End Date/Time and the Status keeps in Process.
Any ideas?
0
Answers
-
Hi
Could you find any error log in Windows Event Log?0 -
If you are using the function ReadSheet from the table 'Excel Buffer' then add IF GUIALLOWED THEN before the call to ExcelBufferDialogMgt.
ReadSheet() LastUpdate := CURRENTDATETIME; //Job Queue BEGIN IF GUIALLOWED THEN //Job Queue END ExcelBufferDialogMgt.Open(Text007); DELETEALL; Enumerator := XlWrkShtReader.GetEnumerator; RowCount := XlWrkShtReader.RowCount; WHILE Enumerator.MoveNext DO BEGIN CellData := Enumerator.Current; IF CellData.HasValue THEN BEGIN VALIDATE("Row No.",CellData.RowNumber); VALIDATE("Column No.",CellData.ColumnNumber); ParseCellValue(CellData.Value,CellData.Format); INSERT; END; //Job Queue BEGIN IF GUIALLOWED THEN BEGIN //Job Queue END i := i + 1; COMMIT; IF NOT UpdateProgressDialog(ExcelBufferDialogMgt,LastUpdate,i,RowCount) THEN BEGIN QuitExcel; ERROR(Text035) END; //Job Queue BEGIN END; //Job Queue END END; QuitExcel; //Job Queue BEGIN IF GUIALLOWED THEN //Job Queue END ExcelBufferDialogMgt.Close;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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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
