APOP_VENDOR_MV

(SQL View)
Index Back

Supplier Header Table MV

Supplier Header Table MV

SELECT A.SETID , A.VENDOR_ID , %Sql(AP_FUNCLIB_DATE_YEAR_UPD, %DatePart(A.CREATED_DTTM)) %Concat '-' %Concat %Sql(AP_FUNCLIB_DATE_MONTH_UPD, %DatePart(A.CREATED_DTTM)) , 'A' , %DatePart(A.CREATED_DTTM) , A.VENDOR_NAME_SHORT , A.VNDR_NAME_SHRT_USR , A.VENDOR_STATUS , A.VENDOR_CLASS , A.WTHD_SW , A.VNDR_STATUS_PO , A.VAT_SW , %DatePart(A.CREATED_DTTM) , CASE WHEN (A.CREATED_BY_USER <> ' ') THEN A.CREATED_BY_USER ELSE A.ENTERED_BY END , %DatePart(A.LAST_MODIFIED_DATE) , A.ENTERED_BY FROM %Table(VENDOR) A , %Table(OPI_SYSCFG_TBL1) B WHERE %DatePart(A.CREATED_DTTM) BETWEEN B.FROM_DT AND B.TO_DT UNION SELECT A.SETID , A.VENDOR_ID , %Sql(AP_FUNCLIB_DATE_YEAR_UPD, %DatePart(A.LAST_MODIFIED_DATE)) %Concat '-' %Concat %Sql(AP_FUNCLIB_DATE_MONTH_UPD, %DatePart(A.LAST_MODIFIED_DATE)) , 'U' , %DatePart(A.LAST_MODIFIED_DATE) , A.VENDOR_NAME_SHORT , A.VNDR_NAME_SHRT_USR , A.VENDOR_STATUS , A.VENDOR_CLASS , A.WTHD_SW , A.VNDR_STATUS_PO , A.VAT_SW , %DatePart(A.CREATED_DTTM) , CASE WHEN (A.CREATED_BY_USER <> ' ') THEN A.CREATED_BY_USER ELSE A.ENTERED_BY END , %DatePart(A.LAST_MODIFIED_DATE) , A.ENTERED_BY FROM %Table(VENDOR) A , %Table(OPI_SYSCFG_TBL1) B WHERE %DatePart(A.LAST_MODIFIED_DATE) BETWEEN B.FROM_DT AND B.TO_DT AND %DatePart(A.LAST_MODIFIED_DATE) <> %DatePart(A.CREATED_DTTM)

  • Related Language Record: APOP_VENDOR_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
    3 AP_PERIOD_NAME Character(35) VARCHAR2(35) NOT NULL Period Name
    4 AP_ACTION_SUPPLIER Character(1) VARCHAR2(1) NOT NULL Action Supplier
    A=Added
    U=Updated
    5 ACTION_DT Date(10) DATE Action Date
    6 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
    7 VNDR_NAME_SHRT_USR Character(10) VARCHAR2(10) NOT NULL Short Vendor Name
    8 VENDOR_STATUS Character(1) VARCHAR2(1) NOT NULL Vendor Status
    A=Approved
    D=Denied
    E=Unapproved
    I=Inactive
    X=To Be Archived
    9 VENDOR_CLASS Character(1) VARCHAR2(1) NOT NULL Vendor Classification
    A=Attorney
    E=Employee
    H=HCM
    R=Outside Party

    Default Value: R

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

    Y/N Table Edit

    Default Value: N

    11 VNDR_STATUS_PO Character(1) VARCHAR2(1) NOT NULL Open For Ordering
    N=No
    Y=Yes
    12 VAT_SW Character(1) VARCHAR2(1) NOT NULL Display VAT Flag
    H=Hide VAT checkbox
    N=Display VAT checkbox off
    Y=Display VAT checkbox on

    Y/N Table Edit

    Default Value: VENDOR_CONTROL.VAT_SW

    13 CREATION_DT Date(10) DATE Creation Date
    14 CREATED_BY_USER Character(30) VARCHAR2(30) NOT NULL Created By
    15 MODIFIED_DT Date(10) DATE Date Last Modification
    16 ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered by