Cycle time report
                
                    sbolton1855                
                
                    Member Posts: 39                
            
                        
            
                    I am trying to produce a cycle time report.  I believe our jobs table is custom.  When part is built (only interested in a few fields in the jobs table), in the Job's table jobs are defined as
[Job table]
Job Type 2= 1 is a New Build
Job Type 2= 2 is a Repair
[Creation Date]
[Completion Date]
Sales Invoice Line table
[Asset Serial No_]
Sales Invoice Header table
[Service Date]
I am able to see when a part was used by the [Service Date] in the Sales invoice header table.. So the sequence of events would be triggered off the date differences
I do not care how long it takes to repair the part
grab the above repair's completion date
to
Next service date reported
to
next repairs creation date
to
above repairs completion date
to
next service date
Can anyone help me with the logic to complete this type of report... I started by writing SQL to get the results... I have Jet reports but i am unsure the easiest way to complete the programming to get the results desired...
http://social.msdn.microsoft.com/Forums ... f59f27e2d9
                
                [Job table]
Job Type 2= 1 is a New Build
Job Type 2= 2 is a Repair
[Creation Date]
[Completion Date]
Sales Invoice Line table
[Asset Serial No_]
Sales Invoice Header table
[Service Date]
I am able to see when a part was used by the [Service Date] in the Sales invoice header table.. So the sequence of events would be triggered off the date differences
- 
New Build part --  look in the jobs table and find where a serial no Job Type 2= 1 --  get [Completion Date]
to
Look in Sales invoice header and get the first service date that is >= above completion date
to
look in the jobs table for a repair -  Job Type 2= 2  and get the creation date of the first repair that is >= service date above
 
I do not care how long it takes to repair the part
grab the above repair's completion date
to
Next service date reported
to
next repairs creation date
to
above repairs completion date
to
next service date
Can anyone help me with the logic to complete this type of report... I started by writing SQL to get the results... I have Jet reports but i am unsure the easiest way to complete the programming to get the results desired...
http://social.msdn.microsoft.com/Forums ... f59f27e2d9
0                
            Comments
- 
            Bump--- [-o<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
 - 323 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