Skip to content

Commit

Permalink
Automated database schema update from KFS5CGBDBA - 20150311-1116
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsci committed Mar 11, 2015
1 parent 1e81b50 commit 8263a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion work/db/kfs-db/development/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16725,7 +16725,7 @@
<view name="END_KEMID_HIST_REP_GRP_V" viewdefinition="SELECT C.KEMID, CL.SEC_RPT_GRP, C.SEC_ID, C.REGIS_CD, C.HLDG_IP_IND, SUM(C.HLDG_UNITS) AS UNITS, SUM(HLDG_COST) AS CARRY_VAL, SUM(HLDG_MVAL) AS MARKET_VAL, SUM(HLDG_NEXT_FY_EST_INC) AS NEXT_FY_EST_INC, SUM(HLDG_FY_REM_EST_INC) AS FY_REM_EST_INC, SUM(HLDG_ANNL_INC_EST) AS ANNL_INC_EST, C.ME_DT_ID FROM END_HLDG_HIST_T C, END_SEC_T S, END_CLS_CD_T CL WHERE C.SEC_ID = S.SEC_ID AND S.SEC_CLS_CD = CL.SEC_CLS_CD GROUP BY C.KEMID, CL.SEC_RPT_GRP, C.HLDG_IP_IND, C.SEC_ID, C.REGIS_CD, C.ME_DT_ID &#xa;"/>
<view name="PUR_PO_ITM_TOT_AMT_V" viewdefinition="(SELECT FDOC_NBR, SUM( CASE WHEN ITM_ACTV_IND = 'Y' AND ITM_ORD_QTY IS NULL THEN ITM_UNIT_PRC WHEN ITM_ACTV_IND = 'Y' AND ITM_ORD_QTY IS NOT NULL THEN ITM_ORD_QTY * ITM_UNIT_PRC WHEN ITM_ACTV_IND IS NULL AND ITM_ORD_QTY IS NULL THEN ITM_UNIT_PRC WHEN ITM_ACTV_IND IS NULL AND ITM_ORD_QTY IS NOT NULL THEN ITM_ORD_QTY * ITM_UNIT_PRC WHEN ITM_ACTV_IND ='N' THEN 0 ELSE 0 END) AS TOTAL_AMOUNT FROM PUR_PO_ITM_T GROUP BY FDOC_NBR)"/>
<view name="PUR_PO_ITM_TOT_ENC_V" viewdefinition="(SELECT A.FDOC_NBR AS FDOC_NBR, SUM(A.ITM_OSTND_ENC_AMT) AS TOTAL_ENCUMBRANCE FROM PUR_PO_ITM_T A GROUP BY A.FDOC_NBR)"/>
<view name="PUR_PO_V" viewdefinition="SELECT P.AP_PUR_DOC_LNK_ID, P.PO_ID, P.PO_CUR_IND, P.FDOC_NBR, P.OBJ_ID, P.PO_STAT_CD, P.RECUR_PMT_TYP_CD, P.PO_VNDR_CHC_CD, P.PO_END_DT, E.TOTAL_ENCUMBRANCE, SUMMATION.TOTAL_AMOUNT FROM PUR_PO_T P, PUR_PO_ITM_TOT_ENC_V E, PUR_PO_ITM_TOT_AMT_V SUMMATION WHERE P.FDOC_NBR = E.FDOC_NBR AND P.FDOC_NBR = SUMMATION.FDOC_NBR"/>
<view name="PUR_PO_V" viewdefinition="SELECT P.AP_PUR_DOC_LNK_ID,&#xa; P.PO_ID,&#xa; P.PO_CUR_IND,&#xa; P.FDOC_NBR,&#xa; P.OBJ_ID,&#xa; P.RECUR_PMT_TYP_CD,&#xa; P.PO_VNDR_CHC_CD,&#xa; P.PO_END_DT,&#xa; E.TOTAL_ENCUMBRANCE,&#xa; SUMMATION.TOTAL_AMOUNT&#xa; FROM PUR_PO_T P,&#xa; PUR_PO_ITM_TOT_ENC_V E,&#xa; PUR_PO_ITM_TOT_AMT_V SUMMATION WHERE P.FDOC_NBR = E.FDOC_NBR&#xa; AND P.FDOC_NBR = SUMMATION.FDOC_NBR"/>
<sequence name="A21_LBR_BLD_NBR_SEQ" nextval="2000"/>
<sequence name="AGENCY_ADDR_ID_SEQ" nextval="41"/>
<sequence name="AP_CRDT_MEMO_ACCT_CHG_SEQ" nextval="2000"/>
Expand Down

0 comments on commit 8263a82

Please sign in to comment.