Job Scheduling in Navision

snsn
Member Posts: 23
Hello
I am begginer in microsoft navision, i just started working and i have first mission to do a automatic report, i can see c/al code of this report but i do not know how to use it in job scheduler, can someone explain how to make schedule job step by step, in wich place must pase c/al code?
I am begginer in microsoft navision, i just started working and i have first mission to do a automatic report, i can see c/al code of this report but i do not know how to use it in job scheduler, can someone explain how to make schedule job step by step, in wich place must pase c/al code?
0
Comments
-
You can schedule the job by creating a Job Header and calling the report in the Object Setup tab. Only thing you have to ensure that there are no dialog boxes waiting for user input and acknowledgements in the report.
Go to Scheduler Job - and create a new job. In the Object Setup tab, change the object type as Report and give the object number in the field. You can schedule the jobin the Schedule Details tab.
Hope this helps.--Tetos0 -
I can call this report, but there is form wich has one text field : Closed period entry posting date and there are three buttons: OK, CANCEL and HELP, and when i saw c/al code there is:
Report - OnPreReport()
IF PostingDate = 0D THEN
ERROR(Text004);
ItemApplnEntry.LOCKTABLE;
IF NOT ItemApplnEntry.FIND('+') THEN
EXIT;
ItemLedgEntry.LOCKTABLE;
IF NOT ItemLedgEntry.FIND('+') THEN
EXIT;
AvgCostAdjmtEntryPoint.LOCKTABLE;
IF AvgCostAdjmtEntryPoint.FIND('+') THEN;
ValueEntry.LOCKTABLE;
IF NOT ValueEntry.FIND('+') THEN
EXIT;
InvtAdjmt.SetProperties(PostingDate,FALSE);
InvtAdjmt.MakeMultiLevelAdjmt;
UpdateItemAnalysisView.UpdateAll(0,TRUE);
and after pressing ok appears another form, waht can i dodo i need to call this another form? do i need to create code unit and call it instead report?
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