Apply Receipts and CM

Hello all,
We Have Oracle EBS R12.
There are many invoices already entered to the application.
There are more than 1000 Check (Receipts) already entered in the application, also there are 1000 Credit memo's Entered in the application.
As there are no enough time to apply them one by one, Is there any thing (request, API ...) that can help in Applying those Receipts with invoices, and those
Credit Memo's with invoices.
As for applying receipts with invoice i tried the following procedure but it there are problem when applying 1 receipt with more than invoices, example
receipt = 7000, invoice1=5000, invoice2= 3000. It apply 5000 with invoice1, but the remaining = 2000 doesn't apply with invoice2.
CREATE OR REPLACE PROCEDURE xx_ar_receipt_apply_b (
cr_rec_id IN NUMBER,
rec_amount IN NUMBER,
rec_no IN VARCHAR2,
cus_id IN NUMBER
AS
l_return_status VARCHAR2 (1);
l_installment NUMBER;
l_msg_count NUMBER;
l_msg_data VARCHAR2 (240);
cash_receipt_id NUMBER;
inv_no NUMBER;
inv_date DATE;
inv_amount NUMBER;
new_amt NUMBER;
rec_amt NUMBER;
payment_id NUMBER;
--- Define cursor c ---------
CURSOR c
IS
SELECT ct.trx_number inv_no, rac.amount_due_remaining inv_amount,
rac.payment_schedule_id payment_id, ct.trx_date inv_date,
rac.terms_sequence_number l_installment
FROM ar_payment_schedules_all rac, ra_customer_trx_all ct
WHERE rac.customer_trx_id = ct.customer_trx_id
AND ct.bill_to_customer_id = cus_id
AND RAC.CLASS = 'INV'
AND rac.amount_due_remaining > 0
ORDER BY ct.trx_date, rac.payment_schedule_id;
BEGIN
DBMS_APPLICATION_INFO.set_client_info (102);
fnd_global.apps_initialize (1374, 20678, 222);
mo_global.init ('AR');
mo_global.set_policy_context ('S', 102);
new_amt := 1000;
FOR REC_INV IN C
LOOP
IF new_amt > REC_INV.inv_amount
THEN
BEGIN
ar_receipt_api_pub.APPLY
(p_api_version => 1.0,
p_init_msg_list => fnd_api.g_true,
p_commit => fnd_api.g_true,
p_validation_level => fnd_api.g_valid_level_full,
x_return_status => l_return_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
p_receipt_number => rec_no,
p_cash_receipt_id => cr_rec_id,
p_trx_number => REC_INV.inv_no,
p_amount_applied => REC_INV.inv_amount,
p_installment => REC_INV.l_installment,
p_applied_payment_schedule_id => REC_INV.payment_id
new_amt := new_amt - inv_amount;
END;
END IF;
IF new_amt <= REC_INV.inv_amount
THEN
BEGIN
ar_receipt_api_pub.APPLY
(p_api_version => 1.0,
p_init_msg_list => fnd_api.g_true,
p_commit => fnd_api.g_true,
p_validation_level => fnd_api.g_valid_level_full,
x_return_status => l_return_status,
x_msg_count => l_msg_count,
x_msg_data => l_msg_data,
p_receipt_number => rec_no,
p_cash_receipt_id => cr_rec_id,
p_trx_number => REC_INV.inv_no,
p_amount_applied => new_amt,
p_installment => REC_INV.l_installment,
p_applied_payment_schedule_id => REC_INV.payment_id
new_amt := 0;
END;
END IF;
IF new_amt = 0
THEN
EXIT;
END IF;
END LOOP;
END LOOP;
END IF;
arp_standard.disable_debug;
END;
Thanks in advance.
Edited by: 858923 on May 14, 2011 12:56 PM

how do you create your receipt? if you are using lockbox, you can specify invoice number(s) so that the receipt will be applied to the invoices after creation.

Similar Messages

  • Applied receipt register

    Hello all,
    I have a problem in Accounts REceivable version 10sc.
    The report "applied REceipt Register" report doesn't print for 17th Jan 02 it prints for all other dates.I checked all the related database tables they all are fine. The status field shows "applied" too.
    If anyone how works in receivables can you please help me. I am new to this product.
    Thanks
    Saritha

    Hi,
    Is it normal RDF if yes, then first step you change the output type to XML after that run the report and check the view out, if it showing as XML if yes. Install XML publisher and after that open word and under one menu you will see the data under this loading option and load this file and after that you can create te XML rtf too.
    Thanks
    Shishu Paul

  • Doubt with applying receipt

    Hi all,
    When we try to apply receipt for our transactions using receipts window,we have the option to apply the receipt to Credit Memos,*Debit Memo's* and our Invoice. Now,my doubt is.Is there any way where we could limit this so that i can apply my receipt only to Debit Memos.
    Navigation:
    Receivables Manager-->receipts-->Receipts
    Before this i have created Credit Memo and Debit Memo for this Invoice.
    Hope i am clear enough.
    Any help is appreciated,
    Thanks in advance!!

    Hi.
    Well, one way of achieving you goal is to use Forms Personalization. Each time a user chooses a transaction different from Debit Memo to apply the receipt, raise an error message and clear the record from the form. This is only one approach. Forms Personalization allow you to use different ways of achiving the same result using different methods.
    Octavio

  • Applied receipt register report

    Hello all,
    I have a problem. The Applied REceipt REgister report in Collection MAnager in REceivable gives me error message while I am trying to run that report for 17th JAn 2002.It works fine for other dates. The log file for the request_id shows this error "Attempt to free null pointer" ,"Fetch out of sequence" etc.Deos anyone here work in Accounts Receivables?
    Please let me know.
    Thanks
    SAritha

    Hi,
    Is it normal RDF if yes, then first step you change the output type to XML after that run the report and check the view out, if it showing as XML if yes. Install XML publisher and after that open word and under one menu you will see the data under this loading option and load this file and after that you can create te XML rtf too.
    Thanks
    Shishu Paul

  • Applied Receipts Register Report.

    I have a client requirement wherein we need to customize the Applied Receipts register report in AR. Executable we discovered that the report is an RXi report spawned from a plsql program.
    Looks like its kicking of an RDF Report.
    Does any one know the name of seeded RDF File name for Applied Receipts Register Report.
    Thanks!

    Query the concurrent program from (System Administrator > Concurrent > Program > Define) screen and get the file short name, then follow the steps in (How to Override an RTF or RDF when testing a Report fix [ID 841295.1]) to get the template/layout details.
    Thanks,
    Hussein

  • Goods Receipt and Serial Numbers

    I'm getting the following error "[IGN1.WhsCode][line: 1] , 'This entry already exists in the following tables (ODBC -2035)'" when trying to add a goods receipt document containing a single item that is serial number managed via the DI API.  We are running against Business One version 2005A SP01 PL9.  The Goods Receipt PO transaction is reporting the same error.  The Goods Issue and Delivery transaction appeared to work correctly. The Goods Receipt transaction posted correctly when created in the B1 Client (GUI) application.  So it is an issue with the DI API.  We are using the SBODemo_US company database but we added a new item and configured it for serial number management.  This same code works with B1 2004A.  Our application is suppose to work with both versions of B1, so our application is built with version 2004A DI API.  Should this work, or do I need to use the 2005A version of the DI API when communicating with a 2005A system?  Would this version of the DI API work correctly with a 2004A system?
    Thanks,
    Jason Eiler

    I remembered encountering the same problem working with B1 2004A.  For the Goods Receipt and Goods Receipt PO documents, when receiving items that are serial managed I would fill in the InternalSerialNumber data member of the Document Lines Serial Numbers object.  The fix was I also had to provide some value for the SystemSerialNumber field.  I just always set it to a value of 1.  In B1 2005A, this issue must have been resolved, because when I commented out this line of code, the document was added successfully.  I don't have to provide a SystemSerialNumber, the system must generate one, as I would expect.

  • Movement Types for Receipt and Consumption

    Dear all,
    I am an ABAPER.
    My requirement is to develop a Material balancing report.
    In which i have to display
          Opening Stock
          Value
          Receipt
          Value
          Consumption
          Value
          Closing stock
          Closing value
    for a material.
    Here I need to know the table and fields for the above mentioned output fields.
    Particularly i need to know what are the
    movement types for Receipt and
    movement types for Consumption
    Can anyone let me know?
    Regards,
    Prem

    hi,
    few reports are:
    MC45 INVCO: Analysis of Usage Values
    MC46 INVCO: Analysis of Slow-Moving Items
    MC47 INVCO: Analysis of Reqmt Values
    MC48 INVCO: Anal. of Current Stock Values
    MC49 INVCO: Mean Stock Values
    MC50 INVCO: Analysis of Dead Stock
    MB51......
    TAbles:
    MVER - Material consumption.....
    MARC Plant Data for Material
    MARD Storage Location Data for Material
    MSLB Special Stocks with Vendor
    MSPR Project Stock
    MKOL Special Stocks from Vendor
    MSKU Special Stocks with Customer
    you can see al the mvt types in T156 table...
    Hope it helps...
    Regards
    Priyanka.P

  • Cash Receipts and Payment for Daily Z program

    HI
    Client requriement for Daily Cash book like that cash Receipts and Payment for day wise display one report .Is any SAP standed report is there? How to deveop to g report with abap...
    Any standed report copy?
    Regards
    prasad

    Hi All,
    I have added following line and it is working fine.
    l_Header_Payment_tbl(1).HEADER_ID                := 98393;
    Thanks,
    Aslam

  • Report to Purchase Orders with Good Receipt and pending for Invioce Receipt

    Hello,
    I'm looking a report bring me Purchase Orders with Goods Receipt and waiting for Invioce Verificacion (MIRO).
    I appreciate any help.
    Regards,
    Hector

    Hi,
    ME2N - In selection screen, enter Selection parameters as
    WE102 i.e. Goods receipt exists and in output screen put a filter on "Still to be invoiced (qty)" and "Still to be invoiced (val.)" as not equal to zero OR greater than Zero.
    OR use RECHNUNG i.e. Open invoices and execute the report
    OR Use MB5S - GR/IR Balances

  • Opening closing stock receipts and issues analysis

    Hi,
    Is it possible to match the values in the MC.A (Total Receipts and Issues Values) to Gl Accounts,
    If it is possible How?

    Hi,
    from within the MC.A there is a link directly to the accounting documents that are involved.
    Go to the menu option Extras > accounting doc for material when you have the data for a material displayed.
    By careful and make sure that you have selected the correct flag on the values window of the initial selection screen.
    Steve B

  • Use of GR receipt , IR receipt and GR - non valuated options in PO

    I want to know what is the use and effect of GR receipt , IR receipt and GR - non valuated options in PO.
    Pls help.

    Hi
    GR-Non valuated:
    Set the indicator if goods receipts involving this material are not to be valuated. The valuation of the purchase order item will then take place at the time of invoice verification.
    This indicator must be set in the case of multiple account assignment for example.
    IR receipt:
    Specifies whether an invoice receipt is linked to the purchase order item.
    You can not do LIV if this indicator is set.
    If the indicator is not set, the goods are to be delivered free of charge.
    Goods Receipt;
    Specifies whether a goods receipt is linked to the purchase order item.
    You can not do GR if you set this indicator.
    If GR indicator is set, GR-non valuated Indicator also need to be set.
    Cheers!
    ***reward If Useful (RIU)

  • Applied Receipts Register Report in AR - RXi Report

    Hi Fincon,
    I have a client requirement wherein we need to customize the Applied Receipts register report in AR. After analyzing program andd the executable we discovered that the report is an RXi report spawned from a plsql program.
    From the SQL Trace analysis, we found that the report is not doing anything different from what a normal rdf report would do. Can someone throw me any lights on why is this report an RXi report? Has anybody done any customizations on this report? Were there any challenges in customizing this report? How was the customization of this RXi report done?
    Thanks.
    Srini.

    This has to be customized using :Oracle Financials RXi Reports Administration Tool, but it's not that flexible.
    http://download-east.oracle.com/docs/cd/B25516_11/current/acrobat/115finrxi.pdf

  • TS1702 I purchased 2 packages of gems for skylanders and only received 1 package. Got email receipts and tried to report problem on ipad2 and it keeps coming up with to many https redirects. Can anyone help? Just want my gems :).

    I purchased 2 packages of gems for skylanders and only received 1 package. Got email receipts and tried to report problem with link in email on my ipad2 and it keeps coming up with to many https redirects. Can anyone help? Just want my gems :).

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Report Server URL field no longer visible in Dashboard Designer after applying SP1 and the October 2011 CU

    Environment: 1 WFE on W2K8Ent x64 SP2 | 1 App Server on W2K8 Standard x64 SP2 | 1 Dedicated SQL Server 2008 R2  
    SharePoint 2010 Enterprise Edition
    I recently applied SP1 and the October 2011 CU (Server updates, not foundation) on both the WFE and the App server and now I'm experiencing an issue with PerformancePoint Dashboard Designer in that when I want to deploy a new SSRS report, I no longer have
    the ability to indicate the report server url under the report settings section because it's missing.  I also do not have the ability to preview the report nor can I modify any of the settings like Zoom or Format as they're greyed out.
    I've been researching for several days now and cannot find anything to remedy my issue. I have reviewed the upgrade logs on both the WFE and App server ... I ran the product config wizard after applying the SP and the update ... Sharepoint is configured
    to use Windows Integrated Mode for the reporting services configuration via Central Admin.
    I noticed that the web config for my app was updated and compared that against a backup of the old web config and I mainly see diffs in version references for reporting services, etc.  (Ex. version 10 in the old, 11 in the new/updated config file).
    Anyone else out there have this same issue?  Any suggestions would be greatly appreciated!
    Thanks,
    Chad

    Ultimately, I ended up installing SharePoint 2010 RTM on a separate system and then copied the folder with the PerformancePoint Dashboard Designer and put that on my PC at work.  If you open a PerformancePoint report inside SharePoint, it
    will default to the version of the update so be sure to open up the designer from wherever you store it on your PC.  You'll know if it's the right one anyways if the URL is missing. 
    Also, once you've opened the RTM version, this will be the one that opens from the SharePoint shortcut via the Windows Start->All Programs->SharePoint Folder. 
    Chad Barrett

  • Goods Receipt and Amoratization to Internal Orders (CO)

    Dear SAP Gurus -
    Please could you kindly assist in this matter.
    Our Production department is unable to upload the plan cost / unit cost to the 1st impression production order number, as stock was received before for the old title.
    Instead of creating new ISBNs the business used these existing 40 ISBNs and just changed the  titles.
    As such the plan cost /unit cost was uploaded to 2nd impression 02, goods
    receipt and actual invoice received also captured into 2nd impression 02.
    However for the internal order via KO03 for the 40 new titles were captured into 1st impression '01'
    Production dept is able to upload the plan cost
    / unit cost to the first cost internal order the last two digits carry 01 and
    actual invoice received is captured into 1st impression first cost 01.
    Will the First cost internal order amortised for 12 months upon the goods receipt.
    Question Can the 1st impression 01 first cost order internal order created via KO03 read the goods receipt
    which is captured in 2nd impression 02 in production order?
    I believe the business want to know if the goods receipt they have done against Production order 02 will trigger the amortisation of the costs on First cost internal order 01.
    So basically the concern is that the first cost internal order number 01 for these 40 titles maybe will be amortised upon
    the actual goods receipt as the receipt is captured in 2nd impression 02 for the production order.
    Please provide some feedback.
    Thanks.

    Hello,
    I try it from development environment , Create the  transport organize and transport it to product environment, then use SM56 transaction for reset buffer ( object CO_ABRECHN ) and put the NR status. so, you can transport it without preoccupation.
    Regards.

Maybe you are looking for

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

  • Can't add more than one memory stick

    Hi guys, I could really use some help, this is driving me insane for weeks and I can't find any solution among teh interweb or this forum. My problem: I've a very instable system : different bsod on win7 start up, infinite reboot, random black screen

  • Problem with custom search help for std SD_DEBI

    Hi, I have created a custom zcustom search help and included in std search help SD_DEBI. In the custom serach help i have added the fields ktokd and sales area fields(sales org, Disb channel, division). now when i goto va01 transaction and hit F4 for

  • PSU patch issue while dbupgrade from 11.2.0.1 to 11.2.0.3

    Hi, Version : 11.2.0.1 Os : Aix 6 We recently upgraded from 11.2.0.1 to 11.2.0.3.We completed db upgrade sucessfully. We got the follwoing error While applying PSU patch. It shows the patch 13923374 failed.But when i check in opatch lsinventory,it sh

  • TS1367 MacBook Pro startup problems?

    My MacBook pro (late 2008 model upgraded with OSX lion) locked up on me, now it will turn on and start to boot up but when progress bar is about half finished it shuts down?  Any advice short of taking it to Apple store/genius?