BCT_SRAL_INV_VW(SQL View) |
Index Back |
|---|---|
BCT Serial Id Transfer ViewThis view is used to retrieve valid serial id's for an item for transfer purposes. The view selects only those PHYSICAL_INV records that have a blank container id. |
| select distinct a.business_unit, a.inv_item_id, a.inv_lot_id, a.serial_id from ps_physical_inv a, PS_MASTER_ITEM_TBL b where a.qty > 0 and b.setid = (select setid from ps_set_cntrl_rec c where c.setcntrlvalue = a.business_unit and c.recname = 'MASTER_ITEM_TBL') and b.inv_item_id = a.inv_item_id and b.serial_control = 'Y' |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
| 2 | Character(18) | VARCHAR2(18) NOT NULL | Item ID | |
| 3 | Character(15) | VARCHAR2(15) NOT NULL | Lot ID | |
| 4 | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |