Error message of nonsense trying to create the view
Hello all,.Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production on Windows 2008R2
I get an error when trying to create a view. The error makes no sense in that didn't evoke any attempt to change a user name or password in the error in production.
I can run the complete select statement very well, I retrieve the results.
If I comment out the line shown as being in error, the problem moves to the line before the tour. 4 lines before the line specified by the error message are similar. The error occurs on the last of the 5 similar lines of code.
If I move all 5 lines above in the code the error moves accordingly.
Function validate_number (near where the error is identified) under certain conditions, it will issue an immediate "alter session set nls_numeric_characters =" execution., "';"
The number of the column identified in the error message is 2 spaces before the validate_number function call.
Here is the syntax for creating the view, the error message is at the bottom.
Figures on the far left indicate the line number. I put 2 blank lines before and after the line of code identified by the error message.
The error points to the 2-seater before the VALIDATE_NUMBER function call on line 350. just before the code sql == > validate_number(Spend_Qty,'')), 0) < ==
Thanks for your time,
Bob
CREATE OR REPLACE VIEW REPORT_STAGING_V AS
- SELECT
- SPEND_STAGING.INPUT_FILE_ID,
- SPEND_STAGING.SPEND_ID,
- SPEND_STAGING.SPEND_DOC_NUM,
- SPEND_STAGING.SPEND_DOC_ITM_NUM,
- SPEND_STAGING.SPEND_DOC_YR_NUM,
- SPEND_STAGING.ACCT_PYBL_INV_DOC_NUM,
- SPEND_STAGING.ACCT_PYBL_INV_FSCL_YR_NUM,
- SPEND_STAGING.COMPANY_CODE,
- SPEND_STAGING.ACCT_PYBL_INV_LN_ITM_NUM,
- SPEND_STAGING.SPEND_DOC_TYPE_CD,
- SPEND_STAGING.SPEND_MTHD_TXT,
- NVL(SPEND_STAGING.SRC_SYS_CD, '<BLANK>') SRS_SYS_CD,
- SPEND_STAGING.SPEND_SAVING_DT,
- SPEND_STAGING.SPEND_SAVING_FSCL_WK_NUM,
- SPEND_STAGING.SPEND_SAVING_FSCL_MTH_NUM,
- SPEND_STAGING.SPEND_SAVING_FSCL_QTR_NUM,
- SPEND_STAGING.SPEND_SAVING_FSCL_YR_NUM,
- SPEND_STAGING.MTRL_GRP_CD,
- SPEND_STAGING.MTRL_GRP_DESC_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_1_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_2_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_3_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_4_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_5_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_6_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_7_TXT,
- SPEND_STAGING.MTRL_GRP_LVL_8_TXT,
- SPEND_STAGING.GL_ACCT_NUM,
- SPEND_STAGING.GL_ACCT_DESC,
- SPEND_STAGING.COST_CENTR_CD,
- SPEND_STAGING.PRFT_CENTR_CD,
- SPEND_STAGING.FUNCNL_AREA_CD,
- SPEND_STAGING.PURCH_GRP_CD,
- SPEND_STAGING.PURCH_GRP_NAM,
- SPEND_STAGING.PURCH_ORG_CD,
- SPEND_STAGING.PURCH_ORG_NAM,
- SPEND_STAGING.REGION_CODE,
- SPEND_STAGING.VNDR_ACCT_ROOT_NUM,
- SPEND_STAGING.VNDR_CORP_NAM,
- SPEND_STAGING.VNDR_CORP_TICKER_SYMBL_CD,
- SPEND_STAGING.BUYPOINT_VNDR_ACCT_NUM,
- SPEND_STAGING.BUYPOINT_VNDR_FIRST_NAM,
- SPEND_STAGING.PAYPOINT_VNDR_ACCT_NUM,
- SPEND_STAGING.PAYPOINT_VNDR_FIRST_NAM,
- SPEND_STAGING.SPEND_PYMNT_TERM_CD,
- SPEND_STAGING.SPEND_PYMNT_TERM_DESC,
- SPEND_STAGING.SPEND_PYMNT_BSLN_DT,
-50 SPEND_STAGING.SPEND_PYMNT_CLRNG_DT,
- SPEND_STAGING.CONTRACTUAL_PYMNT_TERM_DY_CNT,
- SPEND_STAGING.VNDR_MTRL_NUM,
- SPEND_STAGING.MTRL_ID_1280,
- SPEND_STAGING.MTRL_DESC,
- SPEND_STAGING.BAT_NUM,
- SPEND_STAGING.SPCL_STOCK_IND,
- SPEND_STAGING.INVTY_MVMNT_TYPE_CD,
- SPEND_STAGING.GOODS_RCPNT_NAM,
- SPEND_STAGING.MFG_PART_NUM,
- SPEND_STAGING.PLANT_CD,
- SPEND_STAGING.PLANT_DESC,
- SPEND_STAGING.STORAGE_LOC_CD,
- SPEND_STAGING.STORAGE_LOC_DESC,
- SPEND_STAGING.UNLOADING_PT_DESC,
- SPEND_STAGING.PO_NUM,
- SPEND_STAGING.PO_LN_ITM_NUM,
- SPEND_STAGING.PO_LN_ITM_LAST_CHNG_DT,
- SPEND_STAGING.PO_DOC_DT,
- SPEND_STAGING.PO_TYPE_CD,
- SPEND_STAGING.PO_TYPE_DESC,
- SPEND_STAGING.PO_UOM_CD,
- SPEND_STAGING.PO_PYMNT_TERM_CD,
- SPEND_STAGING.ASGND_ACCT_CTGRY_TYPE_CD,
- SPEND_STAGING.PO_SHORT_TXT,
- SPEND_STAGING.GR_MTRL_DOC_TXT,
- SPEND_STAGING.ACCT_PYBL_INV_ITM_TXT,
- SPEND_STAGING.PO_RCPT_INV_HST_DOC_POST_DT,
- SPEND_STAGING.APPRTN_NUM,
- SPEND_STAGING.REQTN_TRK_NUM,
- SPEND_STAGING.REQTN_LN_NUM,
- SPEND_STAGING.REQTN_LN_ITM_NUM,
- SPEND_STAGING.REQTN_PERSN_ACCT_ID,
- SPEND_STAGING.NTWRK_NUM,
- SPEND_STAGING.NTWRK_CTGRY_CD,
- SPEND_STAGING.PROJ_NAM,
- SPEND_STAGING.WBS_ELMNT_NAM,
- SPEND_STAGING.CPTL_PO_IND,
- LU_GAC_STAGING.TIER_SUPPLIER,
- CASE
- WHEN SPEND_STAGING.PRCRMNT_RPTNG_LVL_3_TXT = 'GAC'
- AND LU_GAC_STAGING.PO_SHORT_TXT = SPEND_STAGING.PO_SHORT_TXT
- AND SPEND_STAGING.SRC_SPLR_NAM IS NULL
- THEN LU_GAC_STAGING.TIER_SUPPLIER
- ELSE SRC_SPLR_NAM
- END SRC_SPLR_NAM,
- SPEND_STAGING.TAX_CD,
- SPEND_STAGING.TAX_CD_DESC,
- SPEND_STAGING.TAX_JURISDICTION_TXT,
- SPEND_STAGING.MTRL_DOC_PRCS_UOM_QTY,
-100 SPEND_STAGING.MTRL_DOC_UNIT_OF_ENTRY_QTY,
- SPEND_STAGING.PO_LN_ITM_QTY,
- SPEND_STAGING.PO_LN_ITM_NET_PRC_UNIT_QTY,
- SPEND_STAGING.PO_LN_ITM_NET_PRC_USD_AMT,
- SPEND_STAGING.PO_LN_ITM_NET_PRC_DC_AMT,
- SPEND_STAGING.PO_LN_ITM_NET_PRC_BDGT_USD_AMT,
- SPEND_STAGING.PO_LN_ITM_TOT_USD_AMT,
- SPEND_STAGING.SPEND_USD_AMT,
- SPEND_STAGING.SPEND_DOC_CURNCY_AMT,
- SPEND_STAGING.SPEND_LOCAL_CURNCY_AMT,
- SPEND_STAGING.SPEND_BDGT_USD_AMT,
- SPEND_STAGING.SPEND_QTY,
- SPEND_STAGING.SPEND_QTY_UOM_CD,
- SPEND_STAGING.SPEND_UNIT_OF_ENTRY_QTY,
- SPEND_STAGING.SPEND_UNIT_OF_ENTRY_UOM_CD,
- SPEND_STAGING.SPEND_DC_FX_MTH_CNVRSN_FCT_VAL,
- SPEND_STAGING.SPEND_DC_FX_BDG_CNVRSN_FCT_VAL,
- SPEND_STAGING.CMPNY_LOCAL_CURNCY_CD,
- SPEND_STAGING.DOC_CURNCY_CD,
- SPEND_STAGING.TRANSTN_TYPE_CD,
- SPEND_STAGING.ACCT_ASGNMT_SEQ_NUM,
- SPEND_STAGING.GLPCA_LN_ITM_REC_NUM,
- SPEND_STAGING.PCA_REF_DOC_NUM,
- SPEND_STAGING.CO_DOC_NUM,
- SPEND_STAGING.CO_FSCL_YR_NUM,
- SPEND_STAGING.CO_LN_ITM_NUM,
- SPEND_STAGING.VNDR_REF_DOC_NUM,
- SPEND_STAGING.SAVING_MTHD_TXT,
- SPEND_STAGING.SAVING_CMNT_TXT,
- SPEND_STAGING.SAVING_COND_NUM,
- SPEND_STAGING.SAVING_COND_ITM_NUM,
- SPEND_STAGING.SAVING_COND_TYPE_CD,
- SPEND_STAGING.SAVING_COND_TYPE_DESC,
- SPEND_STAGING.SAVING_COND_CURNCY_CD,
- SPEND_STAGING.SAVING_COND_PRC_UNIT_UOM_CD,
- SPEND_STAGING.SAVING_COND_PRC_UNIT_QTY,
- SPEND_STAGING.SAVING_COND_RTE_USD_AMT,
- SPEND_STAGING.SAVING_COND_CURNCY_CNVRSN_VAL,
- SPEND_STAGING.SAVING_COND_CURNCY_BDGT_CNVRSN,
- SPEND_STAGING.PO_TRANSTN_COND_DC_AMT,
- SPEND_STAGING.PO_TRANSTN_COND_USD_AMT,
- SPEND_STAGING.SAVING_RTE_PER_USD_AMT,
- SPEND_STAGING.SAVING_PER_USD_AMT,
- SPEND_STAGING.SAVING_PER_BDGT_USD_AMT,
- SPEND_STAGING.AVOIDANCE_USD_AMT,
- SPEND_STAGING.AVOIDANCE_BDGT_USD_AMT,
- SPEND_STAGING.SAVING_USD_AMT,
- SPEND_STAGING.SAVING_BDGT_USD_AMT,
- SPEND_STAGING.NO_FX_SAVING_USD_AMT,
- SPEND_STAGING.NO_FX_AVOIDANCE_USD_AMT,
-150 SPEND_STAGING.TOT_REDUCTN_USD_AMT,
- SPEND_STAGING.TOT_REDUCTN_BDGT_USD_AMT,
- SPEND_STAGING.TOT_NO_FX_REDUCTN_USD_AMT,
- SPEND_STAGING.PAYMENTNET_TRANSTN_NUM,
- SPEND_STAGING.PAYMENTNET_TRANSTN_LN_ITM_NUM,
- SPEND_STAGING.ROW_CRTE_GMT_DTTM,
- SPEND_STAGING.ROW_MODIFY_GMT_DTTM,
- SPEND_STAGING.ROW_CRTE_MST_DTTM,
- SPEND_STAGING.ROW_MODIFY_MST_DTTM,
- SPEND_STAGING.PRCRMNT_DIRECTOR_NAM,
- SPEND_STAGING.PRCRMNT_PLANT_DSGNTN,
- SPEND_STAGING.PRCRMNT_RPTNG_LVL_1_TXT,
- SPEND_STAGING.PRCRMNT_RPTNG_LVL_2_TXT,
- SPEND_STAGING.PRCRMNT_RPTNG_LVL_3_TXT,
- SPEND_STAGING.SPEND_CAT_ID,
- SPEND_STAGING.SPEND_RULE_ID,
- SPEND_STAGING.TRANSACTION_DATE,
- SPEND_STAGING.SPEND_AMOUNT,
- SPEND_STAGING.ITEM_DESCRIPTION,
- SPEND_STAGING.SUPPLIER_ID,
- CASE
- WHEN SPEND_STAGING.SOURCE ='SPEND'
- THEN 'Spend and Savings'
- WHEN SPEND_STAGING.SOURCE ='TRAVEL'
- THEN 'Travel'
- ELSE NULL
- END SOURCE,
- SPEND_STAGING.SUPPLIER_NUMBER,
- SPEND_STAGING.TRAVEL_PERSNO,
- SPEND_STAGING.TRIP,
- SPEND_STAGING.TRAVEL_DOC,
- SPEND_STAGING.TRAVEL_EXPTY,
- SPEND_STAGING.TRAVEL_EXP_TYPE_DESC,
- SPEND_STAGING.TRAVLE_CREDIT_CARD_TRAN_DESC TRAVEL_CREDIT_CARD_TRAN_DESC,
- SPEND_STAGING.COUNTRY_CODE,
- SPEND_STAGING.TRAVEL_INFO,
- SPEND_STAGING.TRAVEL_ID,
- SPEND_STAGING.TRAVEL_DOCUMENT_NUMBER,
- SPEND_STAGING.TRAVEL_LAST_NAME_FIRST_NAME,
- SPEND_STAGING.TRAVEL_TRIP_REASON,
- SPEND_STAGING.TRAVEL_TRIP_STATUS,
- SPEND_STAGING.TRAVEL_RATE,
- SPEND_STAGING.FINANCE_ORG,
- SPEND_STAGING.ASSOCIATED_MG_CODE,
- SPEND_STAGING.COUNTRY_DESC,
- SPEND_STAGING.TRAVEL_ID_DESC_BANKCARD,
- SPEND_STAGING.COMPANY_CODE_DESC,
- SPEND_STAGING.COST_CENTER_DESC,
- 'Q'||TO_CHAR(SPEND_STAGING.TRANSACTION_DATE,'Q') QUARTERNAME,
- TO_CHAR(SPEND_STAGING.TRANSACTION_DATE,'YYYY') YEARNAME,
-200 CASE
- WHEN SPEND_STAGING.SRC_SYS_CD = 'P-CARD'
- THEN SS2.CLEANSED_PARENT_NAME
- ELSE SS1.CLEANSED_PARENT_NAME
- END CLEANSED_PARENT_NAME,
- CASE
- WHEN SPEND_STAGING.SRC_SYS_CD = 'P-CARD'
- THEN SS2.cleansed_name_1
- ELSE SS1.cleansed_name_1
- END CLEANSED_NAME1,
- CASE
- WHEN SPEND_STAGING.MTRL_ID_1280 IS NULL
- AND SPEND_STAGING.VNDR_MTRL_NUM IS NOT NULL
- THEN SPEND_STAGING.VNDR_MTRL_NUM
- WHEN SPEND_STAGING.MTRL_ID_1280 IS NULL
- AND SPEND_STAGING.VNDR_MTRL_NUM IS NULL
- AND SPEND_STAGING.MFG_PART_NUM IS NOT NULL
- THEN SPEND_STAGING.MFG_PART_NUM
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZAR'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280||'-MIX'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZAR'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-MIX'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZSA'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ASMBLY'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZSA'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ASMBLY'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZST'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-TEST'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZST'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-TEST'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZBI'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
-250 THEN SPEND_STAGING.MTRL_ID_1280
- ||'-BURN-IN'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZBI'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-BURN-IN'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZRJ'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-REJECT'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZRJ'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-REJECT'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZPR'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-PROBE'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZPR'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-PROBE'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEF'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENG'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEF'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENG'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEM'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENG'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEM'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENG'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEU'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
-300 THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENGWFR'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEU'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENGWFR'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZSF'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-WFR'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZSF'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-WFR'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEF'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENG'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.PO_TYPE_CD = 'ZEF'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-ENG'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EFM'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-POTypeCode'
- WHEN SPEND_STAGING.MTRL_GRP_LVL_4_TXT = 'EWM'
- AND SPEND_STAGING.MTRL_ID_1280 IS NOT NULL
- THEN SPEND_STAGING.MTRL_ID_1280
- ||'-POTypeCode'
- ELSE SPEND_STAGING.MTRL_ID_1280
- END ReportingPartNum,
- LU_PCARD_STAGING.COST_CENTR_CD PCARD_COST_CENTR_CD,
- LU_PCARD_STAGING.CTY_NAM PCARD_CTY_NAM,
- LU_PCARD_STAGING.DISABLE_LINE PCARD_DISABLE_LINE,
- LU_PCARD_STAGING.DISABLED_OWNED_BIZ_FLG PCARD_DISABLED_OWNED_BIZ_FLG,
- LU_PCARD_STAGING.DIVERSITY_VNDR_FLG PCARD_DIVERSITY_VNDR_FLG,
- LU_PCARD_STAGING.FIELD PCARD_FIELD,
- LU_PCARD_STAGING.GL_ACCT_NUM PCARD_GL_ACCT_NUM,
- LU_PCARD_STAGING.HUB_ZONE_SMALL_BIZ_CONCERN_FLG PCARD_HUB_ZONE,
- LU_PCARD_STAGING.MINORITY_OWNED_BIZ_FLG PCARD_MINORITY_OWNED_BIZ_FLG,
- NVL(validate_number(Po_Ln_Itm_Net_Prc_Usd_Amt,'')/DECODE(validate_number(Po_Ln_Itm_Net_Prc_Unit_Qty,''),0,1,validate_number(Po_Ln_Itm_Net_Prc_Unit_Qty,'')),0) po_unit_price_per_1_usd,
- NVL(validate_number(Po_Ln_Itm_Net_Prc_Dc_Amt,'') /DECODE(validate_number(Po_Ln_Itm_Net_Prc_Unit_Qty,''),0,1,validate_number(Po_Ln_Itm_Net_Prc_Unit_Qty,'')),0) po_unit_price_per_1_doc_cur,
- NVL(validate_number(Spend_Bdgt_Usd_Amt,'') /DECODE(validate_number(Spend_Qty,''),0,1, validate_number(Spend_Qty,'')),0) spend_up_per_1_usd_budgt_rate,
- NVL(validate_number(Spend_Usd_Amt,'') /DECODE(validate_number(Spend_Qty,''),0,1, validate_number(Spend_Qty,'')),0) spend_up_per_1_usd_mon_rate,
-350 NVL(validate_number(Spend_Doc_Curncy_Amt,'') /DECODE(validate_number(Spend_Qty,''),0,1, validate_number(Spend_Qty,'')),0) Spend_UP_per_1_Doc_Curr,
-
- TO_CHAR(TRANSACTION_DATE,'MM-YYYY') MONTH_YEAR,
- LU_PCARD_STAGING.MTRL_GRP_CD PCARD_MTRL_GRP_CD,
- LU_PCARD_STAGING.PAYMENTNET_TRANSTN_LN_ITM_NUM PCARD_PAY_TRANSTN_LN_ITM_NUM,
- LU_PCARD_STAGING.PAYMENTNET_TRANSTN_NUM PCARD_PAY_TRANSTN_NUM,
- LU_PCARD_STAGING.PAYMENTNET_TRANSTN_POST_DT PCARD_PAY_TRANSTN_POST_DT,
- LU_PCARD_STAGING.PCARD_INV_AMT PCARD_INV_AMT,
- LU_PCARD_STAGING.PCARD_INV_CURNCY_CD PCARD_INV_CURNCY_CD,
- LU_PCARD_STAGING.PCARD_INV_DT PCARD_INV_DT,
- LU_PCARD_STAGING.PCARD_INV_LN_ITM_AMT PCARD_INV_LN_ITM_AMT,
- LU_PCARD_STAGING.PCARD_INV_LN_ITM_TAX_AMT PCARD_INV_LN_ITM_TAX_AMT,
- LU_PCARD_STAGING.PCARD_INV_LN_ITM_TAX_CD PCARD_INV_LN_ITM_TAX_CD,
- LU_PCARD_STAGING.PCARD_INV_REF_NUM PCARD_INV_REF_NUM,
- LU_PCARD_STAGING.PCARD_INV_TAX_AMT PCARD_INV_TAX_AMT,
- LU_PCARD_STAGING.PCARD_MERCHANT_NAM PCARD_MERCHANT_NAM,
- LU_PCARD_STAGING.PCARD_OWNR_ID PCARD_OWNR_ID,
- LU_PCARD_STAGING.PCARD_SHORT_TXT PCARD_SHORT_TXT,
- LU_PCARD_STAGING.PCARD_SRC_FILE_NAM PCARD_SRC_FILE_NAM,
- LU_PCARD_STAGING.PLANT_CD PCARD_PLANT_CD,
- LU_PCARD_STAGING.PURCH_GRP_CD PCARD_PURCH_GRP_CD,
- LU_PCARD_STAGING.RCPNT_ID PCARD_RCPNT_ID,
- LU_PCARD_STAGING.REQTN_CRTE_BY_ID PCARD_REQTN_CRTE_BY_ID,
- LU_PCARD_STAGING.REQTN_LN_ITM_NUM PCARD_REQTN_LN_ITM_NUM,
- LU_PCARD_STAGING.REQTN_NUM PCARD_REQTN_NUM,
- LU_PCARD_STAGING.SERV_DISABLE_VETERAN_BIZ_FLG PCARD_SERV_DIS_VET_BIZ_FLG,
- LU_PCARD_STAGING.STATE_CD PCARD_STATE_CD,
- LU_PCARD_STAGING.STATE_CD,
- LU_PCARD_STAGING.VETERAN_OWNED_BIZ_FLG PCARD_VETERAN_OWNED_BIZ_FLG,
- LU_PCARD_STAGING.VNDR_ACCT_NUM PCARD_VNDR_ACCT_NUM,
- LU_PCARD_STAGING.WOMAN_OWNED_BIZ_FLG PCARD_WOMAN_OWNED_BIZ_FLG2,
- DENSE_RANK() OVER (ORDER BY NVL(TO_CHAR(TRANSACTION_DATE, 'YYYYMM'),'190010') DESC) AS DATE_RANK,
- LU_PRICE_BY_UNIT_STAGING.MTRL_GRP PBU_MTRL_GRP,
- LU_PRICE_BY_UNIT_STAGING.MTRL_GRP_DES PBU_MTRL_GRP_DES,
- LU_PRICE_BY_UNIT_STAGING.MTRL_ID PBU_MTRL_ID,
- LU_PRICE_BY_UNIT_STAGING.PLANT PBU_PLANT,
- LU_PRICE_BY_UNIT_STAGING.PLANT_DESC PBU_PLANT_DESC,
- LU_PRICE_BY_UNIT_STAGING.SUPPLIER PBU_SUPPLIER,
- LU_PRICE_BY_UNIT_STAGING.DESCRIPTION PBU_DESCRIPTION,
- LU_PRICE_BY_UNIT_STAGING.UOM PBU_UOM,
- LU_PRICE_BY_UNIT_STAGING.CONTENT_VOLUME PBU_CONTENT_VOLUME,
- LU_PRICE_BY_UNIT_STAGING.UOM_CONTENT_VOLUME PBU_UOM_CONTENT_VOLUME,
- LU_PRICE_BY_UNIT_STAGING.CONTENT_WEIGHT PBU_CONTENT_WEIGHT,
- LU_PRICE_BY_UNIT_STAGING.UOM_CONTENT_WT PBU_UOM_CONTENT_WT,
- LU_PRICE_BY_UNIT_STAGING.PRICE__PACKAGE PBU_PRICE__PACKAGE,
- LU_PRICE_BY_UNIT_STAGING.PRICE_PER_UOM_WT PBU_PRICE_PER_UOM_WT,
- LU_PRICE_BY_UNIT_STAGING.PRICE_PER_UOM_VOL PBU_PRICE_PER_UOM_VOL,
- LU_PRICE_BY_UNIT_STAGING.COMMON_NAME PBU_COMMON_NAME,
- LU_GAC_UOM_REFERENCE_STAGING.LU_GAC_UOM_REFERENCE_ID,
- LU_GAC_UOM_REFERENCE_STAGING.FSL_PART_NUMBER,
- LU_GAC_UOM_REFERENCE_STAGING.SUPPLIER LU_GAC_SUPPLIER,
-400 LU_GAC_UOM_REFERENCE_STAGING.DESCRIPTION LU_GAC_DESCRIPTION,
- LU_GAC_UOM_REFERENCE_STAGING.GAC_MAT_SUBGROUP LU_GAC_MAT_SUBGROUP ,
- LU_GAC_UOM_REFERENCE_STAGING.ACTUAL_FILL LU_GAC_ACTUAL_FILL,
- LU_GAC_UOM_REFERENCE_STAGING.COMMON__UOM LU_GAC_COMMON_UOM,
- LU_GAC_UOM_REFERENCE_STAGING.PACKAGE LU_GAC_PACKAGE
- FROM
- SPEND_STAGING,
- SUPPLIER_STAGING SS1,
- SUPPLIER_STAGING SS2,
- LU_GAC_STAGING,
- lu_card_code_staging,
- LU_PCARD_STAGING,
- LU_PRICE_BY_UNIT_STAGING,
- LU_GAC_UOM_REFERENCE_STAGING
- WHERE SS1.SUPPLIER_ID(+) = SPEND_STAGING.SUPPLIER_ID
- AND SS2.PCARD_INV_REF_NUM(+) = SPEND_STAGING.PCARD_INV_REF_NUM
- AND SS2.PAYMENTNET_TRANSTN_NUM(+) = SPEND_STAGING.PAYMENTNET_TRANSTN_NUM
- AND SS2.PAYMENTNET_TRANSTN_LN_ITM_NUM(+) =
- SPEND_STAGING.PAYMENTNET_TRANSTN_LN_ITM_NUM
- AND lu_card_code_staging.card_code(+) = spend_staging.travel_id
- AND lu_gac_staging.po_short_txt(+) = spend_staging.po_short_txt
- AND LU_PCARD_STAGING.PCARD_INV_REF_NUM(+) = SPEND_STAGING.PCARD_INV_REF_NUM
- AND LU_PCARD_STAGING.PAYMENTNET_TRANSTN_NUM(+) =
- SPEND_STAGING.PAYMENTNET_TRANSTN_NUM
- AND LU_PCARD_STAGING.PAYMENTNET_TRANSTN_LN_ITM_NUM(+) =
- SPEND_STAGING.PAYMENTNET_TRANSTN_LN_ITM_NUM
- AND LU_PRICE_BY_UNIT_STAGING.MTRL_ID(+) = SPEND_STAGING.MTRL_ID_1280
- AND LU_PRICE_BY_UNIT_STAGING.PLANT(+) = SPEND_STAGING.PLANT_CD
- AND lu_gac_uom_REFERENCE_STAGING.fsl_part_number(+) =
-431 SPEND_STAGING.MTRL_ID_1280;
Error in the command line: 350 column: 112Error report:
SQL error: ORA-01031: insufficient privileges
01031 00000 - "insufficient privileges".
* Cause: An attempt was made to change the user name or password
without the privilege appropriate. This error also occurs if
trying to install a database without the need for employment
access privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
If the user has been granted the privilege necessary for a higher label
that the connection is active.
* Action: Ask the database to perform the operation or grant administrator
the required privileges.
For users Trusted Oracle get this error, well that granted the
the privilege that is suitable for the top label, ask the database
administrator to grant the privilege to the appropriate label.
Published by: Snyds on May 24, 2012 07:46
The text associated with the error number is certainly misleading.
It simply means that you have not had the privilege to do something.
Is validate_number in the same pattern when you create the view? If not, what
privileges that you have about this feature and how is it given?
Tags: Database
Similar Questions
-
When I tried the lightroom cc2015 update I get an update of the failure U44M2P7 error message. I tried to rename the file update and a new attempt and also update manually but still the same error. I use a mac with os x El Capitan version 10.11.3 any suggestions would be greatly appreciated.
U44... Update error http://forums.adobe.com/thread/1289956 can help
-
Greetings
I run Photoshop CS6 on my windows 7 Ultimate (MacPro 2008 via Bootcamp). 12 GB of ram, 512 on the video card. A lot of disk space. None of the questions of knowledge, viruses, malware, etc.
I have stupidly? the Applications Adobe Manager to update all my Adobe apps. Since that time I now get the following error message when you try to create the Contact Sheet II in any of my SP6 or PS5.5 64-bit or 32-bit versions. «Cold is not complete the plug of command because Photoshop was unable to locate the plugin JavaScript» Re, I installed the latest update, but no change. My installation is built on CS4 extended, then with a version Standard 5, 5.5 and 6 facilities upgrade.
The Contact Sheet function was working well, until I ran the updates.
I'm in a bad place, as I am in the middle of multiple projects, everything I need to create Contacts for. I thank any help or give advice on how to fix this...
Help, please!
Try to run Photoshop with the SHIFT key is pressed and skip loading part tird plug-in and try to use the Board contact II. A version of plug-ins from third parties have been known to break Photoshop Scrippting.
-
I get the following message
Also get the red shield with X saying if off automatic updates.
Tried fixing it by going to control panel, but it does not allow me to change the settings
[Error number: 0 x 80070424]The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem. For self-help options:
To support options:
- Microsoft online assisted support (no cost for Windows Update issues)
Hi, I found the answer! Right click; Start, then on run, copy and paste this command, click OK. Problem solved!
Bill
% SYSTEMROOT%\SYSTEM32\REGSVR32. EXE, % SYSTEMROOT%\SYSTEM32\WUAUENG. DLL
-
code 0 x 80070057 error while trying to create the ERD
I am running Windows 7 Professional Sp1. I get the above error message when I try to create the "system repair disc. The error message, the parameter is incorrect. Before, I thought that the problem was related to I try to use rewritable CD, which replaced with brand new CD R, but the problem still persists. Has anyone solved this problem? Any help will be much appreciated.
[Moved from comments]
Hello
Thanks for the reply.
You have the Windows 7 installation disc?
Try these steps and see if it helps.
(a) start the system by inserting the Windows 7 installation disc.
(b) when it gets to the main window, click repair in the lower left corner.
(c) select command prompt from the main menu of repair.
(d) at the command prompt, type in recdisc, then ENTER.
(e) you will get the popup to select what drive letter to create the recovery disk to.
(f) have a clean DVD into the DVD drive, and then select Start.
It has to become your created system repair disc.
Let us know the status to get help.
-
There was a problem creating the destination folder. If please check the permission of folder or choose a different folder. What that means, tried to name several different folders, but still the same error message. Would be grateful for the help!
This means that the folder you want to create is blocked because of file permissions. The drive or folder you are trying to create the destination folder is set to read-only, and your username does not have write permissions.
-
I have the macbook pro. I can't open lightroom CC on my macbook pro. Messages of air - "an internal error has occurred. It cannot create the required file"Please help me. I tried various solutions on the web. None of this has worked.
Please run repair permissions from disk with disk - Apple Support utility
~Assani
-
Hello. I have the CC of LR 2015 version. It downloads fine, but when I try to open the application, I get a message saying: "an internal error has occurred" and "could not create the required folder: / users/celinserbo/library/application support/adobe/lightroom/develop presets." I tried disconnecting and then signing unistalling the app and back in and resettlement. nothing seems to work. any help would be appreciated.
Cannot create the folder means that you don't have WRITE permission for this folder. Then... change your permissions.
-
I'm trying to upgrade to service pack 3 for xp and I get an error message and it will not complete the installation. What should I do?
Hi BartlettNYC,
Please see the links below, to solve the problems with Window XP SP3.
Steps to take before you install Windows XP SP3.
http://support.Microsoft.com/kb/950717
How to troubleshoot a windows XP SP3 Installation failure.
http://support.Microsoft.com/kb/950718
Good luck.
-
I am trying to load Windows Vista on my computer and the installation, I get an error message saying I have to close the installation program and select programs and uninstall Windows PowerShell, I have no idea where I can find, I need answers, thanks in advance
original title: where to find WIndows Poweershell?Go to programs and features, select view installed updates. You should find an entry for Powershell. Select it and uninstall.
-
Original title: WDS & Sysprep
Hello
I'm running into this error message to a sysprep to capture a WIM updated image the:3.14 system preparation tool"A fatal error has occurred while trying to sysprep the machine."She is probably explained by the time of Amendment 3, but is there a way to bypass that force me to change the registry whenever I use the new image?Any recommendations on how to solve this problem would be appreciated.Thank you.GN
Please post your request here:
-
I'm trying to download 11 items that I already have on a new computor windows 8.1 after downloadind the first file and the extraction I get the error message when I try to download the second file: the party reach the components file is missing
Make sure you have both. (1 of 2) file .7z and .exe file (2 of 2) under the same folder files
Then double-click on the .exe file (2 of 2) it will start the installation process.
-
Help to create the view - error: ORA-00955: name is already used by an existing object
Hello
I am trying to create the following view but sqlplus displays a message and point of view has not been created. I use 11g Express.
SQL > create view (client, f_pedido, total) orders as
2 (
3 select usr, date, sum (rising) as important
4 of
5 (
6 select lineas_any.usuario as usr, lineas_any.fecha_pedido as date, lineas_any.cantidad * as rising referencia.precio
7 of lineas_any
inner join 8
referencia 9
10 on lineas_any.referencia = referencia.codbarras
11 )
Group 12 by usr, date
13)
14 order by date asc, usr;
of lineas_any
*
ERROR on line 7:
ORA-00955: name is already used by an existing object
There are also descriptions of the two tables involved:
SQL > describe lineas_any
Name Null? Type
------------------------------------------------------ -----------------
USER NOT NULL VARCHAR2 (60)
FECHA_PEDIDO NOT NULL DATE
REFERENCIA NOT NULL VARCHAR2 (15)
AMOUNT NUMBER (2)
SQL > describe referencia
Name Null? Type
------------------------------------------------------ -----------------
CODBARRAS NOT NULL VARCHAR2 (15)
PRODUCT NOT NULL VARCHAR2 (50)
FORMATO NOT NULL VARCHAR2 (20)
SILTING NOT NULL VARCHAR2 (15)
PRECIO NOT NULL NUMBER (7.2)
STOCK NUMBER (5) NOT NULL
MIN_STOCK NOT NULL NUMBER (5)
MAX_STOCK NOT NULL NUMBER (5)
Please, could someone help me in this matter?
Thanks in advance.
Kind regards
It means that it is already an object named peridos. Question:
Select object_type from user_objects where object_name = 'PERIDOS;
to find out what type of object it is. Any chance you try to change the existing definition of peridos view? If so, use
CREATE or REPLACE view orders (customer, f_pedido, total) as...
SY.
-
Receive the error message when you try to activate the solution Center
I get an error message when I try to activate the Solution Center. 'Error in the file c:\Program Imaging\bin\hpqscloc\1033.xml HP analysis'
I tried to remove and reinstall the entire software suite several times, but did not uninstall the Solution Center file.
OfficeJet J6450. Windows 7, 32 bit.
Hey R29,.
Start by downloading the full package of driver from here: HP Officejet full feature and driver software
If you have recently downloaded this driver package, you may be able to skip this step. If you have problems with the steps below and impossible to find a directory, you must re-download the driver pack and launch the exe.
1. disconnect the USB from the computer printer.
2. now, go to start > run > and type folder
3. search for any record label hp_web_release or 7z
4 inside of this folder, navigate to the 'util' directory > directory 'ccc '.
5. in there, run Uninstaller_L1 through L4 in order.
6. check Add/Remove programs in the control panel for additional HP programs that have not been deleted and delete.
7 remove the HP or Hewlett-Packard directory in Program Files.
8 Goto Program Files > common files and remove the HP or Hewlett-Packard directory there as well.
9. Select start > run and type "temp". inside this folder, delete all the files.
10. Select start > run and type "%temp%". inside this folder, delete all the files.
11. now restart and reinstall the driver using the driver from the web.
Let me know if that solves the problem.
Thank you!
Sean
-
FRX Drilldown Viewer Error Message When you try to change the destination printer
Hello, I have a bit of staff (I'm just technical support) which is affected by the following error message when they try to change the printer output
in FRX Drilldown Viewer: "error: 0 Cccurred in: APIPrintCommonDialog().
I hope that some useful information about the system:
They use the application of visualization FRX exploration down in a Citrix XenDesktop environment. It runs on Windows Server 2008 R2, Enterprise Edition (SP1).
The OS is a 64-bit version with 8 GB of RAM installed.
Please feel free to respond with any need for additional information. I tried to search the event logs, but was unable to find anything of use... maybe
could someone point me in the right direction, it?
Thank you very much!
AnthonyHelloThanks for posting the question.The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
Maybe you are looking for
-
Tecra R840 mSata SSD installation in module 3G position
HelloI have a Tecra R840-110 model, there is also a 3 G module inside, I would install the mSata SSD pcie slot.Is possible to use the mSata SSD instead of module 3 G pcie slot? Thank you very much for your help!
-
My cd player does not physically open to put a cd. Y at - it a trick that I could try?
When I press the open or eject from my computer, it makes the sound like it wants to open but it is like blocked and will not open.
-
BB10: ActionItem same repeated in ActionBar
Hi guys,. as the title says, I have the same point of repeated Action twice in the action bar. So I have three buttons in the action bar when I have one. I just set one action point. I struggled all day with this. No idea why this is happening? Thank
-
Program files (x 86) \Carambis\Driver Updater\x64
Hi all: Can someone tell me what the: "Program Files (x 86) \Carambis\Driver" is used for and what software has loaded this program on my Windows 7 64? Is there a security problem with this program of Carambis? Just noticed this in my programs and ha
-
INTERNET VIA REMOTE VPN ACCESS
We have a customer who wants to route all internet traffic to their remote sites of their internet connection to Headquarters. In other words, when users connect to corporate headquarters using Cisco VPN client on their PC, we need to route all inter