PAYMENT BATCH를 MANUAL하게 CANCEL 하는 SQL

제품 : FIN_AP
작성날짜 : 2004-05-17
PAYMENT BATCH를 MANUAL하게 CANCEL 하는 SQL
=====================================
PURPOSE
고객사에서 간혹 Payment Batch의 Status 가 Formatting, Confirming 으로
멈추어 있어서 고객이 다시 Cancel을 할 경우 Cancelling 상태로 머물면서 Payment Batch Request 가 진행이 되지 않을 경우가 있다. 이때 해당 Concurrent Request 는 취소하고 해당 Payment Batch에 대해서 Datafix Script 을 통하여 Status 를 Cancelled 로 변경할 수 있도록 한다.
Problem Description
Payment Batch Stauts 가 Cancelling 상태에서 변하지 않는다. Concurrent Request 는 끝나지 않고 계속 Hang 상태에 머물러 있다.
Workaround
Solution Description
다음 sql 문을 이용하여 직접 cancelled 상태로 변경한다.
1) DELETE from ap_checkrun_conc_processes_all
where checkrun_name = '<payment batch name>';
2) DELETE from ap_selected_invoices_all
where checkrun_name = '<payment batch name>';
3)     DELETE from ap_selected_invoice_checks_all
     where checkrun_name = '<payment batch name>';
4) DELETE from ap_checkrun_confirmations_all
where checkrun_name = '<payment batch name>';
5)     UPDATE ap_inv_selection_criteria_all
     SET status = 'CANCELED'     
     where checkrun_name = '<payment batch name>';
status update 시 canceled 라고 반드시 입력해야 함에 주의한다.
CANCELLED 라고 L을 2번 입력하면 취소되었다고 인식 하지 않는다.
Reference Documents
143668.1

Similar Messages

  • Payment batch cancel

    hi
    we want to cancel one of our payment batches,which contains somany payments,is it possible to cancel it without selecting all payments in that?

    You may have already found this answer but the Icon to Void All Payments within a single batch is only available if you insert the function into the AP menu. Note 856131.1 explains in detail but here is the navigation for the fix. Navigate: System Administrator>Application>Menu. Query menu AP_NAVIGATE_GUI12. Scroll to end of list and insert new record #105. Select Void All Payments in Payment Instruction Page in the Function column. Save.
    Deb

  • PAYMENT BATCH를 APP-10050 때문에 CANCEL 할 수 없을때의 해결책

    제품 : FIN_AP
    작성날짜 : 2003-11-24
    PAYMENT BATCH를 APP-10050 때문에 CANCEL 할 수 없을때의 해결책
    ================================================
    PURPOSE
    PAYMENT BATCH를 APP-10050 때문에 CANCEL 할 수 없을때의 해결책을 제시한다.
    Problem Description
    Payment Batch를 cancel 하고자 할때 'APP-10050 You cannot perform the requested action on the selected
    payment
    Invoice status is PAID: YES' 가 발생한다.
    Workaround
    1. 다음으로 data의 문제를 파악한다.
    SELECT status
    FROM ap_inv_selection_criteria_all
    WHERE checkrun_name = `<payment batch name>;
    SELECT bank_account_id,check_id,check_number,amount,void_date,
    status_lookup_code
    FROM ap_checks_all
    WHERE check_number='<check number>';
    SELECT invoice_id,amount_paid,invoice_amount,
    payment_status_flag,cancelled_amount
    FROM ap_invoices_all
    WHERE invoice_num='<invoice number>';
    SELECT invoice_id,check_id,amount
    FROM ap_invoice_payments_all
    WHERE invoice_id='<check id>';
    2. 다음 UPDATE 문장으로 DATA를 수정한다.
    UPDATE ap_invoices_all
    SET payment_status_flag='N',
    amount_paid='0'
    WHERE invoice_id='<invoice id>;
    UPDATE ap_checks_all
    SET void_date='',
    STATUS_LOOKUP_CODE='NEGOTIABLE'
    WHERE check_number = '<check_number>';
    Solution Description
    Reference Documents
    Note 182837.1

  • AP payment batch is running very slow

    Dear All,
    We have an issue with AP payment batch, wherein the batch is unning very very slow.
    The DB is currently on 11gR2 with application on CU2.
    After having a close look into it we have seen an SQL ID dq3nnqyx0u7ht.
    Please help us if any patch is available against the said SQL ID.
    Regards
    Abhinov

    You need to tell what is the sql for that sql_id dq3nnqyx0u7ht.
    Get it from v$sql and post the sql.
    By
    Vamsi

  • Payment batch exception

    Hi Folks,
    When I try to close JAN period, its showing that there is an exception in payment batch which is in built status for JAN period.
    could any expert help me that how to fix this issue? I am in 11.5.1.2 ver.
    Thanks in advance,

    If you have not confirmed a payment batch u cannot close the period. Either u will have to cancell the batch or confirm it.
    Regards,
    MPH

  • Payment Batch Custom Workflow

    Hi,
    IHAC who wants each Payment Batch to go through an Approval Process. I know that this will be a customization since there are no standard workflows for payment batches.
    I would like to know if any one worked on something similar. Any Pointers will be highly appreciated.
    Thanks & Regards
    Ramdas

    Hi Ylee,
                 Three clarifications from my side in response to your process -
    1) Through IMG ---> Material Management ---> Logistics Invoice Verification ---> Incoming Invoice ---> Define Mail to Purchasing When Price Variance Occur, you can be able to set up the message determination so that the related message will be automatically sent to the buyer's inbox as soon as there is any variance between PO price and invoiced amount;
    2) Secondly, it is true that once change is made in the PO, the blocked invoice shall also be released through another transaction MRBR.
    3) You can also technically define the small difference transaction/event key DIF for automatic posting in case of small difference.
    Given your pre-defined process, I would believe that any workflow, once being activated, shall consist of three main steps -
    1) The e-mail notification shall be triggered and sent to buyer as soon as there is any variance;
    2) Once change is made in PO via ME22N transaction, the workflow will be then forwarded to A/P clerk (invoice creator) so as to either run MRBR transaction or manually remove the payment block indicator;
    3) Once this is completed, the e-mail notification will be sent to the buyer (and other related parties, if any) confirming the successful invoice posting.
    Regards
    Sridhar

  • Create payment batches for credit memos

    Hi,
    I want to create payment batch to pay several credit memos.
    When I issue "Select invoices" and "Build payments" processes, it does not select any of credit memos.
    I try to add manually the credit memos on "Modify payment batch" window, but after selecting the first credit memo it displays the message:
    "You cannot create a negative mount payment.".
    Please help me how to create payment batches for credit memos.
    Thank you.

    Hi Manish,
    I am using 11i version.
    Actually I followed the advices on this note, but still the same problem, the payment batch does not allow credit memos (as they are with negative amount), even when adding them manually.
    Please help me to find where is the problem.
    Thank you.

  • Status "confirming" with payment batch

    Hi,
    I am working on payment batches et I have a problem with one batch.
    Usually, when I want to confirm my payment batches, it works et the status of the batch switch from " formatted" to "confirmed".
    The problem is, that I wented to confirm one of my payment batches, but instead of ths status "confirmed", I found "confirming" status et I have only one option: cancel the batch, and I don't want to cancel this one but I want to confirm it.
    This is my problem, thank you foryou help.

    This seems to be known issue of AP patchset level N or below in 11.5.10. Raise SR and Oracle support should be able to provide your patch.
    Tarun

  • AP - Reversing or Voiding Payments Batch - 11.5.9

    Is it possible to do a partial reversing/voiding of a payment batch?
    For example, I have a confirmed payment batch of say total payment of $100, made up of 'x' number of invoices say $80 and 'y' number of invoices say $20. I now want to reverse/void those 'y' number of invoices ($20) only, so that the status is set to unpaid and can therefore be selected in another payment batch run. The 'x' number of invoices will remianed paid.
    Thanks

    This might help you - metalink Doc ID: 215266.1 (How To: Cancel and Reissue a Payment)...

  • Oracle Payable - Payment Batches error " APP-SQLAP -10380"

    Hi,
    I still trying to get my head around this module but i get this error message - APP- SQLAP-10380
    When trying to create a batch payment on 11i, i got "You cannot select this payment because it is in use by another payment batch.
    I have gone to Action button to try to cancel this error but still i can get past this. This also means that i cant get batch payment on any other invoices.
    Any useful pointed will be most appreciated. that.

    Hi,
    You can refer the following ML doc,
    [App Sqlap 10380 You cannot select this payment document payment batch formated|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=309655.1]
    Thanks,
    Anchorage :)

  • AP Payment Batch Sets?

    All experts,
    Can I use "AP Payment Bactch Sets" to made all those invoice payment with the payment method ='Clearing' for every month, so that use don't have make those invoice payment just simply click the button like Recurring GL?
    Anyone knows? Please help.
    Best Regards,
    Amy

    Batch Sets are more like templates for making your Payment Batches...you should be able to use them for your case.

  • AP Payment Batch  form

    As per my understanding AP Payment Batch form generates a file with formated check layouts.This file is sent to the server.
    I am supposed to store this file in the database.
    Was going through the seeded APXPAWKB form couldn't find the code which generates this file.
    Will it be possible for someone to throw some light here.
    Do let me know incase more information is required.
    Eagerly waiting to hear.
    TIA,
    Neelam

    Thank you very much for your help.
    I did find the reports which run from the payment batch form.
    And i also gathered a custom program which transfers the file from the standard out directory to the customized one.
    But there has been some change in the requirements and instead of inserting the file into the database i am picking the data from ap_selected_invoice_checks_all and ap_selected_invoices_all and inserting into a staging table from where web-methods is going to pick data and send it across to other vendor for more processing.
    I know that web-methods can spool the data from the staging table every few minutes but i was searching for some way to start the web-methods procedure from oracle. I know the communicating from web-methods to oracle is possible but i am not sure how to do it other way round that is from oracle to web-methods.
    TIA,
    Neelam

  • AP Payment Batch & DFF data Questions

    Hi,
    I have few issues faced by one of our clients.
    1- After a payment batch is selected and build, In ‘Actions’ the ‘Print Preliminary Register’ and ‘Confirm Payment Batch’ is enabled and processed by clicking ‘OK’.
    But due to some error the program was terminated . But output file with ‘0’ bytes is still created.
    How to avoid creating a '0' bytes output file whenever error occurs..?
    2- . DFF customized to capture ‘Message to Beneficiary ‘ in the payment batch window DFF. This DFF can capture 140 alpha numeric characters. But in output this seems to be truncated and not showing full values.
    Would it be because of the font size..? How to extend the data format of this field and what is the maximum we can set..?
    3- If the Remittance amount havng more decimal point like 555.555 gets truncated to 555.55 in the out file send to bank.
    Why truncated , can we set the rounding option to up/down..?where is it set..?
    Can anybody throw some light..?
    Thanks,
    Jayasree

    Use the reference columns i.e REFERENCE_1 to REFERENCE_10 of gl_je_lines table to join the AP, AR tables with the GL tables like the below query.
    SELECT gjl.reference_1,
    gjl.reference_2,
    gjl.reference_4,
    gjl.reference_5,
                        gjl.reference_10,
    aia.doc_sequence_value,
    aia.invoice_type_lookup_code,
    aia.description invoice_description,
    ada.prepay_distribution_id,
    gjl.description,
    aca.doc_sequence_value payment_doc_seq_number,
                        ada.invoice_id,
    aia.doc_sequence_value
    FROM gl.gl_je_headers gjh,
              gl.gl_je_lines gjl,
    ap.ap_checks_all aca,
    ap.ap_invoices_all aia,
    ap.ap_invoice_distributions_all ada
    WHERE gjl.je_header_id = gjh.je_header_id
    AND aia.invoice_id(+) = gjl.reference_2
    AND ada.invoice_id(+) = gjl.reference_2
    AND ada.invoice_id(+) = gjl.reference_3
    AND aca.check_id(+) = gjl.reference_3;
    Thanks,
    Lokesh.

  • You cannot reconcile a/p invoice transaction with A/P Down Payment request manually

    Dear Experts,
    One of my client has facing this problem while doing Reconciliation then he is getting the following error.
    "you cannot reconcile a/p invoice transaction with A/P Down Payment request manually"
    then we found a solution in SAP Forums and applied the same in Test Company Environment, then its working good and also attaching the scenario with screen shot.
    Please have a look into the attachment then tell us. Is it a good practice to proceed or is there any solution as simple as this.
    One more thing is my client has having more 20000 records to do reconciliation and he is looking for any alternative solution.
    So please tell us a Better solution.
    We are awaiting for your prompt response.....

    Hi,
    Please check SAP note:
    1340606 - Paid Down Payment Request cannot be reconciled
    internally.
    Thanks & Regards,
    Nagarajan

  • AP Supplier Checks are not printing in Payment Batch EBS 11i

    Hello Gurus,
    We have a list of suppliers about 15, and having inovices for that suppliers . when we do a payment in batch , that specific supplier invoices are not getting printed in the payment batch, the other invoices which of other suppliers[other than that 15 suppliers], those invoices are correctly printing in the checks.
    We have checked the terms date also.
    Please let us know how can we trace the cause for it.

    Hi,
    for the Invoices of 15 suppliers, the invoices are getting selected in the payment batch and payment is made. Only it is not getting printed on the reportss ? OR the invoices for those 15 suppliers is not getting selected at all .....
    What is the status of those invoices in Invoice workbench after the payment batch is confirmed ?
    Regards,
    Ivruksha

Maybe you are looking for

  • Mac mini with rolling tv screen

    I hooked up my mac mini to my tv and I get a rolling screen. I tried changing the display by using a monitor, but when I go back to the tv, it keeps doing the same thing. Please help.

  • HT201303 How to find out my forgotton security questions answer

    How to find out my forgotton security questions answers

  • Weblogic's LDAP Compliant directory service ?

    Hi Guys, I want to use the LDAP security realm for my authentication module.Now, as per J2EE compliancy Weblogic's directory server is LDAP compliant.Can I use weblogic's directory server itself (instead of Netscape,Microsoft etc.)for my LDAP securit

  • Text field datatype

    I am trying to capture a number from a text field and then perform a calculation on it. It is for navigation so a person can type in what screen they want to go to. However, it always looks at the value as a string and I need it to be a number to do

  • ITunes Match - start over and over

    Every time I upgrade iTunes I lost my iTunes Match. It says that there was an error in iTunes Match, log out and log back in. When I log back in, I am invited to start iTunes Match and it goes through the whole process again of gathering information,