CARRIER_ID_VW

(SQL View)
Index Back

Carrier Address Effdt View

View is used to pull in the Carrier address using effective date logic.

SELECT cr.setid , cr.carrier_id , cr.effdt , cr.descr , cr.eff_status , cr.taxpayer_id , cr.network_id , cr.frt_forward_flg , cr.alt_name1 , cr.alt_name2 , cr.language_cd , %subrec(ADDRESS_SBR,cr) , %subrec(BUS_PHONE_SBR,cr) , cr.last_exp_chk_dttm , cr.freight_vendor , cr.interlink_dll , cr.tms_exclude_flg FROM PS_CARRIER_ID cr WHERE %EffdtCheck(carrier_id cr1, cr, %CurrentDateIn) AND cr.eff_status='A'

  • Related Language Record: CARRIER_IDV_LNG
  • Parent record: CARRIER_ID
  • # 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 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
    3 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive

    Default Value: A

    6 TAXPAYER_ID Character(14) VARCHAR2(14) NOT NULL Taxpayer ID
    7 NETWORK_ID Character(18) VARCHAR2(18) NOT NULL Network ID
    8 FRT_FORWARD_FLG Character(1) VARCHAR2(1) NOT NULL Freight Forwarder

    Y/N Table Edit

    Default Value: N

    9 ALT_NAME1 Character(40) VARCHAR2(40) NOT NULL Alternate Name 1
    10 ALT_NAME2 Character(40) VARCHAR2(40) NOT NULL Alternate Name 2
    11 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code

    Default Value: PSOPTIONS.LANGUAGE_CD

    12 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

    Prompt Table: COUNTRY_TBL

    13 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
    14 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
    15 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
    16 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
    17 CITY Character(30) VARCHAR2(30) NOT NULL City
    18 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
    19 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
    20 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
    AB=House Boat
    WW=Trailer
    21 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
    22 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
    23 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
    24 COUNTY Character(30) VARCHAR2(30) NOT NULL County
    25 STATE Character(6) VARCHAR2(6) NOT NULL State

    Prompt Table: %EDIT_STATE

    26 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
    27 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
    28 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

    Y/N Table Edit

    29 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
    30 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
    31 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
    32 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number
    33 LAST_EXP_CHK_DTTM DateTime(26) TIMESTAMP Last Date/Time Export Comp Chk
    34 FREIGHT_VENDOR Character(1) VARCHAR2(1) NOT NULL Used by OM, INV.
    E=External Freight System
    I=Internal Freight System

    Default Value: I

    35 INTERLINK_DLL Character(100) VARCHAR2(100) NOT NULL Interlink DLL Name
    36 TMS_EXCLUDE_FLG Character(1) VARCHAR2(1) NOT NULL Exclude From TMS Extract

    Y/N Table Edit

    Default Value: N