SetBackColor for Unit Price !?

I'm asking because I'm not sure what is wrong.
See the 2 lines below, the 3 is the ItemCode and the 17 is the Unit Price
The back color works for the ItemCode but not for the Unit Price.
I don't know if it's me doing something wrong  ! 
oMatrix.CommonSetting.SetCellBackColor(iDetailRow, 3, GetColor(Color.Orange));
oMatrix.CommonSetting.SetCellBackColor(iDetailRow, 17, GetColor(Color.Orange));

"3" isn't accepted by SetCellBackColor as it's a int colNum
SAP gave me 20 for Unit Price and it works but it doesn't make sence and I don't know where they took 20 from SAP
when I go in the Form Settings the order is 17 for UNIT PRICE
They even gave me a code to find the column by the title and yet it works and it finds 20 for UNIT PRICE but
how and where if you're a user and not a machine to now that 20 is UNIT PRICE ?
VERY CONFUSING !

Similar Messages

  • How do i able to get data for unit price using RSEG table?

    Dear All,
    How do i able to get data for unit price in RSEG table?

    Hi Thiru,
    Please check the logic in thread http://scn.sap.com/thread/1347964
    Hope this helps.
    Regards,
    Deepak Kori

  • LIV - credit memo : error message shown for unit price variances

    hi
    In LIV for Credit Memo, there is no warning nor error message shown for unit price variances (price different from that in PO).  Request not allow to have unit price variances for Credit Memo. pls advice how can i do it
    thanks

    Hi,
    If you are posting a credit memo against a PO you cannot post it for MORE than the value of the PO, the system gives you the message that says something like, the value entered is higher than the PO value and so the PO value has been used.
    Is this giving you a particular problem?
    remember that youare generating the credit memo and so you can ask the vendor for whatever you want (although you may not actually get it). It is not like entering an invoice where the vendor is specifying the values.
    Steve B

  • 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

  • Average for Unit Price within a date range????

    Howdy BI Gurus,
    We're on BI 7.0.
    The client has the following report that I neeed to create in BI:
    It's Determines the Average Costs for Raw Material Every Quarter:
    <b>Item #  |   Receipt Date|   Qty      |    Unit Cost  |   Extended Cost  |   Vendor</b>
    200TU      | 01/23/07        | 47,349   |      .9950      |   47,112.26         |      XYZ
    200TU      | 02/19/07        | 48,796   |      .9870      |   48,552.02         |      XYZ
    200TU      | 04/16/07        | 43,978   |      .9340      |   43,758.11         |      XYZ
    Total Sum  For Qty =  140,123
    Total Sum For Extended Cost = 139,422.39      
    Average  For Unit Cost =   .9720
    1. How do you calculate the <b>Average</b> for the <b>Unit Cost</b>?
    2. How do display the Total Sum ONLY for the <b>Qty</b> &&<b> Extended Cost</b>?
    I tried the following document:
    <b>"How to...Count the Occurances of a Characteristic"</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af
    ...that was posted on another forum that shows step by step how to create a Counter infoobject and update the transfer rules with a Constant "1" and after creating a CKF in Query Designer and setting up the Exception Aggregation for "Average of All Values" for Ref. Characteristic "Material" to get the average...Unfortunately, it didn't work for me as I just get $0.0. 
    I'm thinking maybe the directions were for the old BW version.
    Any help would be greatly appreciated.
    Best Regards,
    Osman

    This is what I get now when I do an Exception Aggregation on Ref. Char - Material...Look at the last Column titled "Average Unit Price"
    Calendar Day     Material     Individual price in invoice     Invoiced quantity     Extended Cost     Average Unit Price
    10/9/2007     17887          $ 14.00 /EA               7,128 EA          $ 99,792.00     $ 14.00 /EA
    10/22/2007     53093          $ 318.00 /EA               1,920 EA          $ 610,560.00     $ 318.00 /EA
    10/8/2007     4750MT          $ 0.51 /LB               252,000 LB          $ 128,088.00     $ 0.51 /LB
    10/9/2007     4750MT          $ 0.51 /LB               252,000 LB          $ 127,638.00     $ 0.51 /LB
    10/17/2007     G202          $ 59.40 /EA               6 EA               $ 356.40     $ 59.40 /EA
    What I want is grup by Material:
    Calendar Day     Material     Individual price in invoice     Invoiced quantity     Extended Cost     
    10/9/2007     17887          $ 14.00 /EA               7,128 EA          $ 99,792.00     
    Average Individual price in invoice = $14 (Since there is only 1)
    10/22/2007     53093          $ 318.00 /EA               1,920 EA          $ 610,560.00     
    Average Individual price in invoice = $318.00 (Since there is only 1)
    1/8/2007     4750MT          $ 0.51 /LB               252,000 LB          $ 128,520.00     
    2/9/2007     4750MT          $ 0.32 /LB               252,000 LB          $  80,640.00     
    3/10/2007     4750MT          $ 0.24 /LB               252,000 LB          $  60,480.00     
    4/25/2007     4750MT          $ 0.65 /LB               252,000 LB          $ 163,800.00     
    Average Individual price in invoice = (($0.51 + $0.32 + $0.24 + $0.65) / 4) = $0.43
    10/17/2007     G202          $ 59.40 /EA               6 EA               $ 356.40     
    Average Individual price in invoice = $59.40 (Since there is only 1)
    Hi Kartikey,
    I'll try your method tommorrow morning...thank you for your help so far.
    I really appreciate it
    Best Regards,
    Osman
    Message was edited by:
            Osman Baig

  • SapScript: How to change write format for Unit Price

    Hi Experts,
    I have created a sapscript form in English and Japan language.
    In the Japan form, the unit price and quantity are being display as 123,456.78.
    but in English form, the unit price and quantity are being displayed as 123.456,78.
    I am also using a custom program for my logic but when the English form is used, when i write netwr field in a character field,
    it is defaulted as 123.456,78 even inside the program. How can I changed this to 123,456.78?
    My user data default for value display is 123,456.78.
    The print program for the form is a standard program used for PO (ME2*N) printing.
    Thanks in advance!

    Hi Breakpoint,
    My user data default for value display is 123,456.78 already but when using English form it is not display as such.
    Need help.

  • Need FMS For Unit price

    Dear Experts,
                       Please Find the Attachment and  mentioned two fields(Red) and I want Multiply from these Two fields. So please give FMS query for this problem.Kindly give solution ASAP.
    Thanks&Regards
    Vinoth Raj K

    Hi Raj,
    Why you need to multiply the Currency Rate to the Unit Price? If you do that option you just multiplying the bp currency and the foreign amount like USDXXX * USDXXX. Does it make sense?
    Regards,
    Lean

  • Template for Unit price import as per BP wise price list.......

    Hello Experts,
                Is there any template for importing the Unit price as per price list in Item Master?
    Regards,
    Rahul Moundekar

    Hi Rahul Moundekar,
    Do you refer those prices under Special Price?
    Thanks,
    Gordon

  • Authorisation for unit price in Sales Order

    Hi Experts,
    Is there a way to prevent users from being able to change the unit price of an item in Sales Orders?  If not directly can anyone suggest a workaround to prevent access to this field?  We have noticed recently that on some occasions when users were not able to apply certain discounts they had changed the unit price!
    Regards
    Geoff

    Hi Goeff........
    Its easily done by Authorization.
    Just unauthorized an user to change the Unit price in General Authorization in sales module.
    Or you can disable the unit price column through Form Setting and do not give authorisation to change form settings to that user........
    Regards,
    Rahul

  • AR Invoice - Source for unit price

    Hi,
    The concurrent program "Invoice Print BPA Child Program" (ARBPIPCP) prints the output in pdf format. We had created an SO with unit price as 3 decimal points and created invoice by running Autoinvoice Master program. The invoice is created with 3 decimal points
    Unit_selling_price - 0.315
    Quantity - 50000
    Extended price - 15750
    Unit_standard_price - 0.32
    But in Invoice print it shows unit price as 0.32 and extended price as 15750
    Please let us know why it is giving unit price as 0.32 (Unit_standard_price) and extended price calculated from 0.315 (Unit_selling_price). Or is it just rounding off the unit selling price to two decimals. If so, where should I set the precision to display properly. Please help.
    Thanks,
    Prasanna

    Please check if this query meets your need:
    Select T2.City 'Customer City', T2.State1 'Customer State',
    T2.ZipCode 'Customer ZIP', T0.ItemCode 'Part#', T0.Quantity,
    T1.DocNum 'Invoice#', T1.DocDate 'Invoice Date',
    T0.GrossBuyPr 'Unit Cost',T0.Price 'Unit Price', T1.CardCode 'Customer Code', T1.CardName 'Customer
    Name', T1.NumAtCard 'Customer PO', T0.ShipDate 'Ship Date'
    From INV1 T0 INNER JOIN OINV T1 ON T1.DocEntry =
    T0.DocEntry
    LEFT JOIN OCRD T2 ON T2.CardCode = T1.CardCode
    LEFT JOIN OITM T3 On T3.ItemCode = T0.ItemCode
    Where T1.DocType = 'I' and DateDiff(MM,T1.DocDate,
    GetDate()) = 1
    In this query, only the invoices are showed.  If you need Credit Memo too, use Union All to add those tables.
    Thanks,
    Gordon

  • Table field for Unit Price

    Hi Folks,
    Can any one tell me which field of either VBAP or MARA is used as <b>Unit Price</b> of an item.
    Thanks
    Siddarth

    Hi Jain
    the MBEW-PEINH is the Price unit with length 5.
    or
    data:
    amount like bseg-dmbtr,
    quantity like bseg-menge,
    unit_rate like bseg-dmbtr.
    amount = '87405.32'.
    quantity = '2.000'.
    unit_rate = amount / quantity.
    write unit_rate.
    reward points to all helpful answers
    kiran.M
    Message was edited by:
            Kiran Machavarapu

  • Validation for Unit price

    Dear all,
    I want to make validation at row level unit price column.
    If unit price is 0 or blank of any row then document should not be added.
    Is it possible using sp_transactionnotiffication.

    HI
    Its possible through SP.
    Try the below:
    IF (@object_type = '22' AND @transaction_type IN ('A','U'))
    BEGIN
         Declare @Itemcode22 as varchar(255)     
         Declare @UnitPrice22 as nvarchar(255)
         Declare @minline22 int
         Declare @maxline22 int
         set @minline22 = (select min(T0.linenum) from QUT11 T0 where T0.docentry=@list_of_cols_val_tab_del)
         set @maxline22 = (select max(T0.linenum) from QUT1 T0 where T0.docentry=@list_of_cols_val_tab_del)
         while @minline22 <= @maxline22
         begin
        select @Itemcode22=ItemCode from QUT11 where docentry=@list_of_cols_val_tab_del And LineNum=@maxline22
         select @UnitPrice22=Price from QUT1 where docentry=@list_of_cols_val_tab_del And LineNum=@minline22
              IF @UnitPrice22 = '0' or @UnitPrice22 is NULL           
    BEGIN
              set @error = '-1'
              set @error_message = 'Quotation should not be added without unit price in' + @Itemcode22
              END
         set @minline22=@minline22+1
         end
    END
    Edited by: kambadasan on Nov 23, 2011 1:50 PM

  • Purchasing 11i: How to change decimals for unit price of BPA?

    Our standard purchase orders use 5 decimals.
    Our Blanket Purchase Agreements use 9 decimals and this creates some problems for us. How can we change this to also work with 5 decimals?
    I assume it is a system profile? But i cannot find such a profile?
    Please help
    Regards
    Johann

    Moderator message - Cross post locked
    Rob

  • Unit price for invoice

    Hi Experts,
    I want to get unit price for invoice line items from BSEG table.
    How to get it.
    What is the unit price field for invoice line items.
    Regards,
    Sangeeta.

    Hi Sasi,
    Should I take the line item amount(WRBTR) for unit price from bseg table?
    Regards,
    Sangeeta.
    Edited by: Sangeeta on Dec 29, 2008 8:00 AM

  • 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

Maybe you are looking for

  • Checking if e-Mails have been answered

    In my job as project manager, send out about 20 - 50 e-Mails using the OSX' Mail application, usually committing or requiring work-related information from an individual collaborator. I am interested to find out which of these mails are pending, i.e.

  • Convert older Pages docs to current Pages?

    I have older Pages documents on my Mac and when I try to open them, it says "Too old. Save with Pages '09 and try again." Well, I don't have Pages '09, just the one that came with this MacBook Air (version 5.2)... Is there any way to upgrade the old

  • I have a two different charges for one album. How can I figure out what each charge is?

    I purchased an album and got charged two different prices. How can I figure this out?

  • Problem to download BPM products

    Hi all, I need to download some Oracle BPM products at: SOA Suite 11g Download Even when I accept the OTN terms, I got a message that complains: "In order to download products from Oracle Technology Network you must agree to the OTN license terms" I

  • Over Saturated Photos in IDVD09

    Using Iphoto 09 and IDVD09. Trying to burn a slideshow with 2 small video clips via Imovie09 to IDVD. The photos are extremely over saturated. Skin is a sharp pink or red color. Totally unusable. Any suggestions to correct this? Can't believe this is