Discount percent in Sales Invoice. DI

Hi Experts,
I am trying to add Sales Invoice using the DI API, the problem is that When i am adding Discount % in the lines its not getting reflected. The invoice is adding But the discount col is empty.
oSalesInvoice.Lines.DiscountPercent = 10.0
Even if i hard code the value as above the result is the same. I am using SAP B1 8.8 PL 10.
Anybody faced the same issue, is this a PL issue or what?
Thanks in Advance,
Vasu Natari.

If you want to set the DiscountPercent you need to set the UnitPrice property and not the Price property.
Hope this helps

Similar Messages

  • In A/P Service Invoice, a discount percent amount is automatically entered

    Hi all,
    I am stumped.  On a random basis (about 25% of time) a discount percent is appearing (not entered) in the field of a multi-line A/P Service invoice.  The percent amount appears to be random as well. The discount percent field is not visible and inactive in form settings.  What could be causing this?
    Thanks, Bill

    Hi,
    Please check the following scenario :
    One scenario is caused when the Total amount changed after system calculate it according to Unit Price.
    Check the following steps to reproduce this scenario,
    - open ap invoice and choose Services
    - choose an account and type Unit price, Total amount will be
      calculated automatillcay
    - change the total amount.
    - System will calculate the difference and leave it in Discount field.
      Not change the Price field.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • DISCOUNT IN SALES INVOICE

    Hi All,
    I have one querry. What is the requirement of discount in row lavel as well as in Header lavel in sales invoice.How I will get the report of this discount.Because it is not generating any jurnal entry.only the net amount is posted in the JE.
    Thanks
    santosh

    Hi Santosh
    SAP Business One always posts the net value after discount. If you would like the gross amount posted to sales and the discount to a separate account, you can use Freight charges to achieve this. In the first Freight charge post a - (negative value) of the discount to a discount account and in the second a + (positve value) to the sales account. The effect is as follows:
    Price ........... Discount ................ Nett Price ............... Freight 1 ................. Freight 2 ........Doc Total
    100 ............. 10 ......................... 90 .......................... -10 .......................... 10 .................= 90
    CR Sales .... 90
    CR Sales .... 10
    DR Discount  10
    These freight charges can be linked with Formatted Searches so it will be automatically posted.
    Let me know if you would like to configure the above and I can send you some sample queries to use.
    Kind regards
    Peter Juby

  • Can early pay discounts be recorded at time of sales invoicing

    If a customer is invoiced on terms of 2% 10 days, Net 30 can the 2% be discount be posted upon invoicing?  Desired resutls:
    revenue = $100 credit
    discounts = $2 debit
    accounts receivable = $98 debit
    Currently revenue and AR = $100 and discount is realized when customer pays.

    Hi,
    Yes it is always possible to do so. Many companies invoices their corporate customers on Net rate. Hence you can invoice your customer on such a rate which should be net of discount. I mean to say discount should be given in your case on the face of invoice. Ask your SD guy to do the job for you.
    Regards

  • UI - Forbidding manual discount change in sales order footer

    Hello,
    I would like to share with you some of my recent experience with UI API ...
    I was trying to forbid the user to modify the discount (both in % or in amount) in a sales order footer.
    I first thought that it would be a difficult task to do as those are system fields that appeared on the form. I reported to the UI 2004 help file and start seeking restrictions:
    What is mentionned is:
    - "You cannot set the item's Editable property to Yes." (Item object)
    - "You cannot set this property to True for items of system forms. In addition, if the item is in fucus, you cannot set it to False" (Enabled property for Item object)
    Please note that I did not want in anyway to alter the system logic related to the calculation of the discount.
    On the form type 139, discount percent is item 24 (databound to field ORDR.DiscPrcnt) and value is item 42. Both are enabled and visible so I thought it was ok (how lucky to be safe from sys forms restrictions )
    Thus I tried the following piece of code:
        Public Shared Sub ChangeSysItems(ByRef oForm As Form)
            'Deactivating the field for discount percentage on the footer of the document
            If Module1.oInit.bAllowDiscountChange = False Then
                oForm.Items.Item("24").Enabled = False
                oForm.Items.Item("42").Enabled = False
            ElseIf Module1.oInit.bAllowDiscountChange = True Then
                oForm.Items.Item("24").Enabled = True
                oForm.Items.Item("42").Enabled = True
            End If
        End Sub
    But this is not working (of course I tripple check that they were not on focus). I try on another sys field (the field Remarks):
    oForm.Items.Item("16").Enabled = False
    and this works well.
    Funny enough you can hide those fields:
    oForm.Items.Item("24").Visible = False
    oForm.Items.Item("42").Visible = False
    But why cannot you disable them?
    Any idea?
    PS I am working with SAP Business One 2004 A, patch 23.

    Hi Cyril,
    I tried your code, it works. It will disable those two items. Please refer to my code below. BTW, what I did is to catch combo box selecting event, when you select a combo box value, it will diable the two items.
    Private Sub m_oApplication_ItemEvent(ByVal FormUid As String, pVal As SAPbouiCOM.ItemEvent, BubbleEvent As Boolean)
    Select Case pVal.EventType
        Case et_COMBO_SELECT
            Dim oForm As SAPbouiCOM.Form
            If pVal.FormType = 139 Then
                'Set oForm = m_oApplication.Forms.Item(FormUid)
              Set oForm = m_oApplication.Forms.GetForm("139", 1)
                oForm.Items.Item("24").Enabled = False
                oForm.Items.Item("42").Enabled = False
            End If
    End Select
    End Sub
    Best Regards,
    Nick He

  • How to populate the field Discount Percent (DIS) in the outbound S1ORDEXC?

    Hello all,
    I am working with the Spec2000 to send out the IDOC S1ORDEXC.
    Does anyone know how to populate the field Discount Percent (DIS)?
    This field length of Discount Percent is 2 characters, but our customer discount in the Princing Conditions (Sales Order) is longer than 2 characters (ex:  7.500-%)
    Thank you

    Hello Thuan
    I guess you are working with IS- ADEC and SPEC 2000. I am not an expert on this but leave you some hints from OSS notes I came across.
    It appears like Discount Percent - DIS and Procurement Discount Percent -PDP are complementary and mutually exclusive. If one exists, the other need not.
    Looks like DIS is computed as (100-PDP)/100 and it is just a 2- integer data (as in 20 Percent). It is a kind of multiplier (Factor), example if  PDP discount is 10 percent, then DIS (Factor) is 0.9 and so  final (net) price after discount = Price*0.9.
    " If the discount comes in the S1BOOKED inbound into SD in the field DIS, then the discount has to be sent back in the DIS field .. if it came in the PDP field then it has to be sent back in the PDP field. If there was no discount in the incoming IDoc, then the discount has to be filled in the PDP if there was a change in the discount".
    KDATE in SPEC 2000 file maps to DIS and KPERC to PDP.
    PDP has 4 characters and per OSS note 440380, the point is ignored meaning you can work with 1225 instead of 12.25.
    So may be you can work with PDP?
    OSS notes: Apply to older releases but may still be applicable conceptually speaking.
    456153 - S1ORDEXC does not send out Discount
    440380 - PDP has only 4 characters in the SPEC IDoc instead of 5
    596042 - Discount percent DIS not considered e processing S1ORDEXC
    698668 - Incorrect calculation of unit price for PO item by S1ORDEXC
    Let me know you final findings.

  • Cash Discount in pricing Sales Order SKTV

    Hi gurus,
    I need help to understand condition SKTV (Cash discount) in sales order. Requeriment is a cash discount for customer. Where do I put value to this condition for every customer? There isn't access sequence.
    I will reward points to anybody help me with steps to configure OK this condition.
    Thank you!!!

    Gaurav,
    Thanks for the reply.
    But it looks like your suggestion is not relevant to my issue.
    My requirement is to automatically populate the "discount percent" condition type in pricing tab of PO.
    Also discount percent relevant for the payment terms should get derived in that condition type.
    I could able to manually add that condition type in pricing tab and have to manually enter the discount %. But I would like to get that automatically.
    In SAP R/3, it is happening automatically with SKTO condition type. Discount % available for the payment terms is getting derived automatically for the SKTO condition type.
    PLease advise.
    Thanks,
    SS

  • FB70 Misc Sales Invoice + EC Sales List (ESL)

    Dear All
    Does anybody know a way of having FB70 Miscellaneous Sales Invoices generate the appropriate data to appear in EC sales listing? We use this sometimes to bill for services rendered, but it does not appear to create ESL movements when we run S_ALR_87012400.
    Thanks for your help.
    Regards
    Ian

    Hello Ian
    Not an expert on this but trying to help.
    1) Firstly check your Tax code (FTXP) that you used for this transaction.  Are you using one which has a  tax rate of zero percent where you defined the type of delivery in question (service)  in the Properties- Field 'EU Code', in other words you have value 2 in EU code field for that Tax code?
    2) Looks like ESL contains data from normal documents whose output VAT code has been marked as an EC code (with value "1" or "3") in the system configuration.
    So that may be the reason why your Misc.  Invoice with tax code with EU Code of 2 is not getting into the report.
    To get it into the report, you should change the EU code to 1 or 3 for the requisite tax code.
    Hope this helps. Let me know.

  • Customer payment report against sales invoice

    Dear Experts.
    My client has requirement to track customer payment against sales invoice. Actually client sometimes do partial payment also. I know we can get from bsid(open item) & bsad(cleared item) table. I unable to find actual required data.
    regards
    sanjay verma

    Dear Sanjay,
    Apart form the FBL5N,  Please check the below path for more standard reports which helps you to fulfill your requirement.  Hope its helpful.
    In SAP Easy Access screen
    Regards,
    Inthiyaz

  • How do I change currency sign $ to full wording of the currency ie USD on our Sales invoices in Great Plains?

    Hi,
    We are working in a multi-currency environment, many countries around the world are using the $ sign for their local currencies (like Australian
    dollar). We invoice in USD but our invoice templates print the dollar sign ($), customers are confused which denomination they should pay with.<o:p></o:p>
    How do we change on our Sales Invoice templates the $ sign to spelled out USD please.
    Thanks 
    Zuzana

    > How do we change on our Sales Invoice templates the $ sign to spelled
    > out USD please.
    That's rather not group policy related, but depends on the application
    that prints your invoices. I'd suggest contacting the application vendor.
    Greetings/Grüße,
    Martin
    Mal ein
    gutes Buch über GPOs lesen?
    Good or bad GPOs? - my blog…
    And if IT bothers me -
    coke bottle design refreshment (-:

  • NAV 2013 R2; How to run a customized report (206 sales invoice) in the classic client

    Hello, in preparing a newly installed NAV 2013 R2, I'm questioning the following:
    In the Development Environment I have customized report 206 Sales - Invoice in the Design menu View Layout with the space of the logo (by Microsoft SQL Server Report Builder) and
    finally saved and compiled.
    When I do run it connects to the server of what I call the classic client or the real NAV 2013 R2 and I can select a posted sales invoice to show the new layout and the result is
    fine as customized as I wanted.
    When I later ordinary print one of the posted sales invoices this customized logo layout doesn't appear on the print. I print in PDF and paper. When I make a next new sales invoice
    this new layout is not in use either.
    Another thing is run print started from the Development Environment is called Sales - Invoice in the header and not just Invoice that it the name when printing when invoicing and
    printing of posted documents.
    Additionally this form of Sales - Invoice shows our company details and good information as web, e-mail, bank account and bank name that is well demanded on a perfect invoice.
    How to get these informations out normally?
    Is the classic client having a wrong report as sales invoice?
    How to run a customized report (206 sales invoice) in the classic client NAV 2013 R2?
    It is like the customized report (206 sales invoice) is not in use yet in the classic client.
    All you wise people out there are welcomed to help me now
    Best regards
    Carsten

    Try on Dynamics Community forum: https://community.dynamics.com/nav/f/34.aspx

  • Sale invoice reverse error

    Hi, expert
    I have enter the sales bill through T-code FB70 at the time of entry i was not enterd the Co object like -cost center or profit center after save the invoice there was some mistake now i want to reverse the document in FB08 but it show an error that gl a/c requires a co object 
    regards
    gk

    Hi,
    According to me, that may be the following case.
    You have posted the sales invoice via FB70 by crediting the sales without Cost Element. Now later on, either you have activated CO or defined the cost element for sales. Now you are reversing the invoice. Therefore, system is generating the message.
    Solution:
    If no transaction data exist for that cost element then delete it via KA04. Reverse the entry in FB08 and now again define the Cost Element in FS00.
    Regards,
    Jigar

  • Error message from delivery release to sales invoice drawing of data

    cannot post parent item with child item from delivery receipt to sales invoice
    error message is ar invoice rows- warehouse code lino:0 ],'no matching records found "inventory log message"]
    any suggestions on the remedy for this?

    the Bom is sales and i've changed the warehouse code so that the parent item together with the child items would be posted from delivery note/release towards the sales invoice,i've tested it at their test database and works just fine without any errors popping out.
    ive changed specifically where they draw the child items--instead of DIY001,Ive changed it to warehouse Diy005 warehouse, while i did not changed the warehouse assigned for the parent which is coded as DIY001
    Thank you Nat for spending time to answer my query. ive got to test some more data if ever the changed of business partner name would have an effect with the transactions. the reason why i am testing it is that they have a same Bp partner code for two persons.

  • How to find out, that sales invoice is paid

    Hi,
    does anybody some hint, how to easy find out, that sales invoice is paid already (2007). I need to do this check for list of invoices (thousands) - so Im looking for some query.
    I know, how to find it through oinvoice object, from bank payment, internal reconciliation, ..., but I think that there must be some internal view or SP which is in use for SAP for receiving this information (calculating variables). I dont need informations about payment dates, Im looking just for info, that invocie is paid already. Maybe some record in JE linked to invoice?
    thanks

    We need to get the Invoice Paid Amount. Our customer use Bill of exchange frequently , so we are looking into OBOE for payment info, because Invoice Paid Amount (OINV.PaidToDate) does not reflect current payment info when there are Bill of Exchanges.
    Are we wrong?
    Does anybody know an easy way gather this information?
    For more detailed info about the way we are doing this see Field BoeType - OBOE

  • Decimal conversion of Sales Tax in 'SPARE PARTS SALE INVOICE' ( smart form)

    Hello,
    I am displaying a the value of the Sales Taxc in 'SPARE PARTS SALE INVOICE'. (in Smart Form)
    The field(which holds the Sales Tax value is 'KWERT' -LBBIL_INVOICE-IT_KOND ), with datatype 'CURR', reference table 'KOMK' and reference field 'WAERK'.
    In my smart form,i have declared a variable 'SALES_VALUE' of datatype 'KWERT' and reference field 'IT_PRICE-WAERK' (LBBIL_INVOICE-IT_PRICE), where 'WAERK' is the SD document currency.
    Now when i display the field 'SALES_VALUE' i get 735.00 , whereas the original value in the field is 73.5
    how to correct this and where am i wrong ?
    Thankyou for yur time and really appreciate the help.
    Shehryar

    You are using currency fields that reference a currency code. Most currencies in SAP have two decimal places. Dividing by 100 will work in most cases. Ideally you should get the CURRDEC value in table TCURX for the currency you are working with... then divide by 10 that number of times.
    example-
    USD, 2 decimals, divide by 10 twice.
    There is a function module that will do this for you. Can't think of the name...???

Maybe you are looking for

  • Replacement of FORECAST DELIVERY DATE with DATE OF FIRST RECEIPT

    Please help me in my scenario below and post your valuable comments- My Scenario is like - For example, In REPORT, For the item 10 of the order 4700035361 our FIRST RECEIPT DATE is in march (14/03/2011) and FORECAST DELIVERY DATE is in december (30/1

  • Users still able to sign into Lync 2010 even though their Lync accounts are disabled

    I have 2 users who are still able to sign into Lync 2010 even though I disabled their Lync accounts. They no longer show up in the Lync console or when you use get-csuser. Their Lync account were associated somehow with their AD accounts in an old do

  • Change color in an Encore motion menu background

    I am thinking about using an existing Encore menu but I would like to take the moving background which is shades of blue and change it to shades of another color.  I've done this in PS for fixed backgrounds by right clicking and sending the menu to p

  • Certain characters showing as black box?

    I'm having an issue with nepomuk/bangarang (well only place I've noticed it anyway). Where some characters are showing up as black diamonds with a question mark inside them. I tried changing "locale" in rc.conf to "en_US" and I have both en_US locale

  • Shazam tags erased after BlackBerry software update

    Hi there,   I find it really frustrating that all of my Shazam tags get erased when I follow through with a mandatory software update. Why/how is one connected to the other? Is this a problem with the BB Desktop softare, the app itself? M