ITEM_LNDEFER_VW(SQL View) |
Index Back |
---|---|
Item Line Due Date (SF) ViewItem Line Due Date (SF) View |
SELECT A.BUSINESS_UNIT ,A.COMMON_ID ,A.COMMON_ID ,A.ITEM_NBR ,D.LINE_SEQ_NBR ,A.ACCOUNT_TYPE_SF ,A.ACCOUNT_NBR ,A.ACCOUNT_TERM ,O.TREE_NODE ,A.ITEM_TERM ,B.DESCR ,D.LINE_AMT ,A.ITEM_AMT - A.APPLIED_AMT ,B.ITEM_TYPE_CD ,B.ITEM_TYPE ,D.DUE_DT ,D.BILLING_DT ,D.ITEM_EFFECTIVE_DT ,D.POSTED_DATETIME ,D.POSTED_DATE ,D.ACTUAL_BILLING_DT FROM PS_ITEM_SF A ,PS_ITEM_TYPE_TBL B ,PS_BUS_UNIT_TBL_SF C ,PS_ITEM_LINE_SF D ,PSTREENODE O ,PSTREELEAF Q WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.ITEM_TYPE=B.ITEM_TYPE AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.COMMON_ID = D.COMMON_ID AND A.SA_ID_TYPE = D.SA_ID_TYPE AND A.ITEM_NBR = D.ITEM_NBR AND A.SA_ID_TYPE = 'P' AND B.ITEM_TYPE_CD = 'C' AND A.ITEM_AMT - A.APPLIED_AMT > 0 AND B.SETID= ( SELECT F.SETID FROM PS_SET_CNTRL_REC F WHERE F.RECNAME='ITEM_TYPE_TBL' AND F.SETCNTRLVALUE=C.INSTITUTION) AND B.EFFDT= ( SELECT MAX(Y.EFFDT) FROM PS_ITEM_TYPE_TBL Y WHERE Y.SETID=B.SETID AND Y.ITEM_TYPE=B.ITEM_TYPE AND Y.EFFDT <= %CurrentDateIn AND Y.EFF_STATUS = 'A' ) AND O.SETID = B.SETID AND O.TREE_NAME = C.TREE_NAME2 AND O.EFFDT = ( SELECT MAX(P.EFFDT) FROM PSTREENODE P WHERE P.SETID = O.SETID AND P.TREE_NAME = O.TREE_NAME AND P.EFFDT <= %CurrentDateIn) AND Q.SETID = O.SETID AND Q.TREE_NAME = O.TREE_NAME AND Q.TREE_BRANCH =O.TREE_BRANCH AND Q.TREE_NODE_NUM = O.TREE_NODE_NUM AND Q.EFFDT = O.EFFDT AND B.ITEM_TYPE >= Q.RANGE_FROM AND B.ITEM_TYPE <= Q.RANGE_TO |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | COMMON_ID | Character(11) | VARCHAR2(11) NOT NULL | Common ID to store Personal ID / Ext Org ID value |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | ITEM_NBR | Character(15) | VARCHAR2(15) NOT NULL | Item Nbr |
5 | LINE_SEQ_NBR | Number(3,0) | SMALLINT NOT NULL | Line Sequence Nbr |
6 | ACCOUNT_TYPE_SF | Character(3) | VARCHAR2(3) NOT NULL | Account Type |
7 | ACCOUNT_NBR | Character(10) | VARCHAR2(10) NOT NULL | Account Nbr |
8 | ACCOUNT_TERM | Character(4) | VARCHAR2(4) NOT NULL | Account Term |
9 | TREE_NODE | Character(20) | VARCHAR2(20) NOT NULL | Node name |
10 | ITEM_TERM | Character(4) | VARCHAR2(4) NOT NULL | Item Term |
11 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
12 | LINE_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Line Amount |
13 | ITEM_BALANCE | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Balance |
14 | ITEM_TYPE_CD | Character(1) | VARCHAR2(1) NOT NULL |
Item Type Code
A=Application Fee B=Billing Only C=Charge D=Deposit F=Financial Aid G=GL Interface Only H=Withholding I=Interest L=Pre-Paid Tuition P=Payment R=Refund T=Transfers V=Contributor Relations W=Waiver X=Write-off Z=Pay Plan Credit |
15 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL | Item Type |
16 | DUE_DT | Date(10) | DATE | Due Date |
17 | BILLING_DT | Date(10) | DATE | Billing Date |
18 | ITEM_EFFECTIVE_DT | Date(10) | DATE | Item Effective Date |
19 | POSTED_DATETIME | DateTime(26) | TIMESTAMP | Posted Date & Time |
20 | POSTED_DATE | Date(10) | DATE | Date Posted |
21 | ACTUAL_BILLING_DT | Date(10) | DATE | Actual Billing Date |