RBF_GRP_EXT_VW(SQL View) |
Index Back |
---|---|
External Product Group ViewThis view returns a list of External Products |
SELECT B.OPRID , A.SETID , A.PROD_GRP_TYPE , A.PRODUCT_GROUP , A.DESCR , C.ATTRIBUTE_VALUE FROM PS_PROD_GROUP_TBL A , PS_OPR_DEF_TBL_RB B , PS_RBF_ATTR_PRGR C WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_PROD_GROUP_TBL A_ED WHERE A.SETID = A_ED.SETID AND A.PROD_GRP_TYPE = A_ED.PROD_GRP_TYPE AND A.PRODUCT_GROUP = A_ED.PRODUCT_GROUP AND A_ED.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' AND A.SETID = B.SETID AND A.SETID = C.SETID AND A.PROD_GRP_TYPE = C.PROD_GRP_TYPE AND A.PRODUCT_GROUP = C.PRODUCT_GROUP AND A.EFFDT = C.EFFDT AND C.ATTRIBUTE_ID = 'PS_EXT_DESC' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
This field is used to store the value of SetID on various setup tables.
Prompt Table: SP_SETID_NONVW |
3 | PROD_GRP_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Product Group Type
ACCT=Accounting CTLG=Product Catalogs CUST=Customer Target CZ=Configurator FCST=Forecast FRT=Freight GEN=General LIT=Literature ORG=Organization PLIN=Product Line PRC=Pricing REPE=Reporting Externally REPI=Reporting Internally RPT=Reporting SCON=Buying Agreement SSP=Self-Service Products TAX=Tax TRPT=Transportations VAT=VAT WEB=WEB Order Entry |
4 | PRODUCT_GROUP | Character(10) | VARCHAR2(10) NOT NULL | PRoduct Group |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | ATTRIBUTE_VALUE | Character(254) | VARCHAR2(254) NOT NULL | Attribute value |