N
nick_cam
Hi,
I've written some sql to extract timephased data from the PS database
MSP_WEB_WORK table.
I'm only trying to extract approved hours so I've set the query to only
extract records where -
WWORK_UPDATE_STATUS = 0 and
WWORK_APPROVAL_STATUS = 1
The problem I have with this is that when WWORK_APPROVAL_STATUS = 1 I
am getting significatly less values than for the same time period in
the Portfolio Analyzer.
I've also checked resources timesheets and the query appears to be
missing some approved hours.
When I omit WWORK_APPROVAL_STATUS = 1 and only use
WWORK_UPDATE_STATUS = 0 as a filter I'm getting the correct results.
I was under the impression that to only pick up approved hours I'd have
to include WWORK_APPROVAL_STATUS = 1; or is there a reason why this
might filter legitimately approved actual hours?
We're using managed periods (if that makes a difference, wouldn't think
so though) and I have studied the DB files which didn't explain my
question.
Any help would be greatly appreciated,
Cheers,
NIck
I've written some sql to extract timephased data from the PS database
MSP_WEB_WORK table.
I'm only trying to extract approved hours so I've set the query to only
extract records where -
WWORK_UPDATE_STATUS = 0 and
WWORK_APPROVAL_STATUS = 1
The problem I have with this is that when WWORK_APPROVAL_STATUS = 1 I
am getting significatly less values than for the same time period in
the Portfolio Analyzer.
I've also checked resources timesheets and the query appears to be
missing some approved hours.
When I omit WWORK_APPROVAL_STATUS = 1 and only use
WWORK_UPDATE_STATUS = 0 as a filter I'm getting the correct results.
I was under the impression that to only pick up approved hours I'd have
to include WWORK_APPROVAL_STATUS = 1; or is there a reason why this
might filter legitimately approved actual hours?
We're using managed periods (if that makes a difference, wouldn't think
so though) and I have studied the DB files which didn't explain my
question.
Any help would be greatly appreciated,
Cheers,
NIck