Professional Documents
Culture Documents
How To Delete AR Cash Receipt
How To Delete AR Cash Receipt
20/01/2021
Eaton - Financials
Manufacturing
Deepak Shoora
Oracle - Order to Cash – R12
deepak.shoora@tcs.com
<Use the following styles in this document:
Heading 1
Sub Heading
TCS Experience Certainty branding will be added by ePublishing team after all reviews and before final upload>
TCS Internal 2
Confidentiality Statement
Include the confidentiality statement within the box provided. This has to be legally
approved
Confidentiality and Non-Disclosure Notice
The information contained in this document is confidential and proprietary to TATA
Consultancy Services. This information may not be disclosed, duplicated or used for any
other purposes. The information contained in this document may not be released in whole or
in part outside TCS for any purpose without the express written permission of TATA
Consultancy Services.
TCS Internal 3
Table of Content
Heading 1........................................................................................................................................................................ 2
Sub Heading................................................................................................................................................................ 2
1. Overview................................................................................................................................................................. 5
1.1 Business overview...........................................................................................................................................5
1.2 Objective.........................................................................................................................................................5
1.3 Flow................................................................................................................................................................. 5
1.4. Dependency And Prerequisites...........................................................................................................................6
1.5. Related Documents............................................................................................................................................7
2. Issue Analysis , Root Cause & Proposed Solution....................................................................................................9
2.1 Problem Statement 1 – Delete the cash receipt stuck in create accounting error..........................................9
2.2 Open issues.....................................................................................................................................................9
2.3 Closed Issues...................................................................................................................................................9
TCS Internal 4
1. Overview
This document outlines the process to delete these cash receipts from the backend so that the those receipts do not
cause any issue during the close process.
1.2 Objective
This document provides the details of the steps and scripts to delete the cash receipt from the back end using a data
fix script.
1.3 Flow
1. Create Accounting Error received from Business which on investigation reveals that the receipt was
created in error and needs to be deleted.
2. Validate if there are any posted events for that receipt in ar_receivable_applications_all
3. If above fetches 0 records you only need to run the script “fix_del_receipt_R12.sql”. Script can be found
in “Related Documents” section.
TCS Internal 5
4. If above fetches > 0 records you will need to run the scripts in below order –
a. Run script fix_undo_acc_ev_new_gl_date.sql for all the events that are posted and appear in
step 2 one by one. Script can be found in “Related Documents” section.
bug_number : <Numeric values of the Incident Number> for e.g. if incident number is
INC000014033076 then use 14033076
read_only_mode : N
user_id : 33959
responsibility_id : 51385
b. Make sure that the above script has been run for all the posted events from step 2.
c. Run the script “fix_del_receipt_R12.sql” with below parameters –
Incident_Number = INCXXXXXXXX
Org_Id = Provide the org_id for the cash receipt with issue
Cash_receipt_id = Provide the cash_receipt_id for the cash receipt with issue.
5. Ask user to validate that the receipt has been deleted successfully and create accounting error
disappears as well from the Q614 instance.
6. Create a CRQ to move the change to production with UAT approval, Script to execute (along with
parameters to be used) and Q614 log (that you get when you run the script in Q614 instance.) and create
a task for the EDM team along with that.
TCS Internal 6
1.4. Dependency And Prerequisites
1. User confirmation has to be taken before even preparing the data fix that the receipt can be
deleted.
2. Validation if there are any posted records is mandatory as it determines the scripts that needs to
run as per the flow above.
Fix is provided by
1 AR Receipt Delete Oracle CRQ000000375237 SR 3-19535549671
TCS Internal 7
SCRIPT 1 – To delete cash receipt
fix_del_receipt_R12.s
ql
Incident_Number = INCXXXXXXXX
Org_Id = Provide the org_id for the cash receipt with issue
Cash_receipt_id = Provide the cash_receipt_id for the cash receipt with issue.
fix_undo_acc_ev_new
_gl_date.sql
Script Name - fix_undo_acc_ev_new_gl_date.sql for all the events that are posted and appear in step 2 one by one.
Parameters to be passed as belw –
bug_number : <Numeric values of the Incident Number> for e.g. if incident number is INC000014033076 then use
14033076
read_only_mode : N
user_id : 33959
responsibility_id : 51385
TCS Internal 8
2. Issue Analysis , Root Cause & Proposed Solution
2.1 Problem Statement 1 – Delete the cash receipt stuck in create accounting error
Work around : No work around available. Only option is to delete the receipt
Root Cause Analysis : Cash receipts are created via multiple sources like BAI, MT940, Netting, Manual cash receipts
etc. During this process there are certain cash receipts which are created due to system error or user mistakes, as a
result of which the receipts are stuck during the create accounting process. Most common error is if the receipt is
created for a trade customer while the receipt source is NETTING or vice versa. Also in case the receipt was created
with incorrect details by the user and they reversed the same but the original entry and reversal both are stuck in
the create accounting error.
Proposed Solution : Run steps as per the flow mentioned in above sections.
2.
3.
5.
6.
TCS Internal 9
TCS Internal 10
Thank You
Contact
IT Services
Business Solutions
Consulting
All content / information present here is the exclusive property of Tata Consultancy Services Limited (TCS). The content / information
contained here is correct at the time of publishing. No material from here may be copied, modified, reproduced, republished, uploaded,
transmitted, posted or distributed in any form without prior written permission from TCS. Unauthorized use of the content /
information appearing here may violate copyright, trademark and other applicable laws, and could result in criminal or civil penalties.
Copyright © 2011 Tata Consultancy Services Limited