BI_CUST_HLD_VW2(SQL View) |
Index Back |
---|---|
HOLD CUST BI ACTIVITY |
SELECT p.business_unit , p.invoice , p.cust_setid , p.cust_id , p.name1 , p.billing_specialist , p.bill_status , p.bill_source_id , p.dt_invoiced , p.invoice_amount , p.bi_currency_cd , 'N' FROM PS_BI_CUST_HOLD_VW p WHERE p.BILL_STATUS NOT IN ('INV', 'CAN', 'FNL') AND (p.BILL_STATUS NOT IN ('TMP','TMR') OR (p.BILL_STATUS IN ('TMP','TMR') AND p.PC_DISTRIB_STATUS <> 'I')) UNION SELECT p.business_unit , p.invoice , p.cust_setid , p.cust_id , p.name1 , p.billing_specialist , p.bill_status , p.bill_source_id , p.dt_invoiced , p.invoice_amount , p.bi_currency_cd , 'I' FROM PS_BI_CUST_HOLD_VW p WHERE p.BILL_STATUS IN ('INV', 'FNL') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
3 | CUST_SETID | Character(5) | VARCHAR2(5) NOT NULL | Customer SetID |
4 | 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. |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | BILLING_SPECIALIST | Character(8) | VARCHAR2(8) NOT NULL | Billing Specialist |
7 | BILL_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Bill Status
CAN=Canceled FNL=Finalized Bill HLD=Hold Bill INV=Invoiced Bill NEW=New Bill PND=Pending Approval RDY=Ready to Invoice TMP=Temporary Bill TMR=Temporary Ready Bill |
8 | BILL_SOURCE_ID | Character(10) | VARCHAR2(10) NOT NULL | Bill Source |
9 | DT_INVOICED | Date(10) | DATE | Date Invoiced |
10 | INVOICE_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Invoice Amount |
11 | BI_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Billing Currency Code |
12 | BI_PROCESS_GRP | Character(1) | VARCHAR2(1) NOT NULL |
Process Group field is used to identify data group in the application of Billing's Chartfield Inheritance rules.
5/10/2012 Added translates for pivot grid = post invoice process
A=Accounting Entry B=Budget Check G=GL Journal I=Recently Invoiced N=Pending Invoices P=Accounts Payable R=Accounts Receivable |