DD_ITEM_VW1(SQL View) |
Index Back |
---|---|
DD Items By Item |
SELECT I.BUSINESS_UNIT , I.CUST_ID , I.ITEM , ITEM_LINE , I.DD_BU , I.DD_ID , C.DD_STATUS , I.ITEM_SELECTED FROM PS_DD_ITEM I , PS_DD_CONTROL C WHERE I.ITEM_SELECTED = 'Y' AND (C.DD_STATUS IN ('I', 'P', 'A') OR (C.DD_STATUS = 'R' AND C.CREATE_PEND_ITEMS = 'L' )) AND I.DD_BU = C.DD_BU AND I.DD_ID = C.DD_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 | DD_BU | Character(5) | VARCHAR2(5) NOT NULL | Specifies the business unit to which a direct debit is posted. This field is maintained by the Direct debit generation process. |
6 | DD_ID | Character(15) | VARCHAR2(15) NOT NULL | Specifies a sequence number assigned to a Direct Debit by the Direct Debit generation process. |
7 | DD_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates the stage of processing of a direct debit payment in receivables. This field is maintained by the Direct Debit generation process.
A=Accepted C=Complete E=Rejected N=No Action P=Pending R=Remitted Z=All |
8 | ITEM_SELECTED | Character(1) | VARCHAR2(1) NOT NULL | Item selected switch |