A/R Down Payment Invoice with Discount
Hi,
I have a design question about the "A/R Down Payment Invoice" functionality in SAP B1 (version 8.81 PL09). Consider the following example:
I have a sales order with "total before discount" of 1000 euro. Customer gets 10% discount on this order, so order total is 900 euro.
I ask the customer to pay 300 euro of these 900 euro in advance (= down payment). I create a A/R Down Payment Invoice, I copy the sales order into the invoice. Then, I see the following on my screen: Total before discount = 1000 euro (which is correct), Down Payment = 90% = 900 euro. This is not correct, because 90% down payment would be 810 euro.
I go further and give 300 euro in as "down payment" and I ignore the wrong "down payment percentage". When I create my lay-out for my "down payment invoice", it is not possible to get the discount (of 10% = 100 euro in this example) printed. I only find the following information in the database table (ODPI): Total before discount = 1000 euro (correct), Discount percentage = 70% (NOT correct, should be 10%), Down Payment percentage = 30% (NOT correct, should be 33,33%).
This looks like a huge mistake in the design of a "down payment invoice" in SAP B1. How can I fetch the following data from the database:
1) Total before discount = 1000 euro
2) Discount 10% = -100 euro
3) Total after discount = 900 euro
4) Down payment = 300 euro
I can do line 1 and 4, but cannot find a way to retrieve line 2 and 3.
Regards,
Pieter
Hi Pieter,
Where did you set the discount? Is it on document level?
Have you tried on line level?
Thanks,
Gordon
Similar Messages
-
A/P Down Payment Invoice -With or Without Payment Duty
Hi All,
i am trying to add a A/P Down payment Invoice based on a purchase order.when a Excisable item is used in the down payment can be only made without payment of duty and the non-excisable item is used down payment can be can be made with / without duty.can any one explain the scenario of this things..
ThanxHi Rahul,
can i made a A/P Down Payment with duty ..??
what will be the exact scenario for with payment and Without payment duty.!
Thanks -
Error in joining Total A/R Down Payment Invoice with A/R Invoice.
Hi Everybody,
After creating a sales order for a customer, with the help of that sales order I had created the A/R Down Payment Invoice.
But while making A/R Invoice, when I browse for A/R Invoice down Payment It shows me the error,
No down payments found [Message 439-96]
I am using SBO 2007B PL-08
Please help me and reply ASAPHi Niraj,
You should create an incoming payment on the A/R Down payment first. then you can add it on the invoice.
Regards,
David -
How to create A/R Down payment Invoice
Hi;
I am trying to create A/R Down Payment Invoice through DI API by using the below mentioned object but the system is giving me the following error "Invalid Value. {DPI1.ExLineNo} {Line No. 1}".
SAPbobsCOM.Documents oDoc SAPbobsCOM.Documents)x.CompanyObject.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments);
oDoc.Lines.SetCurrentLine(0);
oDoc.CardCode = "C0001";
oDoc.Lines.ItemCode = "Test";
oDoc.Lines.Quantity = 2;
oDoc.Lines.UnitPrice = 10;
oDoc.Lines.ActualDeliveryDate = DateTime.Now.Date;
oDoc.Lines.BaseType = 17;
oDoc.Lines.BaseLine = 1;
oDoc.Lines.BaseEntry = 1;
oDoc.Lines.ExLineNo
int oRetVal = oDoc.Add();
if (oRetVal != 0)
MessageBox.Show(x.CompanyObject.GetLastErrorDescription());
Please suggest me how I can create AR Down Payment Invoice along with Incoming Payment and then wanted to link AR down payment invoice with AR invoice.
Regards;
DeepakHi
Try this code
Try
'Create DownPayment Invoice Object
oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
'Set Down Payment Header Values
oDPM.CardCode = "Some Card code"
oDPM.DocDueDate = "Suitable Date"
oDPM.DownPaymentPercentage =" Numeric value (Double)"
oDPM.DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
'Set Down Payment Line Values
oDPM.Lines.ItemCode =" Some Item Code"
oDPM.Lines.Quantity =" Quantity"
oDPM.Lines.Price =" Item Price"
lRetCode = oDPM.Add ' Try to add the invoice to the database
If lRetCode <> 0 Then
oCompany.GetLastError(lErrCode, sErrMsg)
MsgBox(lErrCode & " " & sErrMsg) ' Display error message
Else
MsgBox("Down Paymeny Invoice Added to DataBase", MsgBoxStyle.Information, "Invoice Added")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
Regards
Arun -
A/R Invoice with freight Linked to A/R Down Payment invoice
Hi All,
scenario:
SAPBO 2007 SP1 PL 12
A/R Down Paymenti invoice 100 + tax20 = 120 (it is paid)
A/R Invoice :
80 + 20(freight) + 20(tax) = 120
When I linked the a/r down payment invoice the system returns this error:
"Total amount of this payment must be less than amount of invoice"
because It compares 100 with 80 not considering the freight of 20.
I tried in SBO 8.8 SP0 PL 14 and it works correctly!!!
Any idea???
Simona.Hi Simona,
New version has changed certain process based on users request. If 8.8 is working for you, upgrade 2007 version soon.
Thanks,
Gordon -
How to reconcile AR down payment Request with AR Invoice?
Dear All,
SAP B1 2007A SP01 PL07 version.
I have created one AR down payment Request with total amount 1000.00, and then post incoming payment to paid the AR down payment Request, and the AR downpayment request then closed.
Then, I add one AR Invoice with amount 1000.00.
After that, I want to add incoming payment , then I select both (AR downpayment request & AR invoice), but cannot add the incoming payment because the total amount is zero (1000.00 - 1000.00=0.00).
How can I solve this problem?
Thanks in advance for any help.Hi Kerstin,
Thank you for you reply.
I did test your solution, but its only work for SAP 8.8. But now i'm working in SAP 2007A version. For 2007A version, downpayment request cannot be drawn to invoice.
Anyway, i find out one way. If I add the payment together with another invoice, thats mean the total payment is not zero, then its work. The solution is, make sure the total payment is not zero then it should be ok.
Thanks to everybody for your fast reply. Thank you so much and really appreciate your help.
Regards,
Mat -
AR Down Payment Invoice overpays when paying in full, with freight
We entered a sales order, then selected AR Down Payment Invoice from the Sales Order Copy To options. In this case, we decided to invoice for the full amount, including the freight.
A Down Payment was created for 100% of the total, yet an invoice remains for the freight, which was already included in the Down Payment invoice. This causes the customer to be billed twice for freight.
Has anyone come up against this before?
SAP 2007A
Thanks
MikeMike,
A down payment, based on the definition, should be < full amount. If your business case decide to charge full amount up front, better using deposit or payment on account option. Then you don't need to deal with this Billing Twice situation.
Thanks,
Gordon -
Down Payment Invoice & Incoming Payment docs print with Sales Order
Hi,
When print a Sales Order that has a Down Payment linked to it, the Down Payment Invoice & Incoming Payment also prints.
How do I turn this off?
Thanks,
RonHi Ron,
What is your B1 version and PL?
Thanks,
Gordon -
Creation of A/R Down Payment Invoice based on Sales Order not logical
When creating a A/R Down Payment Invoice based on a Sales Order you
have the option to create multible ones. Which by itself could be
usefull to create one of 50 % for a certain day and decide they need to
pay another 25 % at a later date.
But SBO does not track what already have been posted. Therefore you can
create a sum more then a 100% without warning or blockage.
Tested this in SBO 2007 A SP:00 PL:00
Scenario:
Sales - AR>Sales Order
Create and post a Sales Order
Sales - AR>A/R Down Payment Invoice
Create an A/R Down Payment
Select the BP and copy the Sales Order
Set DPM to 40%
Post the A/R Down Payment
Sales - AR>A/R Down Payment Invoice
Create an A/R Down Payment
Select the BP and copy the Sales Order
Set DPM to 100%
Post the A/R Down Payment
Sales - AR>A/R Down Payment Invoice
Create an A/R Down Payment
Select the BP and copy the Sales Order
Set DPM to 70%
Post the A/R Down Payment
Making the total for the Sales Order 210% worth of Down Payment
Invoices without warning/blocking. I would expected that you would only
be able to set the rest sum %. For instance first scenario I entered
60% therefore setting the second Down Payment Invoice to a max of 40%
Untill you have used up the 100% and you cannot select the Sales Order
in question..
If multible users do the same work, SBO doesn't show that it has
already been done. Same if you forgot you already created it you can
still create one. Plus sometimes it will happenyou create the Down
Payment Invoice and not paying attention you create the first one with
a 100% and later with the intended percentage..Hello Petronella,
you are right that B1 is not checking the total value of DP created from the Sales Order.
The logic and checking procedure here is only between Sales Order -> Delivery/Invoice.
DP Invoice is considered as transaction related to document the receipt of the money (parallel to the sales process). Between the moment of basing of DP to Sales Order it is still possibility to adjust Sales Order as there is no posting behind Sales Order.
The question is what would be a checking procedure in case that on Sales Order there is based Delivery and DP? What would be the system priority to take into a consideration?
Regards,
Martin Slavik
Regional Solution Manager -
SQL-Query - AR Invoice and related AR Down Payment Invoices
Hello everybody,
I want to show all AR Down Payment Invoices related to a given AR Invoice, i.e. a query approximately in this form:
SELECT
T0.DocNum AS 'Invoice',
T0.DocDate AS 'Invoice Date',
T0.DocTotal AS 'Open Amount',
T1.<<DocNum>> AS 'Down Payment Invoice',
T1.<<DocDate>> AS 'Down Payment Invoice Date',
T1.<<Amount>> AS 'Down Payment Invoice Amount'
FROM
OINV T0 INNER JOIN <<Down Payment Invoices>> T1
ON T0.DocEntry = T1.<<DocEntry>>
WHERE
T0.DocNum = xxxxx
I want to know if such a table <<Down Payment Invoices>> exists and what its name is.
Thanks for your help!
Regards,
Frank RomeniThanks for the INV11 - but this table seems to be empty even for invoices we have related down payments, e.g.
SELECT
T0.DocNum, T0.DocTotal, T1.<<whatever you want>>
FROM
OINV T0 LEFT OUTER JOIN INV11 T1
ON T0.DocEntry = T1.DocEntry
WHERE
T0.DocNum = xxxxx
That INV11 is always empty I could see with SELECT * FROM INV11
Regards
Frank Romeni
P.S.: I only post questions to this forum when I analysed my problems and only if I couldn't find any further information in the helpfiles. With regard to your first hint to ODPI there is no reference to INV11 in the helpfiles.
With regard to your comments I feel impelled to to say that if my question is confusing you, then it seems that nobody has ever taught you that meaning can be taken from the context. Regarding the "street", you asked me to find something: Do not waste your time with talking precociously ...
If you should feel annoyed by my comments, we'd better stop this conversation. Otherwise let us fall back to a strictly factual exchange of information, OK? I am not willing to discuss this any further!
F.R. -
How to block a delivery when an A/R Down Payment Invoice is not paid?
1. Create and add a Sales Order
2. Create and add an A/R Down Payment Invoice based on the created Sales Order (set DPM % to 50)
3. Create and add a Delivery based on the created Sales Order
The delivery is not blocked.
Is there an easy workaround/alternative to ensure goods are stopped from being delivered when a customer hasn't paid a certain amount upfront?Hi Suda,
Unfortunately my usage of the sql queries is a bit rusty and am not sure if I am doing this correctly.
Next to that I don't exactly see how it should work (hence my comment being rusty - haven't used this very often). I see that it checks the AR Down Payment Invoice document and lines, but how it checks to which sales order it is connected to stop the delivery.. Plus I always want it to stop any delivery when an AR Down Payment for any percentage hasn't paid in full untill it has been paid/approved by someone to be delivered. If no AR Down Payment has been done, there is no issue.
Anyway I have copied your query to the Query Generator and saved it.
I created an approval procedure based on delivery documents and based it on the saved query.
Added a sales order and created a Down Payment Invoice based on the sales order with 40% that has to be paid upfront. Created a delivery based on the sales order and added the document. I only gotten an internal error (it went so quickly I can't see the actual whole message because I get the created message straight after), but it created the delivery anyway.. (same as you described maybe?)
I'm missing something obviously, let me know what to do.
Regards,
Petronella -
Close Open Amount on A/P Down Payment Invoice
Hi,
I have the following scenario:
I have created an A/P down payment invoice for 1000$
Create an Outgoing Payment for this A/P Down Payment Invoice for 1000$
This payment is closing the A/P Down Payment invoice
Create an A/P Invoice for 800$ - apply this amount from the A/P Down Payment invoice (updating Amount to draw to 800$). The A/P invoice will close.
The issue is how to get the money back from the supplier closing also the open amount of 200$ from the AP Down Payment Invoice.
I have tried to apply an A/P credit memo to the A/P Down Payment Invoice but the system does not display the open amount from Down Payment invoice.
Another way I have tried to create a manual A/P Credit Memo to BP and manually closing the open amount on A/P Down Payment Invoice but the system would not allowed me to cancel or remove the open amount on the Down payment.
Do you have any other ideas?
I am working with SAP B1 2007 PL42.
Thank you,
AlexHi Alex
please create a message for SAP Business One Support with high priority and all the details.
regards
Rui Pereira
SAP Business One Forums Team -
A/R down payment invoice not allowing tax
Hi Experts,
We use SAP Business One 2007A PL-08. While posting A/R down payment with percentage on DPM (For example 50%), the system is not calculating GST on it though we put the GST tax code in the invoice.
Any idea how this can be resolved?
Is there a workaround for this?
Thank you,Thanks Gordon. As a workaround, we created a dummy item number for the GST to be input into the A/R Down payment invoice. The problem here is that when we add a line item for the GST using this item number, the G/L account is defaulting to customer deposits account and its now allowing us to change the G/L account to the relevant GST G/L. Is there a way we can change the G/L?
Please let me know!!
Thanks -
No Freight cost on AR Down Payment Invoice
Hello,
My customer needs to create an 100% AR Down Payment Invoice based on a Sales Order with freight costs. But this is not copied across, plus you don't have the option to add this either..
How can this be done, I don't see an option.
Regards,
PetronellaHi,
Could that be manipulated with SDK?! (The down payment module does not have the option to add additional expesnes. It will only work with Line item totals.)
Thanks for the other option, I'll advice the client about this.
Regards,
Petronella -
Amout check on Down payment Invoice
Dear All,
while creating a down payment invoice, the system have not any check on the amount of the base document. as if we have a purchase order of amount 100$ and we create a down payment invoice initially of 30% and pay it through out going payments, and again we create a down payment invoice and assign 100% the system allow us to create it against the same vender without show the remaining balance or any amount exceeding notification.
so in actual the amount would be 130$ and when we try to create the A/P Invoice with reference to that PO. system will not allow us to create invoice as the total will be higher then the actual PO.
Kindly guide me in this regard. how can we control the down payments amount with reference to due amount.
Regards,
AwaisHi,
it is a system default which will allow you to create as many down payment invoice as possible.
it is just based on the BP code.You can create a standalone down payment invoice for any BP,item or service type and then you can link this to your Invoice.
During the invoice you will be selecting your down payments in the invoice window.Here you will be seeing only the down payments which you have made already the payments.
And if you try to select the down payments whose total is greater than invoice system will block you.
If you want to link down payment based on PO then i think through coding it is possible
Regards
Md.nazeer Shaikh
Maybe you are looking for
-
How can I redownload an app I bought?
I bought the latest version of Growl on the App store, then later forgot I already had it and used the Growl uninstaller to remove it, thinking to buy the latest version...duh. Now on the app store it says it is already installed and I can't seem to
-
Exporting and importing Plugin Preferences
Hi, I have created a plugin (LensTagger) that has internal presets and would like to create an export-import functionality to it. All the presets are saved in the Lightroom preference file like this: op_Presets = { LensNameValue =
-
Unable to re print purchase order.
Dear expertes The po was printed 2 days back , again after changing payment terms then after release process iam able to view the print view but could not print the po using ME9F. Iam gettingu201D message already processed on 11.07.2011 wha
-
Zooming inconsistency with links in pdf
I have an interactive pdf set up containing different chapters & vast amounts of links. I have set the pdf up to 100% zoom. When I open it all is fine, but as soon as I begin to click through the document the page zooming becomes erratic. I have trie
-
my iphone 4s seems dead... push the on/off button long enough but no response! there was 60% chaarge before it gone off. Is there any help out there before i contact apple store?