OM_DOC_CODE_VW

(SQL View)
Index Back

OM Doc Code Prompt


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

  • Related Language Record: OM_DOC_CDVWLNG
  • # 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 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name
    3 XLATSHORTNAME Character(10) VARCHAR2(10) NOT NULL Translate Value Short Name