Insert porb

Hi Experts,
I am getting one error when inseting data into table.i am pasting my code
here.please give me the solution.
[pre]
INSERT INTO   ARC.ARC_CUSTOMER_STAT_REPORT_1
(SELECT A.customer customer,
                     A.customer_number customer_number,
                 A.customer_id customer_id,
                 A.transaction_number transaction_number,
                 A.transaction_date transaction_date,
                     A.due_date due_date,
                     A.CLASS classes,
                     A.invoice_currency_code invoice_currency_code,
                     A.exchange_rate exchange_rate,
                     A.amount_due_remaining amount_due_remaining,
                     A.invoices_inv invoices_inv,
                     A.debit_memo debit_memo,
                     A.out_standing_amt out_standing_amt,
                     A.unapplied_credits unapplied_credits,
                 A.UNAPPLIED_RECEIPTS UNAPPLIED_RECEIPTS,
                     A.TYPE TYPE,
                     A.STATUS STATUS,
                     A.BATCH_NAME BATCH_NAME,
                 A.TRX_REFERENCE TRX_REFERENCE,
                     A.AMT_TYPE AMT_TYPE,
                     A.DAYS_LATE DAYS_LATE,
                 A.customer_trx_type_id customer_trx_type_id,
                     A.RECEIPT_NUMBER RECEIPT_NUMBER,
                 A.customer_trx_line_id customer_trx_line_id,
                     A.org_id org_id,
                     A.receipt_date receipt_date,
                 A.attribute1 attribute1,
                     A.amount_applied
            FROM (SELECT ra.customer_name customer,
                         ra.customer_number customer_number,
                         ra.customer_id customer_id,                              
                         ap.trx_number transaction_number,
                         ap.trx_date transaction_date,
                               ap.due_date due_date,
                               ap.CLASS CLASS,
                         ap.invoice_currency_code invoice_currency_code,
                               ap.exchange_rate exchange_rate,
                         ap.amount_due_remaining amount_due_remaining,
                         NVL((DECODE (ap.CLASS,'INV',ap.amount_due_remaining * NVL (ap.exchange_rate, 1))),0) invoices_inv,
                         NVL ((DECODE (ap.CLASS,'DM', ap.amount_due_remaining* NVL (ap.exchange_rate, 1))),0) debit_memo,
                         NVL((DECODE (ap.CLASS,'INV', ap.amount_due_remaining* NVL (ap.exchange_rate, 1))),0) +
                                      NVL ((DECODE (ap.CLASS,'DM', ap.amount_due_remaining * NVL (ap.exchange_rate, 1))),0) out_standing_amt,
                         NVL((DECODE (ap.CLASS,'CM', ap.amount_due_remaining * NVL (ap.exchange_rate, 1) )),0) unapplied_credits,
                               NVL(DECODE(AP.CLASS,'PMT',ROUND(AP.AMOUNT_DUE_REMAINING * NVL(AP.EXCHANGE_RATE,1),2)),0) UNAPPLIED_RECEIPTS,
                         ratt.TYPE TYPE,
                               ap.STATUS STATUS,
                               rbs.name BATCH_NAME,
                               rat.ct_reference TRX_REFERENCE,
                               'OPEN_BAL' AMT_TYPE,
                               MAX(TO_DATE(AP.DUE_DATE,'DD-MON-RRRR') - TO_DATE(RAT.TRX_DATE,'DD-MON-RRRR')) DAYS_LATE,
                               rat.cust_trx_type_id customer_trx_type_id,TO_CHAR(0) RECEIPT_NUMBER,ratl.customer_trx_line_id customer_trx_line_id,
                         ap.org_id org_id,NULL receipt_date, NULL attribute1,
                         0 amount_applied
                    FROM ar_payment_schedules_all ap,
                         apps.ra_customer_trx_all rat,
                         apps.ra_cust_trx_types_all ratt,
                         hz_cust_site_uses_all hzc,
                         hz_cust_acct_sites_all hzca,
                         ra_customers ra,
                         ra_cust_trx_line_gl_dist_all rag,
                         ra_customer_trx_lines_all ratl,
                               RA_BATCH_SOURCES_ALL RBS
                   WHERE ap.status = 'OP'
                     AND ap.amount_due_remaining <> 0
                     AND ratl.line_type = 'LINE'
                     AND ap.customer_site_use_id = hzc.site_use_id
                          AND rat.batch_source_id = rbs.batch_source_id
                     AND ra.customer_id = ap.customer_id
                     AND rat.cust_trx_type_id = ratt.cust_trx_type_id
                     AND ap.customer_trx_id = rat.customer_trx_id
                     AND rag.customer_trx_id = ap.customer_trx_id
                     AND ap.customer_trx_id = ratl.customer_trx_id
                     AND rag.customer_trx_line_id = ratl.customer_trx_line_id
                     AND hzc.cust_acct_site_id = hzca.cust_acct_site_id
                     AND TRUNC (ap.trx_date) <= '02-sep-2007'
                     AND ap.org_id = :P_org_id
                     GROUP BY ra.customer_name ,
                         ra.customer_number ,
                         ra.customer_id ,                              
                         ap.trx_number ,
                         ap.trx_date ,
                               ap.due_date ,
                               ap.CLASS ,
                         ap.invoice_currency_code ,
                               ap.exchange_rate ,
                         ap.amount_due_remaining,
                               ap.exchange_rate,
                         ratt.TYPE ,
                               ap.STATUS ,
                               rbs.name ,
                               rat.ct_reference ,
                               rat.cust_trx_type_id ,
                               ratl.customer_trx_line_id ,
                         ap.org_id          
                  UNION ALL
                  SELECT ra.customer_name customer,
                         ra.customer_number customer_number,
                         ra.customer_id customer_id,                              
                         ap.trx_number transaction_number,
                         ap.trx_date transaction_date,
                               ap.due_date due_date,
                         ap.CLASS clas,
                         ap.invoice_currency_code invoice_currency_code,
                         ap.exchange_rate exchange_rate,
                         ap.amount_due_remaining amount_due_remaining,
                         NVL((DECODE (ap.CLASS,'INV',ap.amount_due_remaining * NVL (ap.exchange_rate, 1))),0) invoices_inv,
                         NVL ((DECODE (ap.CLASS,'DM', ap.amount_due_remaining* NVL (ap.exchange_rate, 1))),0) debit_memo,
                         NVL((DECODE (ap.CLASS,'INV', ap.amount_due_remaining* NVL (ap.exchange_rate, 1))),0) +
                                      NVL ((DECODE (ap.CLASS,'DM', ap.amount_due_remaining * NVL (ap.exchange_rate, 1))),0) out_standing_amt,
                         NVL((DECODE (ap.CLASS,'CM', ap.amount_due_remaining * NVL (ap.exchange_rate, 1) )),0) unapplied_credits,
                               NVL(DECODE(AP.CLASS,'PMT',ROUND(AP.AMOUNT_DUE_REMAINING * NVL(AP.EXCHANGE_RATE,1),2)),0) UNAPPLIED_RECEIPTS,
                         ratt.TYPE TYPE,
                               ap.STATUS STATUS,
                               rbs.name BATCH_NAME,
                               rat.ct_reference TRX_REFERENCE,
                               'OPEN_BAL' AMT_TYPE,
                              MAX(TO_DATE(AP.DUE_DATE,'DD-MON-RRRR') - TO_DATE(RAT.TRX_DATE,'DD-MON-RRRR')) DAYS_LATE,
                               rat.cust_trx_type_id customer_trx_type_id,
                               TO_CHAR(0) RECEIPT_NUMBER,
                         ratl.customer_trx_line_id customer_trx_line_id,
                         ap.org_id org_id,
                         NULL receipt_date, 
                               NULL attribute1,
                         0 amount_applied
                    FROM apps.ra_customer_trx_all rat,
                         ar_payment_schedules_all ap,
                         ra_customers ra,
                         apps.ra_cust_trx_types_all ratt,
                               ra_customer_trx_lines_all ratl,
                               RA_BATCH_SOURCES_ALL RBS
                   WHERE ap.status = 'OP'
                          AND rat.batch_source_id = rbs.batch_source_id                      
                     AND ap.amount_due_remaining <> 0
                     AND ap.customer_trx_id = rat.customer_trx_id
                           AND rat.batch_source_id = rbs.batch_source_id
                     AND rat.cust_trx_type_id = ratt.cust_trx_type_id
                      AND ap.customer_trx_id = ratl.customer_trx_id
                     AND ra.customer_id = ap.customer_id
                     AND ap.trx_date > '02-sep-2007'
                     AND ap.org_id = :P_org_id
                    GROUP BY
                              ra.customer_name ,
                         ra.customer_number ,
                         ra.customer_id ,                              
                         ap.trx_number ,
                         ap.trx_date ,
                               ap.due_date ,
                         ap.CLASS ,
                         ap.invoice_currency_code ,
                         ap.exchange_rate ,
                                ratt.TYPE,
                         ap.amount_due_remaining ,
                         ap.amount_due_remaining,
                               ap.exchange_rate,
                               ap.STATUS ,
                               RBS.NAME ,
                               rat.ct_reference ,
                               rat.cust_trx_type_id ,
                               ratl.customer_trx_line_id,
                         ap.org_id     
                  UNION ALL
                  SELECT ra.customer_name customer,
                         ra.customer_number customer_number,
                         ra.customer_id customer_id,                              
                         ap.trx_number transaction_number,
                         ap.trx_date transaction_date,
                               ap.due_date due_date,
                         ap.CLASS clas,
                         ap.invoice_currency_code invoice_currency_code,
                         ap.exchange_rate exchange_rate,
                         ap.amount_due_remaining amount_due_remaining,
                         NVL((DECODE (ap.CLASS,'INV',ap.amount_due_remaining * NVL (ap.exchange_rate, 1))),0) invoices_inv,
                         NVL ((DECODE (ap.CLASS,'DM', ap.amount_due_remaining* NVL (ap.exchange_rate, 1))),0) debit_memo,
                         NVL((DECODE (ap.CLASS,'INV', ap.amount_due_remaining* NVL (ap.exchange_rate, 1))),0) +
                                      NVL ((DECODE (ap.CLASS,'DM', ap.amount_due_remaining * NVL (ap.exchange_rate, 1))),0) out_standing_amt,
                         NVL((DECODE (ap.CLASS,'CM', ap.amount_due_remaining * NVL (ap.exchange_rate, 1) )),0) unapplied_credits,
                               NVL(DECODE(AP.CLASS,'PMT',ROUND(AP.AMOUNT_DUE_REMAINING * NVL(AP.EXCHANGE_RATE,1),2)),0) UNAPPLIED_RECEIPTS,
                         TO_CHAR(0) TYPE,
                               ap.STATUS STATUS,
                               TO_CHAR(0) BATCH_NAME,
                               TO_CHAR(0) TRX_REFERENCE,
                               'OPEN_BAL' AMT_TYPE,
                               0 DAYS_LATE,
                               0 customer_trx_type_id,
                               CR.RECEIPT_NUMBER RECEIPT_NUMBER,
                         0 customer_trx_line_id,
                         ap.org_id org_id,
                         NULL receipt_date, 
                               NULL attribute1,
                         ARA.amount_applied AMOUNT_APPLIED
                    FROM ar_cash_receipts_all cr,
                         ar_receivable_applications_all ara,
                         ar_payment_schedules_all ap,
                         ra_customers ra,
                         hz_cust_site_uses_all hzc,
                         hz_cust_acct_sites_all hzca   
                  WHERE  ap.status = 'OP'
                     AND ara.status = 'UNAPP'
                     AND ap.customer_site_use_id = hzc.site_use_id
                     AND ra.customer_id = ap.customer_id
                     AND ap.payment_schedule_id = ara.payment_schedule_id
                     AND cr.cash_receipt_id = ap.cash_receipt_id
                     AND hzc.cust_acct_site_id = hzca.cust_acct_site_id
                     AND ap.org_id = :P_org_id
                           GROUP BY ra.customer_name ,
                         ra.customer_number ,
                         ra.customer_id ,                              
                         ap.trx_number ,
                         ap.trx_date ,
                               ap.due_date ,
                         ap.CLASS ,
                         ap.invoice_currency_code ,
                         ap.exchange_rate ,
                         ap.amount_due_remaining ,
                         ap.STATUS ,
                               CR.RECEIPT_NUMBER ,
                         ap.org_id ,
                         ARA.amount_applied ) A)
[/pre]I am Getting Error Like Invalid Number

1) Specifying the Oracle error number in addition to the error message is generally helpful because we can more easily look up error numbers.
2) I'll wager that the problem is that somewhere in this statement, Oracle is implicitly casting a VARCHAR2 column to a number in order to do a comparison and that conversion is failing on one or more rows. The fixes for that sort of thing are, in order
- Fix your data model so that you don't store numeric data in varchar2 columns
- Fix your data model so that columns that are compared with each other have the same data type
- Ensure that literals and bind variables are of the same type as the columns they're being compared against.
- If you need to compare a string to a number, do the conversion explicitly (i.e. using TO_NUMBER or TO_CHAR) and ensure that every row of the source can actually be converted to the destination data type
3) Putting TO_DATE calls on columns whose names indicate they are dates to begin with is a bad idea. That forces Oracle to do an implicit conversion of the date to a string using the session's NLS_DATE_FORMAT, then converts it back to a date, which is extra work and extra opportunities for error with no benefit.
4) Comparing date columns to string literals is a similarly bad idea. You would want to put an explicit TO_DATE around the string literal if you are really comparing the result to a date column.
Justin

Similar Messages

  • Can not insert/update data from table which is created from view

    Hi all
    I'm using Oracle database 11g
    I've created table from view as the following command:
    Create table table_new as select * from View_Old
    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)
    Anybody tell me, what's happend? cause?
    Thankyou
    thiensu
    Edited by: user8248216 on May 5, 2011 8:54 PM
    Edited by: user8248216 on May 5, 2011 8:55 PM

    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)so what is wrong with the GUI tools & why posting to DATABASE forum when that works OK?

  • Lock-ups while inserting to a remote database using a dblink

    Our application runs across multiple instances of Oracle 8i - 8.1.6.
    Throughout the day we run some batch processes to transfer data across these instances using dblinks. Ocassionally the process locks up and further investigation shows that the server from which we are pushing information out seems to have executed an insert statement on a remote instance (insert into test_table@tst_dblink select * from local_table) and is waiting for a return from the remote server while the remote instance seems to be hanging too. Oracle does not return any error but simply waits forever for the statement to finish.
    If anybody has experienced this before can you please share any information you may have on 1. how to prevent this from happening or 2. How to make oracle give up on the transaction, roll it back and raise an error?
    Thanks a lot....

    Well, certainly we need more info to fix the problem! couple of "system states" on both the machines when the job is hanging would help. couple of "stack trace" of the shadow process will also help. please call local oracle support with the system state and stack trace.
    Sounds like the job is hanging on some resource (lock,enque,latch,io...). oracle doesn't give up for few resources, like waiting on ST,latch, io etc. we have to kill the offending process if we want!!
    just my 2 cents :)
    G

  • In ALV report  list edit a field and insert our own text

    Hi
    In a report when I am in third list using ALV a field which is disabled should be enabled and have to insert the new value in it and save.
    please tell me how to do it using classes and methods and also using ALV's.
    Promise to reward points.
    Regards
    Mac

    See these threads
    Re: Making selected alv rows editable
    Re: selective edit in ALV grid
    Regards,
    Ravi

  • Inserting Dynamic Images in to a Crystal Report 10

    Hi all,
    I am trying to insert dynamic pictures into my report from repository, by getting the path for the picture from database fields. The version that I am using is Crystal Reports 10.
    Here is what I have done.
    I inserted an OLE object into the report, went to "Format Graphics" by right clicking on the OLE object, then to "Hyperlink" Tab (as I didn't see anything other than "Reset" button and picture dimension options under the "Picture" tab), and selected "File" Radio button (as I didn't want to display the picture as Hyperlink) and gave the @Filepath as the formula there. @Filepath is the formula that gives me the complete path for the JPEG that I need to insert in the report.
    filepath = field A + field B
    where field A is the location for the image and field B is the actual image name.
    the actual image is located in repository folder.
    I am not able to see the image in the report "Preview" section as it is showing it has an empty box and when I click on that empty OLE object, I am able to view the image in a separate window where as my requirement is to view the image within the report (not in a separate window).
    I didn't find anything useful under Format Graphics -> Picture tab.
    I appreciate any kind of help from you all.
    Thanks!

    That feature wasn't available nor was it supported in CR 10. You'll have to upgrade to CR Xi R2 or 2008 to allow using a database field as the location of the file.
    CR 10 would only load the picture when the report is opened, it will never update when clicking on the refresh button.

  • I am making a calendar in iPhoto, picking photos from a folder, let's call it "2011 Pics," in iPhoto. After arranging all the photos and captions I decided I wanted to insert a new photo -- one that was not in "2011 Pics." So I inserted it into the folder

    Add new photo to existing calendar folder in iPhoto
    I am making a calendar in iPhoto, picking photos from a folder, let's call it "2011 Pics," in iPhoto. After arranging all the photos and captions I decided I wanted to insert a new photo -- one that was not in "2011 Pics." So I inserted it into the folder, but the picture does not show up on the scrolling menu of pictures at the left of the calendar-making page. This happened last year and in frustration I started all over again. But surely there is a way to add a new picture to a calendar that is already laid out.

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • L need help with textedit, I inserted a picture then the cursor went from small to the size of picture and l need to write a header next to the picture not at the bottom of it. can anyone help please?

    Can anyone tell me how to make cursor smaller after inserting picture so that l can add somethimg right next to it instead of bottom of picture. Meaning the next line is too low

    AFAIK, you can't. The nature of TextEdit is that it allows the picture to be treated as a character and adjusts the cursor size for that line.
    You need a app that supports transparent overlays.

  • How can I debug a Bulk Insert error?

    I'm loading a bunch of files into SQL server.  All work fine, but one keeps erroring out on me.  All files should be exactly the same in structure, but they have different dates, and other different financial metrics, but the structure and field
    names should be exactly the same.  Nevertheless, one keeps konking out, and throwing this error.
    Msg 4832, Level 16, State 1, Line 1
    Bulk load: An unexpected end of file was encountered in the data file.
    Msg 7399, Level 16, State 1, Line 1
    The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
    Msg 7330, Level 16, State 2, Line 1
    Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".
    The ROWTERMINATOR should be CRLF, and when you look at it in Notepad++ that's what it looks like, but it must be something else, because I keep getting errors here.  I tried the good old:  ROWTERMINATOR='0x0a'
    That works on all files, but one, so there's something funky going on here, and I need to see what SQL Server is really doing.
    Is there some way to print out a log, or look at a log somewhere?
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    The first thing to try is to see if BCP likes the file. BCP and BULK INSERT adhere to the same spec, but they are different implementations, but there are subtle differences.
    There is an ERRORFILE option, but it more helps when there is bad data.
    You can also use the BATCHSIZE option to see how many records in the file it swallows, before things go bad. FIRSTROW and LASTROW can also help.
    All in all, it can be quite tedious find that single row where things are different - and where BULK INSERT loses sync entirely. Keep in mind that it reads fields on by one, and it there is one field terminator to few on a line, it will consume the line
    feed at the end of the line as data.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How do you insert an electronically signed report as an appendix into a main report which will be signed electronically at a later date?

    How do you insert an electronically signed report as an appendix into a main report which will be signed electronically at a later date?

    You can add it as a file attachment. Exactly how you do this depends on the version of Acrobat you're using, but if you open the Attachments panel, you should see where you can add a file.

  • How to insert a table or object image other than at bottom or report

    Please excuse my HTML ignorance. Is there a way to use a previously added tag to go back and insert a FP object at the tag location in an HTML report. The only way I can figure out how to do it would be to append the object using the report generation vis, then search the HTML document for the originally added tag, and replace this tag with the appended code.
    I append teat results as they are generated but once all tests are complete, I want to put the summary table at the top (after the header though).
    Thanks, Rick

    Hi Rick,
    There is no built-in way with the Report Generation VIs to append something to your report anywhere other than the very bottom.  I have attached a VI that shows the best way I can think of to accomplish this...it involves using an internal Report Generation VI called "Generate Report Get Data.vi" that gets the actual string that contains all your HTML from the internal data structure of the Report Generation VIs...once you have this string, you can manipulate it with the normal String functions in LabVIEW...then once you've got it manipulated the way you want, you can stick it back into your report.
    I hope this gets you started in the right direction...I saved the VI in LabVIEW 8.0 format.  Let me know if you have any other questions.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    Custom_HTML_Report_Append.vi ‏31 KB

  • Error While Assigning Ad insert contract from Ad insert orders.

    Hi Experts,
    While performing the transaction for u2018Assigning Ad inserts Contracts from Ad Insert ordersu2019, Iu2019m getting the following error.
    Message no. JVSD056
    I did the following steps.
    a) Created a geographical unit.
    b) Assigned that geographical unit in the BP master of the retailer with a newly created assignment type.
    c) Linked the geographical unit in the booking unit for Ad inserts  in MAM .
    d) Created an Ad insert order in MAM by using the booking unit which has the geographical unit assignment.
    Then tried to execute the u2018Assign Ad inserts Contracts from Ad insert orders. The error message is JVSD056.
    Appreciate if anyone can help me in this. This is the first time we are doing this.
    Regards,
    Suresh

    Hi Helios,
    I hav egone through the document.However i have resolved the error ar: illegal option -- F by following the doc id Doc ID 785828.1
    Now i am facing error while relinking
    Relinking module 'FNDCORE.dll' in product fnd ...
    Removing any existing temp directory
    rm -rf temp
    creating the temp directory
    mkdir temp
    changing permissions for the temp directory
    chmod 777 temp
    Getting the object file names for this FNDCORE.dll
    gnumake -f E:/oracle/apps/apps_st/appl/admin/PROD/out/link_fnd_5136.mk fndcore.LIST
    E:/oracle/apps/apps_st/appl/admin/PROD/out/link_fnd_5136.mk:760: *** target pattern contains no `%'. Stop.
    Unable to get the objects for module "FNDCORE.dll".
    See error messages above (also recorded in log file)
    for possible reasons for the failure.
    adrelink is exiting with status 1
    Please advice
    Regards,
    SRK

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

  • Error while insert A/R Invoice

    Good night,
    I have a problem when I insert an A/R invoice, the B1 gives the following error:
    "No matching records found 'G / L account' (OACT) (ODBC - 2028) Message 131-183"
    All 'G/L account' are set on all tabs of G/L Account Determination.
    The product is configured with the warehouse that is also configured with the accounts.
    Thanks,
    Rodrigo

    Hi
    Please take a look at this .May be this will help .
    When attempting to add a marketing document with rounding, the following error message appears: "No matching record found 'G/L Accounts' (OACT)[ODBC 2028]"
    Other terms
    Rounding, G/L account, error message, marketing documents, matching record, account, missing, SAP Business One
    Reason and Prerequisites
    There is no rounding account defined.
    Define a rounding account under:
    'Administration' > 'System Initialization' ->'G/L Account Determination' -> 'General' tab page under "Rounding Account" field.
    Thank you
    Bishal

  • Can no longer see my I-photo photos, when trying to insert photo into Word Document.

    I had some computer problems and did upgrade to Snow Leopard from Leopard. Using older MacBook Pro. 
    Now, when I try to insert a picture into a Word Document, I cannot see my photos!
    I am working in a word document, I choose "Insert Photo from my files" and when the window comes up so I can choose the photo to insert... when I select the "photos" choice under the Media section on the Left side of the box that comes up, the box to the right is BLANK, both on the top and bottom!  None of my photos come up for selection. 
    This method to choose photos to insert into documents used to work before... now it is not.  After selecting "photos" all my photos would appear in the right box, and I would move through my I-photo events to choose my saved photo and insert it.  Yes, photos are showing and present in I-photo.  They just won't appear for importing.
    This is so frustrating, not to mention time comsuming trying to figure out what is going on and how to fix it.
    Can anyone help? Please?

    Oroilore-
    I do not see a way to disable the Picture Frame icon.  I looked at Settings-Picture Frame, but none of the options turns it off.  The only way I can thinik of, would be if all of your photos had been deleted.  If there were no photos, you couldn't have a slide show!
    One thing to try is to reset (reboot) your iPad.  Hold both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  The iPad will restart after a couple of minutes.  Resetting this way will not hurt anything, and sometimes clears up mysterious problems.
    Fred

  • Creation of new button on same page after insert command

    Hello All,
    I have an application running on apex.oracle.com where my workspace name is shruti_work,username is [email protected] and password is buwigi. The application name inside this is "app2"
    I am trying to achieve one functionality there but unable to get it so felt like seeking an help from experts here. I have two forms there one page1 form which is simplly made on an html region with go button which is navigating the page 1 items value to page 2 but simply passing their address witout updting the database table.
    In Page 2 i created page on a table or view, which made some extra buttons which i dont want like applychanges ,delete button, cancel button. I created a create button even which is updating my database with insert sql command. What i am seeing is after my create button is pressed i got navigated to same page 2 which i want to but the applychange button, cancel and delete button got appeared. I dont get the idea why it is so. i have checked the buttons even i didnt found anything there.
    All i want is when i press create button in page 2, my database get update and at the same page (2) a new button get appears which i have to use for other things. Approaching to this solution i created a button with giving databse action update and condition to this button "value of item in expression 1 is not null" and in expression 1 i passed p2_id...... but my new button is not getting created.
    Any help on this?

    Hi Jeff,
    I dont want applychanges button and delete button in my page 2. But when i created form on a table or view this but got created and i cannot delete it even. When i am navigating my page from page 1 to page 2 and filling the fields in page 2 and clicking create button, at that time i want after updating my table and running my plsql process which i have created which you can see in page processing, my button at same page get generate which i will use to navigate to other form. This button which i want to generate after clicking my create button will be meaningful only if my record get inserted in table. so that is why i want it at that time.
    I dont want any report so i am not creating form on a table or view

Maybe you are looking for

  • Adf issue..

    Hello Friends, While opening the forms of planning applications in epm 11.1.2.2 i have got the error Java.lang.NumberFormatException.For input string "null" ADF_Faces-60097.For more information please see the servers error log for an entry beginning

  • External keyboard and display not recognized

    After upgrading to Leopard, Vista doesn't see my external keyboard and display. Any ideas?

  • CIN configuration in TAXINJ and TAXINN !!

    Friends !! Please help in configuring TAXINJ and TAXINN for VAT, Higher Edn.cess.If possible send me screen shots for the same and how to maintain taxcodes. Thanks. Yours sincerely, sreedhar

  • Building a dynamic query

    I have a need to build a truly dynamic query, that would be able to take online form input and create a query that would handle data requests like, How many employees earn less than #some salary, have a masters degree, and speak chinese.  or show me

  • Urgent:Job Status

    Hi, I scheduled a load to cube.. In SM37 it says Job Finished.. But at monitor it is still in yellow.. Does it take time? At status tab I have 20 Data packets and the last 10 r in green and the first 10 r in yellow..whatis the reason? Even the data h