Batch Release\Complete Production Work Orders

twdavis
Member Posts: 79
Does anyone have a process to Batch Release\Complete Production Work Orders that they would like to share? Due to the poor performance of our SQL Navision process, we are forced to schedule the work order release\completion after office hours.
thanks
thanks
0
Comments
-
Here is a report. which calls a codeunit
OBJECT Report 50000 Batch Release Production BOM { OBJECT-PROPERTIES { Date=02/15/07; Time=11:40:01 AM; Modified=Yes; Version List=; } PROPERTIES { ProcessingOnly=Yes; } DATAITEMS { { PROPERTIES { DataItemTable=Table99000771; OnPreDataItem=BEGIN SETRANGE(Status,Status::New); END; OnAfterGetRecord=BEGIN IF MyRleaseCU.RUN("Production BOM Header") THEN COMMIT; END; } SECTIONS { { PROPERTIES { SectionType=Body; SectionWidth=12000; SectionHeight=846; } CONTROLS { } } } } } REQUESTFORM { PROPERTIES { Width=9020; Height=3410; } CONTROLS { } } CODE { VAR MyRleaseCU@1000000000 : Codeunit 50000; BEGIN END. } }
Here is the CUOBJECT Codeunit 50000 Production BOM relase { OBJECT-PROPERTIES { Date=02/15/07; Time=11:38:58 AM; Modified=Yes; Version List=; } PROPERTIES { TableNo=99000771; OnRun=BEGIN VALIDATE(Status,Status::Certified); MODIFY(TRUE) END; } CODE { BEGIN END. } }
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