LM_PO_ORG_VW(SQL View) |
Index Back |
---|---|
PO search view |
SELECT A.LM_PO_ID , C.LM_ORGANIZATION_ID , A.LM_PO_NAME , C.LM_ORG_DESCR , A.CURRENCY_CD , A.LM_CHARTFLD_TYPE , A.LM_CHARTFLD_VAL , %subrec(LM_ROWAUDIT_SBR,A) FROM PS_LM_ENRMT_PO_TBL A , PS_LM_MOP_OWNR_TBL B ,PS_LM_ORGANIZATION C WHERE A.LM_PO_ID = B.LM_MOP_ID AND B.LM_MOP_OWNER_ID = C.LM_ORGANIZATION_ID AND B.LM_MOP_TYPE = 'PO' AND B.LM_MOP_OWNER_TYPE ='ORG' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LM_PO_ID | Number(10,0) | DECIMAL(10) NOT NULL | Purchase Order Id. Unique key for purchase orders. |
2 | LM_ORGANIZATION_ID | Number(15,0) | DECIMAL(15) NOT NULL | Organization ID |
3 | LM_PO_NAME | Character(20) | VARCHAR2(20) NOT NULL | PO Number field in the PO table. |
4 | LM_ORG_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Customer Description |
5 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Prompt Table: CURRENCY_CD_TBL |
6 | LM_CHARTFLD_TYPE | Character(18) | VARCHAR2(18) NOT NULL | ChartField Type...One of 16 ChartFields. |
7 | LM_CHARTFLD_VAL | Character(20) | VARCHAR2(20) NOT NULL |
ChartField Value...Depending on ChartField Type, it would store one of the 16 Chartfield values supported.
Prompt Table: LM_ACCOUNT_VW |
8 | LM_ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | Datetime Added |
9 | LM_ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Added By |
10 | LM_ROW_MAINT_DTTM | DateTime(26) | TIMESTAMP | Row Maintainted DateTime |
11 | LM_ROW_MAINT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Row Maintained Oprid |