Viewing 11 posts - 1 through 11 (of 11 total)
Hope this helps. The indents are where they are supposed to be indented. I will attach some sample data for you to use shortly.
Unique ID ...
August 27, 2009 at 3:02 pm
Close but your using the CurrentProcessStepID as the level guage. There may be more then one CurrentProcessStep of Sort (2) so this would not allow the higharchy to match...
August 27, 2009 at 2:43 pm
Spoke to soon.
There is one minor issue. Once again the UniqueID in not important just that it be unique and the Level is linked to the Parent UniqueID with...
August 27, 2009 at 12:31 pm
The current process step really has no function in the sort except in the following situation.
Recieving
Sort
Teardown
Recycling
Test & Diagnostics
...
August 27, 2009 at 11:26 am
The level indicates that how far down the process it is.
So for example
Recieving Level null
Sort Level 1
Tear Down Level 1
...
August 27, 2009 at 11:09 am
It's the primary key from my tree view in the jpg above.
This has to be unique but can be any value.
August 27, 2009 at 10:53 am
After thinking about this more last night is it even possible to get the level and UniqueID to function as they do in the correct results above.
I'm having...
August 27, 2009 at 10:44 am
The issue is with the last line of code.
SET @WorkingDays=(([@MonthDays]-([@LWOP]+[@Absent]*(2)))-((([@CasualLeave]+[@CompensatoryLeave])+[@DutyLeave])+[@VacationLeave]))
Remove the brackets [ ] around the variable names.
SET @WorkingDays=((@MonthDays-(@LWOP+@Absent*(2)))-(((@CasualLeave+@CompensatoryLeave)+@DutyLeave)+@VacationLeave))
August 27, 2009 at 1:23 am
Thanks for your help. Everything works but one thing. I need the Level to show the results from attached results.xls file. I have your query and mine...
August 26, 2009 at 10:43 pm
I have added the sample output and dummy data that can be used. When you run the stored proc you can use
EXEC GetCategoryList @LotNumber=30447
I have also changed the rar...
August 26, 2009 at 3:39 pm
Sorry about that I have added the supporting documentation. If there is anything else you need from me please let me know. My clients is freaking out.
Thanks,
August 26, 2009 at 3:06 pm
Viewing 11 posts - 1 through 11 (of 11 total)