Decimal Places in Item Cost must be 6 characters while in Journal Entry 2.

I have the following problem:
Accounting needs to see and work with 2 decimal places, but the item cost is needed in 6 decimals.
If I register a A/P Invoice and i go to the Journal Remark, the Journal Entry should be in 2 decimals. If i look for the Item Cost on the Wharehouse this cost should be in 6 decimals.
Is there a way to handle Accounting in 2 units and Cost in 6 Units
Thank You very much

Hi Saul,
The request appears illogical, how can the accountant work with 2 decimal places & the item valuation is held with 6? The stock account with 2 decimals will never match the stock audit report with 6 decimals.
I'm afraid the SAP Business One core functionality does not cater for this need. There are no 'behind the scenes' journal entries. A JE is legally binding so you need to decide whether you wish to work with the most accurate calculations regarding item cost as possible (6 decimals) or accommodate the accountants & work with 2 decimals in the journals.
You might want to take the nature of the stock into consideration, if there are huge quantities at small individual prices 6 decimals might be better, if you use mainly standard cost &/or have no major cost fluctuations when using MAP/FIFO, 2 decimals might be sufficient.
All the best,

Similar Messages

  • Decimal points for Item Cost

    When i call out the query from OITM which has the average price (item cost), the result showed me in 2 decimal points. But in my item master data, it shows 3 decimal points. How can call out a query that shows 3 decimal points? Is there any condition i should use?

    Hello Harith, I will test this issue on pl36 to see if it's reproducible. anyway, you are always suggested to patch up with the latest patch. I will let you know the result.
    Just tested and I got the same result as my previously reply, it shows 3 decimals witch complies with both general settings> decimal places for price and item cost in Item master data.
    please try to recall the Avgprice from OITW table to see what you get there.
    Thank you.
    Wilma Wang
    SAP Business One Forums Team

  • Decimal places in standard cost

    Dear All
    How many Decimal places does SAP Support for Standard cost estimate.

    Dear Sivaperumal,
    Normally I have noticed it's kept upto 2 places.
    Check the setting in T Code OY04.
    Also check this thread which addresses the same kind of issue,
    Re: Labor cost in CK11n/CK13n
    correct me if I'm wrong.
    check and revert back.

  • Error while adding  the issue for production (item cost not found)

    Hi all,
    The scenario is,
    when the user is trying to add the issue for production system is showing error item cost not
    found.The item which is issued is Inventory + purchase item with manual issue method.The valuation
    method for that item is FIFO.since the valuation method is FIFO,error related to item cost should
    not occur.
    Since the valuation method is FIFO.Item cost error should not occur.
    The error related to item cost must not occur at the time of issue for production.

    Please check these threads
    Sales Delivery Document
    Item Cost Error
    No item cost was found

  • How to set  two decimal places in currency inr

    i want to set two decimal places for my co.code currencu inr.  In t-code oy04 there is no 2 decimal places. Please tell me how set decimal places so that amount in account balances should be in two decimal places.

    If your currency code entry isn't in OY04 customizing step, your currency code has 2 decimal place automaticly. If you want to define a special decimal place without "2", you must define it in OY04.

  • Automaticly offer outstanding items of a business partner in journal entry

    One Customer ist a stright bookkeeper. Hi only likes to book in the journal and won't use the banking wizzard.
    Is there a possibility, that there will be automaticly an offer with the outstanding items of the business-partner when making a journal-entry like:
    GL 1.000,00 against BP
    Thanks for helping

    Good morning,
    thanks for your answer. I know this proceeding i've written from other ERP-Software (sage).
    When you make a journal entry, i'll get an offer of the outstanding items from the BP an i can choose, where i'll subtract the payed amount from.
    I see, there is no standard possibility to do so in SBO.
    Why you say, that it isn't a good practise to pass yournal entries on bp?

  • Item Cost decimal point precision not correct

    I tried finding a thread in here that would answer my question, but I haven't found one yet.
    What I'm noticing on certain Item Master records is that the Item Cost isn't being calculated using the correct amount of decimal places. I've set it to display 4 decimal places in the System Initialization area for Prices, Amounts, and Rates but that just tacks on more zeroes. I also haven't set any of the currency settings to anything other than "Default". Here is an example of what is happening and hopefully it will be clearer what is going on.
    I have an item that we have purchased for 0.22 dollars and a Customs Group precentage set to 10%. This should result in an Item Cost of 0.2420 dollars. It is actually truncating the result to two decimal places and storing it as 0.2400 dollars. I need it to calculate correctly to four decimal places. We're using Moving Average for the Item Cost calculation and in this case all individual Item Costs are the same from PO to PO for the same part (so the Moving Average shouldn't figure in at all) although that might not always be the case.
    This is only happening on certain items and I'm not sure what the difference is between the incorrect and correct ones. If someone has any idea why this is happening this way only for some parts, please let me know. Any information would be much appreciated. By the way, I'm using SBO2005A SP01 PL31.
    Thanks in advance,

    Thank you everyone who has replied.
    Gordon, I don't really have a good way to find out how many are affected. This could be a very big issue or a small one. I'll look into finding a pattern probably on Monday and see if there's something down that road.
    Jesper, this was something that came up in my mind before posting originally, but for all I've seen, it seems like everything should be calculating to 4 decimal places. As for the 6 settings, I have Amounts set to 2 (although I've tried 4 and it didn't seem to fix the problem so I reset it back to 2), Prices and Rates as 4, Quantities as 0, Percent and Units as 3. I think these are fine as is. I could be wrong though. The other reason I don't think these are a problem is because only certain items are having problems. Hence why I need to find some sort of pattern.
    Bishal, I am not a Channel Partner, just a Customer. So it won't let me login to get to that. If you have another way of getting that to me, then that would be great. If not, thank you for trying.
    I probably won't be doing anything with this until Monday. So there won't be a whole lot of updates until then at least. Thank you all for your responses and hopefully soon I can figure this out.

  • Changing the Decimal places for Percentage in cost distribution in SC

    Hi Gurus,
    Is it possible to change the number decimal places for the Percentage field in cost Assignment tab in Shopping cart in cost distribution option?
    The user wants 3 decimal places, currently we can enter only 2 decimal places.
    I have gone thro' couple of blogs which are talking about changing the price decimal and not the percentage field decimal. (in IMG setting: General settings > Currencies > Set Decimal places)
    So, if anyone come acorss this issue, please let me know.
    Thanks and Regards,

    Decimal Places Factor of the Receiver Weighting Factors
    Specifies the number of valid decimal places with which the given weighting factors are valuated.
    You enter 123456 as the weighting factor. Depending on the factor, this number is interpreted as:
    Factor Decimal places Weighting factor
    1 0 123456
    10 1 12345.6
    100 2 1234.56
    1000 3 123.456
    10000 4 12.3456
    100000 5 1.23456
    1000000 6 0.123456
    Please check with your FICO consulant .what settings you have in backend system.


    Dear friends,
    I want to enter item qty upto six decimal places. What are steps required.?
    Pl  help.

    Hi Sandeep
    to make the qty with 6 decimal places you can use the steps below
    the T-Code is = CUNI and
    here you can select your unit of measurement and change the units of measurement decimal places,
    you can select upto 14 decimal places if required
    pls reward points if useful

  • I need to get 2 decimal places when using a formula for a quotient and Numbers will only give me whole integers which is useless since most items will be less than 1. How can I change this?

    How do I get 2 decimal places when using a formula for a quotient? It only gives me whole integers. Most of the results will be less than 1 so I need 2 decimal places

    the quotient function returns only whole number portion of the dividing two numbers.  If you want the actual decimal value use the divide operator.  you enter this as:
    if the numerator is in A1 and the denominator is in B1 you can enter the formula like this:

  • Cannot Update Decimal Places in General Settings

    When I try to update the decimal points in the Administration > System Initialization > General Settings > Display path, SAP B1 gives me the following error:
    "Cannot update while another user is connected to the company."
    I am the only one on the system as "manager" with "Super User" and "Full Authorization"...
    The SAP B1 Guide titled "How to Make Initial Setting in Business One - US" says "you can change these settings at any time".
    QUESTION:  What might be stopping this change, and more importantly, how do I get around this error to be able to change the decimal points?
    Thanks all - Zal

    Hi Zal,
    I agree with you about the strange messaging used by SAP.
    But blocking the possibility to decrease the decimal places is extremely important.
    Suppose you have inserted a sales document with two items in this way:
    Item 1 ___Qty 1,234  ___Unit price 1,22  ___Line total  1,51
    Item 2 ___Qty  5,756 ___Unit price 3,15  ___Line total 18,13
    ____Document total 19,64
    Then, someone wants to change the number of decimal places of the quantity from 3 to 2.
    What happens would be:
    Item 1 ___Qty 1,23  ___Unit price 1,22  ___Line total  1,51
    Item 2 ___Qty  5,75 ___Unit price 3,15  ___Line total 18,13
    ____Document total 19,64
    If you try to do the calculations manually you will see that the results are not correct. In fact all the document would have to change in:
    Item 1 ___Qty 1,23  ___Unit price 1,22  ___Line total  1,50
    Item 2 ___Qty  5,75 ___Unit price 3,15  ___Line total 18,11
    ____Document total 19,61
    Also if the document total will show correct (in the case of rounding the second decimal position of item 2), the totals of any line is wrong. In fact there is no recalculation at all in SAP (and must not be done).
    Imagine such a modification over thousand of documents and all of the descendants (mainly if the have lead to printouts - as say confirmations - sent to customers or vendors).
    None of the economic figures will match.

  • Trying to limit the fidelity (to 2 decimal places) of a calculated value?

    Hi Everyone,
    I have a column that shows the Profit / Loss % for items sold.
    ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0
    Because it is possible for StockValue to be a zero (0) amount in our system it was necessary to add the NULLIF function.
    If a NULL value is detected then a value of 0 is ultimately returned. Due to the fact that there could still be a profit or a loss in this column I needed to add 'N/A', which I achieved by casting the calculation to a varchar and then applying a CASE statement, the full syntax is as follows -
    CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) = '0.00000000000000' THEN 'N/A'
    ELSE CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) END
    AS 'Profit / Loss %'
    My challenge is that the % for profit has an excessive level of fidelity, it currently goes to 14 decimal places (e.g.: 134.43223443223443)!
    I would like to limit the fidelity to 2 decimal places (e.g: 134.43). I have attempted to do this by 'double casting', first casting to a decimal then to a varchar (to allow for the 'N/A') -
    CAST(CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS decimal) AS varchar)
    In this case the fidelity is not sufficient, and I lose all decimal places. If I stipulate the nature of the decimal place, e.g.: decimal(4,2), then I get an "arithmetic overflow" error.
    How can I make my results either 'N/A' or a numeric result (with 2 decimal places)?
    Any help will be greatly appreciated.
    Kind Regards,

    Hi David...
    Check this
    *    Purpose: Lists the Sales History of Items by (user designated): 
    *    Item Code (range) and / or    
    *    Whs Code (range) and / or 
    *    Industry Code and / or    
    *    BP (Customer Code) 
    DECLARE @begItemCode nvarchar(20), @endItemCode nvarchar(20), @whsCode nvarchar(5), @indCode nvarchar(5), @custNo nvarchar(10) 
    SET @begItemCode = '' 
        IF @begItemCode = '' 
            SET @begItemCode = '00%' 
    SET @endItemCode = '' + 'Z' 
        IF @endItemCode = 'Z' 
            SET @endItemCode = 'ZZ%' 
    SET @whsCode = '' 
        IF @whsCode = '' 
            SET @whsCode = '%' 
    SET @indCode = '' 
        IF @indCode = '' 
            SET @indCode = '%' 
    SET @custNo = 'C000002' 
        IF @custNo = '' 
            SET @custNo = '%' 
            select tt.[Document Date],tt.[Document No.],tt.[Doc Type],tt.[Cust Code],tt.[Customer Name],tt.[Item Code],tt.[Item Description] ,
            tt.whscode, tt.[Line Net],tt.[Line Cost],tt.[Itm Avg Cost] , tt.[Profit / Loss],
            cast(round(tt.[Profit / Loss %],2,0) as decimal(18,2) ) as 'PL%',tt.[Vendor Name],tt.[Salesman Name] from (
    T1.DocDate AS 'Document Date' 
    , T1.DocNum AS 'Document No.' 
    , 'Invoice' AS 'Doc Type' 
    , T1.CardCode AS 'Cust Code' 
    , T1.CardName AS 'Customer Name' 
    , T0.ItemCode AS 'Item Code' 
    , T0.Dscription AS 'Item Description' 
    , T0.Quantity AS 'Ship Qty' 
    , T0.WhsCode 
    , T0.LineTotal AS 'Line Net' 
    , T0.StockValue AS 'Line Cost' 
    , T2.AvgPrice AS 'Itm Avg Cost' 
    , (T0.LineTotal - T0.StockValue) AS 'Profit / Loss' 
    , CASE WHEN 
      CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) = '0.00000000000000' THEN 'N/A' 
      ELSE CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) END    
      AS 'Profit / Loss %' 
    , T4.CardName AS 'Vendor Name' 
    , T5.SlpName AS 'Salesman Name' 
    FROM  dbo.INV1 T0 
    INNER JOIN  dbo.OINV T1 ON T1.DocEntry = T0.DocEntry 
    INNER JOIN  dbo.OITM T2 ON T2.ItemCode = T0.ItemCode 
    INNER JOIN  dbo.ITM1 T3 ON T3.ItemCode = T0.ItemCode AND T3.PriceList = 1 
    INNER JOIN  DBO.OCRD T4 ON T4.CardCode = T2.CardCode 
    INNER JOIN  DBO.OSLP T5 ON T5.SlpCode = T1.SlpCode 
    WHERE T1.DocType = 'I' AND T2.OnHand > 0 AND T0.ItemCode >= @begItemCode AND T0.ItemCode <= @endItemCode AND T0.WhsCode LIKE @whsCode 
    AND T2.U_SCE_IN_Industry LIKE @indCode AND T1.CardCode LIKE @custNo 
    T10.DocDate AS 'Document Date' 
    , T10.DocNum AS 'Document No.' 
    , 'Credit' AS 'Doc Type' 
    , T10.CardCode AS 'Cust Code' 
    , T10.CardName AS 'Customer Name' 
    , T9.ItemCode AS 'Item Code' 
    , T9.Dscription AS 'Item Description' 
    , -1 * T9.Quantity AS 'Ship Qty' 
    , T9.WhsCode 
    , -1 * T9.LineTotal AS 'Line Net' 
    , -1 * T9.StockValue AS 'Line Cost' 
    , T11.AvgPrice AS 'Itm Avg Cost' 
    , -1 * (T9.LineTotal - T9.StockValue) AS 'Profit / Loss' 
    , CASE WHEN 
      CAST(ISNULL(((T9.LineTotal - T9.StockValue) / NULLIF(T9.StockValue, 0)) * -100, 0) AS varchar) = '0.00000000000000' THEN 'N/A' 
      --ELSE CAST(CAST(ISNULL(((T9.LineTotal - T9.StockValue) / NULLIF(T9.StockValue, 0)) * -100, 0) AS decimal) AS varchar) END 
      ELSE CAST(ISNULL(((T9.LineTotal - T9.StockValue) / NULLIF(T9.StockValue, 0)) * -100, 0) AS varchar) END 
      AS 'Profit / Loss %' 
    , T13.CardName AS 'Vendor Name' 
    , T14.SlpName AS 'Salesman Name' 
    FROM  dbo.RIN1 T9 
    INNER JOIN  dbo.ORIN T10 ON T10.DocEntry = T9.DocEntry 
    INNER JOIN  dbo.OITM T11 ON T11.ItemCode = T9.ItemCode 
    INNER JOIN  dbo.ITM1 T12 ON T12.ItemCode = T9.ItemCode AND T12.PriceList = 1 
    INNER JOIN  DBO.OCRD T13 ON T13.CardCode = T11.CardCode 
    INNER JOIN  DBO.OSLP T14 ON T14.SlpCode = T10.SlpCode 
    WHERE T10.DocType = 'I' AND T9.ItemCode >= @begItemCode AND T9.ItemCode <= @endItemCode AND T9.WhsCode LIKE @whsCode 
    AND T11.U_SCE_IN_Industry LIKE @indCode AND T10.CardCode LIKE @custNo  
      ) as tt
    Hope Helpful

  • New question....adding decimal places...

    Ok my assignment is thus:The Lone Oak High School Marching Band is raising funds by selling fruit. In order to simplify processing of orders, only three types of packages of fruit are being sold. They are
    Box of Apples at a cost of $14.00
    Box of Peaches at a cost of $16.00
    Box of Oranges at a cost of $18.00
    There is a 10.00% tax on the total order amount. Write a Java program that reads the number of each type package on an order and computes the cost for the packages of each type ordered. Total the order, calculate the tax on the order, and the total including the tax. Print all items read and all items calculated with appropriate labels.
    Boxes of Apples: 2
    Boxes of Peaches: 3
    Boxes of Oranges: 4
    Total cost of the fruit: 148.00
    Tax: 14.80
    Total Amount Due: 162.80
    Now ive got the program to work exactly as it should but for neatness i want it to have 2 decimal places. When it runs, ill use the above as an example, it cuts off the second decimal. Is there a nice way to add the the second decimal place?
    Edited by: chaoticglee on Jan 30, 2008 3:40 PM

    Try this as an example:
    import java.util.Scanner;
    import java.text.DecimalFormat;
    public class ex
        final static double HOTDOG_COST = 10.00;
        final static double TAX = 0.05;
        public static void main(String[] args)
            DecimalFormat money = new DecimalFormat("$0.00");
            Scanner in = new Scanner(;
            System.out.print("How many hotdogs do you want? ");
            double subTotal = in.nextInt() * HOTDOG_COST;
            double taxCost = subTotal * TAX;
            double total = subTotal + taxCost;
            System.out.println("Cost of food: " + money.format(subTotal));
            System.out.println("Tax: " + money.format(taxCost));
            System.out.println("Total: " + money.format(total));

  • Decimal places in Query generator

    Hi All,
    I am observing a weird behavior in Query generator's execution of a simple sql query. the query is :
    Select 0.002834
    now, in the general settings - display - amounts , I put the decimal value as 4 or 6,  then only it prints 0.0028 or 0.002834.
    else it prints 0.00 (if the decimal place is 2). it should ideally have nothing to do with the display of amount. any idea?
    (the effect is shown only after you change the decimal display, update it and close and reopen the SAP application.
    Edited by: Binita  Joshi on Apr 12, 2010 4:03 PM

    Hello Binita,
    >I have tried converting it to numeric(19,4) and numeric(19,6) but still the result was same.
    Check your decimal places settings in
    \Administration\System Initialization\General Settings\Display tab
    Check the following values:
    - Units (For meaurement)
    - Decimals in Query
    Now let' s say,
    - Unit set to 6 decimal places
    - Decimals in Query set to 2
    run the following query in query generator:
    select cast(0.000245 as decimal(19,6))
    result will be
    run the same query as FMS on item master data in any measurement field (lenght)
    select cast(0.000245 as decimal(19,6))
    result will be
    Now set the - Decimals in Query set to 6 on  \Administration\System Initialization\General Settings\Display tab
    run the following query in query generator:
    select cast(0.000245 as decimal(19,6))
    result will be
    This is a normal habit of SAP B1 rounding engine / displaying engine.

  • Error: decimal places not allowed

    I am entering a PO in currency JPY(Japanese Yen).However when I try to enter a PO with net price for one of the items as say 2.71,it gives error decimal places not allowed.
    I have maintained currency rate as 100 local currency=3.1 Yen
    It only gives problem while using this currency.
    What is the way out ?

    Check the config of the currency code (OY04), it is probably set to not allow decimal places.
    If this is the case, don't change it, simply enter a price of 271 with a price unit of 100, in the PO. This will give you a price of 2.71 for one
    Steve B

Maybe you are looking for

  • File Adapter Wizard - Native Format Builder - no spaces in header?

    My project uses a vendor supplied, delimited text file. The first row of the file is a header, followed by data rows.  The problem is that the header elements contain spaces, Which are not acceptable by the Native Format Builder. Has anyone experienc

  • Disable facebook update when editing photos

    hi, Is there a way to disable automatic updates of photos which are part of a facebook album? The thing is, when I edit photographs to be used for other purposes, I find it automatically updates the image contained in the FB album as well (well, the

  • How to use bind variables in "query result" "validation rule"

    I have created a validation rule on my entity object. rules=compareValidator attribute=InvoiceNumber operator=NotEquals queryResult=SELECT ... In this query, I would like to reference entity attributes from the current instance of the entity when the

  • Itunes is not recognizing my iphone 4s?

    itunes is not recognizing my iphone 4s?

  • PL/SQL rows in a cursor

    How do I check the number of rows in a CURSOR without a complete fetch,If the records exist it should return a REF cursor else it shouls say no records. How can this be done