DRAFT_ITEM_VW1(SQL View) |
Index Back |
---|---|
Draft Items by Item |
SELECT I.BUSINESS_UNIT , I.CUST_ID , I.ITEM , I.ITEM_LINE , I.DRAFT_BU , I.DRAFT_ID , C.DRAFT_STATUS , I.ITEM_SELECTED FROM PS_DRAFT_ITEM I , PS_DRAFT_CONTROL C WHERE I.ITEM_SELECTED = 'Y' AND (C.DRAFT_STATUS IN ('I', 'P') OR (C.DRAFT_STATUS = 'A' AND C.CREATE_PEND_ITEMS <> 'A')) AND I.DRAFT_BU = C.DRAFT_BU AND I.DRAFT_ID = C.DRAFT_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
3 | ITEM | Character(30) | VARCHAR2(30) NOT NULL | Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number. |
4 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
5 | DRAFT_BU | Character(5) | VARCHAR2(5) NOT NULL | Identifies the Receivables business unit associated with a draft. This field is maintained by the Draft Creation process. |
6 | DRAFT_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies a payment draft. The Draft ID is system-generated during the Draft Creation process or manually entered. |
7 | DRAFT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Draft Status
A=Accepted C=Complete D=Dishonored E=Void I=Identified L=Collateral M=Discounted N=No Action P=Pending R=Remitted T=Endorsed |
8 | ITEM_SELECTED | Character(1) | VARCHAR2(1) NOT NULL | Item selected switch |