GS1_UPN_AT2_EVW

(SQL View)
Index Back

GS1_UPN_AT2_EVW

This view is Used by the Batch Publish section of the AE Program IN_ITMLOAD to publish the Item Changes/Adds to other Nodes.

SELECT A.SETID , A.INV_ITEM_ID , A.UNIT_MEASURE_STD , A.MFG_ID , A.MFG_ITM_ID , A.UNIT_OF_MEASURE , A.UPN_TYPE_CD , A.UPN_ID , A.GS1_PRIMARY_IDNTYP , A.GS1_BASE_UNIT , A.GS1_GTIN_CHLD_QUOM , A.GS1_NET_CONT_U_QTY , A.GS1_NET_UNIT_Q_UOM , A.GS1_PARENT_GTIN , A.GS1_CONSUMER_UNIT , A.GS1_CHILD_GTIN , A.GS1_GTIN_CHILD_QTY , A.GS1_INVOICE_UNIT , A.GS1_SHIPPING_UNIT , A.GS1_VARIABLE_MEASU , A.GS1_ORDERABLE , A.GS1_BAR_CODE_TYPE , B.AUDIT_ACTN , B.IN_PROCESS_FLG , E.PROCESS_INSTANCE FROM PS_GS1_UPN_ATT2 A , PS_GS1_UPN_ATT2_EC B , PS_EO_EIP_CTL E , PS_MASTER_ITEM_TBL I WHERE A.SETID = B.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND E.EIP_CTL_ID = B.EIP_CTL_ID AND E.EIP_DTA_STATUS = '2' AND I.SETID = a.setid AND I.INV_ITEM_ID = A.INV_ITEM_ID AND I.ITM_STATUS_CURRENT IN ('1','2','3','4') AND A.MFG_ID=B.MFG_ID AND A.MFG_ITM_ID=B.MFG_ITM_ID AND A.UNIT_OF_MEASURE=B.UNIT_OF_MEASURE AND A.UPN_TYPE_CD=B.UPN_TYPE_CD AND A.UPN_ID=B.UPN_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
4 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
5 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID
6 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
7 UPN_TYPE_CD Character(4) VARCHAR2(4) NOT NULL Universal Product Number Format Type
8 UPN_ID Character(20) VARCHAR2(20) NOT NULL Universal Product Number
9 GS1_PRIMARY_IDNTYP Character(20) VARCHAR2(20) NOT NULL Primary Identifier Type
10 GS1_BASE_UNIT Character(1) VARCHAR2(1) NOT NULL Base Unit

Y/N Table Edit

Default Value: N

11 GS1_GTIN_CHLD_QUOM Character(2) VARCHAR2(2) NOT NULL GTIN Children Quantity UOM
12 GS1_NET_CONT_U_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Net Content Unit Quantity
13 GS1_NET_UNIT_Q_UOM Character(2) VARCHAR2(2) NOT NULL Net Unit Quantity UOM
14 GS1_PARENT_GTIN Character(14) VARCHAR2(14) NOT NULL Parent GTIN
15 GS1_CONSUMER_UNIT Character(1) VARCHAR2(1) NOT NULL Consumer Unit

Y/N Table Edit

Default Value: N

16 GS1_CHILD_GTIN Character(14) VARCHAR2(14) NOT NULL Child GTIN
17 GS1_GTIN_CHILD_QTY Number(6,0) INTEGER NOT NULL GTIN Children Quantity
18 GS1_INVOICE_UNIT Character(1) VARCHAR2(1) NOT NULL Invoice Unit

Y/N Table Edit

Default Value: N

19 GS1_SHIPPING_UNIT Character(1) VARCHAR2(1) NOT NULL Shipping Unit

Y/N Table Edit

Default Value: N

20 GS1_VARIABLE_MEASU Character(1) VARCHAR2(1) NOT NULL Variable Measure

Y/N Table Edit

Default Value: N

21 GS1_ORDERABLE Character(1) VARCHAR2(1) NOT NULL Orderable

Y/N Table Edit

Default Value: N

22 GS1_BAR_CODE_TYPE Character(60) VARCHAR2(60) NOT NULL Bar Code Type
23 AUDIT_ACTN Character(1) VARCHAR2(1) NOT NULL Audit Action Code for Application Messages. This tells the subscriber whether the row has been added, changed, or deleted.
A=Add
C=Change Old (PPR Only)
D=Delete
K=Change - Old Values
N=Change - New Values
O=Change - Original Values
24 IN_PROCESS_FLG Character(1) VARCHAR2(1) NOT NULL In process flag
25 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance