AR Invoice unit price

Hello all, based on a condition specified at my SO stage, i would like the user to be able / unable to edit the unit price at the AR Invoice stage.
Basically, once the DO is drawn to AR Invoice, and then based on the condition specified on the SO, the AR Invoice should  / should not let the user change the unit price on this invoice.
Please advice on how to go about this ?

Hi Gautam,
You can not make a system field as 'Non Editable'.
Instead, on the basis of your condition, you can make Bubble Event = False on Event Beforeclick.
like,
EventBeforeClick
      if(Your Condition==True)
          bubble Event=true;   //it will restrict the user to change the Unit Price
     else
         bubble Event=false;  //it will allow the user to change the Unit Price
Edited by: anuj singh on Jan 23, 2009 10:32 AM

Similar Messages

  • AR Invoice Unit price/Discount change

    Hi Experts,
    I need your help regarding this....
    In Sales A/R process of SAP B1 8.82, we first do sales order then copy to AR Invoice to process the invoice.
    At some time users do the sales order and then copy to AR invoice and modify either unit price or discount as per the customer's requirement.
    I need a query to get all these type of invoices where there is a either unit price change or discount change.
    I found that any AR invoice update goes to ADOC and ADO1 table, but this table populates only when the AR invoice is saved once and then opened again and modify. but if the unit price or discount has been changed at first and saved then these table does not populate.
    So how can I get this changes log, from which table so that I can frame the query.
    Your assistance is highly appreciated.
    Rgds
    Suman

    Hi Gordon,
    I have got the solution through this query...
    SELECT T0.[DocNum],  T0.[CardCode], T0.[CardName], T1.[ItemCode],   T3.[PriceBefDi] ordrprice, T3.[DiscPrcnt] ordrdisc,T1.[PriceBefDi] invprice, T1.[DiscPrcnt] invdisc
    FROM [dbo].[OINV]  T0
    INNER JOIN [dbo].[INV1]  T1 ON T0.DocEntry = T1.DocEntry
    inner join ORDR T2 on t2.docnum=t1.baseref
    INNER JOIN RDR1 T3 ON T2.DocEntry = T3.DocEntry and 
    t1.itemcode=t3.itemcode
    WHERE T0.[DocDate] >=[%0]
    AND T1.BaseLine=T3.LineNum
    and  (T1.[Price] <> T3.[Price] or  T1.[DiscPrcnt] <> T3.[DiscPrcnt])
    Thanks to all

  • MM SUS Invoice unit price issue

    Hello ,
    We are using MM SUS invoice scenario. In MM PO has created for order quantity 2000 EA, and net price is 73.51 USD for 1000 per unit.
    During invoice, price information of item is like this:
    Price 0.07 USD, Per 1 EA and value is 147.02 USD
    But during invoice processing, system calculated net value to 140 USD, and invoice posted for 140 USD only, any advice or suggestion how to handle this in?
    System is SRM4.0 and ECC 6.0
    Thanks in advances for replay.
    Sunil

    Hi Virender,
    Value in SXMB_MONI in SUS is correct.
    <NetUnitPrice>
      <Amount currencyCode="USD">73.51</Amount>
      <BaseQuantity unitCode="MTK">1000</BaseQuantity>
      </NetUnitPrice>
      </Price>
    but in BBAP_PD (table BBP_PDIGP) entry is :
    PRICE                                  0,07
    PRICE_UNIT                       1
    PRICE_ORIGIN
    VALUE                                  147,02
    Normally it  should PRICE 73.51 and PRICE_UNIT 1000 ,any guess we are in SRM4.0?
    Thanks
    Sunil

  • Unit Price in A/R Invoice

    Dear All,
    I'm directly creating an A/R Invoice of a Service Type Item. In the Item Master, Price List is selected- Base Sales Price List. But When Creating A/R Invoice, Unit Price is not coming. How does Unit Price come?

    Dear Sengupta,
    I would like to add that in the item master data you can also choose a different type of item: labour or travel. In that case, you can add a price in the field Unit Price. That means that when you create an ar invoice you will see the unit price.
    Please, also note that the labor and travel items are just sales item therefore they cannot be added into a delivery.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Unit Price and Discount % is INACTIVE

    Hello Experts,
    In A/P Invoice unit price column is inactive rather not allowing to enter value in it. In form settings it is active.
    Help Required.
    Shazad Nazir

    Nazir
    I guess full authorization is needed to enter unit price, check in
    Sales Reports --> Change Row Amounts --> Full Authorisation
    and also have a look at this thread
    Authorisation for GRPO
    Thanks
    Rizz

  • Unit price validation in Purchase Order, Goods Receipt PO and A/R Invoice

    Hello!
    I want to have validation of the Unit Price field in Purchase Order, Goods Receipt PO and A/R Invoice documents.
    This means that user has to get some kind of message if she/he do not enter the Unit price in above mentioned documents.
    I can not use the price lists for this, to get the field populated automatically, because I do not have all the prices...
    I am no longer newbie when it come to SAP, but this really puzzles me
    Thanks,
    Dejan

    Hello guys,
    I have tried to add this code to check if the field Unit Price was empty in the Purchase Order form (Object ID 22)
    But it gives me an error message - Error converting data type varchar to numeric (CINF)
    I am getting the same error message even if I have some value in the Unit Price field...
    I am really confused - what is wrong with it???
    Here is the code from the Transaction notification
    IF (@object_type = N'22' AND @transaction_type in (N'A', N'U') )
         BEGIN
              IF EXISTS (SELECT T1.DocEntry FROM OPOR T0 inner join POR1 T1 on T0.DocEntry = T1.DocEntry
              WHERE (T1.PriceBefDi IS NULL OR T1.PriceBefDi = ' ') AND T0.DocEntry = @list_of_cols_val_tab_del)
                   BEGIN
                        Set @error =1
                        set @error_message = 'Unit Price cannot be blank'
                   END
         END
    Thanks,
    Dejan

  • Invoice Item Unit Price

    I need to find the field that has invoice item unit price. I know NETWR is net value, but I am looking for unit price of each item.

    Hi Megan,
    It should be VBRP-CMPRE and NOT VBRK-CMPRE.
    This field value (VBRP-CMPRE) should be equal VBRP-NETWR/VBRP-FKIMG.
    Regards,
    Ferry Lianto

  • Wrong unit price on the invoice.

    Hi guys,
    Im requested to look at the production issue where an invoice gets its unit price printed incorrectly, though the other things such as gross weight, net weight , quantity and amount are printed correctly.
    also we have the sapscript which calls function module in other abap program.
    Guys any ideas on this issue please post them.
    Thanks,
    Venkat

    Hi,
    You need to sit with ABAPer and debugg the program and check why the value is printing wrongly.He is the only one who can solve your problem.
    Reward points if useful
    Regards,
    Amrish Purohit

  • Net Unit Price of Invoice Item Not Kept/Deleted

    Hello everyone,
    Yesterday I had an issue with a supplier invoice uploader I've created --- it uploads consistently which is nice, but for some reason the unit price is disappearing on me. I've got the following lines:
    in which 'row.zItemNetUnitPrice' is decimal (currencyCode is always going to be GBP in this case, so I figured I didn't need it) and row.zAmountOrdered is obviously a Quantity type. Now, here's the strange part: when 'newSIItem' is created using siItem, the unit price is deleted --- as in, immediately after creation of newSIItem, the unit price is set to 0.00. But the amount ordered is kept as it was set. So obviously that's weird, and is causing all my invoice items to be created as zero price --- you'll agree that's not very helpful.
    What's also strange is that, in order to remedy this I tried to just set the unit price to what I wanted AFTER newSIItem was created, as according to the repository explorer it's not read-only. This worked --- up until I set the account assignment type, at which point it got set BACK to zero as follows:
    As you can see in the debugger, it says 'changing invoice price not possible...'. --- but the net unit price field isn't read-only. So my overall question is: what the hell is going on? Any help would be greatly appreciated. Attached is my entire mass-enabled AfterModify script and the XML file I'm using as part of a file input run on the custom business object to which this script belongs. Thanks!
    Lewis
    EDIT: I tried moving 'newSI.NetUnitPrice.Amount.content = row.zItemNetUnitPrice' to after the account assignment --- it seems it was invalidated by any subsequent command, even to the point that having it directly before setting gross amount to total gross amount would still not work. I also tried setting net amount instead of net unit price --- the debugger specifically told me that net amount is read-only. But the repository explorer says it has write access. Anyone able to shed light on this?

    I solved this --- I noticed that I had siRoot.DocumentGrossAmountsIndicator set to false but creating the root node (newSI = SupplierInvoice.Create(siRoot)) turned that back to true again for no apparent reason. My guess is that having this set to true, i.e. all values are gross, dynamically sets all net fields to read-only. Once I discovered this it was as simple as setting the indicator back to false post-creation of the root node, and then net price fields were accessible again.

  • Changing unit price after AP invoice has been created

    Hi all,
    We realized the unit price was incorrect after the PO, GR and AP invoice was already created. Is there a way to update the unit price on the item?
    Thanks,
    Jane

    Hi,
    This is not possible, you have to reverse transaction by AP Credit memo and recreate new transaction. If you have FIFO valuation method then you can change price through Inventory Revaluation but in that case your AP Invoice amount remains unchange.
    Regards,
    Sachin

  • Block item unit price from decrease in a A/R Invoice

    Dear experts !
    How can I prevent a sales user to decrease an item unit price in an A/R Invoice for a customer for which a special price (based on quantities) was defined. The user can increase the item unit price in the A/R Invoice for that customer.
    Thanks for your precious help.

    Hi yves,
    try below in transaction notification:
    if (@object_type = '13') and (@transaction_type IN ('A', 'U'))
    BEGIN
    IF exists (SELECT * FROM INV1 T0  INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode and  T0.[PriceList]=*2*  WHERE isnull(T0.[Price],0) <> isnull(T1.[Price],0) and t0.DocEntry=@list_of_cols_val_tab_del)
              Begin
                   SET @error = 30
                   SET @error_message =N'Unit Price  can`t be different than price defined Price List'     
              end
    END
    Change price list number (bold ) in above query to price list number you want.
    you can check price list number using query
    Select * from OPLN
    - listnum column.
    Thanks,
    Neetu

  • GL account for Unit Price changes A/R Invoice

    Hi,
    I need to know where the GL accounts are determined for Item unit price changes. My problem is as below:
    I have a delivery created for 2 material items. After creating the delivery, we want to reduce the unit price from 2600 (default) to 2500 per unit. ( this is without going into the discount column) as we wnat to reflect the same in the deliver note printout.
    When this is copied to an A/R invoice and then and we try to add this, an error is generated saying "GL accout missing".
    Can any one help to tell me which account this is exactly and where this is entered. we are using SAP B1 2005 PL50.
    Thanks in Advance !

    Hi Nirushad.......
    Its in Administration> Setup> Financials> GL Account Determination> Inventory Tab--> Price Difference account.
    First check the Set GL Method of what
    For checking this go to Administration--> System Initialization > General Setting> Inventory Tab and Set GL Method
    If its Warehouse wise then go to warehouse where transaction is happening and put the Price Diff. Acct in accounting Tab
    If its ItemGroup wise then go to ItemGroup where transaction is happening and put the Price Diff. Acct in accounting Tab
    If its Item Level wise then go to Item Master Data where transaction is happening and put the Price Diff. Acct in Inventory Tab
    Regards,
    Rahul

  • Unit price in Invoice form(Rounding up issues)

    Hi Gurus!
    In my smartform I have used a formula to get the unit price of an item line which is giving me rounding up issues as it is calulating upto the 3 decimal places that I require in my output. Is it possible to grab the unit price field (KEBTR) directly into my form for the unit price so that I get the actual amount as in SAP into my invoice output rather than caluclting it in my code so that there is no discripancies.
    Like it shows on my form sometimes 98.999 or sometime 99.001 instaed of 99.00 as is in under the condition tab of the invoice, I would like it to show straght as is in SAP 99.000 rather tahn doing caluction and coming to a smallest decimal value.
    CLEAR: g_unit_price, g_min_charge_flag, g_item_tot, g_skto_kwert.
    * get skto amount (Cash discount)
    LOOP AT gt_konv INTO gs_konv WHERE kposn = gs_gen_del-itm_number AND
    kschl = 'SKTO'.   "Cash discount
    g_skto_kwert = gs_konv-kwert.
    EXIT.
    ENDLOOP.
    * For rental contracts there is no delivery so surcharges must be removed from net.
    IF is_bil_invoice-hd_gen-bil_type = 'ZFV'.
    CLEAR gs_gen_del-kzwi3.
    LOOP AT gt_konv INTO gs_konv WHERE
    kposn = gs_gen_del-itm_number AND
    stunr BETWEEN 230 AND 289.
    gs_gen_del-kzwi3 = gs_gen_del-kzwi3 + gs_konv-kwert.
    ENDLOOP.
    ENDIF.
    g_item_tot = gs_gen_del-netwr - gs_gen_del-kzwi3.
    IF gs_gen_del-fkimg <> 0.
    g_unit_price = g_item_tot / gs_gen_del-fkimg.
    ENDIF.
    Thanks
    Edited by: Aarav  Agnihotri on Jun 11, 2009 6:58 PM

    Hi Aarav,
    Check this links
    [Rounding|Rounding]
    [Rounding off value|Re: Rounding off value]
    Read Above for a clear idea about Rounding values.
    [Rounding of the Values|Rounding of the Values]
    [Quantity & Rounding condition values|Re: Quantity & Rounding condition values]
    [Rounding down values|Re: Rounding down values]
    For More results Search In SDN...
    Thanks & regards,
    Dileep .C

  • A/R invoice PLD for BOM items need to hide the unit price

    Dear All,
    Our customer would like to have an A/R invoice like this: if the invoice has any BOM item, the unit price of child items should be hid. That means, I need to determine, if the item is the child of its parent, hide the unit price of it. Is there any way for me to know which item is the child item in A/R invoice PLD? I cannot find a column like status of item in the table that tells me this item is a regular item and that item is the child of an item. Thanks a lot.
    Regards,
    Yuka

    Thanks for your reply. The problem is, an item in the invoice might be the child item or the regular item.
    e.g, we have item A and B, they the child item of C. In the invoice, the customer may order 5 item C then add 10 item A as well.
    Then the invoice will like this
    C    5
    A    5
    B    5
    A    10
    Then they would like to hide A 5 B 5 but display A 10 as regular item.

  • How to have item unit price in BP currency during sales invoice creating ?

    Hi all,
    is there a way when you keypunch a sales invoice to have the unit price automatically converted to customer currency (as it is done for total amount of the invoice line) ?
    Thanks for your help.
    Regards

    Hi,
    Welcome you post on the forum.
    You have 2 options at least:
    1. Set up a price list for the BP to use the BP currency.
    2. Add a Formatted Search to do conversion by formula.
    Thanks,
    Gordon

Maybe you are looking for

  • BTHub Boosting

    Hello, I live in part of an annex house setup, and the signal doesn't reach into the "barn", we have 2 lines going into the property, at the same section, one has become far too expensive, so we're dropping it and sticking with BT. Previous setup: Th

  • CIC Activity and Sales Order Link Tables?

    Hello Experts, Can somebody let me know the CRM Customer Interaction Center(CIC) activity and its leading Sales Order Link tables or the data model? If somebody could point me to CRM CIC Data model it would be real helpful. If you have any document p

  • MacBook Air circa June 2012 memory where did it go.

    I boot up my MacBookAir 4 GB Ram and when i get to the desktop I rarely have 2 GB of ram free. Where is the ram going and can I get it back? Thank you.

  • Playing Video on the web in Safari

    Is there a way to watch video's on the iTouch in Safari other than YouTube? Such as video on espn.com, yahoo.com, etc...Is it just Quicktime player and the video has to use that particular media player, or can a flash player or another media playe be

  • OC4J support Ajax based Application, If yes....give me example

    Hi, I did Ajax based application and getting output in MyEclipse with Tomcat server. but, same Ajax Program I am running in oracle jdeveloper with OC4J, it's not getting output...... can anyone help.....what is the reason..... regards, Abu