DTW Error on A/R Credit Memos
Hello guys!
I got a problem while trying to upload A/R Credit Memos through Data Transfer Workbench. It shows an error message inthe DTW Error Log: "Cannot add invoice with zero total and deferred tax ORIN.DocTotalApplication-Defined or Object-Defined erroroCreditNotes".
I am using the Document, Document_Lines and Batches files to upload and there is no record with zero in the lines nor the total
I tried unselecting the deferred tax checkbox for all Business Partners and still doesnt work.
Got any ideas what can it be or how can I solve the Problem?? I´d appreciate your help tremendously!!!
Thanks Rahul, the document_lines have the tax code and total alright, I believe probably it has to do with some tax configuration or something, but still I dont know which one may and if this is the real cause. What do you think??
Gordon,
thanks for letting me know, I will post it as a question.
Similar Messages
-
Error while creating an Credit memo in AR + R12
Hi All,
I am trying to create a credit memo in AR, based on the transaction i.e., an invoice of AR.
But i am not able to create.
I am encounter the following error
"Your credit memo transaction can only credit an invoice or a debit memo line
Failure encountered in AR_CREDIT_MEMO_API_PUB.Create_request call to arw_cmreq_cover.ar_request_cm".
My code is as follows:
DECLARE
l_dummy varchar2(240);
l_customer_trx_id ra_customer_trx.customer_trx_id%type;
l_line_credits_flag ra_cm_requests.line_credits_flag%type;
l_line_amount number;
l_freight_amount number := 0;
l_cm_lines_tbl arw_cmreq_cover.cm_line_tbl_type_cover;
l_cm_reason_code varchar2(150);
l_comments varchar2(150);
l_msg_count number := 0;
l_msg_data varchar2(20000) := null;
l_return_status varchar2(1);
l_request_id NUMBER;
l_batch_source_name varchar2(150) default null;
cm_trx_id number;
BEGIN
fnd_global.apps_initialize(1018094,50559,222,0);
mo_global.set_policy_context('S',204);
arp_global.init_global;
l_customer_trx_id := 549724 ; --527689;
l_comments := 'Creation of Credit memo';
l_batch_source_name := 'Invoice';
l_cm_lines_tbl(1).customer_trx_line_id := 833940;
l_cm_lines_tbl(1).quantity_credited := -1;
l_cm_lines_tbl(1).price := 1000.00;
l_cm_lines_tbl(1).extended_amount := -1000.00;
l_cm_lines_tbl(2).customer_trx_line_id := 833941;
l_cm_lines_tbl(2).quantity_credited := -2;
l_cm_lines_tbl(2).price := 1000.00;
l_cm_lines_tbl(2).extended_amount := -2000.00;
AR_CREDIT_MEMO_API_PUB.CREATE_REQUEST(
P_API_VERSION => 1.0,
P_INIT_MSG_LIST => FND_API.G_TRUE,
P_COMMIT => FND_API.G_FALSE,
P_VALIDATION_LEVEL => FND_API.G_VALID_LEVEL_FULL,
P_CUSTOMER_TRX_ID => l_customer_trx_id,
P_LINE_CREDIT_FLAG => 'N',
P_CM_REASON_CODE => 'DAMAGED PRODUCT',
P_CM_LINE_TBL => l_cm_lines_tbl,
P_SKIP_WORKFLOW_FLAG => 'Y',
P_CREDIT_METHOD_INSTALLMENTS => null,
P_CREDIT_METHOD_RULES => null,
P_BATCH_SOURCE_NAME => l_batch_source_name,
P_ORG_ID => 204,
X_REQUEST_ID => l_request_id,
X_RETURN_STATUS => l_return_status,
X_MSG_COUNT => l_msg_count,
X_MSG_DATA => l_msg_data);
FND_MSG_PUB.count_and_get (
p_encoded => FND_API.g_false,
p_count => l_msg_count,
p_data => l_msg_data );
dbms_output.put_line('Return Status ==> '||l_return_status);
dbms_output.put_line('Credit Memo request_id ==> '||l_request_id);
dbms_output.put_line('l_msg_count ==> '||l_msg_count);
FOR I IN 1..L_MSG_COUNT LOOP
DBMS_OUTPUT.PUT_LINE(SUBSTR(FND_MSG_PUB.GET(P_MSG_INDEX => I, P_ENCODED => 'F'), 1, 254));
END LOOP;
IF l_return_status <> 'S' THEN
NULL;
ELSE
select cm_customer_trx_id
into cm_trx_id
from ra_cm_requests_all
where request_id = l_request_id;
dbms_output.put_line(' CM trx_id = '|| cm_trx_id );
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('exception error!');
dbms_output.put_line(substr(sqlerrm, 1, 80));
fnd_message.retrieve(l_dummy);
dbms_output.put_line(l_dummy);
END;
Please advise me where i am wrong .... Thanks in Advance.
Regards,
Basha.
Edited by: zaheer on Aug 1, 2011 8:43 PMI am encounter the following error
"Your credit memo transaction can only credit an invoice or a debit memo line
Failure encountered in AR_CREDIT_MEMO_API_PUB.Create_request call to arw_cmreq_cover.ar_request_cm".Please see these docs.
Listing of AutoInvoice Error Messages and Troubleshooting Tips to Resolve each Error [ID 1138254.1]
Credit Memo Errors During Autoinvoice Process - Invalid reference line attribute value (REFERENCE_LINE_ATTRIBUTE1-15) [ID 405445.1]
Thanks,
Hussein -
Error while creating a credit memo with reference to invoice
HI aLL,
I am facing one issue while creating a credit memo request in VA01 with reference to invoice.
Our project stock is valuated stock.
When we try top copy the error pops up" Valuated project stock not allowed with customer stock." and the line item is not copied in the credit memo.
Diagnosis:The entered wbs manages a valuated project stock,at the same time sales order stock is maintained on sales order line item.this combo is not allowed as different valuation methods within a project is not allowed.
Tarun KapurDear Tarun!
1.Within a project we can get stock only in PROJECT or in SALES ORDER STOCK.....a single material can not be a both place at particular time ..so keep only one
Project Stock or Sales Order Stock..
2.Check DIP PRofile (ODP1) in usage BILLING AND RESULT ANALYSIS -Charectiristic -SDOC TYPE CMR.....are you selecting right document to which you want to copy .....
Rewards Points if usefull
Regards
SMITH -
'SAPSQL_ARRAY_INSERT_DUPREC' error while cancellation of credit memo.
Hi,
I'am cancelling a credit memo created through 'Sales Return'.When I save the document it gives the message that billing document is created, but just after sometime it shows 'Error info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC. I've checked SAP notes:208627,154638 and 6080 regarding the mentioned error.
System behaves normally when I cancel an ordinary billing document(cancellation type S1) but when I cancel credit memo (Billing Cancellation type S2) it shows error.Part of the short dump is:
The termination occurred in the ABAP program "SAPLV60U" in "KONV_BEARBEITEN".
The main program was "RSM13000 ".
The termination occurred in line 28 of the source code of the (Include)
program "LV60UF0K"
of the source code of program "LV60UF0K" (when calling the editor 280).
The program "SAPLV60U" was started in the update system.
Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
the
procedure "KONV_BEARBEITEN" "(FORM)" but was not handled locally, not declared
in the
RAISING clause of the procedure.
The procedure is in the program "SAPLV60U ". Its source code starts in line 11
of the (Include) program "LV60UF0K ".
Source code extract
000010 ***********************************************************************
000020 * Unterroutinen RV-Fakturierung *
000030 * *
000040 * KONV_BEARBEITEN *
000050 ***********************************************************************
000060
000070
000080 * *
000090 * FORM KONV_BEARBEITEN *
000100 * *
000110 FORM KONV_BEARBEITEN.
000120
000130 CHECK: OHNE_KONV = SPACE.
000140 XVBRK_TABIX = 0.
000150 LOOP AT XVBRK WHERE UPDKZ NE UPDKZ_NEW.
000160 DELETE FROM KONV WHERE KNUMV = XVBRK-KNUMV.
000170 ENDLOOP.
000180
000190 LOOP AT XKOMV.
000200 KONV = XKOMV.
000210 BELEG = XKOMV-KNUMV.
000220 IF BELEG-ID = '$'.
000230 PERFORM VBRK_BELEGNUMMER_ERMITTELN.
000240 XKOMV-KNUMV = XVBRK-KNUMV.
000250 ENDIF.
000260 MODIFY XKOMV.
000270 ENDLOOP.
> INSERT KONV FROM TABLE XKOMV.
000290 IF SY-SUBRC NE 0.
000300 MESSAGE A100 WITH 'KONV' SY-SUBRC XKOMV-knumv.
000310 ENDIF.
000320
000330 ENDFORM.
000340 *eject
Please help.
Thanks with Regards.
ManojHI,
We have the same problem , can you please give me an update relating the way you solve it ?
Thanks in advance
Regards -
Error while doing ABGL Asset Credit Memo
Hi Friends,
I am getting the below error while doing Asset Credit Memo in ABGL. Please help me in fix this issue.
Balance for transaction type group 10 negative for the area 01
Note:In Asset Explorer Fiscal year start Asset value is 98,425.45 and Change is 4768.19. So total Asset value as of now is 1,03,193.64.
Now we are trying to do ABGL with 12,790.23 value (Transaction type is 105). System is giving the above highlighted error.
If we give the amount 4768.19 in ABGL transaction, system is not giving any error. If we give more that that system is giving error.
Why system is giving error even the asset has balance of 1,03,193.64? Please help me on this..
Thanks
SunilHi,
If the asset has been capitalized during earlier years, use ABGF to post credit memo. ABGL is meant for assets capitalized during the year.
Best Regards,
Madhu -
G/L account is missing error when try to add AP Credit Memo
Dear All Experts,
we are facing problem in adding A/P Credit memo, which is made based upon AP Invoice.
Error is :- [A/P Credit Memo - Whse Status] , 'G/L account is missing (1)' [Message 131-46]
Can any one know why this problem is coming?
Regards,Hi,
If the item is not an inventory item but a sales item, check if the particular item belongs to an Item Group.
If Yes then go to Administration -> Setup -> Inventory -> Item Group
Move to the Item Group where your item belongs to and under the Accounting tab, check whether the Account names are defined with Account codes.
Thanx.
Hari -
Credit Memo Error AR-RAXTRX: TAXACT ERROR- Others Exception in Tax accounti
Hi All,
We are getting the following error when we interface Credit Memo record to AR using Auto Invoice
Error Message: AR-RAXTRX: TAXACT ERROR- Others Exception in Tax accounting routine
This is not the actual error
Following is the setup
Transaction Type for Credit Memo and Invoice ( Creation Sign: Allow any Sign )
Now first create a Invoice with following line amounts ( Using Auto Invoice )
Line 1 : 100
Line 2 : 500
Line 3 : - 300
Now Create a Credit Memo using LIFO rule having following line amount
Line 1 : -100
Line 2 : -500
Line 3 : 300
On submitting the Auto Invoice import program, the Concurrent program error out.
Following is the Snippet from CP
AR-RAXTRX: TAXACT ERROR- Others Exception in Tax accounting routine
Error calling raacae()
Error calling raapic()
Following the above example if we have a invoice
Invoice Amount 300
Line 1 : 300
Line 2 : 200
Line 3 : -200
Now create a credit memo using LIFO rule using following line type
Line 2: -200
Line 3: 200
The credit memo gets created but with no distribution on the credit memo.
This lead me to think there is some issue with the distribution.
Note we have no tax on the invoice neither we have any tax distribution records on the invoice.
Any suggestion/advice/ solution on the above error. Btw on account Credit Memo works okay.
Thanks.What is the complete error message? Please post it here.
Please see if these docs help.
Troubleshooting AutoInvoice for Oracle Receivables Release 11.5 Through 12 [ID 1075757.1]
AutoInvoice Setup for Release 12: A Case Study Using a Simple Script [ID 1067402.1]
If none of the above helps, please log a SR.
Thanks,
Hussein -
Pricing error while making Credit Memo
Dear Gurus,
While making credit memo with reference to credit Memo request i am getting pricing error on the basic price.
Please note i am getting this error only while making credit memo under this conditions
1. while using Invoice as reference while making credit memo request and than making credit memo with reference to credit memo request.
Please note i am not getting this error while the credit memo request is not refrenced to Invoice.
I am using the same document types for both the scenarios. I have checked copy control and the Pricing type maintained is "D".
Please let me know what could be the possible error.
Thanks for your help in advance.
Regards
ShradsHi,
Please check your credit memo document type for document pricing procedure in VOV8. -
In Purchasing A/P - A/P Credit Memo -- how to correct entry??
Hi guys! Please advise me how to delete a double entry:
by error an A/P Credit memo was entered twice, the same amount, the same date..
How can I correct it and what type of reconciliation I would need afterwards?
Thank you!
Message was edited by: Andrei KaliberauHi Andrei,
Just re-enter die AP Invoice the Credit Memo was based on. That way the accounting and warehousing legs will be managed by SBO.
Thus your trail will be
a. Create AP Invoice 1
b. Create AP Credit Memo 1 - for AP Invoice 1
c. Create AP Credit Memo 2 - for AP Invoice 1 (OOPS!!)
d Create AP Invoice 2 - for AP Credit Memo 2
Everything is as it were before creating AP Invoice 1. -
AP Credit Memo on AP Invoice with a downpayment amount linked
Hi all.
I would like to know the y is it not possible to create a A/P Credit Memo on an A/P Invoice which is adjusted with A/P Downpayment amount.
If the above posting is made in the system, its not possible to Copy to AP Credit Memo, the AP Invoice document that has downpayment amount adjusted, an error occurs stating the Credit memo cannot be prepared for an invoice with downpayment as the feature is not supported currently.
Regards
RohanVoid the incoming payment related to the Down-payment Invoice and then re-entering it as a payment on account. This will free-up the Down-payment invoice to read in to an AR Credit.
Regards
Jenny -
Can I apply credit memo against a Deposit through Autoinvoice
We have a requirement to credit back the amount from deposit which has balance > 0. I'm planning to use the Autoinvoice Program. I'm populating the REFERENCE_LINE_ID as the CUSTOMER_TRX_LINE_ID of the Deposit Line from CUSTOMER_TRX_LINES_ALL. I'm getting the below error.
Errors: 1) Your credit memo transaction can only credit an invoice or a debit memo line (1018863)
My Question is - Can we apply the Credit Memo towards a deposit through Autoinvoice Program ? If yes, please let me know the columns that we need to populate in interface table.
Thanks
Vasu
Edited by: Vasu on Jul 22, 2011 3:05 PMErrors: 1) Your credit memo transaction can only credit an invoice or a debit memo line (1018863)
My Question is - Can we apply the Credit Memo towards a deposit through Autoinvoice Program ? If yes, please let me know the columns that we need to populate in interface table.Please see these docs.
Listing of AutoInvoice Error Messages and Troubleshooting Tips to Resolve each Error [ID 1138254.1]
Credit Memo Errors During Autoinvoice Process - Invalid reference line attribute value (REFERENCE_LINE_ATTRIBUTE1-15) [ID 405445.1]
Thanks,
Hussein -
Hi
I started creating a credit memo request. I filled all the item data. But the processing status is displayed as 'incorrect'. When i leave the tab ' reason for rejection' blank , i get the processing status as 'processed'. I dont understand the relation.
When i try creating a memo(with request whose status is 'processed'), I am getting the status of memo also as 'incorrect'. I find the error message" order type ' credit memo request' cannot be used to create billing type 'credit memo'".
I am not able to find a solution to overcome this and complete the creation of Credit memo.
Pl suggestHi,
Kindly confirm weather it is Reason for rejection or Order reason which you are talking about.
By the way to crate the memo both the order reason and the reason for rejection should be blank.
Now check which docu type u r selecting for the credit memo request and credit memo.
Pls Reward if helpful
With Regards,
Ranjith -
API to Apply Credit Memo to a Deposit
We have a requirement to apply the Credit Memo to an outstanding Deposit in Oracle Financials through a program. Can someone provide me
1. An API to Create a Credit Memo
2. An API to apply the Credit Memo to a Deposit
Thanks
VasuErrors: 1) Your credit memo transaction can only credit an invoice or a debit memo line (1018863)
My Question is - Can we apply the Credit Memo towards a deposit through Autoinvoice Program ? If yes, please let me know the columns that we need to populate in interface table.Please see these docs.
Listing of AutoInvoice Error Messages and Troubleshooting Tips to Resolve each Error [ID 1138254.1]
Credit Memo Errors During Autoinvoice Process - Invalid reference line attribute value (REFERENCE_LINE_ATTRIBUTE1-15) [ID 405445.1]
Thanks,
Hussein -
DTW Error A/R Credit Memos
Hello guys!
I got a problem while trying to upload A/R Credit Memos through Data Transfer Workbench. It shows an error message inthe DTW Error Log: "Cannot add invoice with zero total and deferred tax http://ORIN.DocTotalApplication-Defined or Object-Defined erroroCreditNotes".
I am using the Document, Document_Lines and Batches files to upload and there is no record with zero in the lines nor the total
I tried unselecting the deferred tax checkbox for all Business Partners and still doesnt work.
Got any ideas what can it be or how can I solve the Problem?? I´d appreciate your help tremendously!!!Hi,
Try to omit DocTotal on the header file. That is a calculated field. What is your B1 version and PL?
Thanks,
Gordon -
Importing AP Credit memo Referenced to an Invoice with DTW
Hi everyone, im trying to import thru DTW an AP Credit Memo applied to a Service AP Invoice but i keep getting "Internal Error [-2010] ocurred Application-Defined or Object-Defined error 65171".
The AP invoice has Doctotal $ 99,732.00 but the linetotal was 5859.05 by mistake so there is a discount percentage of 1367.40, what fields are mandatory in the Credit memo template?Hi,
The easiest way to do this by copying from the AP Invoice if you have only few invoice need to be Credited. If you need DTW, only the BaseEntry, BaseType and Base line are required for line file.
Thanks,
Gordon
Maybe you are looking for
-
Error in the registries, 4-20mA
I´m using fieldpoints (FP-2020) to register the values (4-20mA) originating of a CFI (converter frequency - current). In some occasions fieldpoints have registered erroneos values, as if the CFI was not connected. Is it possible that fieldpoint varie
-
it worked just fine when i first plugged it into my conputer on i tunes. i restored it, worked just fine, then it told me to unplug it from the computer and plug it into a wall charger. so i did, and it just shows a screen that is a wall charger goin
-
Somehow I changed the resolution setting for the display on my MacBook. Now I'm not sure what to set it. I currently have it on 1280 X 800, but I'm not sure that is right. Any help will be appreciated.
-
What do I do when the video icon on the home screen on a ipad2 is pressed it gives me a black screen. Thank You Chris
-
I have sorted the problem - please ignore