ITEM_GST_VW(SQL View) |
Index Back |
---|---|
View for item attachmentsView for item attachments from item maintenance component |
SELECT DISTINCT A.GROUP_BU , A.GROUP_ID , A.BUSINESS_UNIT , A.CUST_ID , A.ITEM , A.ITEM_LINE , A.GROUP_SEQ_NUM , A.ORDER_NO , G.INV_ITEM_ID , G.EXS_TAX_TYPE , G.EXS_TAX_CMPNT_CD , G.EXS_TAXRT_AMT , G.EXS_CALC_SCHEME , G.EXS_TAX_RATE_UOM , G.EXS_TAX_RATE_PCT , G.EXS_BASIS_AMT , G.EXS_TAX_AMT , G.EXS_RCVRY_PCT , G.EXS_RCVRY_AMT , G.CURRENCY_CD , G.STATE_SHIP_FROM , G.STATE_SHIP_TO , G.PLACE_OF_SUPPLY , G.GST_RGSTN_NBR FROM PS_PENDING_ITEM A , PS_ITEM B , PS_PAYMNT_ITEM_GST G WHERE A.GROUP_BU = G.BUSINESS_UNIT AND A.GROUP_ID = G.GROUP_ID AND A.BUSINESS_UNIT = B. BUSINESS_UNIT AND A.BUSINESS_UNIT = G.BUSINESS_UNIT AND B.BUSINESS_UNIT = G.BUSINESS_UNIT AND A.CUST_ID = B.CUST_ID AND A.CUST_ID = G.CUST_ID AND B.CUST_ID = G.CUST_ID AND A.ITEM = B.ITEM AND A.ITEM = G.ITEM AND B.ITEM = G.ITEM AND A.ITEM_LINE = B.ITEM_LINE AND A.ITEM_LINE = G.ITEM_LINE AND B.ITEM_LINE = G.ITEM_LINE AND A.GROUP_SEQ_NUM = G.AR_SEQ_NUM AND A.ORDER_NO = G.ORDER_NO |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GROUP_BU | Character(5) | VARCHAR2(5) NOT NULL | Represents the high level grouping of multiple general ledger business units. |
2 | GROUP_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies a collection of pending items that are to be posted to accounts receivable. The identifier is manually entered or automatically generated by the system. |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
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 | 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. |
6 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
7 | GROUP_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Specifies the system-assigned sequence number of a pending item within a group. A group is a postable entity that may be entered online or created by the system. In either case the group sequence number is automatically generated. |
8 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |
9 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
10 | EXS_TAX_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Tax Type
C=Custom Duty E=Excise Duty G=Goods and Services Tax S=Sales Tax / VAT |
11 | EXS_TAX_CMPNT_CD | Character(10) | VARCHAR2(10) NOT NULL | Tax Component Code |
12 | EXS_TAXRT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Tax Rate Amount |
13 | EXS_CALC_SCHEME | Character(1) | VARCHAR2(1) NOT NULL |
Calculation Scheme
A=Amount P=Percentage Q=Quantity |
14 | EXS_TAX_RATE_UOM | Character(3) | VARCHAR2(3) NOT NULL | Excise Unit Of Measure |
15 | EXS_TAX_RATE_PCT | Number(8,4) | DECIMAL(7,4) NOT NULL | Tax Rate Percentage |
16 | EXS_BASIS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Basis Amount |
17 | EXS_TAX_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Excise Sales Tax Amount |
18 | EXS_RCVRY_PCT | Number(8,4) | DECIMAL(7,4) NOT NULL | Tax Percentage |
19 | EXS_RCVRY_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Recovery Amount |
20 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
21 | STATE_SHIP_FROM | Character(6) | VARCHAR2(6) NOT NULL | Ship From State |
22 | STATE_SHIP_TO | Character(6) | VARCHAR2(6) NOT NULL | Ship To State |
23 | PLACE_OF_SUPPLY | Character(10) | VARCHAR2(10) NOT NULL | Place of Supply |
24 | GST_RGSTN_NBR | Character(30) | VARCHAR2(30) NOT NULL | GST Registration Number |