Invoice Batches personalization w/ PO number

I am attempting to personalize the form APXINWKB (Invoice Batches entry form) and failing :( When a user chooses a type of 'PO Default' and enters a PO number, I would like to take that PO Number and use it in a query to check if it belongs to a certain department, write the info to the Description field. The only place that I have found that number once the PO Number window is closed is in the item.Invoice.Quick_PO_Number. Unfortunately, this value is not cleared between entries so I pick up an incorrect number. Any suggestions would be lovely.
I'm on 11.5.10. I'm using the New-item-instance trigger event on the INV_SUM_FOLDER.VENDOR_SITE_CODE object. The following is my condition:
(${item.INV_SUM_FOLDER.INVOICE_TYPE.value} = 'PO Default')     ---only on these types of invoices
           AND
(${item.invoice.quick_po_number.value} in
        (select poall.segment1 from po_headers_all poall, hr_locations_all hrall 
             where hrall.location_id = poall.bill_to_location_id and hrall.location_id in (122, 824)) )  --- only for these departments
[pre]
The action would then set the description field to the PO Number + the PO.description.  This would work fine if the invoice was empty for each new line.
Thanks for any suggestions!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

You may have more chances if you post your question in an eBusiness-related forum, maybe here OA Framework

Similar Messages

  • Ap invoices import in perticular invoice batch

    Hi all,
    I want to upload ap invoices data from my staging tables to ap_invoice_interface ad ap_invoice_lines_interfaces, before i am going to do that, i want to know some questions regarding interface issues.
    As my workaround says that
    1- create stage tables a) invoice_master b) invoice_detail
    2- import data from legecy system to stage tables
    3- load data from stage to interfce tables ap_invoices_interface and ap_invoice_lines_interface. Using validation techinecs to make sure that the data storing in interface table is correct or not.
    4- run import request from application to pull data into application tables.
    Here one question is distrubing me that how i associate these all invoices with one perticular batch. Well our normal practice regarding batch creation is like, we create AP Invoice Batches as our weekly-payables it is named like (2008-10-1, 2008-10-2, 2008-10-3 one, two, three show week number), so question is how could i associate these all import invoices with a perticular batch.
    I request all of you please sugguest me solution or idea which is best suites to my requirments and also check my workround is in a right flow ?
    Regards
    anwer

    thank you very much
    ssuhasar for reply .....................so it means that when we run request for import invoices open interface at that time we give batch name in parameters. can we create new batches or we just import open invoices in existing batch .
    Please confirm me
    regards
    thanks in advance

  • Oracle EBS AP Invoice Batch Approval

    Hi All,
    We have one requirement for EBS R12 as mentioned below.
    1) We want to implement batch approval for AP invoices.
    2) It should allow user to select or deselect invoices from a batch for approval or rejection.
    3) Approved or Rejected invoices from the batch should be processed later on with the same process.
    4) It should allow 3 level approval hierarchy ( accountant, manager & director )
    5) It should allow vacation rule creation for standard processing.
    Can anybody suggest how we can achieve this functionality???
    Thanks in advance for your inputs.
    sanjaypanchal

    Hi Srinivas,
    This sounds like it would be a customization:
    1. Enable and require standard invoice level approval
    2. Switch off notifications on standard invoice approval and implement "mock" approver to receive all notifications each invoice (as your batch approver would now be the approver at a batch level)
    3. Write extension to allow user to submit invoice batch for approval (e.g. SPECIALX or MENUX forms personalization) with each invoice in the batch submitted for approval when batch is submitted
    4. Write custom workflow to provide logic you require for batch
    5. When batch is approved/rejected update status (via backend or by callback to standard invoice workflow) of each invoice in batch as approved/rejected.
    6. Probably a couple of reports to support the above.
    Regards
    Gareth
    http://garethroberts.blogspot.com

  • AP Invoice Batch Approval

    Hi All,
    We have a requirement where AP invoice batches approval is required for Oracle 11.5.10.2. Currently, we know that the invoice approval is possible by invoice. We need to achieve the same for invoice batches so that all the invoices within the batch would have to get approved in a single go. Please note we need invoice batch approval not invoice batch validation which is anyway a standard functionality.
    Appreciate a solution or a workaround to achieve the above.
    Thanking you
    Srinivas

    Hi Srinivas,
    This sounds like it would be a customization:
    1. Enable and require standard invoice level approval
    2. Switch off notifications on standard invoice approval and implement "mock" approver to receive all notifications each invoice (as your batch approver would now be the approver at a batch level)
    3. Write extension to allow user to submit invoice batch for approval (e.g. SPECIALX or MENUX forms personalization) with each invoice in the batch submitted for approval when batch is submitted
    4. Write custom workflow to provide logic you require for batch
    5. When batch is approved/rejected update status (via backend or by callback to standard invoice workflow) of each invoice in batch as approved/rejected.
    6. Probably a couple of reports to support the above.
    Regards
    Gareth
    http://garethroberts.blogspot.com

  • Multiple Invoice Batches

    How do I create multiple invoice batches with
    a single submission of Payables open interface import.

    Hi Chris,
    standard functionality of oracle does not allow you to do that ....
    You either validate Invoice batches one by one .... or you execute the Invoice Validation program for all Invoice Batches ....
    However i can suggest an workaround if your are not making use of the Pay Group feature ...
    Pay group is a value that we configure in advance and assign it to the Invoices or the Invoice Batches ....you can see this value as one of the parameter in the Invoice Validation program .....
    This is how the workaround works ...
    1) You create a dummy value for a Paygroup ..
    2) You assign this dummy value to the Invoice Batches that you want to validate ...
    3) Run the Invoice Validation program leaving the Invoice batch name parameter value blank and select the dummy value in the Paygroup field .....
    4) Verify the results ....
    Regards,
    Ivruksha

  • AP G를 씌운후 INVOICE BATCH CONTROL TOTALS 이 틀릴때

    제품 : FIN_AR
    작성날짜 : 2003-05-21
    AP G를 씌운후 INVOICE BATCH CONTROL TOTALS 이 틀릴때========================================================================
    PURPOSE
    Payables Open Interface Program 실행후 invoice batch에 생기는 잘못된 control invoice count, control invoice total 해결
    Problem Description
    AP.G 를 씌운후 Payables Open Interface Program 실행하면 Invoice Batch의
    Control Invoice count, Control Invoce Total 이 잘못 나오는 현상.
    Workaround
    Data fix script
    Solution Description
    REM $Header: b2059687.sql 115.2 2001/12/03 11:20:40 lgopalsa noship $|
    REM **************************************************************************
    REM * Copyright (c) 2000 Oracle Corporation Belmont, California, USA *
    REM * All rights reserved. *
    REM **************************************************************************
    REM * *
    REM * FILENAME *
    REM * *
    REM * b2100875.sql *
    REM * *
    REM * DESCRIPTION *
    REM * This is for updating the AP_BATCHES in which the data was corrupted *
    REM * after applying the patch 1721820.This can be applied after applying *
    REM * the patch 2003024 which will set the correct values in ap_batches. *
    REM * i.e., control invoice count and control invoice total *
    REM * *
    REM * MODIFICATION HISTORY *
    REM * 03-DEC-2001 LGOPALSA Create *
    REM **************************************************************************
    REM dbdrv: sql ~PROD ~PATH ~FILE none none none sqlplus &phase=upg+52
    SET VERIFY OFF
    WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
    PROMPT
    Define enter_org_id = '&org_id'
    PROMPT
    exec fnd_client_info.set_org_context('&enter_org_id');
    UPDATE AP_BATCHES
    SET Control_Invoice_Count=Ap_Batches_pkg.GET_ACTUAL_INV_COUNT(batch_id),
    Control_Invoice_Total=Ap_Batches_pkg.GET_ACTUAL_INV_AMOUNT(batch_id)
    commit;
    exit;
    Reference Documents
    bug 2059687

  • Display  Purchase order, PO Item , Order Number ,entry sheet quantity ,entry sheet price ,invoice quantity, invoice price  against each line number

    hello all,
    i have an ALV report requirement like this,
    on the initial screen i have displayed(for a given agreement number like in ME33K )
    in the selection screen i have taken agreement number as EKPO-EBELN.
    purchase document number        item number        short text        target quantity      net price
    5400000019                                  1                      xxx                  1.000                  304300.00
                                                        2                     xxxx                 1.000                  500000.00
    the above fields i have taken from EKPO table.....
    and on double clicking the  item number i have displayed
    line number          service number       short text           quantity    units    gross price   quantity released
    1                           swr10                   xxxx                 2.00          kg          500             2
    2                           swr11                    xxxx                5.00          EA         500             2
    the above fields i have taken from ESLL (esll-extrow, esll-srvpos, esll-ktext1 , esll-menge  etc......)
    this i have done by passing EBELN to ESLH and getting PACKNO and passed this PACKNO to ESLL.
    now my question is i need to display  Purchase order, PO Item , Order Number ,entry sheet quantity ,entry sheet price ,invoice quantity, invoice price
    against each line number above.....
    from which table do i need to take these fields.....
    please guide me....
    thankq....

    Thanks Andra,
    The problem is the multiple invoices is for non goods receipt item so there will be no delivery.At the time of creating a PO the GR is not checked so there will be no delivery .
    Also this setting is for invoices which are comming from Vendors.But if we are genrating the invoices manually it is not blocking those invoices.Also i there is nowhere mentioned in Incomming invoice to set tolerence for incomming invoice.Are you talking about Vendor tolerences?
    Thanks in advance
    Edited by: Metroid01 on May 14, 2009 6:52 PM

  • AP:Invoice Batch set up

    Please help to solve this issue.
    I have Oracle 11i instance demo.
    On Account Payables when i click on Invoices:Entry: Invoice Batches i have an error message.
    The Message says: " you cannot navigate to the Invoice batches Window because batch control is not enabled for your system" Then it says ask your system administrator to enable option AP: Use Invoice Batch controls in the system Profile options Window"
    I log in as system administrator on the Profile: System ( System profile values window) i set the profile AP:Use Invoice Batch Controls to Yes at site level (Remember Application level, responsibility level and user level are grey out and cannot be change)
    After this set up, i still have an error message on AP: Invoice batches. What am i missing? Please help.

    Hello.
    The Responsibility level is greyed out because you are not filling it when making the query of the profile option. So, on the Find System Profiles window, in the Responsibility field, enter the responsibility you want to use to enter invoice batches and you will see that you can set it to Yes.
    Hope this helps.
    Octavio

  • FV60 - validate duplicate invoices by reference and vendor number

    Hi,
    How to configure the system to validate duplicated invoice by REFERENCE AND VENDOR NUMBER irrespective of dates? This validation need in FV60.

    Hi Paul,
    if you want a duplicate invoice check from the FI side, then you may have to activate BTE 1110 by creating your own Z function module (by copying FM SAMPLE_PROCESS_00001110).
    In  FI,when checking for duplicated invoices, the system compares the following : Vendor, currency, company code, gross amount of the invoice,reference document number and Invoice document date.
    Also refer to SAP Note 305201. It clarifies this in more details.The following fields must be identical for Duplicate invoice check
    Company code (BUKRS)
    Vendor number (LIFNR)
    Currency (WAERS)
    Reference number (XBLNR)
    Amount in document currency (WRBTR)
    Document date (BLDAT)
    If the document is having any one of the above filed different then the system does not consider it as a duplicate invoice.
    In OB41, also check whether the Posting Key is defined as Sales-related. You have to flag this field if the duplicate invoice check is to work.
    Regards,
    SAPFICO

  • How to allow user enter invoice batch wise

    Dear,
    IN R12, How can we mark invoice to be created only batch wise in oracle Payable manager.
    thanks.

    Please set the profile AP: Use Invoice Batch Controls to Yes and retest.
    Thanks
    Pradeep

  • Payables invoice batches showing no invoices in R12 v 12.1.1

    hi all,
    upon upgrading from 12.0.0 to 12.1.1, we suddenly encountered this technical problem in the invoice workbench screen wherein from the invoice batch screen, selecting 1 then click invoices button will show the list of invoices for that batch. then go back to the invoice batch screen and select another batch and click invoices button but this time will show no records even if the count says there are.
    when i checked the SYSTEM.LAST_QUERY, there's a part in the WHERE CLAUSE which says batch_id = some_number and batch_id = some_other_number.
    i.e.
    WHERE batch_id = 1 AND batch_id = 2...
    naturally this will not retrieve any records.
    it wasn't like this before the upgrade. does anyone know any articles about this ?
    thanks
    allen
    Edited by: A.Sandiego on Sep 18, 2009 1:47 PM

    Sounds like a bug, log an SR.
    Regards,
    Gareth

  • R12: AP Invoice Batch name visible for all organizations

    Hello,
    I am having a problem in Payables invoice batches. When querying in Organization A, the user is seeing invoice batches from Org A as well as batches for other organizations.
    Note that the batches from other Orgs can be seen but not the details of the invoices when clicking on the invoices button.
    Is there a setup to restrict viewing only the batch names created in an organization?
    vik

    What version are you on? Are you on R12?
    If so, I would check your MOAC (Multi Org Access Control) setup.
    Maybe the the responsibility you are querying from has access to multiple OUs.
    James Kim.

  • BAPI to get Invoice Details based on PO Number

    HI,
    Is there any BAPI to get Invoice Details based on PO number. If so could you pls let me know that.
    Regards,
    Ramesh

    Hi Ramesh  ,
    there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
    pass Vendor list , Document Dates.
    <b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
    Regards
    Prabhu

  • Daily invoicing batch-job

    A daily invoicing batch-job is needed which collects all the orders or deliveries due to bill. This job must include third party business (vendors invoice is the delivery confirmation). Printout of the invoices is also started by this job.

    Hi Bala;
    Goto SE38, for the program SDBILLDL create a Variant, which would include the Billing type and the Sales Org. details. Choose, both Order & Delivery related Billing opitons and save the variant.
    Now create a batch job thru SM36 t.code for this program and schedule a time. This process is self explanatory.Once you do this, a daily job would be scheduled to run a t a particular time.
    Now to Print out the Inovices, we can do this using a Output type. Configure a Output determination procedure to achieve this. Once the outputs are processed they can be printed on a printer assigned.
    Regards,
    Mani.

  • Paybles Invoice Batch Cannot find item: Invalid ID  In R12

    Hi All,
    While running invoice batch when we click on item it is giving error like Invalid id. Please suggest me.
    Thanks,
    Red.

    RED,
    Have a look at the following note, it may be helpful.
    Note: 553646.1 - R12 Cannot Open Invoices Form Frm-41045: Cannot Find Item: Invalid Id
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=553646.1
    Regards,
    Hussein

Maybe you are looking for