RETURNING CLAUSE ERROR

Hi All,
I was trying to use RETURNING CLAUSE into pl/sql process but it gives error as :-
"1 error has occurred
* ORA-06550: line 12, column 13: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 6, column 3: PL/SQL: SQL Statement ignored"
Pl/sql process contains code as below:-
DECLARE
vID VARCHAR2(20);
BEGIN
INSERT INTO STUDENT_INFORMATION (DOB, AGE, OTHER_DATE, OTHER_AGE)
SELECT TO_DATE(C1_C002, 'MM/DD/YYYY'), C1_C003, TO_DATE(C1_C004, 'MM/DD/YYYY'), C1_C005
FROM (SELECT C1.C002 C1_C002, C1.C003 C1_C003, C1.C004 C1_C004, C1.C005 C1_C005
FROM APEX_COLLECTIONS C1
WHERE C1.COLLECTION_NAME = 'INFORMATION'
AND C1.SEQ_ID = 1)
RETURNING ID INTO vID; // IF I REMOVE THIS LINE & AND THIS INSERT STATEMENT WITH SEMICOLON(;) IN THE ABOVE LINE THE CODE WORKS FINE
// BUT THAN THE I'M GETTING ERROR WITH THE NEXT INSERT STATEMENT
INSERT INTO STUDENT_INFORMATION_GRADE (ID, GRADE_DATE, GRADE_AGE)
SELECT vID, TO_DATE(C2_C002, 'MM/DD/YYYY'), C2_C003
FROM (SELECT C2.C002 C2_C002, C2.C003 C2_C003
FROM APEX_COLLECTIONS C2, APEX_COLLECTIONS C1
WHERE C2.COLLECTION_NAME = 'GRADE'
AND C1.COLLECTION_NAME = 'INFORMATION'
AND C1.SEQ_ID = C2.SEQ_ID
AND C1.SEQ_ID = 1);
INSERT INTO STUDENT_INFORMATION_RESULT (ID, FINAL_RESULT)
SELECT vID, C3_C002
FROM (SELECT C3.C002 C3_C002
FROM APEX_COLLECTIONS C3, APEX_COLLECTIONS C1
WHERE C3.COLLECTION_NAME = 'RESULT'
AND C1.COLLECTION_NAME = 'INFORMATION'
AND C1.SEQ_ID = C3.SEQ_ID
AND C1.SEQ_ID = 1);
END;
I have trying RETURNING CLAUSE with other pl/sql process something like this :-
DECLARE
vID VARCHAR2(20;
BEGIN
INSERT INTO ..... ()
VALUES ()
RETURNING ID INTO vID;
INSERT INTO ... (ID, ....)
VALUES (vID, ..........)
END;
the above code works well with no errors, but when I'm using RETURNING CLAUSE with COLLECTIONS it gives me error.
Can anybody help me out?
Thanks
Deep

Deep:
You can perform the inserts in a cursor loop as followsfor x in (SELECT C1.C002 C1_C002, C1.C003 C1_C003, C1.C004 C1_C004, C1.C005 C1_C005
FROM APEX_COLLECTIONS C1
WHERE C1.COLLECTION_NAME = 'INFORMATION'
AND C1.SEQ_ID = 1)
loop
INSERT INTO STUDENT_INFORMATION (DOB, AGE, OTHER_DATE, OTHER_AGE)
values ( TO_DATE(x.C1_C002, 'MM/DD/YYYY'),x.C1_C003, TO_DATE(x.C1_C004, 'MM/DD/YYYY'),x.C1_C005)
RETURNING ID INTO vID;
end loop;Varad

Similar Messages

  • Error in RETURNING clause in INSERT.....SELECT query

    Hi Friends
    I am having an error: "SQL stmt not properly ended" when i run the below code.
    Cant i fetch multiple values from the returning clause into a collection variable??
    insert into consumption__C
         (SITECODE, SALESORG, PRODFAM,CAMPCODE, CYEAR, MDATE, SYSENV, MTYPE, ACCOUNT__C, SUPPLIER__C,
    PRODUCT_PER_UNIT__C, PRODUCT__C, UNIT__C, AMOUNT_Y__C, VOLUME_Y__C, CURRENCY__C,SUPPLYMODE__C)
         select      ' '                    Sitecode,
                        ' '          Salesorg,
    ' '                    Prodfam,
                        ' '                    campcode,
                        ' '                    cyear,
                        pcurr_mig               MDATE,
                        psysenv                    SYSENV,
                        'NSet'                    MTYPE,                          
                        c.sitecode               Account__c,
                        ' '                    supplier__c,
                        ' '                    Product_per_unit__c,
                        c.material               Product__c,
                        ' '                    unit__c,
                        c.Amount           Amount_y__c,
                        ' '                    Volume__c,
                        'Euro'                    Currency__c,
                        ' '                    Supply_Mode__c
    from load_sales_customer_site c     returning c.customer_code bulk collect INTO temp;
    Kindly guide...... what is the problem!!
    Thanks in advance

    nice idea, but you can't use returning into with
    insert as select:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> create table exm(id primary key) as select object_id from all_objects
      2  where rownum <=100;
    Table created.
    SQL> declare
      2  type num_tbl is table of number;
      3   ll_num_tbl num_tbl;
      4   begin
      5   insert into exm(id)
      6  (select object_id * 100 from all_objects where rownum
      7   <=100) returning id into ll_num_tbl;
      8  end;
      9  /
    <=100) returning id into ll_num_tbl;
    ERROR at line 7:
    ORA-06550: line 7, column 9:
    PL/SQL: ORA-00933: SQL command not properly ended
    ORA-06550: line 5, column 2:
    PL/SQL: SQL Statement ignoredAmiel

  • Returning clause in MERGE statement

    Hi ,
    I'm using Oracle 10g Version
    I tried the below code using UPDATE  with Returning Clause & MERGE with Returning Clause .
    I found NO errors while working with UPDATE statement  . The following is the code with UPDATE statement
    DECLARE
       TYPE empno_list IS TABLE OF emp.empno%TYPE;
       vempno_list   empno_list;
    BEGIN
          UPDATE emp
             SET comm = 11
           WHERE deptno IN (SELECT deptno FROM dept)
       RETURNING empno
            BULK COLLECT INTO vempno_list;
       FOR i IN vempno_list.FIRST .. vempno_list.LAST
       LOOP
          DBMS_OUTPUT.put_line ('Values of EMP ' || vempno_list (i));
       END LOOP;
    END;  
    But getting the error PL/SQL: ORA-00933: SQL command not properly ended  when working with MERGE Statement
    declare
    type empno_list  is  table of emp.empno%type;
    vempno_list empno_list;
    begin               
       merge into emp tgt
          using dept src
            on (src.deptno =tgt.deptno)
            when matched then
             update set tgt.comm=12
           returning tgt.empno bulk collect into vempno_list ;
            for i in vempno_list.first .. vempno_list.last loop
                    dbms_output.put_line('Values of EMP '||vempno_list(i) ) ;
            end loop;
    end; 
    Please  suggest me

    Probably because the RETURNING INTO clause doesn't belong to MERGE statement. It's available only for INSERT, UPDATE and DELETE. Here is the quote from Oracle Documentation:
    The static RETURNING INTO clause belongs to a DELETE, INSERT, or UPDATE statement. The dynamic RETURNING INTO clause belongs to an EXECUTEIMMEDIATE statement.
    And here's the link.
    RETURNING INTO Clause
    Hope it helps.
    Ishan

  • Using RETURNING clause with Execute Immediate

    I wrote a query to update a table and return the column in to a nested table type variable using returning clause but its not working I am getting error like
    ORA-06550: line 66, column 22:
    PLS-00306: wrong number or types of arguments in call to '||'
    ORA-06550: line 66, column 4:
    PL/SQL: Statement ignored
    I am getting error in following part of my query
    || 'RETURNING if_row_status bulk collect INTO '
    || v_if_row_status;
    v_if_row_status is defined as -
    TYPE v_count IS TABLE OF varchar2(50) INDEX BY BINARY_INTEGER;
    v_if_row_status v_count;

    I am trying to update a table for diffrent column if they are null and want no of column updated for each column.
    I wrote following query but I am not getting the correct output.
    UPDATE
    Temp_Bulk_Col_POC
    SET if_row_status = 'VALIDATED',
    if_row_processed_date = sysdate,
    if_row_error_msg =
    CASE
    WHEN record_type IS NULL
    THEN 'RECORD_TYPE is a required column and cannot be NULL'
    WHEN source_system IS NULL
    THEN 'SOURCE_SYSTEM is a required column and cannot be NULL'
    WHEN record_company IS NULL
    THEN 'RECORD_COMPANY is a required column and cannot be NULL'
    WHEN record_system IS NULL
    THEN 'RECORD_SYSTEM is a required column and cannot be NULL'
    WHEN txn_flag IS NULL
    THEN 'TXN_FLAG is a required column and cannot be NULL'
    WHEN create_date IS NULL
    THEN 'CREATE_DATE is a required column and cannot be NULL'
    WHEN UPDATE_date IS NULL
    THEN 'UPDATE_DATE is a required column and cannot be NULL'
    WHEN source_customer_id IS NULL
    THEN 'SOURCE_CUSTOMER_ID is a required column and cannot be NULL'
    WHEN source_product_id IS NULL
    THEN 'SOURCE_PRODUCT_ID is a required column and cannot be NULL'
    WHEN az_product_id IS NULL
    THEN 'AZ_PRODUCT_ID is a required column and cannot be NULL'
    WHEN decile IS NULL
    THEN 'DECILE is a required column and cannot be NULL'
    END
    WHERE if_row_status IS NULL
    AND (record_type IS NULL
    OR source_system IS NULL
    OR record_company IS NULL
    OR record_system IS NULL
    OR txn_flag IS NULL
    OR create_date IS NULL
    OR UPDATE_date IS NULL
    OR source_customer_id IS NULL
    OR source_product_id IS NULL
    OR az_product_id IS NULL
    OR decile IS NULL)
    RETURNING if_row_status,record_type,source_system,record_company,record_system,
    txn_flag,create_date,UPDATE_date,source_customer_id,source_product_id,az_product_id,
    decile
    BULK COLLECT INTO
    v_if_row_status,v_record_type,v_source_system,
    v_record_company,v_record_system,v_txn_flag,v_create_date,v_UPDATE_date,
    v_source_customer_id,v_source_product_id,v_az_product_id,v_decile;
    its showing same number for all the column.
    how I can collect based on the coulmn updated

  • Insert ...select ... Returning - Runtime error

    Hi,
    I was trying to use the returning clause in a insert ... select ... returning. I get a runtime syntax error, although the code I created compiles. I checked the SQL syntax diagram and it turned out that I can not use returning when there is a 'select' instead of 'values'. Does somebody know why do I not get a syntax error at compile time?
    Regards,
    Tamas Szecsy

    Tamas,
    INSERT..SELECT..RETURNING was the one that Oracle didn't give us. Unfortunately, this is the type of use for returning that most of us want. You can only INSERT..VALUES() RETURNING. It's a real pain. The only person in the world who claims that you can use INSERT..SELECT..RETURNING is Don Burleson, though naturally the script he provides doesn't work...
    Regards

  • ORA-22816: unsupported feature with RETURNING clause

    My database is: 10g 10.2.0.3.0
    Sorry this is a little long but I need some help!
    The insert is being done in PLSQL with SQL.
    I am trying to Insert a row into a view the view has 3 Instead of triggers. (insert, update, delete)
    I have looked up this error and have seen that you cannot use a RETURNING clause on view with INSTEAD OF triggers
    because it is not supported?
    My issue is, I cannot find any code around this view where a RETURNING clause is being used.
    Does anyone have any idea what else this could be??
    1. The trigger populates old and new values based on wether it is an insert update or delete,
    and then calls a procedure to do the insert, update or delete.
    2. Then calls another procedure that builds an XML string to pass into oracle queueing.
    They are all new triggers and procedures I have written.
    I searched for "RETURNING" in all other dependent objects for this view and could not find anything.
    Thats why I was wondering if it could be anything else?
    Another FYI. This whole procedure is actually on some other tables as well. It works fine with no issue on the tables.
    It wasn't until I started testing the VIEW that I started getting this error.
    I commented out the procedure calls and I still have an issue. I disabled the trigger and the issue went away.
    Another FYI to make it more interesting, The instead of update and the instead of delete triggers on this view
    work just fine with the package calls and everything. They are written exactly as the instead of insert trigger.
    It is only the instead of insert trigger that it is getting this error.
    Can someone help??? See Instead of Insert trigger below.
    {CREATE OR REPLACE TRIGGER TRIIBTF97A
    INSTEAD OF INSERT ON RTI_BUS_TA_FORM97A_VW
    FOR EACH ROW
    DECLARE
      old_rec        RTI_BUS_TA_FORM97A_VW%ROWTYPE;
      new_rec        RTI_BUS_TA_FORM97A_VW%ROWTYPE;
      v_change_type  VARCHAR2(8);
      v_event_source VARCHAR2(20) := 'TRIIBTF97A';
    BEGIN
      -- only new values on inserts
      new_rec.DOC_LOC_NBR                                   := :new.DOC_LOC_NBR              ;
      new_rec.TRAN_ID                                       := :new.TRAN_ID                  ;
      new_rec.RPTD_ADJ_SUBTOT_AMT                           := :new.RPTD_ADJ_SUBTOT_AMT      ;
      new_rec.CALC_ADJ_SUBTOT_AMT                           := :new.CALC_ADJ_SUBTOT_AMT      ;
      new_rec.RPTD_ADJ_SUBTOT2_AMT                          := :new.RPTD_ADJ_SUBTOT2_AMT     ;
      new_rec.CALC_ADJ_SUBTOT2_AMT                          := :new.CALC_ADJ_SUBTOT2_AMT     ;
      new_rec.RPTD_AGI_PRENOL_AMT                           := :new.RPTD_AGI_PRENOL_AMT      ;
      new_rec.CALC_AGI_PRENOL_AMT                           := :new.CALC_AGI_PRENOL_AMT      ;
      new_rec.RPTD_BAL_DUE_AMT                              := :new.RPTD_BAL_DUE_AMT         ;
      new_rec.CALC_BAL_DUE_AMT                              := :new.CALC_BAL_DUE_AMT         ;
      new_rec.RPTD_CC_CRED_AMT                              := :new.RPTD_CC_CRED_AMT         ;
      new_rec.CALC_CC_CRED_AMT                              := :new.CALC_CC_CRED_AMT         ;
      new_rec.RPTD_CHAR_CONTRIB_AMT                         := :new.RPTD_CHAR_CONTRIB_AMT    ;
      new_rec.CALC_CHAR_CONTRIB_AMT                         := :new.CALC_CHAR_CONTRIB_AMT    ;
      new_rec.RPTD_DIV_DEDUC_AMT                            := :new.RPTD_DIV_DEDUC_AMT       ;
      new_rec.CALC_DIV_DEDUC_AMT                            := :new.CALC_DIV_DEDUC_AMT       ;
      new_rec.RPTD_EST_PMT_AMT                              := :new.RPTD_EST_PMT_AMT         ;
      new_rec.CALC_EST_PMT_AMT                              := :new.CALC_EST_PMT_AMT         ;
      new_rec.RPTD_EZ_EMP_CRED_AMT                          := :new.RPTD_EZ_EMP_CRED_AMT     ;
      new_rec.CALC_EZ_EMP_CRED_AMT                          := :new.CALC_EZ_EMP_CRED_AMT     ;
      new_rec.RPTD_FED_INCM_AMT                             := :new.RPTD_FED_INCM_AMT        ;
      new_rec.CALC_FED_INCM_AMT                             := :new.CALC_FED_INCM_AMT        ;
      new_rec.RPTD_FRGN_GROSS_UP_AMT                        := :new.RPTD_FRGN_GROSS_UP_AMT   ;
      new_rec.CALC_FRGN_GROSS_UP_AMT                        := :new.CALC_FRGN_GROSS_UP_AMT   ;
      new_rec.RPTD_LREPT_AMT                                := :new.RPTD_LREPT_AMT           ;
      new_rec.CALC_LREPT_AMT                                := :new.CALC_LREPT_AMT           ;
      new_rec.RPTD_HRSJT_AMT                                := :new.RPTD_HRSJT_AMT           ;
      new_rec.CALC_HRSJT_AMT                                := :new.CALC_HRSJT_AMT           ;
      new_rec.RPTD_RELST_TAX_AMT                            := :new.RPTD_RELST_TAX_AMT       ;
      new_rec.CALC_RELST_TAX_AMT                            := :new.CALC_RELST_TAX_AMT       ;
      new_rec.RPTD_GOVT_INT_AMT                             := :new.RPTD_GOVT_INT_AMT        ;
      new_rec.CALC_GOVT_INT_AMT                             := :new.CALC_GOVT_INT_AMT        ;
      new_rec.RPTD_IN_AGI1_AMT                              := :new.RPTD_IN_AGI1_AMT         ;
      new_rec.CALC_IN_AGI1_AMT                              := :new.CALC_IN_AGI1_AMT         ;
      new_rec.RPTD_LRSJT_AMT                                := :new.RPTD_LRSJT_AMT           ;
      new_rec.CALC_LRSJT_AMT                                := :new.CALC_LRSJT_AMT           ;
      new_rec.RPTD_IN_NOL_AMT                               := :new.RPTD_IN_NOL_AMT          ;
      new_rec.CALC_IN_NOL_AMT                               := :new.CALC_IN_NOL_AMT          ;
      new_rec.RPTD_INCM_SUBTOT_AMT                          := :new.RPTD_INCM_SUBTOT_AMT     ;
      new_rec.CALC_INCM_SUBTOT_AMT                          := :new.CALC_INCM_SUBTOT_AMT     ;
      new_rec.RPTD_INT_DUE_AMT                              := :new.RPTD_INT_DUE_AMT         ;
      new_rec.CALC_INT_DUE_AMT                              := :new.CALC_INT_DUE_AMT         ;
      new_rec.RPTD_IRECV_CRED_AMT                           := :new.RPTD_IRECV_CRED_AMT      ;
      new_rec.CALC_IRECV_CRED_AMT                           := :new.CALC_IRECV_CRED_AMT      ;
      new_rec.RPTD_LATE_PEN_AMT                             := :new.RPTD_LATE_PEN_AMT        ;
      new_rec.CALC_LATE_PEN_AMT                             := :new.CALC_LATE_PEN_AMT        ;
      new_rec.RPTD_LIC_CRED_AMT                             := :new.RPTD_LIC_CRED_AMT        ;
      new_rec.CALC_LIC_CRED_AMT                             := :new.CALC_LIC_CRED_AMT        ;
      new_rec.RPTD_MODIF_AMT                                := :new.RPTD_MODIF_AMT           ;
      new_rec.CALC_MODIF_AMT                                := :new.CALC_MODIF_AMT           ;
      new_rec.RPTD_NAC_CRED_AMT                             := :new.RPTD_NAC_CRED_AMT        ;
      new_rec.CALC_NAC_CRED_AMT                             := :new.CALC_NAC_CRED_AMT        ;
      new_rec.RPTD_NONBUS_DISTA_AMT                         := :new.RPTD_NONBUS_DISTA_AMT    ;
      new_rec.CALC_NONBUS_DISTA_AMT                         := :new.CALC_NONBUS_DISTA_AMT    ;
      new_rec.RPTD_LTOT_AMT                                 := :new.RPTD_LTOT_AMT            ;
      new_rec.CALC_LTOT_AMT                                 := :new.CALC_LTOT_AMT            ;
      new_rec.RPTD_OTH_ADJ_AMT                              := :new.RPTD_OTH_ADJ_AMT         ;
      new_rec.CALC_OTH_ADJ_AMT                              := :new.CALC_OTH_ADJ_AMT         ;
      new_rec.RPTD_OTH_CRED_AMT                             := :new.RPTD_OTH_CRED_AMT        ;
      new_rec.CALC_OTH_CRED_AMT                             := :new.CALC_OTH_CRED_AMT        ;
      new_rec.RPTD_OTH_PMT_AMT                              := :new.RPTD_OTH_PMT_AMT         ;
      new_rec.CALC_OTH_PMT_AMT                              := :new.CALC_OTH_PMT_AMT         ;
      new_rec.RPTD_OVERPMT_CRED_AMT                         := :new.RPTD_OVERPMT_CRED_AMT    ;
      new_rec.CALC_OVERPMT_CRED_AMT                         := :new.CALC_OVERPMT_CRED_AMT    ;
      new_rec.RPTD_PRIOR_EXT_PMT_AMT                        := :new.RPTD_PRIOR_EXT_PMT_AMT   ;
      new_rec.CALC_PRIOR_EXT_PMT_AMT                        := :new.CALC_PRIOR_EXT_PMT_AMT   ;
      new_rec.RPTD_HRNTX_AMT                                := :new.RPTD_HRNTX_AMT           ;
      new_rec.CALC_HRNTX_AMT                                := :new.CALC_HRNTX_AMT           ;
      new_rec.RPTD_LRNTX_AMT                                := :new.RPTD_LRNTX_AMT           ;
      new_rec.CALC_LRNTX_AMT                                := :new.CALC_LRNTX_AMT           ;
      new_rec.RPTD_REFUND_DUE_AMT                           := :new.RPTD_REFUND_DUE_AMT      ;
      new_rec.CALC_REFUND_DUE_AMT                           := :new.CALC_REFUND_DUE_AMT      ;
      new_rec.RPTD_RELST_PP_TAX_AMT                         := :new.RPTD_RELST_PP_TAX_AMT    ;
      new_rec.CALC_RELST_PP_TAX_AMT                         := :new.CALC_RELST_PP_TAX_AMT    ;
      new_rec.RPTD_STATE_TAX_AMT                            := :new.RPTD_STATE_TAX_AMT       ;
      new_rec.CALC_STATE_TAX_AMT                            := :new.CALC_STATE_TAX_AMT       ;
      new_rec.RPTD_SU_TAX_AMT                               := :new.RPTD_SU_TAX_AMT          ;
      new_rec.CALC_SU_TAX_AMT                               := :new.CALC_SU_TAX_AMT          ;
      new_rec.RPTD_HREPT_AMT                                := :new.RPTD_HREPT_AMT           ;
      new_rec.CALC_HREPT_AMT                                := :new.CALC_HREPT_AMT           ;
      new_rec.RPTD_SUPP_NI_TAX1_AMT                         := :new.RPTD_SUPP_NI_TAX1_AMT    ;
      new_rec.CALC_SUPP_NI_TAX1_AMT                         := :new.CALC_SUPP_NI_TAX1_AMT    ;
      new_rec.RPTD_TAX_BUS_INC_AMT                          := :new.RPTD_TAX_BUS_INC_AMT     ;
      new_rec.CALC_TAX_BUS_INC_AMT                          := :new.CALC_TAX_BUS_INC_AMT     ;
      new_rec.RPTD_TOT_REL_TAX_AMT                          := :new.RPTD_TOT_REL_TAX_AMT     ;
      new_rec.CALC_TOT_REL_TAX_AMT                          := :new.CALC_TOT_REL_TAX_AMT     ;
      new_rec.RPTD_TAX_SUBTOT_AMT                           := :new.RPTD_TAX_SUBTOT_AMT      ;
      new_rec.CALC_TAX_SUBTOT_AMT                           := :new.CALC_TAX_SUBTOT_AMT      ;
      new_rec.RPTD_TCSP_CRED_AMT                            := :new.RPTD_TCSP_CRED_AMT       ;
      new_rec.CALC_TCSP_CRED_AMT                            := :new.CALC_TCSP_CRED_AMT       ;
      new_rec.RPTD_TOT_CRED_AMT                             := :new.RPTD_TOT_CRED_AMT        ;
      new_rec.CALC_TOT_CRED_AMT                             := :new.CALC_TOT_CRED_AMT        ;
      new_rec.RPTD_TOT_DUE_AMT                              := :new.RPTD_TOT_DUE_AMT         ;
      new_rec.CALC_TOT_DUE_AMT                              := :new.CALC_TOT_DUE_AMT         ;
      new_rec.RPTD_TOT_OVERPMT_AMT                          := :new.RPTD_TOT_OVERPMT_AMT     ;
      new_rec.CALC_TOT_OVERPMT_AMT                          := :new.CALC_TOT_OVERPMT_AMT     ;
      new_rec.RPTD_TOT_PMT_AMT                              := :new.RPTD_TOT_PMT_AMT         ;
      new_rec.CALC_TOT_PMT_AMT                              := :new.CALC_TOT_PMT_AMT         ;
      new_rec.RPTD_HTOT_AMT                                 := :new.RPTD_HTOT_AMT            ;
      new_rec.CALC_HTOT_AMT                                 := :new.CALC_HTOT_AMT            ;
      new_rec.RPTD_TAX_DUE_AMT                              := :new.RPTD_TAX_DUE_AMT         ;
      new_rec.CALC_TAX_DUE_AMT                              := :new.CALC_TAX_DUE_AMT         ;
      new_rec.RPTD_TAX_DUE2_AMT                             := :new.RPTD_TAX_DUE2_AMT        ;
      new_rec.CALC_TAX_DUE2_AMT                             := :new.CALC_TAX_DUE2_AMT        ;
      new_rec.RPTD_UNDERPMT_PEN_AMT                         := :new.RPTD_UNDERPMT_PEN_AMT    ;
      new_rec.CALC_UNDERPMT_PEN_AMT                         := :new.CALC_UNDERPMT_PEN_AMT    ;
      new_rec.RFND_1_INT_RATE                               := :new.RFND_1_INT_RATE          ;
      new_rec.RFND_1_AMT                                    := :new.RFND_1_AMT               ;
      new_rec.RFND_2_INT_RATE                               := :new.RFND_2_INT_RATE          ;
      new_rec.RFND_2_AMT                                    := :new.RFND_2_AMT               ;
      new_rec.RFND_3_INT_RATE                               := :new.RFND_3_INT_RATE          ;
      new_rec.RFND_3_AMT                                    := :new.RFND_3_AMT               ;
      new_rec.RFND_4_INT_RATE                               := :new.RFND_4_INT_RATE          ;
      new_rec.RFND_4_AMT                                    := :new.RFND_4_AMT               ;
      new_rec.RPTD_HRAMT_AMT                                := :new.RPTD_HRAMT_AMT           ;
      new_rec.CALC_HRAMT_AMT                                := :new.CALC_HRAMT_AMT           ;
      new_rec.RPTD_LRAMT_AMT                                := :new.RPTD_LRAMT_AMT           ;
      new_rec.CALC_LRAMT_AMT                                := :new.CALC_LRAMT_AMT           ;
      new_rec.RPTD_CMBTX_AMT                                := :new.RPTD_CMBTX_AMT           ;
      new_rec.CALC_CMBTX_AMT                                := :new.CALC_CMBTX_AMT           ;
      new_rec.RPTD_HRSUB_AMT                                := :new.RPTD_HRSUB_AMT           ;
      new_rec.CALC_HRSUB_AMT                                := :new.CALC_HRSUB_AMT           ;
      new_rec.RPTD_LRSUB_AMT                                := :new.RPTD_LRSUB_AMT           ;
      new_rec.CALC_LRSUB_AMT                                := :new.CALC_LRSUB_AMT           ;
      new_rec.RPTD_FUEL_CRED_AMT                            := :new.RPTD_FUEL_CRED_AMT       ;
      new_rec.CALC_FUEL_CRED_AMT                            := :new.CALC_FUEL_CRED_AMT       ;
      new_rec.RPTD_ADJUST_AMT                               := :new.RPTD_ADJUST_AMT          ;
      new_rec.CALC_ADJUST_AMT                               := :new.CALC_ADJUST_AMT          ;
      new_rec.RPTD_CARRY_YR_NBR                             := :new.RPTD_CARRY_YR_NBR        ;
      new_rec.CALC_CARRY_YR_NBR                             := :new.CALC_CARRY_YR_NBR        ;
      new_rec.RPTD_APPORT_PCNT                              := :new.RPTD_APPORT_PCNT         ;
      new_rec.CALC_APPORT_PCNT                              := :new.CALC_APPORT_PCNT         ;
      new_rec.RPTD_IN_APPORT_AMT                            := :new.RPTD_IN_APPORT_AMT       ;
      new_rec.CALC_IN_APPORT_AMT                            := :new.CALC_IN_APPORT_AMT       ;
      new_rec.RPTD_AGI_TAX_AMT                              := :new.RPTD_AGI_TAX_AMT         ;
      new_rec.CALC_AGI_TAX_AMT                              := :new.CALC_AGI_TAX_AMT         ;
      new_rec.RPTD_NONBUS_DISTB_AMT                         := :new.RPTD_NONBUS_DISTB_AMT    ;
      new_rec.CALC_NONBUS_DISTB_AMT                         := :new.CALC_NONBUS_DISTB_AMT    ;
      new_rec.RPTD_TOT_INC_AMT                              := :new.RPTD_TOT_INC_AMT         ;
      new_rec.CALC_TOT_INC_AMT                              := :new.CALC_TOT_INC_AMT         ;
      new_rec.REMIT_AMT                                     := :new.REMIT_AMT                ;
      new_rec.RFND_1_DT                                     := :new.RFND_1_DT                ;
      new_rec.PPIS_NAME                                     := :new.PPIS_NAME                ;
      new_rec.RFND_2_DT                                     := :new.RFND_2_DT                ;
      new_rec.EXT_FILED_INDC                                := :new.EXT_FILED_INDC           ;
      new_rec.RFND_3_DT                                     := :new.RFND_3_DT                ;
      new_rec.INIT_RET_INDC                                 := :new.INIT_RET_INDC            ;
      new_rec.RFND_4_DT                                     := :new.RFND_4_DT                ;
      new_rec.FINAL_RET_INDC                                := :new.FINAL_RET_INDC           ;
      new_rec.INT_PD_TO_DT                                  := :new.INT_PD_TO_DT             ;
      new_rec.UNITARY_COMB_INDC                             := :new.UNITARY_COMB_INDC        ;
      new_rec.PPIS_ST_3_ADDR                                := :new.PPIS_ST_3_ADDR           ;
      new_rec.PPIS_ST_1_ADDR                                := :new.PPIS_ST_1_ADDR           ;
      new_rec.PPIS_CHK_BOX                                  := :new.PPIS_CHK_BOX             ;
      new_rec.PPIS_PHN_NMBR                                 := :new.PPIS_PHN_NMBR            ;
      new_rec.INTERNAL_ID                                   := :new.INTERNAL_ID              ;
      new_rec.PPIS_ST_2_ADDR                                := :new.PPIS_ST_2_ADDR           ;
      new_rec.PPIS_CTRY_CD                                  := :new.PPIS_CTRY_CD             ;
      new_rec.PPIS_CTY_ADDR                                 := :new.PPIS_CTY_ADDR            ;
      new_rec.PPIS_CTRY_OLD                                 := :new.PPIS_CTRY_OLD            ;
      new_rec.PPIS_STATE_CD                                 := :new.PPIS_STATE_CD            ;
      new_rec.EXT_ATT_INDC                                  := :new.EXT_ATT_INDC             ;
      new_rec.PPIS_ZIP                                      := :new.PPIS_ZIP                 ;
      new_rec.SCORP_INDC                                    := :new.SCORP_INDC               ;
      new_rec.PPIS_ID                                       := :new.PPIS_ID                  ;
      new_rec.PPIS_ID_TP_CD                                 := :new.PPIS_ID_TP_CD            ;
      new_rec.APPORT_METHOD_CD                              := :new.APPORT_METHOD_CD         ;
      new_rec.INS_CO_INDC                                   := :new.INS_CO_INDC              ;
      new_rec.PER_BEGIN_DT                                  := :new.PER_BEGIN_DT             ;
      new_rec.PER_END_DT                                    := :new.PER_END_DT               ;
      new_rec.FORM_DT                                       := :new.FORM_DT                  ;
      new_rec.FORM_TYPE_ID                                  := :new.FORM_TYPE_ID             ;
      new_rec.NOL_CARRYBACK_CD                              := :new.NOL_CARRYBACK_CD         ;
      new_rec.FARM_COOP_INDC                                := :new.FARM_COOP_INDC           ;
      new_rec.ADD_DT                                        := :new.ADD_DT                   ;
      new_rec.ADD_ID                                        := :new.ADD_ID                   ;
      new_rec.UPD_DT                                        := :new.UPD_DT                   ;
      new_rec.UPD_ID                                        := :new.UPD_ID                   ;
      new_rec.VENDOR_CD                                     := :new.VENDOR_CD                ;
      new_rec.RPTD_HLTHINSASN_CR_AMT                        := :new.RPTD_HLTHINSASN_CR_AMT   ;
      new_rec.CALC_HLTHINSASN_CR_AMT                        := :new.CALC_HLTHINSASN_CR_AMT   ;
      new_rec.RPTD_GIT_FINAL_AMT                            := :new.RPTD_GIT_FINAL_AMT       ;
      new_rec.CALC_GIT_FINAL_AMT                            := :new.CALC_GIT_FINAL_AMT       ;
      new_rec.FISCAL_YR_CD                                  := :new.FISCAL_YR_CD             ;
      new_rec.RPTD_BONUS_DEPR_AMT                           := :new.RPTD_BONUS_DEPR_AMT      ;
      new_rec.CALC_BONUS_DEPR_AMT                           := :new.CALC_BONUS_DEPR_AMT      ;
      new_rec.RPTD_PREV_CRYFWD_AMT                          := :new.RPTD_PREV_CRYFWD_AMT     ;
      new_rec.CALC_PREV_CRYFWD_AMT                          := :new.CALC_PREV_CRYFWD_AMT     ;
      new_rec.RPTD_DOM_PROD_DED_AMT                         := :new.RPTD_DOM_PROD_DED_AMT    ;
      new_rec.CALC_DOM_PROD_DED_AMT                         := :new.CALC_DOM_PROD_DED_AMT    ;
      new_rec.RPTD_XS_IRC_DED_AMT                           := :new.RPTD_XS_IRC_DED_AMT      ;
      new_rec.CALC_XS_IRC_DED_AMT                           := :new.CALC_XS_IRC_DED_AMT      ;
      new_rec.RPTD_COAL_CR_AMT                              := :new.RPTD_COAL_CR_AMT         ;
      new_rec.CALC_COAL_CR_AMT                              := :new.CALC_COAL_CR_AMT         ;
      new_rec.SCHD_M_INDC                                   := :new.SCHD_M_INDC              ;
      new_rec.INTANG_EXP_INDC                               := :new.INTANG_EXP_INDC          ;
      new_rec.RPTD_INTANGEXP_ADJ_AMT                        := :new.RPTD_INTANGEXP_ADJ_AMT   ;
      new_rec.CALC_INTANGEXP_ADJ_AMT                        := :new.CALC_INTANGEXP_ADJ_AMT   ;
      new_rec.AGIT_CONSOL_INDC                              := :new.AGIT_CONSOL_INDC         ;
      new_rec.INCRP_DT                                      := :new.INCRP_DT                 ;
      new_rec.INCRP_STATE_CD                                := :new.INCRP_STATE_CD           ;
      new_rec.COMMERCIAL_ST_CD                              := :new.COMMERCIAL_ST_CD         ;
      new_rec.INIT_IN_RTN_YR                                := :new.INIT_IN_RTN_YR           ;
      new_rec.REC_LOC_ADDR                                  := :new.REC_LOC_ADDR             ;
      new_rec.EST_TAX_OTH_FID_INDC                          := :new.EST_TAX_OTH_FID_INDC     ;
      new_rec.FED_1120_CONSOL_INDC                          := :new.FED_1120_CONSOL_INDC     ;
      new_rec.UNTRY_MTRL_CHG_INDC                           := :new.UNTRY_MTRL_CHG_INDC      ;
      new_rec.FED_ELEC_CONF_NBRV                            := :new.FED_ELEC_CONF_NBRV       ;
      new_rec.RTN_SRC_CD                                    := :new.RTN_SRC_CD               ;
      new_rec.BANKRPT_INDC                                  := :new.BANKRPT_INDC             ;
      new_rec.FIT_FILER_INDC                                := :new.FIT_FILER_INDC           ;
      new_rec.NAME_CHG_INDC                                 := :new.NAME_CHG_INDC            ;
      new_rec.REMIC_INDC                                    := :new.REMIC_INDC               ;
      new_rec.INPUT_SRC_METH_CD                             := :new.INPUT_SRC_METH_CD        ;
      new_rec.ANNULZN_INDC                                  := :new.ANNULZN_INDC             ;
      new_rec.RPTD_REIT_DIV_DED_AMT                         := :new.RPTD_REIT_DIV_DED_AMT    ;
      new_rec.CALC_REIT_DIV_DED_AMT                         := :new.CALC_REIT_DIV_DED_AMT    ;
      new_rec.RPTD_PAT_INCM_AMT                             := :new.RPTD_PAT_INCM_AMT        ;
      new_rec.CALC_PAT_INCM_AMT                             := :new.CALC_PAT_INCM_AMT        ;
      new_rec.RPTD_MDA_PROD_CR_AMT                          := :new.RPTD_MDA_PROD_CR_AMT     ;
      new_rec.CALC_MDA_PROD_CR_AMT                          := :new.CALC_MDA_PROD_CR_AMT     ; 
      IF inserting THEN                                              
        v_change_type := 'INSERT';                                   
      ELSIF updating THEN                                            
        v_change_type := 'UPDATE';                                   
      ELSIF deleting THEN                                            
        v_change_type := 'DELETE';
      END IF;
      --call to do base table insert, update or delete          
        RSDGP004.bus_ta_form_97A(in_event_user      => user,
                                 in_event_source    => v_event_source,
                                 in_change_type     => v_change_type,
                                 in_old_rec         => old_rec,
                                 in_new_rec         => new_rec);
      -- call to build xml for rti_table_audits and queues        --xdbaud
        RSDGP001.bus_ta_form_97A(in_event_user      => user,
                                 in_event_source    => v_event_source,
                                 in_change_type     => v_change_type,
                                 in_old_rec         => old_rec,
                                 in_new_rec         => new_rec);
    END;}
    Edited by: SDL on Feb 17, 2009 4:54 AM
    Edited by: SDL on Feb 17, 2009 5:09 AM
    Edited by: SDL on Feb 17, 2009 5:14 AM

    Here is the insert code that is in the package RSDGP004 that does the insert into the base table for the view.
    I think maybe this is what you meant, when you asked for the code that does the insert?
    {ELSIF in_change_type = 'INSERT' THEN
                levent := 'INSERT';
                INSERT INTO rti_bus_ta_forms(
                                               add_dt         
                                            ,  add_id         
                                            ,  tran_id        
                                            ,  doc_loc_nbr    
                                            ,  field_009_amt  
                                            ,  field_01_txt   
                                            ,  field_010_amt  
                                            ,  field_015_amt  
                                            ,  field_016_amt  
                                            ,  field_02_txt   
                                            ,  field_029_amt  
                                            ,  field_03_txt   
                                            ,  field_030_amt  
                                            ,  field_039_amt  
                                            ,  field_04_txt   
                                            ,  field_040_amt  
                                            ,  field_041_amt  
                                            ,  field_042_amt  
                                            ,  field_05_txt   
                                            ,  field_053_amt  
                                            ,  field_054_amt  
                                            ,  field_06_txt   
                                            ,  field_063_amt  
                                            ,  field_064_amt  
                                            ,  field_067_amt  
                                            ,  field_068_amt  
                                            ,  field_07_txt   
                                            ,  field_079_amt  
                                            ,  field_08_txt   
                                            ,  field_080_amt  
                                            ,  field_085_amt  
                                            ,  field_086_amt  
                                            ,  field_09_txt   
                                            ,  field_091_amt  
                                            ,  field_092_amt  
                                            ,  field_095_amt  
                                            ,  field_096_amt  
                                            ,  field_10_txt   
                                            ,  field_101_amt  
                                            ,  field_102_amt  
                                            ,  field_103_amt  
                                            ,  field_104_amt  
                                            ,  field_105_amt  
                                            ,  field_106_amt  
                                            ,  field_11_txt   
                                            ,  field_111_amt  
                                            ,  field_112_amt  
                                            ,  field_12_txt   
                                            ,  field_125_amt  
                                            ,  field_126_amt  
                                            ,  field_127_amt  
                                            ,  field_128_amt  
                                            ,  field_13_txt   
                                            ,  field_131_amt  
                                            ,  field_132_amt  
                                            ,  field_137_amt  
                                            ,  field_138_amt  
                                            ,  field_139_amt  
                                            ,  field_14_txt   
                                            ,  field_140_amt  
                                            ,  field_141_amt  
                                            ,  field_142_amt  
                                            ,  field_143_amt  
                                            ,  field_144_amt  
                                            ,  field_147_amt  
                                            ,  field_148_amt  
                                            ,  field_149_amt  
                                            ,  field_15_txt   
                                            ,  field_150_amt  
                                            ,  field_151_amt  
                                            ,  field_152_amt  
                                            ,  field_153_amt  
                                            ,  field_154_amt  
                                            ,  field_16_txt   
                                            ,  field_165_amt  
                                            ,  field_166_amt  
                                            ,  field_167_amt  
                                            ,  field_168_amt  
                                            ,  field_169_amt  
                                            ,  field_170_amt  
                                            ,  field_171_amt  
                                            ,  field_172_amt  
                                            ,  field_181_amt  
                                            ,  field_182_amt  
                                            ,  field_175_amt  
                                            ,  field_176_amt  
                                            ,  field_177_amt  
                                            ,  field_178_amt  
                                            ,  field_179_amt  
                                            ,  field_180_amt  
                                            ,  field_193_amt  
                                            ,  field_194_amt  
                                            ,  field_195_amt  
                                            ,  field_196_amt  
                                            ,  field_197_amt  
                                            ,  field_198_amt  
                                            ,  field_199_amt  
                                            ,  per_begin_dt   
                                            ,  per_end_dt     
                                            ,  form_dt        
                                            ,  form_type_id   
                                            ,  field_31_txt   
                                            ,  field_201_amt  
                                            ,  upd_dt         
                                            ,  upd_id         
                                            ,  field_27_txt   
                                            ,  field_006_amt  
                                            ,  field_007_amt  
                                            ,  field_008_amt  
                                            ,  field_005_amt  
                                            ,  field_21_txt   
                                            ,  field_22_txt   
                                            ,  field_23_txt   
                                            ,  field_020_amt  
                                            ,  field_021_amt  
                                            ,  field_022_amt  
                                            ,  field_023_amt  
                                            ,  field_024_amt  
                                            ,  field_025_amt  
                                            ,  field_026_amt  
                                            ,  field_027_amt  
                                            ,  field_028_amt  
                                            ,  field_031_amt  
                                            ,  field_183_amt  
                                            ,  field_184_amt  
                                            ,  field_034_amt  
                                            ,  field_035_amt  
                                            ,  field_036_amt  
                                            ,  field_191_amt  
                                            ,  field_192_amt  
                                            ,  field_188_amt  
                                            ,  field_189_amt  
                                            ,  field_17_txt   
                                            , field_18_txt    
                                            , field_33_txt    
                                            , field_19_txt    
                                            , field_39_txt    
                                            , field_20_txt    
                                            ,  field_185_amt  
                                            ,  field_186_amt  
                                            , field_24_txt   )
                                     VALUES(
                                            in_new_rec.ADD_DT,                       
                                            in_new_rec.ADD_ID,                       
                                            in_new_rec.TRAN_ID,                      
                                            in_new_rec.DOC_LOC_NBR,                  
                                            in_new_rec.RPTD_BAL_DUE_AMT,             
                                            in_new_rec.EXT_ATT_INDC,                 
                                            in_new_rec.CALC_BAL_DUE_AMT,             
                                            in_new_rec.RPTD_REL_TAX_AMT,             
                                            in_new_rec.CALC_REL_TAX_AMT,             
                                            in_new_rec.EXT_FILED_INDC,               
                                            in_new_rec.RPTD_EST_PMT_AMT,             
                                            in_new_rec.PPIS_CTRY_CD,                 
                                            in_new_rec.CALC_EST_PMT_AMT,             
                                            in_new_rec.RPTD_HRAMT_AMT,               
                                            in_new_rec.PPIS_ST_3_ADDR,               
                                            in_new_rec.CALC_HRAMT_AMT,               
                                            in_new_rec.RPTD_CMBTX_AMT,               
                                            in_new_rec.CALC_CMBTX_AMT,               
                                            in_new_rec.INTERNAL_ID,                  
                                            in_new_rec.RPTD_LTOT_AMT,                
                                            in_new_rec.CALC_LTOT_AMT,                
                                            in_new_rec.PPIS_ID,                      
                                            in_new_rec.RPTD_INT_DUE_AMT,             
                                            in_new_rec.CALC_INT_DUE_AMT,             
                                            in_new_rec.RPTD_LATE_PEN_AMT,            
                                            in_new_rec.CALC_LATE_PEN_AMT,            
                                            in_new_rec.PPIS_ID_TP_CD,                
                                            in_new_rec.RPTD_HRNTX_AMT,               
                                            in_new_rec.PPIS_NAME,                    
                                            in_new_rec.CALC_HRNTX_AMT,               
                                            in_new_rec.RPTD_OTH_PMT_AMT,             
                                            in_new_rec.CALC_OTH_PMT_AMT,             
                                            in_new_rec.PPIS_ST_1_ADDR,               
                                            in_new_rec.RPTD_OVERPMT_CRED_AMT,        
                                            in_new_rec.CALC_OVERPMT_CRED_AMT,        
                                            in_new_rec.RPTD_PRIOR_EXT_PMT_AMT,       
                                            in_new_rec.CALC_PRIOR_EXT_PMT_AMT,       
                                            in_new_rec.PPIS_ST_2_ADDR,               
                                            in_new_rec.RPTD_HREPT_AMT,               
                                            in_new_rec.CALC_HREPT_AMT,               
                                            in_new_rec.RPTD_HRSUB_AMT,               
                                            in_new_rec.CALC_HRSUB_AMT,               
                                            in_new_rec.RPTD_REFUND_DUE_AMT,          
                                            in_new_rec.CALC_REFUND_DUE_AMT,          
                                            in_new_rec.PPIS_CTY_ADDR,                
                                            in_new_rec.RPTD_RENT_AMT,                
                                            in_new_rec.CALC_RENT_AMT,                
                                            in_new_rec.PPIS_STATE_CD,                
                                            in_new_rec.RPTD_SU_TAX_AMT,              
                                            in_new_rec.CALC_SU_TAX_AMT,              
                                            in_new_rec.RPTD_HRSJT_AMT,               
                                            in_new_rec.CALC_HRSJT_AMT,               
                                            in_new_rec.PPIS_ZIP,                     
                                            in_new_rec.RPTD_SUPP_NI_TAX1_AMT,        
                                            in_new_rec.CALC_SUPP_NI_TAX1_AMT,        
                                            in_new_rec.RPTD_TAX_DUE_AMT,             
                                            in_new_rec.CALC_TAX_DUE_AMT,             
                                            in_new_rec.RPTD_TOT_DUE_AMT,             
                                            in_new_rec.PPIS_PHN_NMBR,                
                                            in_new_rec.CALC_TOT_DUE_AMT,             
                                            in_new_rec.RPTD_TOT_OVERPMT_AMT,         
                                            in_new_rec.CALC_TOT_OVERPMT_AMT,         
                                            in_new_rec.RPTD_TOT_PMT_AMT,             
                                            in_new_rec.CALC_TOT_PMT_AMT,             
                                            in_new_rec.RPTD_TOT_REL_TAX_AMT,         
                                            in_new_rec.CALC_TOT_REL_TAX_AMT,         
                                            in_new_rec.RPTD_UNDERPMT_PEN_AMT,        
                                            in_new_rec.PPIS_CHK_BOX,                 
                                            in_new_rec.CALC_UNDERPMT_PEN_AMT,        
                                            in_new_rec.RPTD_HTOT_AMT,                
                                            in_new_rec.CALC_HTOT_AMT,                
                                            in_new_rec.RPTD_HRBAL_AMT,               
                                            in_new_rec.CALC_HRBAL_AMT,               
                                            in_new_rec.PPIS_CTRY_OLD,                
                                            in_new_rec.RPTD_LRNTX_AMT,               
                                            in_new_rec.CALC_LRNTX_AMT,               
                                            in_new_rec.RPTD_LRBAL_AMT,               
                                            in_new_rec.CALC_LRBAL_AMT,               
                                            in_new_rec.RPTD_LREPT_AMT,               
                                            in_new_rec.CALC_LREPT_AMT,               
                                            in_new_rec.RPTD_LRSUB_AMT,               
                                            in_new_rec.CALC_LRSUB_AMT,               
                                            in_new_rec.RPTD_LRSJT_AMT,               
                                            in_new_rec.CALC_LRSJT_AMT,               
                                            in_new_rec.RPTD_LRAMT_AMT,               
                                            in_new_rec.CALC_LRAMT_AMT,               
                                            in_new_rec.RPTD_AGI_TAX_AMT,             
                                            in_new_rec.CALC_AGI_TAX_AMT,             
                                            in_new_rec.RPTD_TOT_UNREL_TAX_AMT,       
                                            in_new_rec.CALC_TOT_UNREL_TAX_AMT,       
                                            in_new_rec.RPTD_GI_TAX_AMT,              
                                            in_new_rec.CALC_GI_TAX_AMT,              
                                            in_new_rec.RPTD_TAX_DUE2_AMT,            
                                            in_new_rec.CALC_TAX_DUE2_AMT,            
                                            in_new_rec.RPTD_TOT_URL_AMT,             
                                            in_new_rec.CALC_TOT_URL_AMT,             
                                            in_new_rec.REMIT_AMT,                    
                                            in_new_rec.PER_BEGIN_DT,                 
                                            in_new_rec.PER_END_DT,                   
                                            in_new_rec.FORM_DT,                      
                                            in_new_rec.FORM_TYPE_ID,                 
                                            in_new_rec.NOL_CARRYBACK_CD,             
                                            in_new_rec.CALC_IN_NOL_AMT,              
                                            in_new_rec.UPD_DT,
                                            in_new_rec.UPD_ID,               
                                            in_new_rec.VENDOR_CD,                    
                                            in_new_rec.RPTD_PREV_CRYFWD_AMT,         
                                            in_new_rec.CALC_PREV_CRYFWD_AMT,         
                                            in_new_rec.RPTD_TOT_CRED_AMT,            
                                            in_new_rec.CALC_TOT_CRED_AMT,            
                                            in_new_rec.FISCAL_YR_CD,                 
                                            in_new_rec.INIT_RET_INDC,                
                                            in_new_rec.FINAL_RET_INDC,               
                                            in_new_rec.RPTD_FED_INCM_AMT,            
                                            in_new_rec.CALC_FED_INCM_AMT,            
                                            in_new_rec.RPTD_BONUS_DEPR_AMT,          
                                            in_new_rec.CALC_BONUS_DEPR_AMT,          
                                            in_new_rec.RPTD_SPF_DEDUCT_AMT,          
                                            in_new_rec.CALC_SPF_DEDUCT_AMT,          
                                            in_new_rec.RPTD_GOVT_INT_AMT,            
                                            in_new_rec.CALC_GOVT_INT_AMT,            
                                            in_new_rec.RPTD_URL_SUBTOT_AMT,          
                                            in_new_rec.CALC_URL_SUBTOT_AMT,          
                                            in_new_rec.RPTD_APPORT_PCNT,             
                                            in_new_rec.CALC_APPORT_PCNT,             
                                            in_new_rec.RPTD_IN_INCM_AMT,             
                                            in_new_rec.CALC_IN_INCM_AMT,             
                                            in_new_rec.RPTD_IN_NOL_AMT,              
                                            in_new_rec.RPTD_TOT_URL_INCM_AMT,        
                                            in_new_rec.CALC_TOT_URL_INCM_AMT,        
                                            in_new_rec.RPTD_TOT_MOD_AMT,             
                                            in_new_rec.CALC_TOT_MOD_AMT,             
                                            in_new_rec.SCHD_M_INDC,                  
                                            in_new_rec.FED_ELEC_CONF_NBRV,           
                                            in_new_rec.RTN_SRC_CD,                   
                                            in_new_rec.BANKRPT_INDC,                 
                                            in_new_rec.NAME_CHG_INDC,                
                                            in_new_rec.INPUT_SRC_METH_CD,            
                                            in_new_rec.RPTD_PAT_INCM_AMT,            
                                            in_new_rec.CALC_PAT_INCM_AMT,            
                                            in_new_rec.ANNULZN_INDC) ;}

  • Returning Clause out parameter not working

    I have Oracle 11g (I think?) and VS2010.
    I am using an insert statement with the returning clause to return an identity value that is created by a Sequence/Trigger. The problem I am having is that it is not updating the out parameter in C#. Here's some sample code. I have tested the insert statement in SQL Developer and it works. The C# statement does do the insert, but the out parameter remains null. I have tried ParameterDirection as ReturnValue, InputOutput, and Output. None of those worked. The output value remains null no matter what I try to do. I even lifted this example (Oracle Sequences), ran it, and it also errored and is not returning out parameters. (Error Msg: Unable to cast object of type 'Oracle.DataAccess.Types.OracleDecimal' to type 'System.IConvertible'.Couldn't store <null> in ID Column.  Expected type is Int32.).
    I have searched and searched the web over and I cannot figure out why this does not work. Any help would be most appreciated!!
    MyTable
    MyTable_ID  Number (38)
    Note            Varchar2 (500 byte)
    =================================================
                    try
                        if (insertCmd.Connection.State == ConnectionState.Closed)
                            insertCmd.Connection.Open();
                        int recs = insertCmd.ExecuteNonQuery();
                        this.Id = Convert.ToInt32(insertCmd.Parameters[":Id"].Value);
                    catch (Exception err) {  }
                    finally {  insertCmd.Connection.Close(); }
    private OracleCommand insertCmd
                get
                    OracleCommand insCmd = Context.DataBaseConnection.CreateCommand();
                    insCmd.CommandText = string.Format(
                        @"Insert into MyTable (Note)
                          Values (:Note)
                          Returning MyTable_ID into :Id");
                    insCmd.Parameters.Clear();
                    OracleParameter noteParam = new OracleParameter(":Note", OracleDbType.Varchar2, Note, ParameterDirection.Input);
                    OracleParameter idParam = new OracleParameter(":Id", OracleDbType.Int32, 38, "Calibration_Session_Id");
                    idParam.Direction = ParameterDirection.Output;
                    insCmd.Parameters.Add(idParam);
                    insCmd.Parameters.Add(noteParam);
                    insCmd.BindByName = true;
                    return insCmd;

    Okay, I changed my insert command text to this...
    insCmd.CommandText = string.Format(
                        @"Begin
                             Insert into MyTable (Note)
                             Values (:Note)
                             Returning MyTable_ID into :Id;
                             Commit; End;");
    There was no change. Am I doing an explicit transaction wrong?

  • Error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable

    error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
    I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
    Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
    pattern is like:
    success
    success
    success
    success
    Error
    success
    success
    success
    success
    success
    success
    error
    success

    Hi,
    As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
    the log files in the server side:
    https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

  • HT4864 I am getting a triangle with an exclamation point next to my inbox...it says: There may be a problem with the mail server or network. Verify the settings for account "MobileMe" or try again.  The server returned the error: Mail was unable to log in

    I can send but cannot recieve email
    This is the messege I am gewtting:
    There may be a problem with the mail server or network. Verify the settings for account “MobileMe” or try again.
    The server returned the error: Mail was unable to log in to the IMAP server “p02-imap.mail.me.com” using “Password” authentication. Verify that your account settings are correct.
    The server returned the error: Service temporarily unavailable

    Also if I go to system preferences accounts and re-enter the password it fixes the glitch sometimes.

  • After Upgrade OBI 10g to 11g:Odbc driver returned an error - SQLExecDirectW

    Hi all,
    for an OBI upgrade from 10g to 11g I used a RPD and Webcatalog based on a remote machine other than my local machine. Firstable I am making the tests on a Linux Virtual machine, which uses the Sample Lite version from Oracle.
    I made the following steps:
    1. I upgraded the RPD and Webcatalog. It worked without any errors.
    2. I set the static variable BI_EE_HOME via Administration Tool to the path in the Linux machine.
    --> Here I am not sure if the set path is correct. It begins with: \bi\ ...\instances\...\coreapplication_obis1 (... : I can't mention here the whole path name).
    --> When the OBI Server is installed in Windows, the mentioned static variable points to something like 'C:\<install folder>\...\coreapplication_obis1'
    --> Question: is the begin of my set path correct?. I set that pointing to the Linux OBI Server, because the OBI Server is installed on Linux.
    Problem:
    After login as the user in RPD: Administrator/<Password for my upgraded RPD> I can see the links in the Catalog and the Dashboards links. But I can not see any values, any Reports when going through the links.
    For example when trying to see a Dashboard with date 12.02.2011it happens:
    Odbc driver returned an error (SQLExecDirectW).
    Status: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] general error.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 43119] Query Failed:
    [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
    at OCI call OCIServerAttach.
    [nQSError: 17014] Could not connect to Oracle database. (HY000)
    SQL Issued: SELECT "Dimension_-_My Dimension"."MyDimension" saw_0 FROM "Accounting (ACC)" WHERE "Dimension_-_My Dimension"."MyDimension" LIKE 'J%' ORDER BY saw_0
    I think its not retrieving the data from the remote database, because I don't have the data of the remote database in my local. I think the OBI Server still is pointing to the local virtual machine Oracle database.
    Can anybody tell me what happens here and how can I solve this problem?.
    I would appreciate any help....

    Hi gerardnico,
    I've tried many things and did as in your articles, but I don't have success with that.
    These are the things I did:
    1. I searched for the file tnsnames.ora in my Linux virtual machine. I could find it in many paths:
    /.../Oracle_BI1/network/admin/samples/tnsnames.ora
    /.../oracle/xe/app/oracle/product/10.2.0/server/hs/admin/tnsnames.ora.sample
    /.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
    /.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/samples/tnsnames.ora
    /.../oracle/xe/app/oracle/product/10.2.0/server/network/admin/temp/tnsnames.ora
    /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin
    in the last path I found the listener.ora as well.
    2. I took the tnsnames.ora from the last path, because the ORACLE_HOME points to /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    3. I edited the tnsnames.ora this way:
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host_of_the_remote_machine)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = database_name_of_the_remote_machine)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = database_SID_of_the_remote_machine)
    (PRESENTATION = RO)
    4. I made a backup of the tnsnames.ora in path /.../Oracle_BI1/network/admin/samples/tnsnames.ora
    and copied the tnsnames.ora from /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin to the Oracle_BI1 path
    5. I set the TNS_ADMIN to /.../usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin
    6. I restarted the BI Server
    No success in what I did. The error is still there.
    7. I've tried also: sqlplus database_user_remote_machine/database_password_remote_machine@database_SID_remote_machine
    I didn't get the connection:
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 16 04:36:10 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name: database_user_remote_machine
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    What am I doing wrong here?. I am still thinking that I need the import of the database.
    Additional SID=Service-Name=Database-name in the remote machine.

  • When I attempt to sign up for the Samsung website using Firefox on my macbook, it returns an error that the random question answer is wrong

    I was attempting to create a user at this site:
    http://www.samsunggalaxys3forum.com/forum/register.php?do=addmember
    It asks a "random" questions "Floors are horizontal, walls are ___?" When I hit submit, it returns an error that the answer was wrong. I tried several times using my macbook running firefox.
    I get to work, where I am using an intel based machine running Windows 7, IE 9 and am able to register on the site and answer the question with no problem.
    I have had the same problem on sites that use captcha - I cannot get past inputting the captcha phrase, as it returns an error every time, while using IE9 is problem free.
    Is there something wrong with my setup of Firefox?

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Power BI analysis services connector - the remote server returned an error (403)

    Hi all, does any one have any suggestions what to try to identify the configuration problem I have?
    I have, a SSAS 2012 tabular instance with SP2, there is a database on the instance with a read role with everyone assigned permissions. 
    When configuring the Power BI analysis services connector, at the point where you enter Friendly Name, Description and Friendly error message, when you click next I receive the error "The remote server returned an error (403)." 
    I've tested connecting to the database from Excel on a desktop and connect fine.
    I don't use a "onmicrosoft" account so don't have that problem to deal with.
    We use Power BI Pro with our Office 365. As far as I can tell that part is working ok as I pass that stage of the configuration with a message saying connected to Power BI.
    The connector is installed on the same server as tabular services, its a Win2012 Standard server. The tabular instance is running a domain account that is the admin account for the instance (this is a dev environment) that account is what I've used in the
    connector configuration. It's also a local admin account. There is no gateway installed on the server.
    Any help would be greatly appreciated, thanks, Brian
    Brian Searle

    Brian-
    One other common issue I've seen is the UPN not quite matching. Log onto the SSAS server as the user who's logged into Power BI. Then open a command prompt and run:
    whoami /upn
    Hopefully the UPN it says will match your EffectiveUserName test and will match exactly how you're signing into the Power BI site.
    If that doesn't work, your best bet is to go to
    http://support.powerbi.com/ and click Contact Support and describe this situation and someone from the Power BI support team should get in touch with you to troubleshoot.
    http://artisconsulting.com/Blogs/GregGalloway

  • Provider-hosted Apps debug error: The remote server returned an error: (401) unauthorised

    Hi,
    Any help appreciated!!
    I'm getting this error: "The remote server returned an error: (401) unauthorised when I debug a provider-hosted app.  I get the error on this line:  
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    See code below
    I created a high trust development environment following the instructions provided here:
    http://msdn.microsoft.com/en-us/library/office/fp179901(v=office.15).aspx and
    http://msdn.microsoft.com/library/office/fp179923
    I created a provider-hosted app with the intent to:
    create a SharePoint list in the appweb
    Use self-signed certificate, tokenhepler.cs and sharepointcontext.cs to retrieve current user context and access on SharePoint.  (No changes were made to tokenhelper.cs and sharepointcontext.cs)
    retrieve list items from the SharePoint list in a button click event handler on a default.aspx of the remote web
    What happens:
    The app is deployed successfully to the Dev site
    The SharePoint feature is deployed and activated
    The default.aspx page of the remote web loads
    The error (see image) is returned on clicking of the button
    My environment is an on-premise SharePoint 2013 with AD and my dev box is standalone windows 8.1 running Visual Studio Professional 2013 Update 3.
    The code block below is a copy of the default.aspx code-behind
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Microsoft.SharePoint.Client;
    using Microsoft.IdentityModel.S2S.Tokens;
    using System.Net;
    using System.IO;
    using System.Xml;
    using System.Data;
    using System.Xml.Linq;
    using System.Xml.XPath;
    namespace Idea.GeneratorWeb
    public partial class Default : System.Web.UI.Page
    SharePointContextToken contextToken;
    string accessToken;
    Uri sharepointUrl;
    protected void Page_PreInit(object sender, EventArgs e)
    Uri redirectUrl;
    switch (SharePointContextProvider.CheckRedirectionStatus(Context, out redirectUrl))
    case RedirectionStatus.Ok:
    return;
    case RedirectionStatus.ShouldRedirect:
    Response.Redirect(redirectUrl.AbsoluteUri, endResponse: true);
    break;
    case RedirectionStatus.CanNotRedirect:
    Response.Write("An error occurred while processing your request.");
    Response.End();
    break;
    protected void Page_Load(object sender, EventArgs e)
    //// The following code gets the client context and Title property by using TokenHelper.
    //// To access other properties, the app may need to request permissions on the host web.
    var spContext = SharePointContextProvider.Current.GetSharePointContext(Context);
    //var spContext = new ClientContext("MySPDevInstance");
    //spContext.Credentials = new NetworkCredential("username", "password");
    //using (var clientContext = spContext.CreateUserClientContextForSPHost())
    // clientContext.Load(clientContext.Web, web => web.Title);
    // clientContext.ExecuteQuery();
    // Response.Write(clientContext.Web.Title);
    string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);
    if (contextTokenString != null)
    // Get context token
    contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, Request.Url.Authority);
    // Get access token
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    accessToken = TokenHelper.GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken;
    // Pass the access token to the button event handler.
    Button1.CommandArgument = accessToken;
    protected void Button1_Click(object sender, EventArgs e)
    // Retrieve the access token that the Page_Load method stored
    // in the button's command argument.
    string accessToken = ((Button)sender).CommandArgument;
    if (IsPostBack)
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    // REST/OData URL section
    string oDataUrl = "/_api/Web/lists/getbytitle('Diagrams In Idea Generator')/items?$select=Title,Diagram,SharingStatus";
    // HTTP Request and Response construction section
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + oDataUrl);
    request.Method = "GET";
    request.Accept = "application/atom+xml";
    request.ContentType = "application/atom+xml;type=entry";
    request.Headers.Add("Authorization", "Bearer " + accessToken);
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    // Response markup parsing section
    XDocument oDataXML = XDocument.Load(response.GetResponseStream(), LoadOptions.None);
    XNamespace atom = "http://www.w3.org/2005/Atom";
    XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
    XNamespace m = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
    List<XElement> entries = oDataXML.Descendants(atom + "entry")
    .Elements(atom + "content")
    .Elements(m + "properties")
    .ToList();
    var entryFieldValues = from entry in entries
    select new
    Character = entry.Element(d + "Title").Value,
    Actor = entry.Element(d + "Diagram").Value,
    CastingStatus = entry.Element(d + "SharingStatus").Value
    GridView1.DataSource = entryFieldValues;
    GridView1.DataBind();
    Any ideas what I might be doing wrong

    Hi ,
    Use the below code
    Public string GetAccessToken(){
    string sharePointSiteUrlHost =  Page.Request["SPHostUrl"].Tostring();
    string AccessToken = tokenHelper.GetS2SAccessTokenWithWindowsIdentity(sharePointSiteUrlHost, Request.LogonUserIdentity);
    return accessToken;
    Than initialize the ClientCOntext with the below Method
     private static ClientContext GetClientContextWithAccessTokenString(string targetUrl, object accessToken)
                ClientContext clientContext = new ClientContext(targetUrl);
                clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous;
                clientContext.FormDigestHandlingEnabled = false;
                clientContext.ExecutingWebRequest +=
                    delegate(object oSender, WebRequestEventArgs webRequestEventArgs)
                        webRequestEventArgs.WebRequestExecutor.WebRequest.UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
                        webRequestEventArgs.WebRequestExecutor.RequestHeaders["Authorization"] =
                            "Bearer " + accessToken;
                return clientContext;
    use this clientCOntext and it will work.
    Do not use
    SharePointContextProvider
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • [URGENT] The remote server returned an error: (503) Server Unavailable

    Hi All,
    Im using vb.net to write a web services. After couple of days the stress test on all the function, my exception catch sometimes is return the error message as a title but sometimes is not, why is this problems? Please advice.
    Below is the coding to connect on the crmod server and this sample code is provided from oracle webservices sample code,
    Public Sub Establish()
    If Not sessionId Is Nothing Then
    Destroy()
    End If
    ' create a container for an HTTP request
    Dim req As HttpWebRequest
    req = WebRequest.Create(GetLogInURL())
    'username and password are passed as HTTP headers
    req.Headers.Add("UserName", UserName)
    req.Headers.Add("Password", Password)
    'req.Credentials = New NetworkCredential(UserName, Password)
    req.UserAgent = "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0"
    req.KeepAlive = False
    req.Proxy = Nothing
    ' cookie container has to be added to request in order to
    ' retrieve the cookie from the response.
    req.CookieContainer = New CookieContainer
    ' make the HTTP call
    Dim resp As HttpWebResponse
    resp = req.GetResponse()
    If resp.StatusCode = System.Net.HttpStatusCode.OK Then
    'store cookie for later...
    cookie = resp.Cookies("JSESSIONID")
    sessionId = cookie.Value
    End If
    End Sub

    Hi runndn2,
    Yes, absolutely. Please see my reply as below,
    (1) Are you running this single threaded? - is there more than one program running the same request?
    So far, what I did just a single thread. For example, I click on "functionA", after few seconds is display out result, i close the result pages then i submit the "functionA" again.
    (2) Do you have logic to re-try the request when you get a 503?
    I do, but the logic and retry to get the error message is very inconsistency. For example, I click on "functionA", it can display result and no error message within couple of times clicking. But sometimes even I first click on the same function already display out that error message.
    This really confusing where is the error came from, please advice for the possibility.
    Thanks :)

  • Getting "The remote server returned an error 503 server unavailable" in azure web jobs

    I have created one web
    job - on demand schedule under azure web site.  This web jobs contains .execmd(i.e.)
    Console Application.
    I am retrieving the data from SQL Azure database and uploaded the data in sharepoint online lists. (i.e.)I have uploaded the data to several(7) lists in each subsites. I have 3 subsites. 
    I am getting this error "The remote server returned an error 503 server unavailable", while uploaded the data into lists. 
    Full Error Message:
    Message - The remote server returned an error 503 server unavailable.
    StackTrace -    at System.Net.HttpWebRequest.GetResponse()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
    > cc525c: INFO]    at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
    This is not occur every time. Some time i didn't get any error data successfully uploaded in share point online list.
    Totally 4 hours taken uploaded the data into list for completed all 3 subsites. 
    If anyone know how to resolve this.
    Thanks,
    A.Ramu

    Hi,
    Per my understanding, there is an issue when uploading data from SQL Azure database to a SharePoint list in Online environment.
    For narrowing down the issue, I suggest you create a Console Application in Visual Studio without accessing the SQL Azure database and upload some sample data to the same SharePoint
    list to see if the issue still occurs intermittently.
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • What is javax.activation,how can I get it

    hello all the JavaMail need a class library called "javax.activation",but I don't know what mean is it,and how to get it ,how to use it... Thanks in advance, qingbt.

  • How to build complex object to be sent to a RESTful web service?

    Hi, I'm working with RESTful web services on J2EE 1.6. I create the database, generate the entities and generate the web services. I must implement Javascript clients and I don't want to use any open source for that. I have a simple example that work

  • Error building kdebase4-svn from AUR

    Anytime I try to build kdebase4-svn from AUR, I get the following error: [ 88%] Building CXX object kcontrol/access/CMakeFiles/kdeinit_kaccess.dir/kaccess.o In Datei, eingefügt von /tmp/yaourt-tmp-arch/aur-kdebase4-workspace-svn/kdebase4-workspace-sv

  • CONTROL PANEL LIQUID CRYSTAL DISPLAY HAS FADED

    THE DISPLAY WINDOW IS FADING OUT. DIFFICULT TO READ. IS THIS PANEL REPLACEABLE?

  • MDM Catalod data to ECC

    Hi, I have a requirement like the following. From MDM server, the catalog data will be maintained. From ECC, we need to pull the data from MDM catalog and create PR ( Purchase Requisition ) in ECC. How can we achieve this? Is it possible via PI?. If