Oracle AP Invoice Attachment

Hello Experts!
I am trying to see if there are any SQL queries that can be written so that whenever the Open Invoice Interface is run, if that can also pull in and attach the associated invoice that we have on a shared drive and attach it to the corresponding invoice? We want to be able to attach invoices automatically so that we do not have to go in and click on the paper clip every time and add the scanned or electronic invoices manually. Is there any cost effective way of doing this without having to implementing another Oracle solution? We are currently in Oracle 11.5.10.2.
Thanks!
Edited by: 990255 on Feb 25, 2013 2:48 PM

Option #1: This is an UNSUPPORTED SOLUTION. Manually insert records into the FND attachment tables once the invoice gets created.
Option #2: Keep the file in shared folder and send the file URL/link in one of the attribute value to the interface; Enable Zoom function in the custom.pll to launch the URL/LINK when user clicks ZOOM button. Also you can try with forms personalization to launch URL / Link instead of customization.

Similar Messages

  • Oracle Payable Invoice Approval with AME issue

    Hello,
    This is on r12.
    We are using AME for Oracle Payables Invoice Approval.
    We have a requirement that if the supplier type is of Audit, then Person "John Johny" is the final authority on that invoices. That means such invoices will have one and only one approver - "John Johny"
    To incorporate this, I did following AME setup
    1. Created a List Modifiers Conditions of type "HR People" and "FND User" and explicitly assigned John Johny in the condition.
    2. Created an Action Type of "Final Authority"
    3. Created a rule of "List Modification" type
    4. Attached appropriate conditions
    5. Attached List Modifier ConditionsMy probelm is #5 from above. Even after creating conditions of List modifiers #1, It is simply not showing up in list of values when setting up the step #5. Not sure what is missing. Any advise?
    Thanks,
    Darsh

    The AME does not apply any item class when list modifications rule type with final authority is applied.
    The drop down box for item class remains grayed out
    Thanks
    Darsh

  • Oracle Inferface Invoices Rejects Canadian Tax Code

    Hi to All,
    Today we incountered Oracle Interface Invoice issue where a invoice with Canadian Tax Code "HST" was rejected. Researching the Open Interface Invoice Lines we can see for the invoice the tax code "HST".
    But when we go to quick invoices and view the rejected invoice the TAX Code "HST" is NULL. When attempting to update the invoice we get the following error: FRM-40212: Invalid value for field TAX_NAME.
    We have checked the tax code in Oracle and tax code is enabled.
    We have also checked the Acct Distrubtion and accounts are enabled.
    We have been processing several invoices for CAD with tax code "HST" and we have not been having any issue.
    Would like assistance on where the issues lies and how to resolve.
    Thanks

    hi,
    1. Check if the GL date entered in the invoice header is in open period and status set to null before running payable open interface.
    2. Check if "GL period" is open for that period in GL responsibility.
    I also faced the same issue:
    Re: Payable interface error: ACCT DATE NOT IN OPEN PD
    Regards
    Imran

  • Replacing Oracle EBS FND Attachment functionality with UCM

    I am new to Oracle UCM and wondering about Replacing Oracle EBS FND Attachment functionality (Paper Clip in EBS forms) with UCM. Can we achieve this by simply defining the Attachment Repository using System Administrator Responsibility in EBS? Can you share some documentation on this?
    If we have to customize the forms to re-direct the document repository from FND to UCM, please share the steps to do so.

    Didn't see the link in your post. may have been stripped.
    if you want to use the ebs native attachment lists, what we've done is used a custom bpel composite to load items into the appropriate entity in the fnd_documents and all of those other related ebs tables. this takes webcenter out of it for the most part. you could also load links, similar to the imaging solution's approach. this way, again, uses the ebs attachments, but stores the image in IPM (in the imaging case, that is). there is a link loaded into the fnd tables.
    if you want to leverage the ebs-side attachment lists, managed attachments may not be the approach you want to take. You may want to look into the imaging solution or creating a custom process.
    -ryan

  • Oracle AP Invoice Approval Workflow

    WorkFlow Gurus,
    I create an AP invoice and add attachment to it and initiate approvals.
    The Invoice Requester's manager logs into Oracle and can see the Invoice Approval Notification (in Worklist) and can also see the attachment.
    But the same manager also receives an email for the same Invoice Approval but in email he can't see the attachment or any link to point to the attachment.
    Can you please suggest what can be done to see attachments in email for invoice approval workflow?
    Please help here!
    Thanks

    If you have some idea, can you point me to what exactly could be causing this issue. Is this the problem with emailing message preparation part or email sending part or something else that could be causing this. Sorry, I have no idea -- It might be reported in the bug.
    Another questions that comes to my mind, does attachment work with other workflows like iProcurement / PO / HR etc.....that is, is this a problem with just AP Invoice Approval or other oracle workflows have the same issue.
    One point brought out by one of fucn folks was, because invoice images could be of several pages that is why oracle don't want to send those in emails.Please log a SR for this.
    Thanks,
    Hussein

  • PDF file created from Oracle Report is attached wrongly

    Hi,
    Please help. It is very urgent.
    I am using Oracle Developer 10gR2, Oracle Report 10.1.2 on Windows 2000.
    I would like to attach the PDF file created by Oracle Report to the Notification sent from Workflow.
    I use the following package procedure in my Workflow.
    procedure Create_File_Attachment (document_id   in varchar2, display_type  in varchar2, document      in out blob, document_type in out varchar2)
    is
         l_itemtype          varchar2(100);
         l_itemkey           varchar2(100);
         l_output_directory  varchar2(30);
         l_filename          varchar2(255);
         src_loc             bfile;
         bdoc                blob;
         src_offset          number := 1;
         dst_offset          number := 1;
         amount              number;
    begin
         l_itemtype := substr(document_id, 1, instr(document_id, ':') - 1);
         l_itemkey := substr(document_id, instr(document_id, ':') + 1, length(document_id) - 2);
         l_output_directory := 'USR_TMP_DIR';
         l_filename := Wf_Engine.GetItemAttrText(l_itemtype, l_itemkey, 'ATR_FILENAME');
         src_loc := bfilename(l_output_directory,l_filename);
         dbms_lob.createTemporary(bdoc, FALSE, dbms_lob.call);
         dbms_lob.fileopen(src_loc, dbms_lob.file_readonly);
         dbms_lob.loadblobfromfile(bdoc,src_loc,dbms_lob.lobmaxsize,src_offset,dst_offset);
         dbms_lob.fileclose(src_loc);
         amount := dbms_lob.getLength(bdoc);
         dbms_lob.copy(document,bdoc,amount,1,1);
         document_type := 'application/pdf; name=attach.pdf';
    end Create_File_Attachment;Oracle Report created the PDF file correctly (original.pdf).
    I tried to attach the PDF into my Workflow.
    I can see the file is attached (attach.pdf), but it cannot be opened.
    The Adobe shows : 'A drawing error occured.' each time I open the attachment.
    I compare the original.pdf and the attach.pdf
    However, there is one specific difference
    - in original.pdf, the line started with '.' (single period)
    in attach.pdf, the line is started with '..' (two periods)
    Thus the attachment cannot be opened.
    After I delete the period, it can be opened.
    Question:
    - Has someone ever succeed in attaching the PDF created from Report?
    - Are the codes above is wrong?
    - Or perhaps the DBMS_LOB.LOADBLOBFROMFILE always double the single period on front of the line?
    - Is there any solution on this?
    Note:
    I have succeed in attaching PDF files unless the PDF created by the Report.
    Sorry for the long post.
    Please help. It is very urgent.
    Any help is appreciated.
    Many thanks,
    Buntoro

    The code looks absolutely good. I have the same code working in my system. Only difference is I use TRUE and DBMS_LOB.Session for the BLOB I use to read from the BFILE.
    I can suggest one more way to handle to binary attachments if you are on Oracle 9i DB are later versions.
    procedure attach_document (p_document_id   in varchar2,
                               p_display_type  in varchar2,
                               p_document      in out nocopy clob,
                               p_document_type in out nocopy varchar2)
    is
      l_nid        number;
      l_directory  varchar2(100);
      l_filename   varchar2(100);
      l_content_type varchar2(100);
      l_src_offset binary_integer := 1;
      l_dst_offset binary_integer := 1;
      l_err_msg    varchar2(100);
      l_amount     number;
      l_bfile BFILE;
      l_blob  BLOB;
      l_clob  CLOB;
      file_not_found exception;
      pragma EXCEPTION_INIT(file_not_found, -22288);
    begin
      l_nid := to_number(p_document_id);
      l_directory := trim(wf_notification.GetAttrText(l_nid, 'ATTR_DIRECTORY'));
      l_filename := trim(wf_notification.GetAttrText(l_nid, 'ATTR_FILENAME'));
      l_content_type := trim(wf_notification.GetAttrText(l_nid, 'ATTR_CONTENT_TYPE'));
      l_bfile := BFILENAME(l_directory, l_filename);
      dbms_lob.createtemporary(l_blob, true, dbms_lob.Session);
      dbms_lob.createtemporary(l_clob, true, dbms_lob.Session);
      begin
        dbms_lob.FileOpen(l_bfile, dbms_lob.File_Readonly);
      exception
        when file_not_found then
          l_err_msg := to_char(sqlcode)||' - Attachment File "'||l_filename||'" is not found.';
          raise_application_error(-20002, l_err_msg);
      end;
      dbms_lob.LoadBLOBFromFile(l_blob, l_bfile, dbms_lob.LobMaxSize, l_src_offset, l_dst_offset);
      dbms_lob.FileClose(l_bfile);
      -- Encode the BLOB content to BASE64 and attach to notification  
      wf_mail_util.EncodeBLOB(l_blob, l_clob);
      l_amount := dbms_lob.GetLength(l_clob);
      dbms_lob.Copy(p_document, l_clob, l_amount, 1, 1);
      -- Mention an appropriate Content Type so that Notification System
      -- understands the attachment content
      p_document_type := l_content_type||'; encoding=base64; name='||l_filename;
    end attach_document;Here I read the BLOB from the filesystem and base64 encode it before giving it to the Mailer. Please note that this is a PLSQLCLOB based attachment as against PLSQLBLOB that you are using.
    Thanks - Vijay

  • Invoice attachment to R/3 system

    Hi ,
    I have created an invoice without reference to a PO  in SRM 7.0.
    I performed the following steps.
    1. from role Invoicing --> Overview --> Invoice processing --> Created documents --> Invoice create an
    invoice.
    2. In the notes and attachment tab add an attachment ( a word doc
    e.g. "test.doc" )
    3. Make sure invoice is in approved state.
    4. in BBP_PD transaction in SRM ABAP system check the attachment.
    5. Go to Tracking tab and get the Back end document number.
    6. Go to FB03 transaction in R/3 system and enter the document and
    Company code to view the document
    7.In document overview , go to attachment list and try to locate the
    attachment.
    8. Attachment was missing.
    how can i transfer this attachment in back end R/3 system?
    Regards,
    Ashish Shah

    This feature is not possible,
    Got the following response from SAP:
    Unfortunately, I can not provide a solution for you. Once the invoices
    are transferred from SRM to Backend via IDOC funcionality it is not
    possible to use this to transfer attached files.
    This is the standard system design.
    Regards,
    Ashish Shah

  • Invoice Attachment

    We are getting Invoices from our Vendors with the Attachment.
    After it comes into XI, the Invoice Data and the Attachment(PDF) needs to be separated and then needs to be sent into R/3 system. The Invoice data goes into R/3 as an IDOC.
    How should I achieve this in Message Mapping? How to separate the Invoice data and the PDF Attachment?
    The adapters needs to be used?
    Thanks.

    That is not possible out of the box. Most adapters like RFC adapter, BPM and mapping cannot deal with attachments.
    When your application system is based on 6.20, you could create an ABAP proxy which deals with the attachment and calls inside the IDOC and the RFC.
    Another approach is using a Java Proxy which runs on the XI server. It receives the message and sends two seperate messages out, one for the invoice, one for the attachment.
    You could use as well an adapter module, but you can only combine the invoice and the attachment to one payload and do a message split with different mappings later.
    Here an idea for an adapter module:
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    Regards
    Stefan

  • Invoice Attachment in MIRO/MIRA

    Hi All,
    Please let me know how invoice pdf can attach in MIRO/MIRA.
    I am an abaper and I am facing an issue where the attached pdf values( Invoice no and PO no ) and the screen values are not matching.
    Please let me know, is the pdf is attaching manually or whether the attachment will create automatically once the invoice is entered in the system.
    Regards,
    Nikhil V.Kumar

    Hi ,
    We are using same process and attached the invoice to the PO Line Item,
    So you always can see it from the MIRO, or finance documents ( Drill down to PO )
    Regards,
    Moshe

  • Mail with invoice attachment. How to?

    Hi... With the client, you can email an invoice (jpg attachment).. In the SDK you can also send emails using the Message-object, but is it possible to make the jpg-file as attachment... I can't see how...

    Hi Rasmus,
    Using the DI API SBO 2004 can only create a .xml version of the invoice (to create the .jpg is impossible) and attach that to the Mail. You would have to find a way to create a .jpg document and then attach that. It has been mentioned that you could send the document to a ".jpg printer" as you would send a word document to a ".pdf printer" and then attach that file to your mail

  • Error FRM-10102 While Opening APXINWKB.fmb (Oracle Apps Invoice Forms) in .

    HI,
    I have freshly installed the Oracle 10g Forms n Reports developer and copied all the necessary pll, plx and fmb from AU_TOP/resource or AU_TOP/forms/US folder,
    and then updated in FORMS_PATH of regedit.
    But when i am trying to open the APXINWKB.fmb,i am getting the below errors.
    Can you please help me in resolving this issue,
    FRM-10102: Cannot attach PL/SQL library APXINLIN. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library CUSTOM. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPDAYPK. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPFLDR. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APXINWKB. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPREPAY. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APCACHE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library POXAPINT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library POXCOMSG. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPUTIL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APXHOLDS. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library IBYFDOBJ. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APVIWPAY. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPAYSHD. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library XLACORE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APXINWKB. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library POXAPINT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
    Regards,

    As you have found out, an Oracle Enterprise Business Suite (EBS) forms have multiple library files attached. When you open an EBS form, you must have a copy of the .pll files listed in the FORMS60_PATH (Forms 6i) or FORMS_PATH (Forms 10g) or you will get the message you are receiving. These library files are typically found in the $AU_TOP/US/RESOURCES directory on the Application Server.
    You might also want to take a look at the following documents in the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Oracle Receivables - Invoice Interface from Legacy

    Hi,
    I am trying to write an interface from Legacy to Oracle
    Receivables (rel. 11.5.4). I am not sure about the fields to be
    populated in RA_INTERFACE_LINES_ALL as well as
    RA_DISTRIBUTIONS_ALL (besides the not null fields).
    Can anyone help. My e-mail id is [email protected]
    Thanks.
    Anil

    Hi Ivruksha,
    Thanks for your replay...
    We have this requirement in our current Project
    Example: Our client provide service on Contract base when our client create invoice for $10000 customer will pay only 70% of bill amount only as per the Contract terms after completing the entire contract based on the quality of service customer will release 30% amount, so my client want to tract 30% amount from each Customer Invoice Creation so that he can understand how much amount is retained with his customer.
    Please help me regarding this..
    Regards
    Bharath

  • Invoice attached to email as pdf

    hello,
    our customers have asked us if it is possible to attach a copy of their purchase invoice to their confirmation email as a pdf.
    has anyone been able to do this?
    or does anyone know how this could potentially be done?
    thanks in advance for the help.

    BC can't do it out of the box, you could use the BC notification API to a 3rd party service that goes to a specially created page on your BC and converts the HTML into a PDF and then emails it. You would have to find a service that does this, build your own or get someone (me) to build it for you.

  • Help Needed Regarding Oracle AP Invoice Cancellation/Hold Functionality

    What I need to do is to assign invoice hold and cancel rights to a user without giving him any other rights to modify the invoice in anyway. Basically what I want is that my user could hold or cancel any invoices pending payment but not be able to change anything else regarding that invoice.
    My consultants tell me that it's not do-able and hold/cancel rights come with a set of other invoice modification rights which will be assigned if these are assigned. This, not only is a major no-no for me but I also highly doubt this, considering the wholeness of Oracle Financials. Please, can you let me know a way that this could be done?
    Thanks,
    Jawad

    Sorry I didn't got You..
    If you want user to place a HOLD,then that can me achieved by placing manual Hold.....
    A user of the invoices will always have the rights to modify the invoice....so in what way you want to Restrict the user..??

  • AP Invoice Attachment

    Hi
    I need to have attachment sent my the workflow mailer...
    i followed the below steps.
    In the standard oracle workflow - APINV
    created a attribute 'XXX_TEST_ATTR'
    created a message and attached the attribute "XXX_TEST_ATTR" to it...
    i have created a custom pkg XXX_AP_WFAPPROVAL_PKG which is the copy of AP_WFAPPROVAL_PKG
    and added the below code in the procedure notification_handler
    select fl.file_id
    into l_file_id
    from
    ap_invoices_all ai,
    FND_ATTACHED_DOCS_FORM_VL fad,
    fnd_lobs fl
    where ai.invoice_id= fad.pk1_value
    and fad.MEDIA_ID = fl.file_id
    and ai.invoice_id =substr(itemkey, 1, instr(itemkey,'_')-1)
    group by fl.file_id;
    wf_engine.setitemattrdocument
    (itemtype=>itemtype
    , itemkey=>itemkey
    , aname=>XXX_TEST_ATTR'
    , documentid =>'PLSQLBLOB:xxx_workflow_pkg.xx_notif_attach_procedure/' || to_char(l_file_id));
    In the workflow i have replaced the AP_WFAPPROVAL_PKG.notification_handler --> XXX_AP_WFAPPROVAL_PKG.notification_handler
    i am getting the mailer notification... the standard functionality, but i am not getting the attachment document(word doc) for which the workflow is modified..
    can you pls help me out... where i went wrong...
    Regards
    Yram

    Hi Varun
    Thanks for your response...
    due to the limitation in the uploading the pkg...(size of the pkg XXX_AP_WFAPPROVAL_PKG is exceeding the limit)... i have not uploaded the pkg....
    do find the pkg xxx_workflow_pkg which is called in the XXX_AP_WFAPPROVAL_PKG.notification_handler
    1. let me know where to use the below code
    select fl.file_id
    into l_file_id
    from
    ap_invoices_all ai,
    FND_ATTACHED_DOCS_FORM_VL fad,
    fnd_lobs fl
    where ai.invoice_id= fad.pk1_value
    and fad.MEDIA_ID = fl.file_id
    and ai.invoice_id =substr(itemkey, 1, instr(itemkey,'_')-1)
    group by fl.file_id;
    wf_engine.setitemattrdocument
    (itemtype=>itemtype
    , itemkey=>itemkey
    , aname=>XXX_TEST_ATTR'
    , documentid =>'PLSQLBLOB:xxx_workflow_pkg.xx_notif_attach_procedure/' || to_char(l_file_id));
    --pkg xx_workflow_pkg
    CREATE OR REPLACE package body APPS.xxx_workflow_pkg is
    PROCEDURE xx_notif_attach_procedure
    document_id IN VARCHAR2
    ,display_type IN VARCHAR2
    ,document IN OUT BLOB
    ,document_type IN OUT VARCHAR2
    ) IS
    lob_id NUMBER;
    bdoc BLOB;
    content_type VARCHAR2(100);
    filename VARCHAR2(300);
    BEGIN
    --set_debug_context('xx_notif_attach_procedure');
    lob_id := to_number(document_id);
    -- Obtain the BLOB version of the document
    SELECT file_name
    ,file_content_type
    ,file_data
    INTO filename
    ,content_type
    ,bdoc
    FROM fnd_lobs
    WHERE file_id = lob_id;
    document_type := content_type || ';name=' || filename;
    dbms_lob.copy(document, bdoc, dbms_lob.getlength(bdoc));
    EXCEPTION
    WHEN OTHERS THEN
    --debug('ERROR ^^^^0018 ' || SQLERRM);
    wf_core.CONTEXT('xx_g4g_package'
    ,'xx_notif_attach_procedure'
    ,document_id
    ,display_type);
    RAISE;
    END xx_notif_attach_procedure;
    end xxx_workflow_pkg;
    Regards
    Yram

Maybe you are looking for

  • Target path issues, multiple nested mc's

    I have a movie clip with a total of 15 nested movie clips within it. My goal is to be able to scroll through these 15 mc's, they're thumbnails. Before I nested all the individual movie clips into one, they expanded when rolled over. Now that they are

  • RAC interconnect using UDP - default ports?

    Is there a default port used by each cluster member to listen for connections over UDP? We use IPTABLES firewalls on our hosts, and I need to ensure the cluster heartbeat traffic gets through the firewall properly. Thanks in advance. Jeff

  • Impact of MM org structure design

    Hi, Just out of curiosity, may I know what is the impact to the system in term of SAP organizational structure design from MM perspective beside its impact on business reporting, and material master maintenance? Thanks tuff

  • Problem with Blackberry desktop software

    HI, i recently brought a blackberry curve 8320 and i want to use the desktop software. But, when i tried to install it, it asked about internet services like enterprise. and i didnt buy any additional features like, data plan or internet on my phone.

  • Delays in MacPro 3.2 GHz delivery

    I am wondering if there are problems in the supply chain for the faster MacPros. On April 2, I ordered a MacPro 3.2GHz with the NVidia 8800 video card. I was told that delivery would be in 2 to 3 weeks. Well the 3 week mark has long passed and still