MG_ITEMNOCS_LVW(SQL View) |
Index Back |
---|---|
RLV FOR MG_ITEM_NOCS_VW02/11/98 Lee: Created related lang view. 5/30/99 lee CN#MG800-4.0 Item Attributes @ BU, get data from bu_items_inv vs inv_items. 07/06/99 RT CN#MG800-4.0 Changed prompt table for inv_item_id |
select a.business_unit, e.inv_item_id, e.language_cd, e.descr from ps_bu_items_inv a, PS_MASTER_ITEM_TBL b, ps_set_cntrl_rec c, ps_master_itm_lang e where a.business_unit = c.setcntrlvalue and c.recname = 'MASTER_ITEM_TBL' and b.setid = c.setid and e.setid = b.setid and e.setid = c.setid and a.inventory_item = 'Y' and a.staged_date_flag='N' and a.inv_item_id = b.inv_item_id and a.inv_item_id = e.inv_item_id and a.itm_status_current in ('1','2','3') and exists (select 'X' from ps_cm_item_meth_vw f where f.business_unit=a.business_unit and f.inv_item_id=a.inv_item_id and f.cm_type='0') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: BUS_UNIT_TBL_IN |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_VW |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |