EXD_TAXLOC_OPVW

(SQL View)
Index Back

Ship Inv View


SELECT DISTINCT H.ORG_SETID , H.ORG_CODE , H.ORG_TAX_LOC_CD FROM PS_EXD_SHP_INV_HDR H , PS_ORG_TAX_LOC L WHERE EXD_INV_STATUS NOT IN ('C', 'P', 'N') AND H.ORG_SETID = L.SETID AND H.ORG_CODE = L.ORG_CODE AND H.ORG_TAX_LOC_CD = L.ORG_TAX_LOC_CD AND L.EXD_CENVAT_LOCK <> 'Y' AND EXISTS( SELECT 'X' FROM PS_ORG_REGISTER R WHERE H.ORG_SETID = R.SETID AND H.ORG_CODE = R.ORG_CODE AND H.ORG_TAX_LOC_CD = R.ORG_TAX_LOC_CD AND R.EXD_REGISTER_CD IN ('PLA', 'ICGV', 'IRMV') AND EFF_STATUS = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 ORG_CODE Character(6) VARCHAR2(6) NOT NULL Organization Code. This will be unique to an Organization.
3 ORG_TAX_LOC_CD Character(10) VARCHAR2(10) NOT NULL Tax Location Code. An Organization can have multiple Tax Location Codes.