Asset account cost instead of the assets clearing account

Hi all

I entered a Bill, approved the Bill and ran program adding mass to create an asset in f but instead of clearing of assets account, I gave the account of the cost of the Asset and ran mass additions program and active is not being chosen. Can someone please give me the solution

Concerning

Vermorel

Hello

The reverse button should be available. Anyway, you can enter a new line with the same account and a negative amount and create a new line with the correct data.

Octavio

Tags: Oracle Applications

Similar Questions

  • Why are what the buttons 'Clear' and 'Junk' repleased with the button 'archive' (only for one of the accounts)?

    Hello

    I must have changed a parameter, so that the 'Clear' and 'Junk' buttons above the mail pane disappeared, and a button 'Archive' appeared instead. It is true that for my mail via Gmail (IMAP), but when I opened an e-mail from my account (POP), I still see the button 'Clear' and 'Junk '.

    How can I fix?

    Thanks in advance
    Ayse

    Try this:

    Select an e-mail who don't watch all the correct buttons in the section above the message header information itself.

    Right-click on the empty area just above 'Other Actions', you should get a window saying 'customize '.
    Click on "Customize."
    opens in a new window.
    You can drag items on the header area, but I suggest that you click on the 'Restore Default Set' button, then click on the "Done" button.

  • A security reason to use the 'user account ' instead of the 'administrator' for your personal PC account?

    I need to perform regular tasks in week and maintenance tasks on the weekends, there is no problem if I login as administrator for the week and the weekend.

    If I create 2 accounts: user (weekdays) and Director (weekends), then I run in question switching between the 2 accounts.

    I would like to know what security advantage using user account during the week instead of the administrator account.

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    I support of many PC, win7 & win8 they all default admin win and a second account with administrator privileges. By default, they all start on the win by default admin account.

    Touch wood I never had no problems, over several years, (some systems are used by children)

    One piece of malware in several years. No installed family safety, children have been educated.

    Some are enterprise systems running 24/7 as they treat the various procedures "out of hours".

  • I have a CC account. I only download the CS6 instead of the CC version.

    I have a CC account. There was a problem with my desktop CC app, the program remains up-to-date. Previously, he has worked perfectly with all the CC version. Now, I remove the CC desktop app and would like to reinstall all the programs. Now I get only the CS6 version instead of the CC version. When I connect to the site, I see I have CC and not the CS6 account. When I connect to the CC desktop app I see only the CS6.

    You may need to run the vacuum cleaner to remove all the old software before you reinstall

    Sign out of your account... Uninstall... to run vacuuming...

    -http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)

    -using the vacuuming after uninstalling and prior to the relocation is necessary

    -https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

    -Restart your computer... Sign in to your account... Reinstall

  • reCAPTCHA does not load properly, I get an image unsolveable select recaptcha instead of the recaptcha, loads fine on Chrome box

    Hello!

    I met some difficulties loading reCAPTCHA. I tried on several different websites and none of them does not load correctly. Instead of the simple box captcha, I get a captcha like the image. It's unsolvable, because it does not display the button check. I tried to start in safe mode, disabling all my plug-ins, clearing cache/cookies, changing http to https and vice versa Web sites and disabling and then re-enabling javascript (Yes it is enabled). I've dealt with this problem for days and it is very annoying, especially when it works well on chrome. If you have any suggestions please respond.

    Thank you!

    Make sure that your Java (not JavaScript) is up to date
    Check out Java and find obsolete Versions {web link}

    Release date of version 65 update 8 October 20, 2015

    • see if there are updates for your graphics card disk drivers

    https://support.Mozilla.org/KB/upgrade-graphics-drivers-use-hardware-acceleration

    • Disable protected mode in the plugin Flash (Flash 11.3 + on Windows Vista and later versions)

    https://forums.Adobe.com/message/4468493#TemporaryWorkaround

    • turn off hardware acceleration in the Flash plugin

    https://forums.Adobe.com/thread/891337
    See also:

  • My google map stopped working: I have firefox 12.0 and my google map shows just a white square instead of the map.

    My Google map does not load. It displays an empty blue square instead of the map. I disabled all extensions of pluginsand started in safe mode, cleared cache and cookies, but nothing is done. WOT to do!
    It works in Chrome, but also have the same problem with IE9. I don't know when it started, but it was working fine last month.

    Looks like a problem with the width of the containers that have the width set to 100% 0

    These style rules make the images appear for me:

    @-moz-document domain(www.ctiscarborough.org.uk){
    div.view-content > div > div > div,
    div.view-content > div > div > div > div,
    div.view-content > div > div > div > div > div {width:100%}
    }
    
  • Can the License Manager load the computer license first, instead of the license based on users?

    We have several machines in the lab with licenses computerized on them and a number of technicians who have licenses based on users. When he signed from time to time as themselves, instead of the generic service account, a technician of the License Manager fits on the machine their user account. Not a problem until they're trying to connect to their own PC again LabVIEW and they get the trial of 14 days notice period.

    Is there a way the License Manager looking for the license to the computer first instead of the user license?

    Thanks for any help.

    Joe

    Hey Joe,

    In the license file on the license server, you may be able to manually change the tag "sort" in the file to change the order in which VLM withdraws licenses. Licenses are checked in descending (2, then 3, then 4, etc.). As a general rule, your license file is set up in a default order, but in special cases like this, it may be advantageous to change the order. To do this, follow these steps:

    1. open the license file with a text editor (such as Notepad)

    2. search for the tag "flows out". For example, the entry "VLM_Core" will sort tag value will appear as "sort = first". Do not change this value. VLM_Core must always be the first.

    3. change the value of sorting tag for the license to the computer named to a value less than the value of sorting tag for the named user license. (for example 'sort = 2"for named computer and 'sort = 3" to the named user).

    4 save the file and reinstall the license.

    Let me know if you have any questions!

  • 7 an Iconia search Google on the home page. little sound to the top of the screen instead of the browser Chrome

    7 an Iconia, using the google search on the home page, when you choose a Web page, that it takes you to a small pop - up screen instead of the Chrome web browser... very frustrating. Can anyone help?

    This popup is browser float Acer.

    You can try to disable settings - applications

    tap on the list of applications

    Scroll to the browser of float

    Press clear data - clear cache

    then tap on disable

    Check if you have any browser float of disablling error.

  • When I create a shortcut on the desktop, it has the IE icon. How can I HEC to show the icon site instead? Example of what facebook icon instead of the IE icon.

    My shortcut icons are showing the IE logo instead of the logo of the site. How can I change this. It just started doing this. It was beautiful before.

    The user account is corrupted I believe, try a new.

  • A guy worked on my computer and it's administrator instead of the standard.

    a guy worked on my computer and it's administrator instead of the standard. How to return to the standard > my sister and I have tried via google and nothing done, and she and I are frazzeled. GRAMA fontanelli

    Original title: I need help

    Hello Grama,

    Your computer must have an account that is an administrator level. That said, that you can create a standard account, or change the administrator account to a standard account from the control panel by selecting user accounts. When this window opens, it will offer you the choice to create a new account or changing your account existing. The choice is yours, but as I said at the beginning, you need 1 Administrator account.

    Post here any questions and let me know how you fare.

    Kind regards

    BearPup

  • I bought the Win instead of the Mac version. What bo I do?

    I bought the Win instead of the Mac version. What bo I do?

    Contact Adobe Support by chat or phone and ask for an Exchange.  You shouldn't have to do a platform Exchange and lose the opportunity to Exchange at a later date due to a purchase that's probably not your fault.

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Get help from cat with orders, refunds and exchanges (non - CC)
    http://helpx.Adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )

  • Navigation bar instead of the standard first-previous-next-last page numbers

    I want to add page numbers to my navigationbar instead of the standard «first previous next last»

    For example, I have a repeat with a navigation bar (standard) region, I have 7 records per page and I would like to say at the bottom:

    1 2 3 4 5 ect. Is it possible that I can code this upward with php or with dreamweaver or y at - it another way to achieve this.

    Any help welcome

    You can do this in DW

    Add the code below

    style it as

    .pages {display: block; width: 100%; text-align: center;} Clear: both; do-family: Verdana, Geneva, without serif ;}

    .pages ul {margin: 0; padding: 0; list-style: none ;}}

    .pages li {display: inline ;}}

    strong .pages {police-weight: normal ;}}

    .pages .next {margin: 0 ;}}

    .pages, .pages .the strong, strong .ellipsis .pages {display: inline-block; padding: 2px 6px; margin: 0 2px 0 0 ;}}

    .pages one {border: 1px solid #DFDFDF ;}}

  • Question: Mask Highlighted instead of the layer.

    I have Photoshop CS4. He has recently developed a flaw: when you click on a layer it highlights, if you open the channel option, the channel mask is highlighted instead of the RGB layers. Please notify. Richard Batt.

    Thanks for all your advice. As it happened I loaded a selection of one of the layers, in this specific case, and cleared the problem. In the future, I will apply the solution ctrl/shift/alt. Thanks again. Richard Batt.

  • get the unwanted letters instead of the picture in an e-mail message.

    Hi all


    I try to send a mail via gmail.com that I am able to send mail, but when I try
    Send an attachment so I get strange text instead of the picture
    his photo not showing but it is different in shape text appears in my Inbox.
    Here is the result.
    also get this error but I am able to send e-mail.
    ERROR at line 1:
    ORA-20000: Failed to send mail due to the
    following error: ORA-29277: invalid SMTP operation
    ORA-06512: at "MAIL.MAHI", line 159
    ORA-06512: at line 2
    ===============================================
    --BACKUP.SECBOUNDContent-
    Type: application/octet-streamContent-Disposition:
     attachment; filename="g.gif"Content-Transfer-Encoding: base64 
    Qk2O5QgAAAAAADYAAAAoAAAAwgIAABMBAAABABgAAAAA
    AFjlCAAAAAAAAAAAAAAAAAAAAAAAhNWuhNWuhNWuhNWu
    hNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuh
    NWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNW
    uhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhN
    WuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuh
    NWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWu
    hNWuhNWuhNWuhNWuhNWuhNWuhNWuhN
    WuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuh
    NWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNW
    uhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhN
    WuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhNWuhN
    and here the link that I followed to use with my codes...
    Re: Sending a message UTL_SMTP collateral issue unique jpg
    create or replace package body Mahi
           is
              -- Write a MIME header
              procedure write_mime_header (
                  p_conn in out nocopy utl_smtp.connection
               , p_name in varchar2
                , p_value in varchar2
              )
               is
              begin
                utl_smtp.write_data ( p_conn
                                     , p_name || ': ' || p_value || utl_tcp.crlf
                 );
             end;
             procedure mail (
                p_sender in varchar2
              , p_recipient in varchar2
               , p_subject in varchar2
               , p_message in varchar2
              )
              is
                l_conn           utl_smtp.connection;
                nls_charset    varchar2(255);
               v_src_loc  BFILE := BFILENAME('BACKUP', 'Logon.jpg');
               --v_src_loc BLOB;
          l_buffer   RAW(54);
          l_amount   BINARY_INTEGER := 54;
          l_pos      INTEGER := 1;
          l_blob     BLOB := EMPTY_BLOB;
          l_blob_len INTEGER;
         v_amount   INTEGER;
                  v_fname VARCHAR2(50);
    
         CURSOR img_cur IS SELECT photo_name,photo
      FROM temp_photo;
     
    
        --crlf  varchar2(2) := chr(10)||chr(13);
    
    PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
       BEGIN
          UTL_SMTP.WRITE_DATA(l_conn,
                              pi_name || ': ' || pi_header || UTL_TCP.CRLF);
       END;
    
             begin
                -- get characterset
                select value
                into   nls_charset
                from   nls_database_parameters
                where  parameter = 'NLS_CHARACTERSET';
                /*
                select 
                photo into v_src_loc from
                temp_photo
                where id=1;
                */
                DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
         DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
         v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
         DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
         --DBMS_LOB.COPY(l_blob, v_src_loc, v_amount);
         l_blob_len := DBMS_LOB.getlength(l_blob);
     
               -- establish connection and autheticate
               l_conn   := utl_smtp.open_connection (g_smtp_host, g_smtp_port);
                utl_smtp.ehlo(l_conn, g_smtp_domain);
                 utl_smtp.command(l_conn, 'auth login');
                 utl_smtp.command(l_conn,utl_encode.text_encode('[email protected]', nls_charset, 1));
                utl_smtp.command(l_conn, utl_encode.text_encode('xxxxx', nls_charset, 1));
                 -- set from/recipient
                  utl_smtp.command(l_conn, 'MAIL FROM: <'||p_sender||'>');
                 utl_smtp.command(l_conn, 'RCPT TO: <'||p_recipient||'>');
                -- write mime headers
                 utl_smtp.open_data (l_conn);
                 write_mime_header (l_conn, 'From', p_sender);
                write_mime_header (l_conn, 'To', p_recipient);
                write_mime_header (l_conn, 'Subject', p_subject);
                 write_mime_header (l_conn, 'Content-Type', 'text/plain; charset=us-ascii');
                 write_mime_header (l_conn, 'X-Mailer', g_mailer_id);
                 utl_smtp.write_data (l_conn, UTL_TCP.CRLF);
                 UTL_SMTP.WRITE_DATA(l_conn,
                             'MIME-Version: 1.0' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' boundary= "' || 'BACKUP.SECBOUND' || '"' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
       
     
                 -- write message body
                utl_smtp.write_data (l_conn, p_message);
                OPEN img_cur;
      LOOP
      FETCH img_cur INTO v_fname,l_blob;
    end loop;
    close img_cur;
                
                UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: text/plain;' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' charset=US-ASCII' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,  p_message || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
         
         UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Type: application/octet-stream' ||
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             ' filename="' || 'gpg.jpg' || '"' || --My filename
                             UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
      /* Writing the BLOL in chunks */
        WHILE l_pos < l_blob_len LOOP
          DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
          UTL_SMTP.write_raw_data(l_conn,
                                  UTL_ENCODE.BASE64_ENCODE(l_buffer));
          UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
           l_buffer := NULL;
           l_pos    := l_pos + l_amount;
         END LOOP;
         UTL_SMTP.WRITE_DATA(l_conn, UTL_TCP.CRLF);
       
        -- Close Email
        UTL_SMTP.WRITE_DATA(l_conn,
                             '--' || 'BACKUP.SECBOUND' || '--' || UTL_TCP.CRLF);
         UTL_SMTP.WRITE_DATA(l_conn,
                             UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
                             UTL_SMTP.CLOSE_DATA(l_conn);
                             utl_smtp.close_data (l_conn);
         UTL_SMTP.QUIT(l_conn);
         DBMS_LOB.FREETEMPORARY(l_blob);
         DBMS_LOB.FREETEMPORARY(l_blob);
         DBMS_LOB.FILECLOSE(v_src_loc);
     
                    -- end connection
                utl_smtp.quit (l_conn);
                        exception
                 when others
                 then
                   begin
                      utl_smtp.quit(l_conn);
                    exception
                      when others then
                       null;
                   end;
                   
                   raise_application_error(-20000,'Failed to send mail due to the
     following error: ' || sqlerrm);
     DBMS_LOB.FREETEMPORARY(l_blob);
     DBMS_LOB.FREETEMPORARY(l_blob);
          DBMS_LOB.FILECLOSE(v_src_loc);
         raise;
             end;
          end;
          commit;
    Note:-I am using Stunnel, Oracle Database 11g R2 and operating system is Linux...
    I have installed Linux on virtualBox.


    Please suggest me why I get a strange text instead of the picture?
    If my code is wrong, please fix it for me...
    Thanks in advance...

    Tic Tac Toe
    Student.

    Published by: Johann April 15, 2011 22:57

    The main problem is, you have not specified clearly what you are doing and also not a not post your package specifications. After looking more closely at your code, I found that you use gmail.smtp.com and probably with stunnel (UTL_SMTP supports SSL).
    In addition, the main idea is to http://monkeyonoracle.blogspot.com/2009/11/plsql-and-gmail-or-utlsmtp-with-ssl.html
    If you would like to mention these facts, then probably someone can help you more sooner. In any case, it is an example of work of sending e-mail by using the gmail SMTP server.

    SQL> conn sys@orclsb as sysdba
    Enter password: ******
    Connected.
    SQL>
    SQL> SHOW USER
    USER is "SYS"
    SQL>
    SQL> /* My database version */
    SQL> SELECT * FROM v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    SQL> /* Creating DIRECTRY OBJECT. The physical path is C:\ */
    SQL> CREATE DIRECTORY saubhik AS 'C:\';
    
    Directory created.
    
    SQL> /* Giving required grants to user SCOTT */
    SQL> GRANT READ,WRITE ON DIRECTORY saubhik TO scott;
    
    Grant succeeded.
    
    SQL> /* Now connecting to the user scott, to run the emailing procedure */
    SQL> conn scott@orclsb
    Enter password: *****
    Connected.
    SQL>
    SQL> SHOW USER
    USER is "SCOTT"
    SQL>
    SQL> 
    

    Now, the code principal.

    SQL> SHOW USER
    USER is "SCOTT"
    SQL>
    SQL> DECLARE
      2    v_nls_charset VARCHAR2(50);
      3    /*LOB operation related varriables */
      4    v_src_loc  BFILE := BFILENAME('SAUBHIK', 'Winter.jpg');
      5    l_buffer   RAW(54);
      6    l_amount   BINARY_INTEGER := 54;
      7    l_pos      INTEGER := 1;
      8    l_blob     BLOB := EMPTY_BLOB;
      9    l_blob_len INTEGER;
     10    v_amount   INTEGER;
     11
     12    /*UTL_SMTP related varriavles. */
     13    v_connection_handle  UTL_SMTP.CONNECTION;
     14    v_from_email_address VARCHAR2(30) := '[email protected]';
     15    v_to_email_address   VARCHAR2(30) := '[email protected]';
     16    /*
     17     I have used stunnel to send mail using smtp.gmail.com
     18     To get stunnel see http://stunnel.org/.
     19     The ORIGINAL idea is here :
     20     http://monkeyonoracle.blogspot.com/2009/11/plsql-and-gmail-or-utlsmtp-with-ssl.html
     21    */
     22    v_smtp_host          VARCHAR2(30) := 'localhost';
     23    v_subject            VARCHAR2(30) := 'Your Test Mail';
     24    l_message            VARCHAR2(200) := 'This is test mail using UTL_SMTP';
     25
     26    /* This send_header procedure is written in the documentation */
     27    PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
     28    BEGIN
     29      UTL_SMTP.WRITE_DATA(v_connection_handle,
     30                          pi_name || ': ' || pi_header || UTL_TCP.CRLF);
     31    END;
     32
     33  BEGIN
     34
     35    SELECT value
     36      INTO v_nls_charset
     37      FROM nls_database_parameters
     38     WHERE parameter = 'NLS_CHARACTERSET';
     39
     40    /*Preparing the LOB from file for attachment. */
     41    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
     42    DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
     43    v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
     44    DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
     45    l_blob_len := DBMS_LOB.getlength(l_blob);
     46
     47    /*UTL_SMTP related coding. */
     48    v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host,
     49                                                    port => 1925);
     50    UTL_SMTP.EHLO(v_connection_handle, 'gmail.com');
     51    UTL_SMTP.COMMAND(v_connection_handle, 'auth login');
     52    UTL_SMTP.COMMAND(v_connection_handle,
     53                     UTL_ENCODE.TEXT_ENCODE('[email protected]',
     54                                            v_nls_charset,
     55                                            1));
     56    UTL_SMTP.COMMAND(v_connection_handle,
     57                     UTL_ENCODE.TEXT_ENCODE('my password', v_nls_charset, 1));
     58    --UTL_SMTP.MAIL(v_connection_handle, v_from_email_address);
     59    --UTL_SMTP.RCPT(v_connection_handle, v_to_email_address);
     60    UTL_SMTP.COMMAND(v_connection_handle,
     61                     'MAIL FROM: <' || v_from_email_address || '>');
     62    UTL_SMTP.COMMAND(v_connection_handle,
     63                     'RCPT TO: <' || v_to_email_address || '>');
     64    UTL_SMTP.OPEN_DATA(v_connection_handle);
     65    send_header('From', '"Sender" <' || v_from_email_address || '>');
     66    send_header('To', '"Recipient" <' || v_to_email_address || '>');
     67    send_header('Subject', v_subject);
     68    --MIME header.
     69    UTL_SMTP.WRITE_DATA(v_connection_handle,
     70                        'MIME-Version: 1.0' || UTL_TCP.CRLF);
     71    UTL_SMTP.WRITE_DATA(v_connection_handle,
     72                        'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
     73    UTL_SMTP.WRITE_DATA(v_connection_handle,
     74                        ' boundary= "' || 'SAUBHIK.SECBOUND' || '"' ||
     75                        UTL_TCP.CRLF);
     76    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     77
     78    -- Mail Body
     79    UTL_SMTP.WRITE_DATA(v_connection_handle,
     80                        '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
     81    UTL_SMTP.WRITE_DATA(v_connection_handle,
     82                        'Content-Type: text/plain;' || UTL_TCP.CRLF);
     83    UTL_SMTP.WRITE_DATA(v_connection_handle,
     84                        ' charset=US-ASCII' || UTL_TCP.CRLF);
     85    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     86    UTL_SMTP.WRITE_DATA(v_connection_handle, l_message || UTL_TCP.CRLF);
     87    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     88
     89    -- Mail Attachment
     90    UTL_SMTP.WRITE_DATA(v_connection_handle,
     91                        '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
     92    UTL_SMTP.WRITE_DATA(v_connection_handle,
     93                        'Content-Type: application/octet-stream' ||
     94                        UTL_TCP.CRLF);
     95    UTL_SMTP.WRITE_DATA(v_connection_handle,
     96                        'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
     97    UTL_SMTP.WRITE_DATA(v_connection_handle,
     98                        ' filename="' || 'Winter.jpg' || '"' || --My filename
     99                        UTL_TCP.CRLF);
    100    UTL_SMTP.WRITE_DATA(v_connection_handle,
    101                        'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
    102    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    103
    104    /* Writing the BLOL in chunks */
    105    WHILE l_pos < l_blob_len LOOP
    106      DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
    107      UTL_SMTP.write_raw_data(v_connection_handle,
    108                              UTL_ENCODE.BASE64_ENCODE(l_buffer));
    109      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    110      l_buffer := NULL;
    111      l_pos    := l_pos + l_amount;
    112    END LOOP;
    113    UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    114
    115    -- Close Email
    116    UTL_SMTP.WRITE_DATA(v_connection_handle,
    117                        '--' || 'SAUBHIK.SECBOUND' || '--' || UTL_TCP.CRLF);
    118    UTL_SMTP.WRITE_DATA(v_connection_handle,
    119                        UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
    120
    121    UTL_SMTP.CLOSE_DATA(v_connection_handle);
    122    UTL_SMTP.QUIT(v_connection_handle);
    123    DBMS_LOB.FREETEMPORARY(l_blob);
    124    DBMS_LOB.FILECLOSE(v_src_loc);
    125
    126  EXCEPTION
    127    WHEN OTHERS THEN
    128      UTL_SMTP.QUIT(v_connection_handle);
    129      DBMS_LOB.FREETEMPORARY(l_blob);
    130      DBMS_LOB.FILECLOSE(v_src_loc);
    131      RAISE;
    132  END;
    133  /
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    I got the email in my email perfectly with the attachment.

  • Shows incoming calls to the United States instead of the city and the State

    IiPhone 6plus, IOS 10.  Incoming calls from unknown number of shows in the United States instead of / the State of the city. How can I fix this. Thank you

    Settings > general > language and region > region = 'United States'... assuming that is where you are.

Maybe you are looking for

  • MacBook pro 2012 slow after battery died

    I turn to the question real quick. I have tried every method including reset PRAM, MSC, turn off auto adjust the brightness (I've read here, some people feel the UI lag when it turns on), the value of the different resolutions, remove windowserver or

  • Compaq 500 b mt: lost the Operating System cd

    recently moved and lost the cd of the operating system, wanted to wipe my hard drive and start over, do not know what to do. can I get a copy, or do I have to buy a new one from Microsoft.

  • I want a fax confirmation showing the first page of the fax

    When I have something fax above, I get a fax confirmation indicating that the fax was sent.  I'm looking to capture the first page of the image with this fax confirmation.  I was able to do it on my other officejet pro 8600 all in one, but now I am u

  • I have a question on keybord

    no idea how I can include the number with the letters on the keyboard other than change all the time as are all in letters and numbers a keybord?

  • PERC H330 and Raid 5, try adding another SATA drive raid 5 array

    Hi all I have one server PowerEdge T330 with 8 slots of disc and have currently 3 SATA drives running a raid 5 configuration.  I have a virtual disk configured for Raid (must). The operating system recognizes the disk and is able to use the resources