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

Similar Messages

  • 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

  • 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

  • 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.

  • GL Interface - Control totals 11i

    Is it possible to load the control total (which appears at the batch header level) via the interface tables? I am not able to find any documentation on this.
    Thank You

    Can you try to use to_char for Interface run id as shown below
    ln_reg_id := fnd_request.submit_request
    (application => 'SQLGL', -- application short name
    program => 'GLLEZL', -- program short name
    description => NULL, -- program name
    start_time => NULL, -- start date
    sub_request => FALSE, -- sub-request
    argument1 =>to_char( l_iface_run_id), -- interface run id
    argument2 => fnd_profile.VALUE ('GL_SET_OF_BKS_ID'), -- set of books id
    argument3 => 'N', -- error to suspense flag
    argument4 => NULL, -- from accounting date
    argument5 => NULL, -- to accounting date
    argument6 => 'N', -- create summary flag
    argument7 => 'N' -- import desc flex flag
    );

  • 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

  • Goods Receipt, Good Issue Batch Control

    I'm trying to import Goods Receipt and Goods Issue using the DI API for version SAP 6.5 SP1 Patch 17. I was able to import for item that were not batch controlled but not for batch controlled items. I was wondering if anyone had a code sample on how to do this or point me in the right direction. Thanks for any information you can provide. Thank You Steve

    Hi
    The following code works. Please have in mind to use valid ItemCodes and BatchNumbers.
    Retrieving Batch Numbers
            Dim lRet As Long
            Dim strItemCode As String
            Dim oWOut As SAPbobsCOM.Documents
            oWOut = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenExit)
            strItemCode = "xyz"
            oWOut.Lines.ItemCode = strItemCode
            oWOut.Lines.Quantity = 1
            oWOut.Lines.BatchNumbers.BatchNumber = "b0204"
            oWOut.Lines.BatchNumbers.Quantity = 1
            lRet = oWOut.Add()
            If lRet <> 0 Then
                SBO_Application.MessageBox(oCompany.GetLastErrorDescription)
            End If

  • Payment Run Control Totals

    Dear SAP Friends,
    After doing the payment run for more than one company codes, payment methods, vendors.
    In which table and field I could find the total of all payments to send the control total file to Bank.
    We are creating EDI820 file for all the payment details and EDI831 for control totals to bank.
    Points will be assigned for great help.
    Regards,
    Paul

    Hi Paul,
    Table: REGUH : Settlement data from payment program
    Table: REGUT : TemSe - Administration Data (provide data relating to payment made through idoc, ACH etc)
    Table: PAYR: Payment Medium File (gives details of check generated)
    Hope this helps

  • 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

  • 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

  • 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

  • Control totals

    Dear SAP Experts,
    Is is possible to send email to bank with control total amounts with (or seperate) our EDI 820 file of payment run. How can we make it possible, will it be manual or automatic procedure.
    Please advise,
    Thanks & Regards,
    Paul

    Hey
    see u have to create two mapping for ur scenario.the first one is the usual mapping u have for EDI(guess this must be inbuilt if ur using seeburger)
    then create second mapping which will have only one files <Total>
    now create a interface mapping for this too.
    now if bank is outside ur landscape then u can't use Mail adapter,u have to use either FTP or HTTP,or SOAP etc.(u have to ask the bank in this regard as to what will be most suited for them,suppose the choose HTTP)
    now create a receive CC using HTTP adapter and configure it so that its pointing to the bank's URL.
    now create a receiver agreement for this too,in receiver determination,u will have two entries,one for the normal EDI using the EDI mapping and the second for the Total filed using the mapping u created in IR.
    u need to create interface mapping for this too.
    activate ur scenario and it will work.but before that as i said,u need to consult with bank as to in what format they want the total to be delivered.
    thanx
    Ahmad

  • Help! Unreconciled Stopped Payment affecting Control Totals

    All,
    I have an issue in Oracle Cash Management (Bank Recon) where a stopped payment was reconciled which created a Receipt Line and updated the Amount in the Line Totals. This created an imbalance between the Control Totals and the Line Totals, so the line was unreconciled. However, this did NOT update the Line totals and that Receipts line is still there. How can I remove this line?
    All responses highly appreciated!

    Hi Paul,
    Table: REGUH : Settlement data from payment program
    Table: REGUT : TemSe - Administration Data (provide data relating to payment made through idoc, ACH etc)
    Table: PAYR: Payment Medium File (gives details of check generated)
    Hope this helps

  • 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.

  • Traceability requirement for production but Plant1 is not batch controlled

    We have run MM, SD, FI for just over 12 months with only 1 Plant which does not have or need batch control.
    We are starting to scope out what we have to do to introduce PP in our food packing facility. This will require batch traceability at material level.
    I have been told that it is possible to create a 2nd Plant and configure it for batch control. BUT we will have to make arm's length transaction between the Plants. i.e. MM purchasing transactions in Plant1 then Plant1 issues materials, without batches, to Plant2 which receipts, with batches, and then uses batches in production.
    Does anyone have experience of this 2 Plant setup where Plant 1 is NOT batch controlled, but Plant 2 IS batch controlled?
    Is it a viable solution?
    Kind regards
    Jeremy

    Hi Jeremy
    You can activate batch management on the materials that will be relevant to batch. This can achieved in phased manner.
    Batch Management can be controlled at material level. As you are going to start PP as new process, You need do the following
    -  Shortlist the materials that will be batch relevant in future
    - Check stock levels, open purchase orders, PRs etc
    - For materials for which stock is already zero, activate batch management on them
    - For other when try to activate the batch, check error log and take action according to clear the stock so that batch management can be activated.
    I do not agree to have other plant as handing master data before implementation is one time effort, but if you have two plants.. this will remains for life. Think about the efforts and see what you want to do.
    Here is little tip
    In MM02 you receive a message that you shall look into the log if the batch management indicator cannot be saved.
    In that moment, hit enter and a new button will appear, there you can exactly read which document is hindering you.
    Usually it is stock in previous period that is forgotten to make zero.
    Check in MM03 at accounting view what your previous period stock is.
    As you have already cleared current period stock,
    you have to add again as much stock in the current period as you have to remove from previous period.
    then issue the stock with a previous period date. (you may have to allow previous period posting in MMRV first, and FI period has to allow it as well -> OB52)

Maybe you are looking for