Search and apply reception error: ORA-00904: "ON_ACCT_PO_NUM": not valid

Hello

We get an error when you try to apply revenues, ORA-00904: "ON_ACCT_PO_NUM": invalid identifier. Found some Metalink:

Find and apply functionality Arxrwmai filled with ORA-00904: error "ON_ACCT_PO_NUM" [388202.1 ID]
ARXRWMAI: ORA-00904: "On_acct_po_num": invalid identifier, applying the reception [564612.1 ID]
ARP_PROCESS_APPLICATION is not valid - PLS-00302: component 'ON_ACCT_CUST_ID' must be declared [577194.1 ID]

Basically all suggest that the columns (IE ON_ACCT_PO_NUM) are missing in AR_RECEIVABLE_APPLICATIONS. Check these tables and columns are actually there, however, I ran SQL > @$AR_TOP/patch/115/sql/arvrrapp.sql (the version is 115.26.15104.3). And re-tested, always a problem. Audit to verify what patches have been applied recently that could cause this.

RDBMS: 11.2.0.1.0
Oracle Applications: 11.5.10.2

Thank you
-Steve

Hi steve;

Check use select * ad_bugs and check patch that applied using the applied date column

* PS: patch 5359197 is exist on your server that is mentioned on the research and apply feature Arxrwmai ends with ORA-00904: error "ON_ACCT_PO_NUM" [388202.1 ID] *.

Respect of
HELIOS

Tags: Oracle Applications

Similar Questions

  • Download the file from the TFTP and get this error "this image is not valid for this platform.

    Hi guys

    You try to download a new IOS for my CISCO ASA using TFTP I get the following error

    Access tftp://189.206.211.24/asa825-33-k8.bin...!

    % Error copy tftp://189.206.211.24/asa825-33-k8.bin (this image is not valid for this platform)

    -Anyone has the same error.

    Also, I have tryied using the ASDM but I get the same error.

    Kind regards.

    Hello

    As says the Description This is not for model ASA5580.

    Click on the link connected with your account

    http://software.Cisco.com/download/type.html?mdfid=281191384&flowid=4378

    Then choose the software Adaptive Security Appliance (ASA)

    Then navigate through the drop-down list on the left

    Provisional-> 8-> 8.2.5 interim

    And you will get the visibility (click to enlarge)

    -Jouni

  • Error ORA-00904 on merger

    Hi all

    I try to execute the following statement, but I am getting error ORA-00904 fr.
    If I replace the clause on a very simple ("A" = "B") as he works.
    I tried to use concat() instead of | without success and I think I tried all the other options, but nothing works.

    Any idea? I'm not :-(


    Concerning
    Thomas


    Fehler beim Start line 1 in command:
    merge into dest SH_SCRIPT_ITEM_INFO
    using (select * from SH_SCRIPT_SOURCE CBC where to_date (src.) DWH_EXPORT_DATE) = to_date (SYSDATE-5))
    on (src.ORGANIZATION |) CBC. SOURCE_CODE | CBC. SKU = dest.ORGANIZATION | dest. SOURCE_CODE | dest. SKU)
    when matched, then update game
    dest. ADVANCE_ORDER_QUANTITY = SH_SCRIPT_SOURCE. ADVANCE_ORDER_QUANTITY,
    dest. ADVANCE_ORDER_START_QUANTITY = SH_SCRIPT_SOURCE. ADVANCE_ORDER_START_QUANTITY,
    dest. ADVANCE_ORDERS = SH_SCRIPT_SOURCE. ADVANCE_ORDERS,
    dest. AUTO_DELIVERY_QUANTITY = SH_SCRIPT_SOURCE. AUTO_DELIVERY_QUANTITY,
    dest. AUTO_DELIVERY_RATE = SH_SCRIPT_SOURCE. AUTO_DELIVERY_RATE,
    dest. CANCELLATION_QUANTITY = SH_SCRIPT_SOURCE. CANCELLATION_QUANTITY,
    dest. CHANNEL_CODE = SH_SCRIPT_SOURCE. CHANNEL_CODE,
    dest. CREATED = SH_SCRIPT_SOURCE. CREATED,
    dest. DURATION = SH_SCRIPT_SOURCE. DURATION,
    dest. EXPOSURE = SH_SCRIPT_SOURCE. EXHIBITIONS,
    dest. EZ_PAY_QUANTITY = SH_SCRIPT_SOURCE. EZ_PAY_QUANTITY,
    dest. EZ_PAY_RATE = SH_SCRIPT_SOURCE. EZ_PAY_RATE,
    dest. FIRST_INSTALMENT = SH_SCRIPT_SOURCE. FIRST_INSTALMENT,
    dest. ITEM_STATUS = SH_SCRIPT_SOURCE. ITEM_STATUS,
    dest. ITEM_TYPE = SH_SCRIPT_SOURCE. ITEM_TYPE,
    dest. LAST_MODIFIED = SH_SCRIPT_SOURCE. LAST_MODIFIED,
    dest. MULTI_QUANTITY_RATE = SH_SCRIPT_SOURCE. MULTI_QUANTITY_RATE,
    dest. NEW_NAME_ORDERS = SH_SCRIPT_SOURCE. NEW_NAME_ORDERS,
    dest. NUMBER_OF_INSTALMENTS = SH_SCRIPT_SOURCE. NUMBER_OF_INSTALMENTS,
    dest. PRICE_CODE = SH_SCRIPT_SOURCE. PRICE_CODE,
    dest. PROMO_CODES = SH_SCRIPT_SOURCE. PROMO_CODES,
    dest. QVC_PRICE = SH_SCRIPT_SOURCE. QVC_PRICE,
    dest. SALES_PRICE = SH_SCRIPT_SOURCE. SALES_PRICE,
    dest. COMMANDS IS SH_SCRIPT_SOURCE. ORDERS,
    dest. START_DATE_TIME = SH_SCRIPT_SOURCE. START_DATE_TIME,
    dest. START_DATE_TIME_2 = SH_SCRIPT_SOURCE. START_DATE_TIME_2,
    dest. START_QUANTITY = SH_SCRIPT_SOURCE. START_QUANTITY,
    dest. STOP_DATE_TIME = SH_SCRIPT_SOURCE. STOP_DATE_TIME,
    dest. SUBSEQUENT_INSTALMENTS = SH_SCRIPT_SOURCE. SUBSEQUENT_INSTALMENTS,
    dest. TOTAL_AMOUNT = SH_SCRIPT_SOURCE. TOTAL_AMOUNT,
    dest. TOTAL_AMOUNT_PHYSICAL = SH_SCRIPT_SOURCE. TOTAL_AMOUNT_PHYSICAL,
    dest. TOTAL_AMOUNT_WAITLIST = SH_SCRIPT_SOURCE. TOTAL_AMOUNT_WAITLIST,
    dest. WAITLIST_ORDERS = SH_SCRIPT_SOURCE. WAITLIST_ORDERS,
    dest. WAITLIST_QUANTITY = SH_SCRIPT_SOURCE. WAITLIST_QUANTITY,
    dest. WAITLIST_START_QUANTITY = SH_SCRIPT_SOURCE. WAITLIST_START_QUANTITY
    Delete where CBC. TRANSACTION_TYPE = "DEL".
    When not equal then insert)
    ADVANCE_ORDER_QUANTITY,
    ADVANCE_ORDER_START_QUANTITY,
    ADVANCE_ORDERS,
    AUTO_DELIVERY_QUANTITY,
    AUTO_DELIVERY_RATE,
    CANCELLATION_QUANTITY,
    CHANNEL_CODE,
    CREATED,
    DURATION,
    EXHIBITIONS,
    EZ_PAY_QUANTITY,
    EZ_PAY_RATE,
    FIRST_INSTALMENT,
    ITEM_STATUS,
    ITEM_TYPE,
    LAST_MODIFIED,
    MULTI_QUANTITY_RATE,
    NEW_NAME_ORDERS,
    NUMBER_OF_INSTALMENTS,
    ORGANIZATION,
    PRICE_CODE,
    PROMO_CODES,
    QVC_PRICE,
    SALES_PRICE,
    ORDERS,
    SKU,
    SOURCE_CODE,
    START_DATE_TIME,
    START_DATE_TIME_2,
    START_QUANTITY,
    STOP_DATE_TIME,
    SUBSEQUENT_INSTALMENTS,
    TOTAL_AMOUNT,
    TOTAL_AMOUNT_PHYSICAL,
    TOTAL_AMOUNT_WAITLIST,
    WAITLIST_ORDERS,
    WAITLIST_QUANTITY,
    WAITLIST_START_QUANTITY)
    values)
    SH_SCRIPT_SOURCE. ADVANCE_ORDER_QUANTITY,
    SH_SCRIPT_SOURCE. ADVANCE_ORDER_START_QUANTITY,
    SH_SCRIPT_SOURCE. ADVANCE_ORDERS,
    SH_SCRIPT_SOURCE. AUTO_DELIVERY_QUANTITY,
    SH_SCRIPT_SOURCE. AUTO_DELIVERY_RATE,
    SH_SCRIPT_SOURCE. CANCELLATION_QUANTITY,
    SH_SCRIPT_SOURCE. CHANNEL_CODE,
    SH_SCRIPT_SOURCE. CREATED,
    SH_SCRIPT_SOURCE. DURATION,
    SH_SCRIPT_SOURCE. EXHIBITIONS,
    SH_SCRIPT_SOURCE. EZ_PAY_QUANTITY,
    SH_SCRIPT_SOURCE. EZ_PAY_RATE,
    SH_SCRIPT_SOURCE. FIRST_INSTALMENT,
    SH_SCRIPT_SOURCE. ITEM_STATUS,
    SH_SCRIPT_SOURCE. ITEM_TYPE,
    SH_SCRIPT_SOURCE. LAST_MODIFIED,
    SH_SCRIPT_SOURCE. MULTI_QUANTITY_RATE,
    SH_SCRIPT_SOURCE. NEW_NAME_ORDERS,
    SH_SCRIPT_SOURCE. NUMBER_OF_INSTALMENTS,
    SH_SCRIPT_SOURCE.ORGANIZATION,
    SH_SCRIPT_SOURCE. PRICE_CODE,
    SH_SCRIPT_SOURCE. PROMO_CODES,
    SH_SCRIPT_SOURCE. QVC_PRICE,
    SH_SCRIPT_SOURCE. SALES_PRICE,
    SH_SCRIPT_SOURCE. ORDERS,
    SH_SCRIPT_SOURCE. SKU,
    SH_SCRIPT_SOURCE. SOURCE_CODE,
    SH_SCRIPT_SOURCE. START_DATE_TIME,
    SH_SCRIPT_SOURCE. START_DATE_TIME_2,
    SH_SCRIPT_SOURCE. START_QUANTITY,
    SH_SCRIPT_SOURCE. STOP_DATE_TIME,
    SH_SCRIPT_SOURCE. SUBSEQUENT_INSTALMENTS,
    SH_SCRIPT_SOURCE. TOTAL_AMOUNT,
    SH_SCRIPT_SOURCE. TOTAL_AMOUNT_PHYSICAL,
    SH_SCRIPT_SOURCE. TOTAL_AMOUNT_WAITLIST,
    SH_SCRIPT_SOURCE. WAITLIST_ORDERS,
    SH_SCRIPT_SOURCE. WAITLIST_QUANTITY,
    SH_SCRIPT_SOURCE. WAITLIST_START_QUANTITY)
    where src. TRANSACTION_TYPE = "INS".
    Fehler bei Befehlszeile:3 Spalte:43
    Fehlerbericht:
    SQL-Fehler: ORA-00904: "SRC". "' SKU ': ungultiger Bezeichner
    00904, 00000 - '% s: invalid identifier '.
    * Cause:
    * Action:

    Published by: user8339462 on 20.02.2012 03:18

    Thanks for posting the descrptions of src and dest...

    There is a sku may be misspelled possiibility...
    or you have packed columns with double quotation marks ("")

  • Oracle on the SQL Server tables dblinked query error ORA-00904

    Hello

    I created a dblink to a SQL from Oracle database using generic connectivity.
    The following query returns the error ORA-00904 invalid identifier in the (tblEmp.Empno) WHERE clause

    SELECT 'EmpNo', "EmpName", "DeptName".
    OF tblEmp@sqlserver.
    tblDept@sqlserver
    WHERE tblDept.DeptNo = tblEmp.Empno

    I had to include the column names between double quotes because of the case review of the columns, but I can't do the
    same thing for the WHERE clause.

    (1) so how can I fix this error?
    (2) also how can I include the Deptno column with the table alias in the columns list?
    (Deptno is ambiguous in the Emp and Dept tables)

    Kind regards
    Sam

    Looks like you have case-sensitive column names, try this

    SELECT "EmpNo","EmpName", "DeptName"
    FROM tblEmp@sqlserver e,
    tblDept@sqlserver d
    WHERE d."DeptNo" = e."Empno" --<--- are you sure this is the correct join condition
    

    What should we not

    WHERE d."DeptNo" = e."DeptNo"
    

    Published by: Alex Nuijten on September 22, 2009 13:28

  • By clicking on the icon of debugging for a procedure or function survey error ORA-00904

    Hi all

    By clicking on the icon of debugging for a procedure or function throws the error ORA-00904.

    Developer SQL 4.1.0.19.07

    Java 1.8.0_40

    OS: Linux Mint 17.1

    Developer SQL 4.1.0.18.37 on the same machine works very well.

    Clues?

    Thank you!

    degger error.png

    It is indeed regressed as RDBMS to 10g have object_id all_procedures notice. Buggy.

  • At the start of the ODC: error 20036: Description of error: ORA-06413: connection not open

    Hi all

    I am new to Oracle Document Capture. I installed ODDC on my windows 7 machine and launching that I gave a few local DB references. Since then, I'm not able to open Capture of Document Oracle and I'm not able to change any installation. I am still getting error below and when you click on OK the window closes. I couldn't find any place where I can change this configuration.

    Failed to connect.

    Error number: 20036

    Error description: [the following error occurred connecting to the database:]

    Error number: 20036

    Error description: the following error occurred connecting to the database:

    Error ID: 16389

    Description of error: ORA-06413: connection not open.

    ]

    I tried to uninstall ODC, deletion of data program for the Capture of Document Oracle and re-installed. Still the same error.

    Can someone help me please. I am completely struck with it.

    Thank you

    UMA.

    Problem solved after the installation of the 32-bit oracle client and the ODAC.

    Thank you

  • Error ORA-16724: could not resolve the deficit for one or more databases in waiting

    I came to work today with the following error is displayed:

    February 5, 2014 01:27:19 error ORA-16778: make the mistake of transport for one or more databases.


    Looks like this error disappeared but now I have the following error:

    February 5, 2014 11:52:40 error ORA-16724: could not resolve the deficit for one or more databases in waiting

    I did some research on the forums and I think I need backup and restore, but I'm not sure.

    Here are some questions that I saw others asking in the forums:

    PRIMARY:

    Select max(sequence#) from v$ archived_log; -24589

    Select current_scn in the database of v$. -871568619

    SECONDARY:

    Select max(sequence#) from v$ archived_log; -24589

    Select max(sequence#) from v$ archived_log in case of application = 'YES '; -24562

    Select current_scn in the database of v$. -870987797

    Select * from v$ archive_gap;

    Thread # Low_Sequence # High_Sequence #.

    1 24563 24563

    Looks like everything is working, but the error is still appearing in OEM primer.

    The issue ended up being with the control file. I followed of many blog posts on how to roll forward the database before and they all said to restore the control file before you recover the database. I followed this paper: http://docs.oracle.com/cd/B28359_01/server.111/b28294/rman.htm#CIHIAADC and it worked as expected. The old control file has had 6 data files that were in a different place than the others. The new control file, I created the primary had all the files of data in one place. After correcting the control to point to the locations correct datafile all started working again.

  • ORA-01001: cursor not valid error

    Cursor UNA is throwing this error... ORA-01001: cursor not valid error
    Can you please please help me find the problem.

    CREATE OR REPLACE TRIGGER LOT_DBA.CR_FIELD_CUT_AFTER_INSERT
    AFTER INSERT
    ON LOT_DBA.CR_FIELD_CUT_STAGING
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    DECLARE
    
      stmt_var     VARCHAR2(50);
      err_msg      VARCHAR2(250);
      conn         UTL_SMTP.CONNECTION;
      crlf         VARCHAR2(2)   := CHR(13) || CHR(10);
      mesg         VARCHAR2(2000);
      --cc_recipient VARCHAR2(50) DEFAULT '[email protected]';
      cc_recipient VARCHAR2(50) DEFAULT '[email protected]';--6/24
      msg_body     VARCHAR2(200) := 'Please check CR_FIELD_ERROR Table for Details. ';
      systime      DATE;
      V_CCI        VARCHAR2(50) DEFAULT '[email protected]';-- 07/27/2010 Added Contractor Name for CT 2010-4071
    
      CURSOR CUT (pl_no   VARCHAR2) IS
             SELECT layout_no
               FROM CR_FIELD_CUT_SHEET
              WHERE LAYOUT_NO = pl_no;
    
      cut_cur CUT%ROWTYPE;
    
      CURSOR LOT (pl_no   VARCHAR2) IS
             SELECT layout_no,contractor_name   -- 07/27/2010 Added Contractor Name for CT 2010-4071
               FROM CR_LAYOUT_TRACKING
              WHERE LAYOUT_NO = pl_no;
    
      lot_cur LOT%ROWTYPE;
    
      CURSOR DET (pl_no   VARCHAR2)   IS
             SELECT layout_no, cut_no
               FROM CR_FIELD_CUT_DETAIL
              WHERE LAYOUT_NO = pl_no;
    
      det_cur DET%ROWTYPE;
    
      CURSOR DTN (pl_no   VARCHAR2,
                  pl_ct   NUMBER,
                  pl_nt   VARCHAR2)   IS
             SELECT layout_no, cut_no
               FROM CR_FIELD_CUT_DETAIL
              WHERE LAYOUT_NO = pl_no
                AND CUT_NO    = pl_ct
                AND NVL(NOTE,'XXXXXXXXX') = pl_nt;
    
      dtn_cur DET%ROWTYPE;
    
      CURSOR ITM (pl_no   VARCHAR2)   IS
             SELECT layout_no, cut_no, seq_no
               FROM CR_FIELD_CUT_ITEM
              WHERE LAYOUT_NO = pl_no;
    
      itm_cur ITM%ROWTYPE;
    
      CURSOR STAT (pl_no CHAR) IS
         SELECT MAX(create_date) cdate
           FROM CR_FIELD_LAYOUT_STATUS
          WHERE LAYOUT_NO = pl_no
            AND STATUS    = 'AWAITING_COMPLETION';
    
      stat_cur STAT%ROWTYPE;
    
        CURSOR UNA (pl_no VARCHAR2,
                  pa_no VARCHAR2) IS
             SELECT layout_no, account_no
               FROM CR_ACCOUNTS
              WHERE LAYOUT_NO  = pl_no
                AND ACCOUNT_NO = pa_no;--added for cha 2011-3172 6/14/2011
    
         una_cur  UNA%ROWTYPE;--added for cha 2011-3172 6/14/2011
    
     BEGIN
    
      systime := SYSDATE;
    
      /* If the record being inserted in the staging table does not
         exist in the core table, the record is inserted in the core
         table. However, if it exists, then the record in the core
         table is deleted and then inserted. */
    
      /* Delete items, then cut details, and finally cut sheet
         respectively so as not to raise the foreign key constraint */
    
      ---------------
      -- Cut Items --
      ---------------
      OPEN ITM(:NEW.LAYOUT_NO);
    
      FETCH ITM
       INTO itm_cur;
    
      IF ITM%FOUND THEN
    
         DELETE FROM CR_FIELD_CUT_ITEM
               WHERE LAYOUT_NO = :NEW.LAYOUT_NO
                 AND NVL(NOTE,'XXXXXXXXX')     <> :NEW.NOTE;
    
         stmt_var := 'Delete Cut Items';
    
      END IF;
    
      -----------------
      -- Cut Details --
      -----------------
      OPEN DET(:NEW.LAYOUT_NO);
    
      FETCH DET
       INTO det_cur;
    
      IF DET%FOUND THEN
    
         DELETE FROM CR_FIELD_CUT_DETAIL
               WHERE LAYOUT_NO = :NEW.LAYOUT_NO
                 AND NVL(NOTE,'XXXXXXXXX')  <> :NEW.NOTE;
    
         stmt_var := 'Delete Cut Detail';
    
      END IF;
    
      ---------------
      -- Cut Sheet --
      ---------------
      OPEN CUT(:NEW.LAYOUT_NO);
    
      FETCH CUT
       INTO cut_cur;
    
      IF CUT%FOUND THEN
    
    
         DELETE FROM CR_FIELD_CUT_SHEET
         WHERE LAYOUT_NO = :NEW.LAYOUT_NO ;
    
         stmt_var := 'Delete Cut Sheet';
    
      END IF;
    
    
      ---------------
      -- Layout Tracking --  Moved it from below for Change Track 2010-4071  (OpenedByContractor).
      ---------------
    
    
     OPEN LOT(:NEW.LAYOUT_NO);
    
      FETCH LOT
       INTO lot_cur;
    
      /* This updates the table CR_LAYOUT_TRACKING's columns
         House Number into the new value set by the staging table. */
    
    
      IF LOT%FOUND THEN
    
         UPDATE CR_LAYOUT_TRACKING
            SET HOUSE_NUMBER  = :NEW.HOUSE_NUMBER
          WHERE LAYOUT_NO     = lot_cur.LAYOUT_NO;
    
         stmt_var := 'Update Layout Tracking';
    
      END IF;
    
    
    
    
      /* Insert record from staging table to Cut Sheet Table
         the complete_status is set to No. ('N')*/
    
    BEGIN
    
      INSERT INTO CR_FIELD_CUT_SHEET
                 (LAYOUT_NO              , PERMIT_TYPE            ,
                  SAWCUT                 , PLATED                 ,
                  COUNTY                 , STATE                  ,
                  WEST_MAP_ID            , OPENED_BY_CONTR        ,
                  PROTECTED_ST           , COMPASS_POINT          ,
                  STREET_NAME            , ARTERY_TYPE            ,
                  LEFT_CROSS_STREET      , RIGHT_CROSS_STREET     ,
                  SPECIFIC_LOC           , EMER_PERMIT_NO         ,
                  EMER_ISSUE_DATE        , SERVICE_TYPE           ,
                  PARKING_RESTR          , RESTORE_REQD           ,
                  CREATE_DATE            , CREATE_BY              ,
                  NOTE                   , COMPLETE_STATUS        ,
                  EDIT_FINAL)
           VALUES
                 (:NEW.LAYOUT_NO              , :NEW.PERMIT_TYPE         ,
                  :NEW.SAWCUT                 , :NEW.PLATED              ,
                  :NEW.COUNTY                 , :NEW.STATE               ,
                  :NEW.WEST_MAP_ID            , lot_cur.contractor_name    , -- Get contractor Name from cr_layout_tracking
                  :NEW.PROTECTED_ST           , :NEW.COMPASS_POINT       ,
                  :NEW.STREET_NAME            , :NEW.ARTERY_TYPE         ,
                  :NEW.LEFT_CROSS_STREET      , :NEW.RIGHT_CROSS_STREET  ,
                  :NEW.SPECIFIC_LOC           , :NEW.EMER_PERMIT_NO      ,
                  :NEW.EMER_ISSUE_DATE        , :NEW.SERVICE_TYPE        ,
                  :NEW.PARKING_RESTR          , :NEW.RESTORE_REQD        ,
                   systime                    , :NEW.CREATE_BY           ,
                  :NEW.NOTE                   , 'N'                      ,
                  :NEW.STATUS                 );
    
    
         stmt_var := 'Insert Cut Sheet';
    
    
      EXCEPTION
       WHEN DUP_VAL_ON_INDEX THEN
    
             NULL;
    
      END;
    
      ---------------------
      -- Cut Details New --
      ---------------------
      OPEN DTN(:NEW.LAYOUT_NO, :NEW.CUT_NO, :NEW.NOTE);
    
      FETCH DTN
       INTO dtn_cur;
    
      IF DTN%NOTFOUND THEN
      /** start --added for cha 2011-3172 6/14/2011 **/
    
          OPEN UNA(:NEW.LAYOUT_NO, :NEW.ACCOUNT_NO);
    
          FETCH UNA
           INTO una_cur;
    
          ---------------------------------
          -- CAPTURE UNPROCESSED ACCOUNT --
          ---------------------------------
    
          IF UNA%NOTFOUND THEN
    
            INSERT INTO UNPROCESSED_ACCOUNTS
                        (LAYOUT_NO         , EMPL_NO              ,
                        ACCOUNT_NO         , LOG_DATE             ,
                        COMPLETE_TODAY     , NEW_ACCOUNT_NO       ,
                        STATUS             , CREATED_BY           ,
                        MODIFIED_BY        , CUT_NO               ,
                        CREATE_DATE        , MODIFIED_DATE        )
            VALUES
                        (:NEW.LAYOUT_NO    , NULL                 ,
                        :NEW.ACCOUNT_NO    , NULL                 ,
                        NULL               , NULL                 ,
                        :NEW.STATUS        , :NEW.CREATE_BY       ,
                        :NEW.CREATE_BY     , :NEW.CUT_NO          ,
                        :NEW.CREATE_DATE   , :NEW.CREATE_DATE   );
           stmt_var := 'Insert Unprocessed Accounts';
    
           SELECT EMAIL INTO V_CCI FROM C_LOV_CCI WHERE UPPER(NAME) = (SELECT UPPER(CCI)
           FROM CR_LAYOUT_TRACKING WHERE layout_no = :NEW.LAYOUT_NO);
    
           IF SQL%NOTFOUND THEN
              V_CCI := '[email protected]';
           END IF;
    
           V_CCI := '[email protected]';--6/24
    
           conn:= utl_smtp.open_connection( 'EXCHSMTP.coned.com');
    
           utl_smtp.helo(conn, 'coned.com');
           utl_smtp.mail(conn, '[email protected]' );
           utl_smtp.rcpt(conn, '[email protected]' );
           utl_smtp.rcpt(conn,  V_CCI);
           mesg:= 'From: Cut Staging After Insert <[email protected]>' || crlf ||
                  'Subject: Unprocessed Account (Testing)' || crlf ||
                  'To: XYZ <[email protected]>' || crlf ||
                  'Cc: ' || V_CCI || crlf  ;
           mesg:= mesg || '' || crlf || 'Unprocessed account found:  '||' Layout No: '|| :NEW.LAYOUT_NO ||
                          ' , Account No: '|| :NEW.ACCOUNT_NO ||' , Status: '|| :NEW.STATUS ||
                          ' , Created By: '|| :NEW.CREATE_BY ||' , Cut No.: '|| :NEW.CUT_NO ||
                          ' , Create Date: '|| :NEW.CREATE_DATE;
           utl_smtp.data( conn, mesg );
           utl_smtp.quit( conn );
    
           END IF;
          /** end --added for cha 2011-3172 6/14/2011 **/
            INSERT INTO CR_FIELD_CUT_DETAIL
                       (LAYOUT_NO              , CUT_NO                 ,
                        SHALLOW_FACILITIES     , CUT_LENGTH             ,
                        CUT_WIDTH              , CUT_DEPTH              ,
                        BASE_DEPTH             , BASE_MATERIAL          ,
                        SURFACE_DEPTH          , SURFACE_MATERIAL       ,
                        LANE                   , START_POINT            ,
                        LINEAR_START_CUT       , LINEAR_CURB_CUT        ,
                        SHAPE                  , PAVING_REQUIRED        ,
                        OPENED_DATE            , EXCAVATION_DATE        ,
                        BACKFILL_DATE          , BASE_DATE              ,
                        TRENCHING_DATE         , BASE_MAT_REPLACED      ,
                        COMBINED_CUT           , CASTING_DEDUCTION      ,
                        ACCOUNT_NO             , CREATE_DATE            ,
                        CREATE_BY              , NOTE                   ,
                        STATUS                 , REMARK                 ,
                        PERMIT_NO)
                 VALUES
                       (:NEW.LAYOUT_NO              , :NEW.CUT_NO                   ,
                        :NEW.SHALLOW_FACILITIES     , :NEW.CUT_LENGTH               ,
                        :NEW.CUT_WIDTH              , :NEW.CUT_DEPTH                ,
                        :NEW.BASE_DEPTH             , :NEW.BASE_MATERIAL            ,
                        :NEW.SURFACE_DEPTH          , :NEW.SURFACE_MATERIAL         ,
                        :NEW.LANE                   , :NEW.START_POINT              ,
                        :NEW.LINEAR_START_CUT       , :NEW.LINEAR_CURB_CUT          ,
                        :NEW.SHAPE                  , :NEW.PAVING_REQUIRED          ,
                         TRUNC(:NEW.OPENED_DATE)    ,  TRUNC(:NEW.EXCAVATION_DATE)  ,
                         TRUNC(:NEW.BACKFILL_DATE)  ,  TRUNC(:NEW.BASE_DATE)        ,
                         TRUNC(:NEW.TRENCHING_DATE) , :NEW.BASE_MAT_REPLACED        ,
                        :NEW.COMBINED_CUT           , :NEW.CASTING_DEDUCTION        ,
                        :NEW.ACCOUNT_NO             ,  systime                      ,
                        :NEW.CREATE_BY              , :NEW.NOTE                     ,
                        :NEW.STATUS                 , :NEW.REMARK                   ,
                        :NEW.PERMIT_NO);
    
            stmt_var := 'Insert Cut Detail';
    
      END IF;
    
    
      /* Insert record from staging table to Cut Item Table */
    
      INSERT INTO CR_FIELD_CUT_ITEM
                 (LAYOUT_NO      , CUT_NO         ,
                  SEQ_NO         , CODE           ,
                  LENGTH         , WIDTH          ,
                  DEPTH          , DATE_WORKED    ,
                  CREATE_DATE    , CREATE_BY      ,
                  NOTE           , STIP_FACTOR    )
           VALUES
                 (:NEW.LAYOUT_NO      , :NEW.CUT_NO               ,
                  :NEW.SEQ_NO         , :NEW.CODE                 ,
                  :NEW.LENGTH         , :NEW.WIDTH                ,
                  :NEW.DEPTH          ,  TRUNC(:NEW.DATE_WORKED)  ,
                   systime            , :NEW.CREATE_BY            ,
                  :NEW.NOTE           , :NEW.STIP_FACTOR          );
    
      stmt_var := 'Insert Cut Items';
    
     /*  This inserts record from staging to history table. */
    
     BEGIN
    
     INSERT INTO CR_FIELD_CUT_HISTORY
                (LAYOUT_NO              , PERMIT_TYPE            ,
                 PO_NUMBER              , HOUSE_NUMBER           ,
                 SAWCUT                 , PLATED                 ,
                 COUNTY                 , STATE                  ,
                 WEST_MAP_ID            , OPENED_BY_CONTR       ,
                 PROTECTED_ST           , COMPASS_POINT          ,
                 STREET_NAME            , ARTERY_TYPE            ,
                 LEFT_CROSS_STREET      , RIGHT_CROSS_STREET     ,
                 SPECIFIC_LOC           , EMER_PERMIT_NO         ,
                 EMER_ISSUE_DATE        , SERVICE_TYPE           ,
                 PARKING_RESTR          , RESTORE_REQD           ,
                 CUT_NO                 , SHALLOW_FACILITIES     ,
                 CUT_LENGTH             , CUT_WIDTH              ,
                 CUT_DEPTH              , BASE_DEPTH             ,
                 BASE_MATERIAL          , SURFACE_DEPTH          ,
                 SURFACE_MATERIAL       , LANE                   ,
                 START_POINT            , LINEAR_START_CUT       ,
                 LINEAR_CURB_CUT        , SHAPE                  ,
                 PAVING_REQUIRED        , OPENED_DATE            ,
                 EXCAVATION_DATE        , BACKFILL_DATE          ,
                 BASE_DATE              , TRENCHING_DATE         ,
                 BASE_MAT_REPLACED      , COMBINED_CUT           ,
                 CASTING_DEDUCTION      , ACCOUNT_NO             ,
                 SEQ_NO                 , CODE                   ,
                 LENGTH                 , WIDTH                  ,
                 DEPTH                  , DATE_WORKED            ,
                 CREATE_DATE            , CREATE_BY              ,
                 NOTE                   , STATUS                 ,
                 PERMIT_NO              , STIP_FACTOR            )
          VALUES
                (:NEW.LAYOUT_NO                 , :NEW.PERMIT_TYPE             ,
                 :NEW.PO_NUMBER                 , :NEW.HOUSE_NUMBER            ,
                 :NEW.SAWCUT                    , :NEW.PLATED                  ,
                 :NEW.COUNTY                    , :NEW.STATE                   ,
                 :NEW.WEST_MAP_ID               , lot_cur.contractor_name         , -- Get it from LOT Change Track 2010-4071
                 :NEW.PROTECTED_ST              , :NEW.COMPASS_POINT           ,
                 :NEW.STREET_NAME               , :NEW.ARTERY_TYPE             ,
                 :NEW.LEFT_CROSS_STREET         , :NEW.RIGHT_CROSS_STREET      ,
                 :NEW.SPECIFIC_LOC              , :NEW.EMER_PERMIT_NO          ,
                  TRUNC(:NEW.EMER_ISSUE_DATE)   , :NEW.SERVICE_TYPE            ,
                 :NEW.PARKING_RESTR             , :NEW.RESTORE_REQD            ,
                 :NEW.CUT_NO                    , :NEW.SHALLOW_FACILITIES      ,
                 :NEW.CUT_LENGTH                , :NEW.CUT_WIDTH               ,
                 :NEW.CUT_DEPTH                 , :NEW.BASE_DEPTH              ,
                 :NEW.BASE_MATERIAL             , :NEW.SURFACE_DEPTH           ,
                 :NEW.SURFACE_MATERIAL          , :NEW.LANE                    ,
                 :NEW.START_POINT               , :NEW.LINEAR_START_CUT        ,
                 :NEW.LINEAR_CURB_CUT           , :NEW.SHAPE                   ,
                 :NEW.PAVING_REQUIRED           ,  TRUNC(:NEW.OPENED_DATE)     ,
                  TRUNC(:NEW.EXCAVATION_DATE)   ,  TRUNC(:NEW.BACKFILL_DATE)   ,
                  TRUNC(:NEW.BASE_DATE)         ,  TRUNC(:NEW.TRENCHING_DATE)  ,
                 :NEW.BASE_MAT_REPLACED         , :NEW.COMBINED_CUT            ,
                 :NEW.CASTING_DEDUCTION         , :NEW.ACCOUNT_NO              ,
                 :NEW.SEQ_NO                    , :NEW.CODE                    ,
                 :NEW.LENGTH                    , :NEW.WIDTH                   ,
                 :NEW.DEPTH                     ,  TRUNC(:NEW.DATE_WORKED)     ,
                  systime                       , :NEW.CREATE_BY               ,
                 'PROCESSED '||TO_CHAR(systime  , 'MM/DD/YYYY HH:MI:SS'),
                 :NEW.STATUS                    , :NEW.PERMIT_NO               ,
                 :NEW.STIP_FACTOR               );
    
      stmt_var := 'Insert Cut History';
    
      EXCEPTION
    
      WHEN DUP_VAL_ON_INDEX THEN
    
        NULL;
    
      END;
    
    
       /* This will insert/update the records in CR_FIELD_LAYOUT_STATUS */
         OPEN STAT(:NEW.LAYOUT_NO);
         FETCH STAT INTO STAT_CUR;
    
         IF stat_cur.cdate IS NULL THEN
            /* Offset system date inserted by 1 second (SYSDATE+.00001) to prevent PK_LOT_STAT
               constraint from firing when the cuts are entered simultaneously with logs. */
            INSERT INTO CR_FIELD_LAYOUT_STATUS
                   (LAYOUT_NO, STATUS, CREATE_BY, CREATE_DATE, NOTE)
            VALUES (:NEW.LAYOUT_NO, 'AWAITING_COMPLETION', :NEW.CREATE_BY, SYSDATE+.00001,
                   'Cut Inserted by Field Personnel '|| to_char(SYSDATE+.00001,'MM/DD/YYYY HH:MI:SS AM'));
    
            stmt_var := 'Insert Layout Status';
    
         ELSE
    
            UPDATE CR_FIELD_LAYOUT_STATUS
               SET CREATE_DATE = SYSDATE
                 , NOTE        = 'Cuts Updated: '|| to_char(SYSDATE+.00001,'MM/DD/YYYY HH:MI:SS AM') -- CT 2009-5511  09/10/09 Removed concatenation
             WHERE LAYOUT_NO   = :NEW.LAYOUT_NO
               AND STATUS      = 'AWAITING_COMPLETION'
               AND CREATE_DATE = stat_cur.cdate;
    
            stmt_var := 'Update Layout Status';
    
         END IF;
    
      CLOSE CUT;
      CLOSE DET;
      CLOSE DTN;
      CLOSE ITM;
      CLOSE LOT;
      CLOSE STAT;
      CLOSE UNA;--added for cha 2011-3172 6/14/2011
    
      /* When exceptions are raised, the users will be notified for
         the failure. */
    
      EXCEPTION WHEN OTHERS THEN
    
           err_msg := SQLERRM;
    
           INSERT INTO CR_FIELD_ERROR VALUES(:NEW.LAYOUT_NO, ' Cut No.: '||:NEW.CUT_NO
                                             ||' Item No.: '||:NEW.SEQ_NO, SYSDATE, err_msg);
    
     /*      conn:= utl_smtp.open_connection( 'EXCHSMTP.coned.com');
    
           utl_smtp.helo(conn, 'coned.com');
           utl_smtp.mail(conn, '[email protected]' );
           utl_smtp.rcpt(conn, '[email protected]' );
           utl_smtp.rcpt(conn, cc_recipient);
           mesg:= 'From: Cut Staging After Insert <[email protected]>' || crlf ||
                  'Subject: CR_FIELD_CUT_AFTER_INSERT Trigger Failed (Testing)' || crlf ||
                  'To: Harsha <[email protected]>' || crlf ||
                  'Cc: ' || cc_recipient || crlf  ;
           mesg:= mesg || '' || crlf || msg_body || ' Layout No.: '|| :NEW.LAYOUT_NO ||
                          ' Cut No.: ' || :NEW.CUT_NO || ' Item No.: ' || :NEW.SEQ_NO ||
                          '  **ErrorMessage**  '||err_msg||' Error found after this statement: '||stmt_var;
           utl_smtp.data( conn, mesg );
           utl_smtp.quit( conn );*/ --6/24
            conn:= utl_smtp.open_connection( 'EXCHSMTP.coned.com');
    
           utl_smtp.helo(conn, 'coned.com');
           utl_smtp.mail(conn, '[email protected]' );
           utl_smtp.rcpt(conn, '[email protected]' );
           utl_smtp.rcpt(conn, cc_recipient);
           mesg:= 'From: Cut Staging After Insert <[email protected]>' || crlf ||
                  'Subject: CR_FIELD_CUT_AFTER_INSERT Trigger Failed (Testing)' || crlf ||
                  'To: XYZ <[email protected]>' || crlf ||
                  'Cc: ' || cc_recipient || crlf  ;
           mesg:= mesg || '' || crlf || msg_body || ' Layout No.: '|| :NEW.LAYOUT_NO ||
                          ' Cut No.: ' || :NEW.CUT_NO || ' Item No.: ' || :NEW.SEQ_NO ||
                          '  **ErrorMessage**  '||err_msg||' Error found after this statement: '||stmt_var;
           utl_smtp.data( conn, mesg );
           utl_smtp.quit( conn );
    END;
    Published by: 831050 July 20, 2011 06:50

    It's just a guess,

    what you the sliders are open regardless of any condition, for example;

    OPEN CUT(:NEW.LAYOUT_NO);
    OPEN DET(:NEW.LAYOUT_NO);
    OPEN ITM(:NEW.LAYOUT_NO);
    OPEN LOT(:NEW.LAYOUT_NO);
    OPEN DTN(:NEW.LAYOUT_NO, :NEW.CUT_NO, :NEW.NOTE);
    

    UNA is however open after a condition;

    IF DTN%NOTFOUND THEN
      /** start --added for cha 2011-3172 6/14/2011 **/
    
          OPEN UNA(:NEW.LAYOUT_NO, :NEW.ACCOUNT_NO);
    

    All in sliders however closed without worrying, that is, they are all suppose to be open;

      CLOSE CUT;
      CLOSE DET;
      CLOSE DTN;
      CLOSE ITM;
      CLOSE LOT;
      CLOSE STAT;
      CLOSE UNA;
    

    So I think you close the wen of cursors UNA this is indeed not to open.
    So, pass the "NARROW UNA"; line of code before the END IF; on line 278, since that's when it will definitely be open.

  • SQL error: ORA-01840: value not long enough for the format of the date of entry

    It is a delete SQL in a driver of demand, which gives no error, but does remove all the lines either. I have converted the removal 'from' to ' Select * ' and may see the following error:

    Select * FROM PS_GPDE_DV_TRIG40 WHERE EXISTS (SELECT FROM 'X'
    PS_GPDE_DV_ELIG_MO ELG WHERE ELG. EMPLID = PS_GPDE_DV_TRIG40. EMPLID AND
    ELG. EMPL_RCD = PS_GPDE_DV_TRIG40. EMPL_RCD AND TO_DATE (TO_CHAR (ELG. PRD_END_DT
    "YYYY"). TO_CHAR (ELG. PRD_END_DT, "MM"). '01', "YYYY-MM-DD") =.
    PS_GPDE_DV_TRIG40. GPDE_DV_EVT_EFFDT AND ELG. CAL_RUN_ID = "CAL_0812")
    Error report:
    SQL error: ORA-01840: value not long enough for the format of the date of entry


    The interesting thing is that if I attach a condition of emplid, then the SQL above does not give an error and return lines:

    Select * FROM PS_GPDE_DV_TRIG40 WHERE EXISTS (SELECT FROM 'X'
    PS_GPDE_DV_ELIG_MO ELG WHERE ELG. EMPLID = PS_GPDE_DV_TRIG40. EMPLID AND
    ELG. EMPL_RCD = PS_GPDE_DV_TRIG40. EMPL_RCD AND TO_DATE (TO_CHAR (ELG. PRD_END_DT
    "YYYY"). TO_CHAR (ELG. PRD_END_DT, "MM"). '01', "YYYY-MM-DD") =.
    PS_GPDE_DV_TRIG40. GPDE_DV_EVT_EFFDT AND ELG. CAL_RUN_ID = "FM_CG_0812")
    and emplid = "1234"

    now, if the number of lines is identified (by giving more number of emplids), it begins to give the error when the number of rows returned is greater than about 30. It is completely independent of what employee is used, so there is no question of data dependence.

    Function optimizer cost is off and a subquery nest is off on the init.ora file

    subquery UNNEST= false

    optimizercost_based_transformation = off


    I don't know if it has something to do with this problem.

    Explanations would be welcome!

    Thank you
    Vikas

    I think it is question of data combined with a not very sensible date format mask (it could fail when the null data, because of your concatenation with '01' and work when not null data).
    Have you tried with a simple TRUNC?

    Your code:

    ...TO_DATE(TO_CHAR(ELG.PRD_END_DT, 'YYYY') || TO_CHAR(ELG.PRD_END_DT , 'MM') || '01' , 'YYYY-MM-DD') =PS_GPDE_DV_TRIG40.GPDE_DV_EVT_EFFDT...
    

    After change:

    ...TRUNC(ELG.PRD_END_DT , 'MM') =PS_GPDE_DV_TRIG40.GPDE_DV_EVT_EFFDT...
    

    Nicolas.

  • Two days ago, I downloaded Adobe Acrobat update for mac desktop. It is registered with Adobe and watch on my account, such as registered. I try to open and get the error message "you are not connected to the internet or your clock is wrong" are all two in

    Two days ago, I downloaded Adobe Acrobat update for mac desktop. It is registered with Adobe and watch on my account, such as registered. I try to open and get the error message "you are not connected to the internet or your clock is wrong" are all two inaccurate statements. I GET NOTHING BUT NOTHING ADOBE 'SUPPORT '.  How can I get just the program open and running?

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • Any ideas how to fix this code error: declaration of property not valid css to *.

    My mac guard getting hung up on some websites here, that's what appears on the Console error: declaration of property not valid css to the * and then cl css and about 4 numbers.

    Any ideas what's happening?

    Poorly coded Web page. What site?

  • error message - an application not valid win 32

    my system is running windows 7
    I received a message to Windows Action Center - Downloader Trojan horse detected, to solve the problem I downloaded microsoft Web site msert.exe

    Cannot run the msert.exe file, an error of an application not valid win 32 im. How to solve the problem

    Hello

    Thank you for contacting Microsoft Community.
    It can occur if the downloaded file is incomplete and you try to run a partially downloaded file, which is recognized as a 16-bit application, since you're using 64 bit Windows 7 flavor.
    Try to download the file again.
    Note If you don't see no multicolored icon but a green window and text under the icon of the file, it has not been downloaded completely. When you have finished downloading, you will find a colourful graphic icon. Now you can open the file and it will work.
  • Try to re - install Creative Suite: Design Standard CS6 on my PC and it says my serial number is not valid. I should have a use more?

    I did something to my pc, and my hard drive wiped cost me half a year and a half worth of work, not to mention all the programs I had installed. now try to re - download my products, install them as I meet numbers 2. My serial number that should have 2 uses is indicated as valid (although I read it directly out of the adobe Web page like I did the only other time I've used the #), and he refuses to install the main programs (PS, Illustrator, In design, etc.) stating that they are "invalid", even if they 2 were downloaded on the Adobe site.

    If the Adobe Customer Service happens to read this, its some BS because I'm not pay you $ 20/month for your product and paid to place $ 500 that you refuse to allows me to call and talk to a real person. Do you care about people who use your products, or just their wallets?

    Please see the links below.

    Hope this will help you.

    Kind regards

    Hervé Khare

  • I am trying to reinstall photoshop CS5 in a new laptop, but I got an error "serial number is not valid for this product".

    I am trying to reinstall photoshop CS5 in a new laptop (pc), but I got an error "serial number is not valid for this product".

    I disabled photoshop in the old computer.

    The old laptop have photoshop installed with the DVD, but the new laptop have DVD so I downloaded cs5 CS5 download products. ¿Maybe this is a mistake?

    I downloaded from products of CS5 download the multilingual version (Spanish) instead of the version English and with it, it seems that the series is ok and I can install... I thought that the series was OK for all languages, but it seems that it is not.

  • ITMS-9000 ERROR: "this set is not valid. The CFBundleVersion key value...

    Hello

    I tried to submit the app store my V27 revision (1.0.5) instead of V28 (1.0.2) for Ipad 1 compatibility but I get this error:

    ITMS-9000 ERROR: "this set is not valid. The value of [3.2.4.6.88575] CFBundleVersion key in the file Info.plist must contain a newer version than the version previously downloaded [3.3.1.3.8

    How I change the CFBundleVersion?

    Thank you

    Support DPS can however help you. Please log in to your dashboard DPS https://digitalpublishing.acrobat.com/SignIn.html and you will find the coordinates at the bottom of the page

Maybe you are looking for