프로젝트정보에 major 추가
This commit is contained in:
@@ -174,9 +174,9 @@ namespace FCOMMON
|
||||
{
|
||||
var sql =
|
||||
" select " +
|
||||
" isnull(sum(case when[state] = 'PR' then 0 when[state] = 'PO' then 0 when[state] = 'Received' then 0 when[state] = 'Cancled' then 0 else pumqty end),0) as Request," +
|
||||
" isnull(sum(case when[state] = 'PR' then pumqtyReq else 0 end),0) as PR," +
|
||||
" isnull(sum(case when[state] = 'PO' then pumqtyReq else 0 end),0) as PO," +
|
||||
" isnull(sum(case when[state] = 'PR' then 0 when[state] = 'PO' then 0 when[state] = 'Received' then 0 when[state] = 'Cancled' then 0 else pumqtyreq end),0) as Request," +
|
||||
" isnull(sum(case when[state] = 'PR' then pumqty else 0 end),0) as PR," +
|
||||
" isnull(sum(case when[state] = 'PO' then pumqty else 0 end),0) as PO," +
|
||||
" isnull(sum(case when[state] = 'Received' then inqty else 0 end),0) as Received," +
|
||||
" isnull(sum(isnull(pumqty,pumqtyreq)),0) as Total_Request," +
|
||||
" isnull(sum(inqty),0) as Total_Buy," +
|
||||
|
||||
Reference in New Issue
Block a user