Credit Memo and AR Invoice Query
Hi Everyone,
I'm fairly new to query writing and need to write a query that would list all of the credit memos and invoices. I was able to write the following query that pulls just the AR Invoice info. How do I also pull the AR Credit Memo info?
SELECT T0.[CardCode], T0.[DocNum], T0.[DocDate], T1.[Quantity], T1.[ItemCode], T1.[PriceBefDi], T1.[StockPrice] FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry ORDER BY T0.[CardCode], T0.[DocNum]
When using the generator it does not link the tables together in any fashion. I tried to just add the ORIN and RIN1 tables to it (as I can just have them listed below the invoices), but SAP appears to just lock up and I end up closing the application.
I searched the forum as well and found that there is a link between the two and it is:
RIN1.BaseEntry = OINV.DocEntry
and
INV1.TrgetEntry = ORIN.DocEntry
However, when I try to add these joins to the query, it ends up showing a credit memo for every single line, and I know that is not correct. I know there are different types of joins, so perhaps I'm using the wrong join or something?
I appreciate anybody's help.
Thank you,
Amanda
Hi Amanda,
Try this one:
SELECT T0.CardCode, T0.DocNum, T0.DocDate, T1.Quantity, T1.ItemCode, T1.PriceBefDi,
T1.StockPrice FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
UNION ALL
SELECT T0.CardCode, T0.DocNum, T0.DocDate, T1.Quantity, T1.ItemCode, T1.PriceBefDi,
T1.StockPrice FROM ORIN T0 INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry
ORDER BY T0.CardCode, T0.DocNum
Thanks,
Gordon
Similar Messages
-
Correspondance for the credit memo combined with invoice
Hi All,
I have to create the printout for the credit memos. But also need to show the corresponding invoice details.
Which is the best correspondance type, I should use, as I can see only the separtae one for credit memo and separate one for invoice.
Regds,
ServeshHi,
When you create print outs, it is always on customised layout as per the requirements of the customer. In this form, it is possible to print the details of both your credit memo and the invoice associated with it. So you have to finalise the layout the credit memo with your business user and then inform the logic to the developer to print all those fields. He will enable the coding for the same. You can test and release it.
For a credit memo, you have to find out the credit memo request from the VBFA table and then using this credit memo request you can find out the invoice number again from VBFA table. This number can be printed in the form in the desired place.
Hope it helps you -
Credit Memo and A/R Invoice linking
Hi
Please help me, how to find relation field between Credit Memo and A/R Invoice.
I delete invoice using credit memo with copy from function.
But when I view last credit memo, i cant find the corelation with my deleted A/R invoice number.
I found remarks, but i think remarks is not the link for document.
I really confuse about this. can anyone help me?
ps: i cant found the relation return and A/R invoice too..
Thanks so muchhJust thought of another trick or two that you might try...
1. Open ANY Credit Memo and use the "Find" Icon (the binoculars in the Icon Line) or use "Ctrl+F" to put the credit memo window in find mode. Put an asterisk in the field where the credit memo number usually is and hit enter...
It should pop up a list of all credit memos with Remarks - look to see if your credit memo is there. Or you can sort the whole screen by double clicking on the "Due Date" column of the display.
You can view an individual credit memo by highlighting the line (making it yellow) and pressing Enter Key to check that out also...
2. If that does not work for you, you can always use the SQL route where the OINV.DocEntry = RIN1.DocEntry and get a list that way where you can look through it.
OINV = Invoice Headers and RIN1 = Credit Memo Lines
Good Luck - Zal -
Need some help with the following:
By mistake posted credit memo in MIRO instead of posting invoice in MIRO. Then reversed the credit memo by going in MR8M. The reversal of credit memo posted an invoice in MIRO. Now we want to post the MIRO invoice but it doesn't post because the PO does not bring up any quantities.
If we ignore this and go straight to pay the vendor, the outgoing amount is zero (because there is a debit and credit of the same amount posted to the vendor account due to invoice and credit memo existing of the same amount). This is because of reversing the credit memo whcih generated the invoice and now the amount is zero.
How do we overcome this. And what is the best practice to reverse a credit memo if entered by mistake instead of choosing invoice in MIRO.Hi,
Check First Purchase order history,
Goods Received Document,
And Credit memo if exist first reverse MR8M then need to rise invoice.
If credit memo allredy reversed if unable to book invoice Book Direct FI invoice through F-43 respective vedor
Regards -
Hi everybody,
I post a credit memo and I want to match it with invoice.
Please tell me how to do it
Thank so much
MinhHi every body
I post credit memos referred to a specific invoice. I cross reference my invoice to my credit memo on the 'Inv. Ref' field at the payment tab strip.
Although I post it w/ clearing the invoice using F-04 choose 'transfer posting w/ clearing', but I pay my invoice, it doesn't give me the net amount.
I post credit memos referred to a specific invoice. I want when I pay my invoice, it will give you the net amount. How can I do?
Please tell me how to configure
Thank in advance
Minh
Edited by: Tran Binh Minh on Jun 23, 2008 5:51 AM -
How to determine the credit memo and invoice in table RBKP?
Hi all,
I want to specific the credit Memo and invoice in the table RBKP using MIRO.
Does any body know that any field can be specific that ?
Regards,
LukeHello
The Field XRECH - Invoice will be populated with an "x" if it is an invoice else will be blank if it is a credit memo in the table RBKP.
Regards
Anis -
Created and closed A/R credit memo and A/R invoice
Hi All,
How to know who has created and closed A/R credit memo and A/R invoice ? I see
the credit memo sometimes created based on A/R invoice but none the user's create
it. Tks.
Rgds,Hello,
you could use change log, from tools --> change log to see who has closed or created a certain document. It is a history record tools. It is from ADOC, OUSR and other related tables.
Rgds, -
Creation Of Credit Memos and Applying to Invoices Using API in Payables
Hi Guys,
I have a requirment that when ever I create an AP invoice with VAT . I need to create a credit memo with the vat amount aganist that invoice Line and supplier.I adopted the process to create an alert and i will write a interface for this this.I will call the interface procedure inthe alert.Here the problem is i am able to create credit memo but the amount is not applying to invoice.i.e., amount of the main invoice is not reducing. If U guys have any Idea regarding the credit memo applying to invoice using interface,please let me know.
Thanks In Advance,
Naresh
Edited by: Naresh on Sep 23, 2010 5:58 AM
Edited by: Naresh on Sep 23, 2010 6:01 AMwe have to link the CM thru PARENT_INVOICE_ID (Parent Invoice).
-
AP credit memo for AP invoice but applied amount zero
Hi all!
I have problem when i use function AP credit memo for AP invoice. IN AP invoice, i have status closed and Applied equal total value of AP invoice.
In AP credit memo, i still have Status is Closed but applied amount is zero and open Balance is equal total value of AP invoice.
I don't understand how why system show this.
Please tell me advice.
My figure: [http://i720.photobucket.com/albums/ww201/tiencruise/tien.jpg]
Thanks!Hi,
Please check whether the AP Invoice and the Credit Memo is appearing in the Business Partner Internal Reconciliation window.
Check the Note : 1258628 and check whether the detect query returns any result for the same.
Please make sure that you perform the following in the COPY of the database in TEST ENVIORMENT :
If you have the COPY of the database available, you can test by reconciling the documents in the Internal Reconciliation window and then run the detect query in the Note 1258628 and see whether now the documents appear or not.
Kind Regards,
Jitin
SAP Business One Forum Team -
Diff: Linkage of Credit memo and Dispute Case in EHP 4 and EHP5
Hi Experts
I am bit confused ...on the Linkage of Credit memo and Dispute Case in EHP 4 and EHP5.
Does the following statement is valid in EHP4 or EHP5.
"You can add a credit to a dispute to close it or reduce the amount disputed."
If it is possible in EHP 5 or EHP 4, please let me know what is the procedure to follow?
If i need to activate anything in SFW5, please provide what is the Business function i need to activate.
Thanks in Advance.
Regards,
Meenkashi.NLinking a credit note has nothing to do with EHP4 or 5. You have to do a config sertting:
Dispute Management-Process Integration with Accounts Receivable Accounting-Assignment of Open Credits and Payments-Activate Assignment of Open Credits and Payments
And make sure the business adapts the correct process: When you reverse a charge on a debit invoice you have to make sure the credit is properly linked to the debit note.
If this is the case then the credit will show up in the dispute case.
Rgds,
Richard -
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 -
AP Credit Memo and Good return, creates differences between TB and Stock Audit Report
Hello Experts,
Did any one has ever faced an issue, whereby AP Credit Memo and Good Return creates discrepancy between journal entry and the stock audit report?
Here is the scenario:
AP Credit Memo
Description
Quantity
Unit Price
Total
Item A
30
3,400
102,000
Journal Entry :
Debit
Business Partner
105,000
Credit
Stock
105,000
Inventory Audit Report
Description
Quantity
Cost
Transaction Amount
Item A
30
3,500
105,000
Journal Entry :
Debit
Business Partner
105,000
Credit
Stock
105,000
The difference is actually due to the moving average, but the strange part is why the difference is not posted in the journal entry, in the Price different account?
This makes the stock account amount to be different from the Trial Balance and the Stock Audit Report.
And this is applied also on the Good Return transaction.
Any help is highly appreciated.
Best Regards
Cedric KayitareHi Cedric,
Price & Item cost are different.
while making goods return , Direct AP Credit Note, Sales Delivery, Direct AR Invoice, stock is going outside.
In these transactions Journal entry will happen for Item cost and not Item sales or Purchase price.
Please enable item cost field in line level and check whether above formulae is matching with Item, cost field.
Then what is the importance of price in these documents??
Price is the agreed selling or purchase price for trading with Customer and supplier.
In your example
You are returning back material worth 105000(as per moving average price), but supplier is supposed to give only you 102,000.
Hope you understand
Thanks
Unnikrishnan -
Regarding credit memo and debit memo
Hi Friends
In how many ways we can create credit memo and debit memo?
plz reply
thanks in advanceHi Venkata,
Credit memo is billing document type.
You can create it with the refrence of
Credit memo request,
Order
Invoice
Refused delivery return
Regards,
MT -
Can some one kindly explain the img config step by step and how to check this setting in easy access.
Thankyou in advance
Rewards are assured
Best regards,
R.SrinivasanREFER BELOW REWARD IF HELPS
Debit note and Credit note? What is the purpose? How we create?
1. A transaction that reduces Amounts Receivable from a customer is a credit memo. For eg. The customer could return damaged goods. A debit memo is a transaction that reduces Amounts Payable to a vendor because, you send damaged goods back to your vendor.
2. Credit memo request is a sales document used in complaints processing to request a credit memo for a customer. If the price calculated for the customer is too high, for example, because the wrong scale prices were used or a discount was forgotten, you can create a credit memo request. The credit memo request is blocked for further processing so that it can be checked. If the request is approved, you can remove the block. The system uses the credit memo request to create a credit memo.
You can use credit memos in Sales and Distribution (SD) for assigning credit memo requests to the open invoices and in Financial Accounting (FI) for assigning credit memos and payments to the open invoices and carry out clearing with them. If you use both Financial Accounting (FI) and Sales and Distribution (SD), there is a 1:1 relationship between the credit memo request and the credit memo item posted in Financial Accounting (FI). As soon as you bill the credit memo request together with other sales orders, or distribute the items of one credit memo request to several billing documents, the assignment is no longer valid and the system will not process it.
For credit memos, credit memo requests, and payments, you have the following assignment options:
- Assignment to a single invoice
- Assignment of a partial amount to an invoice
- Assignment to several invoices
When you post credit memos, the payment programme processes them automatically. If the credit memo is specifically related to a particular open invoice item, the payment program automatically attempts to offset the credit memo against the open item. If it is not possible to completely offset the credit memo against an invoice, you can post a debit memo to the vendor, who is to reimburse the amount. Then you can apply a multilevel dunning program.
3. Debit memo request is a sales document used in complaints processing to request a debit memo for a customer. If the prices calculated for the customer were too low, for example, calculated with the wrong scaled prices, you can create a debit memo request. The debit memo request can be blocked so that it can be checked. When it has been approved, you can remove the block. It is like a standard order. The system uses the debit memo request to create a debit memo.
4. As mentioned above, creating a credit or debit memo request enables you to create credit or debit memos based on a complaint. For this first create a sales document with the order type for a credit or debit memo request. You can create the debit or credit memo requests in the following ways:
Without reference to an order
With reference to an existing order
Here you enter which order the complaint refers to.
With reference to an invoice
Here you enter which invoice the complaint refers to.
In all cases, you specify the value or quantity that should be in the credit or debit memo
5. You can block the credit or debit memo request from being billed in Customizing. Go to Sales -> Sales Documents -> Sales document header -> Define sales document type and select the billing block field in the billing section. This request can later be reviewed along with similar ones, - if necessary, by another department. The request for a credit or debit memo can then be approved or rejected. -
Credit memo and subsequent GL account
Dear All,
I would like to clarify 3 point below.
when i do credit memo on full quantity, the double entry is hitting vendor and GRC account.
when i do credit memo on part quantity, the double entry hitting vendor GRC and stock account also.
when i do subsequent debit or credit, double entry hitting vendor and stock account.
1) May I know why credit memo, full quantity only hit GRC whereas part quantity hit GRC and stock?
2) May i know why subsequent debit/credit hitting stock account only?
3) credit memo must have to create return PO? without return PO can?
ThanksHi
credit memos and subsequent credits can be used to adjust the amount due to the vendor.
we usually receive a credit memo from a vendor if you where overcharged.
as in case of invoice .creit memo refer to purchase orders or good receipt
when you post credit memo,the total invoice quantity in the po history is reduced by the credit memo quantity.the maximum quantity you can make a credit for is the quanitty that has alredy ben invoiced.
During Credit Memo, It is making same accounting entires as it makes during Invoice posting
Regards
kailas ugale
Maybe you are looking for
-
MacBook Pro Retina 15" mid-2012 won't boot in clamshell mode with an external display attached
I have a 15" MBPr mid-2012 running OS X 10.10.1. The system won't boot in clamshell mode (power is connected, lid shut) with an external display attached via an Apple Thunderbolt->DVI adapter. it boots fine if the lid is open. It isn't the adapter or
-
Upgrade only Java stack to Ehp1 (SAPehpi)
Hi Gurus, We are currently on PI 7.1, and is considering to upgrade to Ehp1 (primarily for IDoc packaging feature) and since the IDoc packaging feature is delivered thru a Sender IDoc adapter, which means this seats on the Adapter Engine already (J
-
Make http header available webservice layer
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2627" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY> <DIV align=justify
-
Reinstall Data Warehouse to remove test data
We are wanting to go live with SCSM soon, hopefully in a couple of weeks. Unfortunately, we don't have the infrastructure in which I was able to setup a test and production environment. I've managed to remove the test data out of the ServiceManager d
-
Adobe Muse: Layers panel June 2013 | Learn Adobe Muse CC | Adobe TV
Speed up your pace when designing with multiple elements on a page by creating layers using the new Layers panel. http://adobe.ly/104V22X