PO_LINE_AW_VW

(SQL View)
Index Back

Purchase Order Line Item


SELECT A.BUSINESS_UNIT ,A.PO_ID ,A.LINE_NBR ,A.CANCEL_STATUS ,A.CHANGE_STATUS ,A.ITM_SETID ,A.INV_ITEM_ID ,A.ITM_ID_VNDR ,A.VNDR_CATALOG_ID ,A.CATEGORY_ID ,A.CHNG_ORD_SEQ ,A.UNIT_OF_MEASURE ,A.QTY_TYPE ,A.PRICE_DT_TYPE ,A.MFG_ID ,A.MFG_ITM_ID ,A.CNTRCT_SETID ,A.CNTRCT_ID ,A.CNTRCT_LINE_NBR ,A.RELEASE_NBR ,A.CNTRCT_RATE_MULT ,A.CNTRCT_RATE_DIV , A.VRBT_ID ,A.RFQ_ID ,A.RFQ_LINE_NBR ,A.INSPECT_CD ,A.ROUTING_ID ,A.RECV_REQ ,A.PRICE_CAN_CHANGE ,A.WTHD_SW ,A.WTHD_CD ,A.CONFIG_CODE ,A.CP_TEMPLATE_ID ,A.DESCR254_MIXED ,A.REPLEN_OPT ,A.AMT_ONLY_FLG ,%subrec(PUR_USR_LIN_SBR, A) ,A.GPO_ID ,A.GPO_CNTRCT_NBR ,A.BENEFIT_ID ,A.PHYSICAL_NATURE ,A.CNTRCT_CF_LOCK , A.CLOSE_SHORT_FLG , A.MILESTONE_NBR , A.PACKING_VOLUME , A.PACKING_WEIGHT , A.UNIT_MEASURE_VOL , A.UNIT_MEASURE_WT FROM PS_PO_LINE A WHERE A.CANCEL_STATUS NOT IN ('X', 'C')

  • Parent record: PO_HDR_FS
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
    3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
    4 CANCEL_STATUS Character(1) VARCHAR2(1) NOT NULL Cancel Status
    A=Active
    C=Closed
    D=Denied
    H=Hold
    O=Open
    P=Pending Approval
    X=Canceled

    Default Value: A

    5 CHANGE_STATUS Character(1) VARCHAR2(1) NOT NULL Change Order Status
    C=Changed
    U=Unchanged

    Default Value: U

    6 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
    7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

    Prompt Table: %EDIT_ITEM_ID

    8 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
    9 VNDR_CATALOG_ID Character(20) VARCHAR2(20) NOT NULL Vendor's Catalog Number
    10 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID

    Prompt Table: ITM_CAT_VW

    11 CHNG_ORD_SEQ Number(3,0) SMALLINT NOT NULL Change Order Sequence Number
    12 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
    MHR=Muti Hourly
    PER=Percentage
    SQF=Square Footage

    Prompt Table: %EDIT_UOM

    13 QTY_TYPE Character(1) VARCHAR2(1) NOT NULL Quantity to Use for Prices
    L=Line Quantity
    S=Schedule Quantity

    Default Value: S

    14 PRICE_DT_TYPE Character(1) VARCHAR2(1) NOT NULL Date to Use for Prices
    D=Due Date
    P=PO Date

    Default Value: P

    15 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID

    Prompt Table: MANUFACTURER

    16 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID
    17 CNTRCT_SETID Character(5) VARCHAR2(5) NOT NULL SetID
    18 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID

    Prompt Table: PO_CNTRCT_SRCH

    19 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr

    Prompt Table: %EDIT_CNTRCT_LN

    20 RELEASE_NBR Number(5,0) INTEGER NOT NULL Release Number
    21 CNTRCT_RATE_MULT Number(16,8) DECIMAL(15,8) NOT NULL Contract Rate Multiplier
    22 CNTRCT_RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Contract Rate Divider
    23 VRBT_ID Character(25) VARCHAR2(25) NOT NULL Vendor Rebate ID
    24 RFQ_ID Character(10) VARCHAR2(10) NOT NULL RFQ ID
    25 RFQ_LINE_NBR Number(5,0) INTEGER NOT NULL RFQ Line
    26 INSPECT_CD Character(1) VARCHAR2(1) NOT NULL Inspection Required
    N=No
    Y=Yes

    Y/N Table Edit

    Default Value: N

    27 ROUTING_ID Character(10) VARCHAR2(10) NOT NULL Inspection Routing ID

    Prompt Table: ROUTING_HDR

    28 RECV_REQ Character(1) VARCHAR2(1) NOT NULL Receiving Required
    N=Optional
    X=Do Not
    Y=Required

    Default Value: N

    29 PRICE_CAN_CHANGE Character(1) VARCHAR2(1) NOT NULL Price Can Be Changed on Order
    N=No
    Y=Yes

    Y/N Table Edit

    Default Value: Y

    30 WTHD_SW Character(1) VARCHAR2(1) NOT NULL Withholding Applicable Flag
    B=Global and 1099
    G=Global
    T=1099

    Y/N Table Edit

    31 WTHD_CD Character(5) VARCHAR2(5) NOT NULL Withholding Code
    32 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator
    33 CP_TEMPLATE_ID Character(10) VARCHAR2(10) NOT NULL Template ID Field
    34 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
    35 REPLEN_OPT Character(2) VARCHAR2(2) NOT NULL Replenish Code
    01=Standard
    02=Stockless
    36 AMT_ONLY_FLG Character(1) VARCHAR2(1) NOT NULL Amount Only
    N=No
    Y=Yes

    Y/N Table Edit

    Default Value: N

    37 USER_LINE_CHAR1 Character(1) VARCHAR2(1) NOT NULL Custom Character 1
    38 CUSTOM_C100_B1 Character(100) VARCHAR2(100) NOT NULL Custom Field 1
    39 CUSTOM_C100_B2 Character(100) VARCHAR2(100) NOT NULL Custom Field 2
    40 CUSTOM_C100_B3 Character(100) VARCHAR2(100) NOT NULL Custom Field 3
    41 CUSTOM_C100_B4 Character(100) VARCHAR2(100) NOT NULL Custom Field 4
    42 CUSTOM_DATE_B Date(10) DATE Custom Date
    43 CUSTOM_C1_B Character(1) VARCHAR2(1) NOT NULL Custom Character 2
    44 GPO_ID Character(18) VARCHAR2(18) NOT NULL GPO ID
    45 GPO_CNTRCT_NBR Character(25) VARCHAR2(25) NOT NULL GPO Contract Number
    46 BENEFIT_ID Character(10) VARCHAR2(10) NOT NULL Benefit Identification
    47 PHYSICAL_NATURE Character(1) VARCHAR2(1) NOT NULL Physical Nature
    G=Goods
    S=Services
    48 CNTRCT_CF_LOCK Character(1) VARCHAR2(1) NOT NULL Lock Chartfields
    N=No
    Y=Yes
    49 CLOSE_SHORT_FLG Character(1) VARCHAR2(1) NOT NULL Close Short Flag

    Y/N Table Edit

    Default Value: N

    50 MILESTONE_NBR Number(5,0) INTEGER NOT NULL Milestone Line Number
    51 PACKING_VOLUME Signed Number(17,4) DECIMAL(15,4) NOT NULL Packing Volume
    52 PACKING_WEIGHT Signed Number(17,4) DECIMAL(15,4) NOT NULL Packing Weight
    53 UNIT_MEASURE_VOL Character(3) VARCHAR2(3) NOT NULL Volume UOM
    54 UNIT_MEASURE_WT Character(3) VARCHAR2(3) NOT NULL Weight UOM