OM_DOC_CDVWLNG

(SQL View)
Index Back

OM Doc Code Prompt - RLR


SELECT DISTINCT A.FIELDVALUE , A.LANGUAGE_CD , A.XLATLONGNAME , A.XLATSHORTNAME FROM PSXLATITEMLANG A , PSXLATITEM B WHERE A.FIELDNAME = B.FIELDNAME AND A.FIELDVALUE = B.FIELDVALUE AND A.EFFDT = B.EFFDT AND B.FIELDNAME = 'DOCUMENT_CD' AND B.FIELDVALUE <> 'ASN' AND B.FIELDVALUE <> 'PICK' AND B.FIELDVALUE <> 'CACK' AND B.FIELDVALUE <> 'INCC' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PSXLATITEM C WHERE C.FIELDNAME = B.FIELDNAME AND C.FIELDVALUE = B.FIELDVALUE AND C.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A'

  • Related Language Record for OM_DOC_CODE_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 DOCUMENT_CD Character(4) VARCHAR2(4) NOT NULL Document Code
    ACKN=Order Acknowledgment
    ASN=Advance Shipping Notification
    BOL=Bill of Lading
    CACK=Order Change Acknowledgement
    CREN=Buying Agreement Renewal
    CSTS=Buying Agreement Status
    INCC=Invoice Courtesy Copy
    INVC=Invoice
    INVN=Invoice Notification
    PACK=Packing List
    PICK=Picking Plan
    PPRC=Product Price List
    QUOT=Quotation
    RMA=Return Material Authorization
    2 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    3 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
    4 XLATSHORTNAME Character(10) VARCHAR2(10) NOT NULL Translate Value Short Name