BCT_IN_IURV_LVW(SQL View) |
Index Back |
---|---|
BCT Interunit Receiving SearchSearch view for the bar code Interunit Receiving input component |
SELECT A.BUSINESS_UNIT , L.FIELDVALUE , S.BUSINESS_UNIT , D.BUSINESS_UNIT , L.LANGUAGE_CD , L.XLATLONGNAME , L.XLATSHORTNAME FROM PS_BUS_UNIT_TBL_IN S , PS_BUS_UNIT_TBL_IN D , PS_BUS_UNIT_TBL_IN A , PSXLATITEM X , PSXLATITEMLANG L WHERE (X.FIELDNAME = 'TRANSACTION_CODE' AND X.FIELDVALUE IN ('0120', '0121', '0125') AND %EffdtCheck(PSXLATITEM XX, X, %CurrentDateIn) AND X.EFF_STATUS = 'A' AND %Join(COMMON_KEYS, PSXLATITEM X, PSXLATITEMLANG L)) AND (S.BUSINESS_UNIT IN ( SELECT DMD.BUSINESS_UNIT FROM PS_DMD_IU_DEF_INV DMD , PS_INSTALLATION_IN IIN1 WHERE S.BUSINESS_UNIT = DMD.BUSINESS_UNIT AND D.BUSINESS_UNIT = DMD.DESTIN_BU AND S.BUSINESS_UNIT <> DMD.DESTIN_BU AND D.BUSINESS_UNIT <> DMD.BUSINESS_UNIT AND IIN1.IUNIT_VALUES IN ('2','3')) OR S.BUSINESS_UNIT IN ( SELECT NP.SOURCE_BUS_UNIT FROM PS_INIU_TRANOPT_VW NP , PS_INSTALLATION_IN IIN2 , PS_INSTALLATION_FS IFS2 WHERE NP.SOURCE_BUS_UNIT = S.BUSINESS_UNIT AND D.BUSINESS_UNIT = NP.DESTIN_BU AND S.BUSINESS_UNIT <> NP.DESTIN_BU AND D.BUSINESS_UNIT <> NP.SOURCE_BUS_UNIT AND IIN2.IUNIT_VALUES IN ('1','3') AND IFS2.IU_METHOD IN ('D','I')) OR S.BUSINESS_UNIT IN ( SELECT P.SOURCE_BUS_UNIT FROM PS_INIU_TRANPR_VW P , PS_INSTALLATION_IN IIN3 , PS_INSTALLATION_FS IFS3 WHERE P.SOURCE_BUS_UNIT = S.BUSINESS_UNIT AND D.BUSINESS_UNIT = P.DESTIN_BU AND S.BUSINESS_UNIT <> P.DESTIN_BU AND D.BUSINESS_UNIT <> P.SOURCE_BUS_UNIT AND IIN3.IUNIT_VALUES IN ('1','3') AND IFS3.IU_METHOD = 'P')) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BU_FS_NONVW |
|
2 | Character(4) | VARCHAR2(4) NOT NULL |
Transaction Code
Prompt Table: BCT_XIUR_INV_VW |
|
3 | Character(5) | VARCHAR2(5) NOT NULL |
Source Bus Unit
Prompt Table: BUS_UNIT_TBL_FS |
|
4 | Character(5) | VARCHAR2(5) NOT NULL |
Inventory Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUIN_NONVW |
|
5 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
6 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
7 | XLATSHORTNAME | Character(10) | VARCHAR2(10) NOT NULL | Translate Value Short Name |