SP_PRCIBU_CLSVW

(SQL View)
Index Back

Product price by IBU

Date Initials Issue Description 022202 dms 11697201 New record for row level security

SELECT cls.oprclass , pr.setid , pr.product_id , p.unit_of_measure , p.business_unit_in , p.currency_cd , p.effdt , p.eff_status , p.list_price , %Round(%DecMult(qa.qty_available, %DecDiv(1, conv.conversion_rate)), 4) FROM ps_bu_items_inv_vw qa , ps_inv_item_uom conv , ps_prod_price p , PS_PROD_ITEM pr , ps_sec_bu_cls cls WHERE p.setid = pr.setid AND p.product_id = pr.product_id AND conv.setid = p.setid AND conv.inv_item_id = pr.inv_item_id AND conv.unit_of_measure = p.unit_of_measure AND qa.business_unit_in = p.business_unit_in AND qa.inv_item_id = pr.inv_item_id AND cls.business_unit = qa.business_unit_in

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

3 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
4 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
5 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit

Prompt Table: SP_BUIN_NONVW

6 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
7 EFFDT Date(10) DATE Effective Date
8 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
9 LIST_PRICE Signed Number(17,4) DECIMAL(15,4) NOT NULL List Price
10 QTY_AVAILABLE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Available