VCHR_RC_SUT_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.RECEIVER_ID , C.RECV_LN_NBR , C.RECV_SHIP_SEQ_NBR , C.BUSINESS_UNIT_PO , C.PO_ID , C.LINE_NBR , C.SCHED_NBR , C.SHIPTO_ID , %subrec(PO_SHIP_SUT_SBR, D) FROM PS_RECV_HDR_FS A , PS_RECV_LN_SHIP_FS C , PS_VCHR_PO_SUT_VW D WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.RECEIVER_ID = C.RECEIVER_ID AND C.BUSINESS_UNIT_PO = D.BUSINESS_UNIT_PO AND C.PO_ID = D.PO_ID AND C.LINE_NBR = D.LINE_NBR AND C.SCHED_NBR = D.SCHED_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_RECV | Character(5) | VARCHAR2(5) NOT NULL | Receiving Business Unit |
2 | RECEIVER_ID | Character(10) | VARCHAR2(10) NOT NULL | Receiver number |
3 | RECV_LN_NBR | Number(5,0) | INTEGER NOT NULL | Receipt Line |
4 | RECV_SHIP_SEQ_NBR | Number(3,0) | SMALLINT NOT NULL | Receiver Shipping Sequence |
5 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
6 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
7 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
8 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
9 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
10 | TAX_CD_SUT_PCT | Number(8,4) | DECIMAL(7,4) NOT NULL | Sales/Use Tax Code Percent |
11 | FREIGHT_SUT_PCT | Number(8,4) | DECIMAL(7,4) NOT NULL | Rate |
12 | TITLE_PASSAGE | Character(1) | VARCHAR2(1) NOT NULL |
Title Passage
B=Buyer's Destination-Ship To I=Intermediate Consignee S=Seller's Origination-Ship From |
13 | TAX_TRANS_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Transaction Type
1=Sale 2=Rental 3=Service 4=Purchase 5=Lease B=Return |
14 | TAX_TRANS_SUB_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Transaction Sub Type
1=Property 2=Freight 3=Service 4=Rental or Lease 5=Expense 6=Misc N=None |
15 | TAX_JOB_NUM | Character(10) | VARCHAR2(10) NOT NULL | Job Number |
16 | TAX_USER_AREA | Character(25) | VARCHAR2(25) NOT NULL | Used for tax calculation by tax vendor. |
17 | SALETX_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Sales Tax Amount |
18 | SALETX_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Base Sales Tax Amount |
19 | USETAX_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
20 | USETAX_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Base Use Tax Amount |
21 | FREIGHT_SUT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | SUT Amount on Freight |
22 | FRGHT_SUT_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | SUT Amount on Freight |
23 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
24 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
25 | SUT_PRODUCT_CD | Character(18) | VARCHAR2(18) NOT NULL | Product Alias |
26 | SUT_FREIGHT_CD | Character(18) | VARCHAR2(18) NOT NULL | Product Alias |