Credit note based on AR invoice but base unit changed to Yes
Is there anyway to improve the current design which allow the users to change the base unit column to Yes if the credit note is copied from AR invoice?
What is your reason to change unit? It may not be logical to change it even if you wrongly created your invoice. When you create Credit Memo, it has to be consistent with AR invoice even if it is wrong!
Thansk,
Gordon
Similar Messages
-
DI API: Wrong PriceAfterVAT value in credit note based on A/R invoice
Hi all,
I have serious problem with creating Credit Note based on existing A/R Invoice in Sales module.
I use SBO 2004A patch level 32. With SDK I've created A/R Invoice with 2 items. First item has discount percent 0% and price after VAT 1. Second item has 100% discount, this means, doctotal is 1. Document VAT is 7,6% and VAT is calculated correctly in invoice. Then I've created credit note only with 1 item and this row is bounded with 1 row in invoice. After calling oCreditNote.Add, in Business One this credit note has all prices (price, price after VAT, row total) with the same value -> there is no vat calculated although in invoice the vat calculated is.
Is it bug in DI API or do I something wrong?
I use the standard ways to create new invoice and credit note through DI API.
Many thanks for your answers.
Best regards
Libor.Hi Libor,
To create a Credit note for a Invoice you should use the Invoice as the base document for the Credit note. Here is an example of how I create a GRPO from a draft GRPO. Try this (for your Invoice - Credit Note) and see if it does not work for you (SAP suggests this way of doing it).
(Draft will be your invoice - GRPO will be your credit note)
Dim oDraft As SAPbobsCOM.Documents
Dim oGRPO As SAPbobsCOM.Documents
If oDraft.GetByKey(YourInvoiceNumber) Then
'Build the GRPO (new GRPO Obj for each GRPO Doc)
oGRPO = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes)
oGRPO.DocDate = oDraft.DocDate
oGRPO.DocDueDate = oDraft.DocDueDate
oGRPO.DiscountPercent = oDraft.DiscountPercent
oGRPO.CardCode = oDraft.CardCode
For i = 0 To oDraft.Lines.Count - 1
oDraft.Lines.SetCurrentLine(i)
oGRPO.Lines.BaseType = oDraft.Lines.BaseType
oGRPO.Lines.BaseEntry = oDraft.Lines.BaseEntry
oGRPO.Lines.BaseLine = oDraft.Lines.BaseLine
If i < oDraft.Lines.Count - 1 Then
oGRPO.Lines.Add()
End If
Next i
'Add the GRPO
iRetCode = oGRPO.Add
If iRetCode <> 0 Then
oComp.GetLastError(iRetCode, sErrMsg)
Log.WriteLog("Error Adding GRPO : " & sErrMsg, EventLogEntryType.Warning)
Return False
End If
End If -
Issue in creating Credit Note for road carrier invoice from SAP TM system
Dear All,
I am facing issue in creating Credit Note for road carrier invoice from SAP TM system.
The following steps I have performed:
1)
1) 1) Create Freight order with Amount 20,100
2) 2) Create Freight Settlement Doc and send it to ECC. Hence PO and SES will be created in ECC with Amount 20,100
3) 3) Invoice verification (MIRO) done w.r.t. FO in ECC with Amount 20,100 and following entries posted :
Carrier A/c - 20,100Cr
GR/IR A/c – 20,100 Dr
4) 4) Created Credit Note in SAP TM against freight order with Amount 1,010 and transfer it to SAP ECC.
5) 5) By this a new PO and SES was created with negative values (with amount 1,010) in SAP ECC
6) 6) In transaction MIRO, Credit Memo was created against the freight order.
7) 7) By this it is showing value 21,110 by adding the line items of Original Purchase Order and Credit Note Purchase Order as 20,100 and 1,010 respectively.
8) 8) By posting this following are the accounting entries which is not correct:
Carrier A/c – 21,110 Dr
GR/IR – 20,100 Cr
GR/IR – 1,010 Cr
9) 9) In report FBL1N which is showing the remaining liability of value 1,010(21,100 – 20,100) instead of 19,090 (20,100-1,010=19,090) for the carrier.
Please suggest how to resolve the issue and get the correct accounting for credit memo?
Regards,
Vibhu GuptaHello,
Like my reply in Linkedin group, I got the same issue and solved with BADI in TM side(REQREQ...).
Regards, Marcelo Lauria -
Can i create credit note request with selling price,but without material no
hi
can i create credit note request with selling price, but without material no.? which item cat. i should choose?
thanksHi,
The price is controlled for any item category with the help of the Item Category setting (VOV7 tcode) that is, the field Pricing under Business Data section.
Select the option X in the Pricing field.
Now for your case, the setting will be greyed out. as it is a text item....
To make it for entering any option ....then change the option to A in the Item Type field.
Reagrsd -
Creating Credit Note based on Invoice
HI there,
I am trying to create a Credit Note through the DIAPI using VB. This Credit Note must be linked to the Invoice 88 for example :
Try *
'Get the required business object *
''Dim oCreditDoc As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oCreditNotes)*
Dim queryString As String*
Dim oRecSet As SAPbobsCOM.Recordset*
oRecSet = oCompany.GetBusinessObject(300)*
queryString = "SELECT T0.CardCode from OINV T0 where T0.DocNum = 88 "*
oRecSet.DoQuery(queryString)*
Dim oCreditDoc As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oCreditNotes)*
'Set the business partner code*
oCreditDoc.CardCode = oRecSet.Fields.Item(0).Value*
'set the documents due date -mandatory*
oCreditDoc.DocDueDate = Now*
'add first line on invoice*
'use the SO order specified in the text box *
'as a base document*
oCreditDoc.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oInvoices*
oCreditDoc.Lines.BaseEntry = CInt("88")*
oCreditDoc.Lines.BaseLine = 0*
'add the new invoice document*
lRetCode = oCreditDoc.Add*
'check return code*
If lRetCode <> 0 Then*
oCompany.GetLastError(lErrCode, sErrMsg)*
MsgBox("Error : " & lErrCode & " : " & sErrMsg)*
Else*
'store newly created object code in a new string*
'(could have stored it in OrdCodeStr)*
Dim OrdCodeStr2 As String*
OrdCodeStr2 = ""*
oCompany.GetNewObjectCode(OrdCodeStr2)*
MsgBox(" Created Credit Note : " & OrdCodeStr2)*
End If*
Catch ex As Exception*
MsgBox("Exception. Connect: " & ex.Message)*
End Try*
I am getting an "Item code missing" error. Does this mean i must set up each and every line to credit? What if there are millions of lines? Can we not just set a BaseEntry and BaseType for the document as a whole so it knows which Invoice needs to be credited completely?
Kind regards,
Greeshma
p.s. i tried to get this to display as code but seems this editor is either confusing me or it doesnt work! sorry. when i find the right person to complain about it to i will!
Edited by: Greeshma Gulab on Nov 18, 2009 11:13 AM
Edited by: Greeshma Gulab on Nov 18, 2009 11:15 AMHi,
I am not able to make out ur code because of the formating problem, but anyways check the below thread, it might be helpful to u..
Create Credit Memo based on A/R Invoice
Vasu Natari. -
Using Credit Note in A/P Invoice
Hello Experts,
My Client Scenario is
1. Purchase person Create a Purchase Order 100 Quantity.
2. Store Person Create Goods Received PO for a 100 Quantity
And after quality check.
3. Goods Return 20 Quantity against Goods Received PO.
Account Person want to create A/P Invoice for 100 Quantity.(But SAP show error ,Quantity exceeds from Base document Quantity)
It is Possible Or Not .
4. After Create A/PInvoice for 100 Quantity,Create for A/P Credit Note for a vendor(For 20 Quantity) copy from Goods Return Documents( But Goods Return Documents becoms Close (Status) Based on Goods Receive PO)
Suggest me how can i implements this Scenario..
Thanks & Regards
Mr.Krishnahi krishna,
You can do it any one of following ways.
B1 Process for your scenario :
1. Create a PO for 100 qty , GRPO for 100 qty from PO , AP Invoice from GRPO for 100 qty ,
Create individual goods return for 20 qty , Create AP Credit Memo from goods return for 20 qty.
2. Create a PO for 100 qty, GRPO for 100 qty , Goods return frm GRPO for 20 qty ,
Create AP invoice from GRPO for 80 qty.
Hope it solves the problem.
Jeyakanthan -
Adding Credit Notes with reference to Invoice
Hi Experts,
B1 Version: 2007
PL: 41
Im having a difficulty posting a CreditNote with reference to an Invoice. For example I have an Invoice with 3 line items, and this customer returned 1 material. How do I post this Credit Note with only 1 material with reference to this Invoice thru DI API?
ThanksHi
Try this
Dim oCreditNotes As SAPbobsCOM.Documents
Dim RetVal As Integer
Dim ErrCode As Long
Dim ErrMsg As String = String.Empty
Try
oInvoices = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
oCreditNotes = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oCreditNotes)
'Set the document header fields properties
oCreditNotes.HandWritten = BoYesNoEnum.tNO
oCreditNotes.CardCode = "cardcode"
oCreditNotes.CardName = "cardname"
oCreditNotes.DocDate = "date"
oCreditNotes.Lines.BaseEntry = "oInvoice DocEntry"
oCreditNotes.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oInvoices
oCreditNotes.Lines.BaseLine = 0 'first line
oCreditNotes.Lines.Add()
oCreditNotes.Lines.BaseEntry = "oInvoice DocEntry"
oCreditNotes.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oInvoices
oCreditNotes.Lines.BaseLine = 1 'Second line
RetVal = oCreditNotes.Add()
If RetVal = 0 Then
MsgBox("Credit memo created")
Else
B1Connections.diCompany.GetLastError(ErrCode, ErrMsg)
MsgBox(ErrCode.ToString + ErrMsg)
End If
Hope this helps
Regards
Arun -
Recently can't play music samples on Amazon France (and Germany, though they've now gone over to Flash, which seems to have fixed it after (re)installing Flash Player) via their usual 'Listen to all' button. Can only play samples individually. Message says roughly RealPlayer not installed on my navigator (see box below), but I've changed nothing and have always had RealPlayer on my PC at least. The 'Aid' page is useless in that it does not provide any links to sites from which one could download whatever it is Amazon Fr thinks one now needs.
== URL of affected sites ==
http://www.amazon.fr (e.g. http://www.amazon.fr/Je-Souviens-Tout-Juliette-Greco/dp/B001PU6T04/ref=sr_1_1?ie=UTF8&s=music&qid=1277978559&sr=1-1)Hello Neil.
It has been reported by other uses that RealPlayer is having some compatibility problems with Firefox. I believe this is mostly notorious with RealPlayer Plugin Record Plugin, but it may be the same thing here. Please contact RealPlayer developers for support. -
HP Split 13t-g100 CTO x2 PC not seeing 750g hard drive in base unit
i have the HP Split 13t-g100 CTO x2 PC after updating to windows 8.1 it does not see the secondary hard drive in the base unit.
i have checked the device manger and it does not show any unrecognized hard ware.
i upgraded the bios and nothing changed.
i have also split open the case and removed the hard drive, then shut down and then restarted with it disconnected.
then reconnected and restarted again and the system does not see it. please helpHi Evanh,
Welcome to the HP Support Forums!
I understand that you are having a problem getting your second 'base' hard drive working after upgrading to Windows 8.1. I will try my best to help you with this issue.
I recommend Testing a Hard Disk from the BIOS, I would like to know if you can see it and or if it has been corrupted or damaged.
Please let me know the results.
Thank you and have a great day!
I worked on behalf of HP. -
Error message during Base unit change in material master
Hi
I am getting error message " Independent requirements are already assigned to the
material" when doing change in base unit in material master.
But I do not find any independent requiement for the plant in t code MD04.
Can anybody help me to get a solution for this?
Thanks in advance
Pradipta SahooHi
Thaks for your reply.
I checked in MD63 and don't find any entry. That makes me suprprise why the error shows as an independent requirement entry exists.
Please reply if you can further help me in this matter to solve this.
Kind regards
Pradipta Sahoo -
Dear sir
Material have already movement that material comes to stock & account hit, later due to some reason we want to change base unit of measure in material master record , please guide me how to do it ?
Regards
MaheshHi,
Before making changes to the Base unit, ensure there is no stock at the valuation level, No Physical Inventory open documents, No Purchase requisitions and No Purchase Orders.
Trust the material in subject is not batch managed, in case of batch managed material, there should not be any batch stock too..
Regards
Merwyn -
GR based IV is disabled but it got changed
HI gurus ,
We are using SRM 5.0 Extended classic scenario, ECC 6.0
In the Purchase Order ,item data-> Follow-on documents -> Confirmation-Related Invoice Verification is disabled.
But somehow the GRIV indicator got changed , I can see the change log for the same.
User just changed the Requester and Goods recepient , but the change log shows he changed the GRIV indicator too.There have been no changes on the GRIV field in the vendor master.Also when the changes were done, there were already some partial GR and invoices posted for the PO.
Because of this , the PO fell into 'error in process' from 'ordered' status. Although I have removed the GRIV indicator at the table level and pushed the PO again into ECC which has changed the status of the PO to 'ordered' again, I want to know how the GRIV indicator got changed automatically ?
Is there any OSS note for this ??Hi experts,
We are on SRM 7.0 ECS , support pack SAPKIBKV08.
Our vendor master in SRM has following flags set:
GR= set
IR = set
GR based IV=set
Now in an SRM PO , buyer wants to set the following flag:
GR = buyer wants to set
IR =buyer wants to set
GR based IV= buyer wants to reset GR based IF flag , since the invoice comes before the GR and has to be paid
But in the SRM system , if GR flag is set , and IR flag is set , then GR based IV flag gets set automatically. Buyer is unable to uncheck it. This is a bug in the system , how to resolve this. the above mentioned notes, 1010791, 1445234,1114343 are not applicable to the system .
(If a PO was directly created in ECC system , and GR falg and IR flag is set , then buyer can manually uncheck the flag)
Rgds
sumendra -
I've created a playlist in iTunes for someone in a specific order. I've bought them an iPod shuffle and have downloaded the playlist onto the iPod. Unfortunately, the iPod shuffle then reorders the paylist and it also plays in another order. The shuffle function is switched off, so I don't elieve it is anything to do with that!
It's driving me crazy! Please help!!!Which shuffle model do you have? This document shows the four types
http://support.apple.com/kb/HT1719
Assuming it is the current 4th gen shuffle (or 3rd gen), if you want to play songs from a playlist on the shuffle, in playlist order, you need to use VoiceOver to switch to that playlist. By default, the shuffle plays songs from the All Songs list. When you set the power switch to play-in-order, the All Songs list plays songs alphabetically.
This document explains how to set up and use VoiceOver on the shuffle.
http://support.apple.com/kb/ht4322
If that playlist is selected, and the power switch is set to play-in-order, the shuffle plays the songs in playlist order. -
Credit note for invoice with item with negative value
Hi,
is it possible to create credit note for invoice, where in one line is negative value (its non stock item).
There exists 2 possibilities:
negative qty and positive price (its possible create only through SDK, not SBO)
positive price and negative qty
for example
itemcode 123
qty -1
price 1000
How to create credit note from this invoice?
Thanks a lot for hints.
PetrHello Petr Verner,
It's a standard functionality of Business one, that it is impossible to enter a negative amount in an independant credit note or in a credit note based on a invoice with negative amount.
To solve this issue:
1. For the rows with the positive Row Total, create an "independent" Credit Memo (not based on an Invoice).
2. For the rows with the negative Row Total, create another Invoice with a positive Row Total opposite to the original negative Row, and reconcile between the two rows manually via Banking => Bank Statements and Reconciliations => Reconciliation.
Hope the above helps.
Wilma Wang
SAP Business One Forums Team -
I want to raise Credit note but Qty should not be reversed
Hi All,
i am raise A/R invoice qty 10 total amount 10,000, i want to raise a A/R Credit note for the same invoice but only deduct amount 1000 where the qty should not be reversed.
Thanks & regards,
MobinMobin,
Instead of copying the invoice to a credit note, you can create a service type credit note in itself so you don't need to choose any items, just the amount.
Regards,
Nat
Maybe you are looking for
-
Adobe Photoshop Elements 2 and 'Save for Web' problem
Hi everyone, I have used Photoshop Elements 2 for some time with absolutely no problems. However when I try to use the save for the web option I get an 'export could not be completed due to a program error' message. Nothing relevant is mentioned on A
-
I am advised that my latest update has not been installed. When I click on requesting installation a box appears asking if I want to save the file. I have answered yes and the file is saved. Despite this installation does not occur automatically and
-
Exporting from IPhoto 6 to folders on External HD changes photo size WHY?
I have read your replies to other questions about having photos reside on an external hard drive and understand what is said. However I have a problem with the size of the photos changing once I have exported them to a new folder on the external HD.
-
Consuming webservices using CF8
I recently upgraded to CF8 and I'm not able to consume webservices from my dev edition on my personal PC. I have tried making my own simple test webservice, but I'm not able to consume them using CF. (I'm able to consume the ws using .Net or Java, bu
-
Unable to download oracle 10g for vista
I'm trying to download Oracle 10g for Windows Vista, but I only get a zero-byte file. I even tried Oracle 10g XE for Windows, but I get a zero byte file. Also, when you try to download, it waits about a couple of minutes before saying completed. Any