RIM_LE_PRODUCTS

(SQL View)
Index Back

Points to Lead Product

Points to Lead Product collection, used by RIM patch.

SELECT A.LEAD_ID , A.SEQ_NUM , A.PRODUCT_GROUP , A.PRODUCT_ID , A.QTY , A.UNIT_OF_MEASURE , A.CURRENCY_CD , A.PRICE_BASE , A.COST , B.DESCR , %subrec(RB_AUDIT_SBR, A) FROM PS_RSF_LE_PRODUCTS A , PS_PROD_ITEM B , PS_RSF_LEAD C WHERE A.PRODUCT_ID = B.PRODUCT_ID AND C.LEAD_ID = A.LEAD_ID AND C.PROD_SETID = B.SETID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 LEAD_ID Character(15) VARCHAR2(15) NOT NULL Used by Sales Force Automation, this field uniquely identifies a Sales Lead.
2 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
3 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL PRoduct Group
4 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
5 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
6 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
CS=Case
EA=Each
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
7 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL This field stores the Currency Code value.
8 PRICE_BASE Signed Number(16,4) DECIMAL(14,4) NOT NULL Net Unit Price (base)
9 COST Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Cost
10 PRODUCTDESCR Character(30) VARCHAR2(30) NOT NULL Description
11 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
12 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
13 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
14 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
15 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
16 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time