TR_AFSTL_ATT_VW(SQL View) |
Index Back |
---|---|
Treasury Settlement AttachmentTreasury Settlements - Approval Framework Attachments - Page Composer |
SELECT BAX.BUSINESS_UNIT , BAX.BAX_TRANSFER_ID , 'X' , B.SCM_ATTACH_ID , B.ATT_VERSION , B.ATTACHSYSFILENAME , B.ATTACHUSERFILE , B.ATTACH_DESCR , BAX.FMS_OPRID , O.OPRDEFNDESC , BAX.FMS_DTTM_STAMP , BAX.FMS_LASTUPDDTTM , AF.EOAWTHREAD_ID , AF.EOAWPRCS_ID , AF.EOAWPARENT_THREAD , BU.DESCR FROM PS_BAX_HDR_TR_ATT BAX , PS_PV_ATTACHMENTS B , PSOPRDEFN O , PS_TR_AF_STL_XREF AF , PS_BUS_UNIT_TBL_FS BU WHERE BAX.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND BAX.ATT_VERSION = B.ATT_VERSION AND BAX.FMS_OPRID = O.OPRID AND BAX.BUSINESS_UNIT = AF.SOURCE_BUS_UNIT AND BAX.BAX_TRANSFER_ID = AF.TR_SOURCE_ID AND AF.TR_SOURCE_CD = 'X' AND BAX.BUSINESS_UNIT = BU.BUSINESS_UNIT UNION SELECT FEE.BUSINESS_UNIT , FEE.TR_SOURCE_ID , FEE.TR_SOURCE_CD , B.SCM_ATTACH_ID , B.ATT_VERSION , B.ATTACHSYSFILENAME , B.ATTACHUSERFILE , B.ATTACH_DESCR , FEE.FMS_OPRID , O.OPRDEFNDESC , FEE.FMS_DTTM_STAMP , FEE.FMS_LASTUPDDTTM , AF.EOAWTHREAD_ID , AF.EOAWPRCS_ID , AF.EOAWPARENT_THREAD , BU.DESCR FROM PS_TR_FEE_ATT FEE , PS_PV_ATTACHMENTS B , PSOPRDEFN O , PS_TR_AF_STL_XREF AF , PS_BUS_UNIT_TBL_FS BU WHERE FEE.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND FEE.ATT_VERSION = B.ATT_VERSION AND FEE.FMS_OPRID = O.OPRID AND FEE.BUSINESS_UNIT = AF.SOURCE_BUS_UNIT AND FEE.TR_SOURCE_ID = AF.TR_SOURCE_ID AND FEE.TR_SOURCE_CD = AF.TR_SOURCE_CD AND FEE.BUSINESS_UNIT = BU.BUSINESS_UNIT UNION SELECT EFT.BUSINESS_UNIT , EFT.TR_SOURCE_ID , 'W' , B.SCM_ATTACH_ID , B.ATT_VERSION , B.ATTACHSYSFILENAME , B.ATTACHUSERFILE , B.ATTACH_DESCR , EFT.FMS_OPRID , O.OPRDEFNDESC , EFT.FMS_DTTM_STAMP , EFT.FMS_LASTUPDDTTM , AF.EOAWTHREAD_ID , AF.EOAWPRCS_ID , AF.EOAWPARENT_THREAD , BU.DESCR FROM PS_TR_WR_ATT EFT , PS_PV_ATTACHMENTS B , PSOPRDEFN O , PS_TR_AF_STL_XREF AF , PS_BUS_UNIT_TBL_FS BU WHERE EFT.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND EFT.ATT_VERSION = B.ATT_VERSION AND EFT.FMS_OPRID = O.OPRID AND EFT.BUSINESS_UNIT = AF.SOURCE_BUS_UNIT AND EFT.TR_SOURCE_ID = AF.TR_SOURCE_ID AND AF.TR_SOURCE_CD = 'W' AND EFT.BUSINESS_UNIT = BU.BUSINESS_UNIT UNION SELECT TRX.BUSINESS_UNIT , TRX.TREAS_HEADER_ID , 'D' , B.SCM_ATTACH_ID , B.ATT_VERSION , B.ATTACHSYSFILENAME , B.ATTACHUSERFILE , B.ATTACH_DESCR , TRX.FMS_OPRID , O.OPRDEFNDESC , TRX.FMS_DTTM_STAMP , TRX.FMS_LASTUPDDTTM , AF.EOAWTHREAD_ID , AF.EOAWPRCS_ID , AF.EOAWPARENT_THREAD , BU.DESCR FROM PS_TRX_HDR_TR_ATT TRX , PS_PV_ATTACHMENTS B , PSOPRDEFN O , PS_TR_AF_STL_XREF AF , PS_BUS_UNIT_TBL_FS BU WHERE TRX.SCM_ATTACH_ID = B.SCM_ATTACH_ID AND TRX.ATT_VERSION = B.ATT_VERSION AND TRX.FMS_OPRID = O.OPRID AND TRX.BUSINESS_UNIT = AF.SOURCE_BUS_UNIT AND TRX.TREAS_HEADER_ID = AF.TR_SOURCE_ID AND AF.TR_SOURCE_CD = 'D' AND TRX.BUSINESS_UNIT = BU.BUSINESS_UNIT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | TR_SOURCE_ID | Character(12) | VARCHAR2(12) NOT NULL | An internal work field that represents a unique identifier for records depicting a given treasury po |
3 | TR_SOURCE_CD | Character(1) | VARCHAR2(1) NOT NULL |
Note: Changes to Translate Values must also be made to TRA_SOURCE_CD and SOURCE_TYPE. These 3 fields must be kept in sync.
Values that are inactive are for use in TR Accounting only
B=BSP D=Deals E=Deal Fees F=Facility Fees H=Hedges I=Interest M=Deal: Estimated Maturity Accr N=Netted Deal O=Other P=Investment Pools R=EFT Fees S=Securities T=LC Fees W=EFT Requests X=Bank Transfers |
4 | SCM_ATTACH_ID | Character(64) | VARCHAR2(64) NOT NULL | The unique ID of each file whose attachment was handled by the attachment utility. Unique across all attachments, all applications. |
5 | ATT_VERSION | Number(3,0) | SMALLINT NOT NULL | The version of the attached file. Currently always 1, this field will find more use once the attachment utitlity starts supporting versioning of files. |
6 | ATTACHSYSFILENAME | Character(128) | VARCHAR2(128) NOT NULL | Unique Sys Filename |
7 | ATTACHUSERFILE | Character(64) | VARCHAR2(64) NOT NULL | Attached File |
8 | ATTACH_DESCR | Character(100) | VARCHAR2(100) NOT NULL | A description of the file being attached. This field is provided as a convenience to app developers and customers. The attachment utility does not interpret its value in any way, simply storing it as set by the application. |
9 | FMS_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Specifies the User ID which made the original entry. |
10 | OPRDEFNDESC | Character(30) | VARCHAR2(30) NOT NULL | Description field for a user |
11 | FMS_DTTM_STAMP | DateTime(26) | TIMESTAMP | Specifies the date and time of the original entry. |
12 | FMS_LASTUPDDTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. |
13 | EOAWTHREAD_ID | Number(15,0) | DECIMAL(15) NOT NULL | Approval Framework Thread ID |
14 | EOAWPRCS_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Process ID |
15 | EOAWPARENT_THREAD | Number(15,0) | DECIMAL(15) NOT NULL | Parent Thread ID |
16 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |