RF_SERVICE_VW2

(SQL View)
Index Back

Service Prompt View

Returns all Active services where Applicable to All Products flag = 'Y'.

SELECT SETID , SERVICE_ID , DESCR80 , SHORT_DESCR , SERVICE_TYPE_CD , ACTIVE_STATUS , PRVNT_MNTC_FLAG , EST_SERVICE_TIME , WARRANTY_FLAG , AGREEMENT_FLAG , BILLABLE_FLAG , OFF_HOURS_FLAG , START_DATE , APPROVAL_REQ_FLAG , END_DATE , REPLACE_SERVICE_ID , PROVIDER_GRP_ID , PERSON_ID , ALL_PRODUCT_FLAG , ALL_REGION_FLAG FROM PS_RF_SERVICE WHERE ((START_DATE <= %CurrentDateIn AND END_DATE >= %CurrentDateIn AND ACTIVE_STATUS = 'A') OR (START_DATE <= %CurrentDateIn AND END_DATE IS NULL AND ACTIVE_STATUS = 'A')) AND ALL_PRODUCT_FLAG = 'Y'

  • Related Language Record: RF_SERVICE_LANG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

    Default Value: OPR_DEF_TBL_RB.SETID

    Prompt Table: SP_SETID_NONVW

    2 SERVICE_ID Character(20) VARCHAR2(20) NOT NULL Service ID

    Default Value: NEXT

    3 DESCR80 Character(80) VARCHAR2(80) NOT NULL This generic field stores the description and used used on various tables.
    4 SHORT_DESCR Character(15) VARCHAR2(15) NOT NULL This field is used to represent the short description for various objects
    5 SERVICE_TYPE_CD Character(8) VARCHAR2(8) NOT NULL User-definable code to classify the type of service.

    Prompt Table: RF_SERVICE_TYPE

    6 ACTIVE_STATUS Character(1) VARCHAR2(1) NOT NULL Allows for Active and Inactive status.
    A=Active
    I=Inactive

    Default Value: A

    7 PRVNT_MNTC_FLAG Character(1) VARCHAR2(1) NOT NULL This field is used to show whether Preventive Maintenance is required or not.
    N=No
    Y=Yes
    8 EST_SERVICE_TIME Number(8,2) DECIMAL(7,2) NOT NULL Estimated time that it will take to perform a service.
    9 WARRANTY_FLAG Character(1) VARCHAR2(1) NOT NULL Indicates that the agreement is classified as a warranty.
    N=No
    Y=Yes

    Default Value: N

    10 AGREEMENT_FLAG Character(1) VARCHAR2(1) NOT NULL Indicates whether or not the service can be used on an agreement.
    N=No
    Y=Yes

    Default Value: Y

    11 BILLABLE_FLAG Character(1) VARCHAR2(1) NOT NULL This is used to determine of the item under consideration is billable or not.
    N=No
    Y=Yes

    Default Value: N

    12 OFF_HOURS_FLAG Character(1) VARCHAR2(1) NOT NULL Off Hours
    N=No
    Y=Yes

    Default Value: N

    13 START_DATE Date(10) DATE NOT NULL Start Date for Gen Standing PO

    Default Value: %date

    14 APPROVAL_REQ_FLAG Character(1) VARCHAR2(1) NOT NULL This field specifies whether the approval is required for the activity.
    N=No
    Y=Yes

    Default Value: N

    15 END_DATE Date(10) DATE End date field to store an end date.
    16 REPLACE_SERVICE_ID Character(20) VARCHAR2(20) NOT NULL A new service ID that will replace the existing service.

    Prompt Table: RF_SVC_SRCH_VW

    17 PROVIDER_GRP_ID Character(10) VARCHAR2(10) NOT NULL Identification number for the provider group.

    Prompt Table: RF_PROVGRP_VW2

    18 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID

    Prompt Table: %EDITTABLE

    19 ALL_PRODUCT_FLAG Character(1) VARCHAR2(1) NOT NULL Flag to determine if a service is applicable to all products in the Service component.
    N=Applicable Products
    Y=Applicable to All Products

    Default Value: N

    20 ALL_REGION_FLAG Character(1) VARCHAR2(1) NOT NULL Flag to determine if a service is applicable to all regions in the Service component.
    N=Applicable Regions
    Y=Applicable to All Regions

    Default Value: N