Unit price issues

HI!
In m my smartform Im getting the unit price for my invoice from the condition table directly instead of calculating it (Total / Quantity) which creates the rounding up issues. SO this works fine for us but the problem occurs when the condition pricing is like 300/ 1000 L or 4000/ 1000Kgs , what happens is that in the output the unit price and quantity when multiplied contradicts , though the net price per line item shows correctly but suppose qty is 3 L and the unit price is 300/1000L so total os .9 dollars which is correct but in  the form out put it shows  qty= 3 unit price 300  and total .9 dollrs, which si contracdictory, so what I did I used a calculation gaain and divided by condition price by condition pricing unit so when its 300/1000L it would show .3 /L which is now ok but another problem rose with metric ton, since the selling unit is MT and the unit price now after dividing by condition pricngi unit makes it per KG so output would show like qty =3 unit price  4 and total = 12000 dollars , so heer unit price is wrong as it should have been 4000/ Ton as the total os 12000 dollars.
Is theer a way out to show the correct unit pricing as per the sales unit. I had used the code to just divide the total price of line item  divided by the Quantity but then the rounding up issues came up which was not required .
read table is_bil_invoice-it_kond into gs_kond
with key bil_number = gs_gen_del-bil_number
itm_number = gs_gen_del-itm_number.
if sy-subrc = 0.
  g_unit_price = gs_kond-kbetr / gs_kond-kpein.
else.
** Loop around and get the price for it
  loop at is_bil_invoice-it_kond into gs_kond
  where bil_number = gs_gen_del-bil_number and
  itm_number = gs_gen_del-itm_number.
    if gs_gen_del-fkimg <> 0.
         g_unit_price = gs_kond-kbetr / gs_kond-kpein.
      endif.
*  g_unit_price = g_item_tot / gs_gen_del-fkimg.
    endif.
  endloop.
endif.
* Get unit price and tot price.
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

Well we would ike to grab the unit price directly from the condition mentioned in the billing documents , thats the reason this issue has errupted , We would like to pull it directly from teh document onto the invoice but as I said when its given per 1000 L or /1000 Kgs then the problem occurs as teh quantity may be in MT and the unit price in the condition on document maybe like 4000 dollars per 1000 KGS so it takes 4000 and multiplies bny quantity which is in MT which is 1000 times more than teh correct value. SO as per my piece of code its grabbing the unit price directly from teh condition in the billing document . If I just divide this unit price that I am gettimng from the condition table in Doc by the condition rate KPEIN then it works ok except in few cases like MT. The quantity will show 3 MT suppose and the unit price will be 4000/1000 = $4/ kgs so this will contradict the units but in case of per 1000L it would be ok as the resultant will be in litres only but in case of MT its converted to Kgs so basically a client will see 3 MT QTY for 4 / Kgs  and price will be 12000 dollars which dosent look alright though teh resultant is correct prioce.
SO this becomes a special case when we dont need to divide by condition unit rate . My question is can be give such kind of exceptions in our code and proceed or will be wrong.
Thanks

Similar Messages

  • PO Unit Price issue

    Hi Gurus.
    Have the following scenario:
    -- PO Qty is changed in Purchase order as per the Quantity delivered. In doing , the System automatically changes the Material Price
    -- Hence when the last invoice is made with reference to PO, the System shows different price than the original one.
    for example
    1.       The PO Qty was initially 462 KM and was changed to 458.7 KM. Hence the Unite Price changed to 40.65 from 40.62 as below
    Gross price = 36.92 /KM EUR
    Surcharges = 1710 (total)
    Unit Price = 36.92+(1710/458.7) = 40.65/KM
    2.       The PO Qty was again changed from 458.7 KM to 444.4 KM as below
    Now the unit price was revised to 36.92+(1710/444.4)= 40.77/ KM
    Requirement: Unit price not to be changed even after the change in the quantity, pls confirm is it possibble
    Thankyou very much

    Hi,
    As per standard SAP your requirement can't be met, please refer the Note 304178 - Absolute conditions in purchasing documents. I have pasted what is contained in the note, this cant be done.
    Summary
    Symptom
    Absolute conditions, for example, used at item level in the purchase order item, are calculated down to the item quantity.For the goods receipt, if a quantity differing from the item quantity is posted, this absolute condition is nevertheless quantity-dependent since it is only calculated proportionally.
    Other terms
    Delivery costs, freight costs, freight, absolute value, FRB1
    Reason and Prerequisites
    For the goods receipt, the actual posted quantity is not yet available, as far as the program is concerned, at price determination.If the actual posted quantity is available later, the condition technique is not used again for the calculation.Therefore the only option remaining is the proportionalization of the condition values.
    Solution
    None.

  • 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 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

  • Unit Price in Issue for Production for Item with wrong UoM

    Dear All,
                In issue for production the item cost being picked does not match either our Last Purchase Price or Price List1. In some cases the price considered is an average:
    Eg:- For Item A with Purchase UoM in Nos. and Inventroy UoM in Gms, we had not enetred the conversion factor i.e 1 No=100g. Thus GRN was made for 25 Nos. @ Rs.450/Unit. But actual stock was 2500g. Hence to rectify the stock we made an OB entry for 2475 as on GRN date with zero Price. Thus total stock was 2500 and Value 25*450=RS.11250
    When we did an Issue for Production for this item: Qty:400g, the unit price considered was Rs.28.125 when the actual price to be considered is Rs.450[Unit Cost]/100 [UoM Conversion]=Rs4.5. We had entered Rs.4.5 in Price List1 and had selected this price list in the BoM as we had not entered a conversion factor in the Item Master Data and SAP does not allow alterations to this tab once the Item is involved in transactions.
    I think the system calculated the price as follows: (25450+14750)/400=Rs.28.175
    How do we avoid/correct this in the future?

    If you need the stock price correct, the only option might be creating a new item with correct information in the first place.  Once you have error data to start with, there is no way to corrected as you wish.
    Thanks,
    Gordon

  • Unit price formula syntex issue in Contract line item

    Hi All,
    I have uploaded price condotion XML from SRM to Sourcing. I have defined integarted Master agreement and added 0ICT item price condition for service and materila. I was able to add line item and publish to SRM.
    I tried creating new custom price condition in Sourcing adn saved. After this I am not able to add line item in master agreement. It is showing systex error in unit price formula under document setup->formula.
    I faced this error in past when I haven't added item price condition in master agreement type as default for material and service.
    I don't know what went wrong. I have inactivated the custom price condition, imported the standard SRM again via XML and deleted priviously added price condition from the master agreement type and defualt with new one but no luck. I tried creating new master agreement type also but same error.
    Please let me know if anybody has faced the issue in past and able to fix it.
    Regards,
    Deepak

    Hi Avinash,
    Thank you very much dear...It is appearing in the report as you said.
    I am wondering why  it is not appearing in the standard Plan line item reports CJI4 or S_ALR_87013542 ? any clue.. Anyhow I have given points for your reply.
    Thanks once again for ur reply..
    Regards
    Tajammul

  • Wrong Unit Price in a Good Issue Document using DI

    Hi,
    in my addon I want to create a new Goods Receipt document, using DI.
    In the Lines, I set the ItemCode, I set the Quantity, and I set the Price, then I add the document, but when I go to Sap, in the Goods Receipt created, the Unit Price is wrong. I've try to set Quantity and LineTotal, Quantity and Price, Quantity Price and LineTotal but all the combinations is not correct, and the Unit Price is not equals to the price that I have set.
    I have try to change the Price List, but nothing is happened.
    This is my simple code:
    Dim entrataMerce As SAPbobsCOM.Documents = myDB.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
    entrataMerce.CardCode = cardCode
    entrataMerce.Series = series
    entrataMerce.Lines.ItemCode = itemCode
    entrataMerce.Lines.Quantity = 1
    entrataMerce.Lines.Price = 100
    entrataMerce.Lines.WarehouseCode = whsCode
    entrataMerce.Add()
    Where is the error?
    Thanks
    Marco

    Instead of Price, try using UnitPrice? This is a confusing area of the DI :/

  • Unit Price Format in XSL-FO Code for Standard Purchase Order Printing

    Hi All,
    As I am new to XSL-FO, so i am not aware of doing XML,XSL-FO changes. I have an issue with the xsl-fo for standard po layout. My report layout gives ##,## instead of ##.## as my Unit Price. i.e. in the report for POs, it is showing unit price in the format as #,## eg: 0,32 or u can say like 1,70 instead it should show #.## something like 0.32 and 1.70 as my unit price. The piece of code related to unit price formatting in report as follows:
    <xsl:choose>
    <xsl:when test="(UNIT_PRICE,1,1 > 1) and (substring-before(UNIT_PRICE,',') > 0)">
    <fo:table-cell xsl:use-decimal-format="euro2"> <fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
    <xsl:value-of select="format-number(substring-before(UNIT_PRICE,','),'#.###','euro2')"/>,<xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) > 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) =''"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 1"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 2"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 3"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,','),3,1)) = 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,','),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,','),2,1)) = ''"><xsl:value-of select="((substring(substring-after(UNIT_PRICE,','),1,1))-(substring(substring-after(UNIT_PRICE,','),1,1)))"/></xsl:if>
              </fo:block>
         </fo:table-cell>
    </fo:table-cell>
    </xsl:when>
    <xsl:when test="(substring(UNIT_PRICE,1,1)=',')">
         <fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
         <xsl:value-of select="UNIT_PRICE"/>
         </fo:block>
         </fo:table-cell>
    </xsl:when>
    <xsl:when test="(UNIT_PRICE,1,1 > 1) and (substring-after(UNIT_PRICE,'.') > 0)">
    <fo:table-cell xsl:use-decimal-format="euro2"> <fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
         <xsl:value-of select="format-number(substring-before(UNIT_PRICE,'.'),'#.###','euro2')"/>,<xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) > 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) =''"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 1"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 2"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 3"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),3,1)) = 4"><xsl:value-of select="(substring(substring-after(UNIT_PRICE,'.'),1,5))"/></xsl:if>
    <xsl:if test="(substring(substring-after(UNIT_PRICE,'.'),2,1)) = ''"><xsl:value-of select="((substring(substring-after(UNIT_PRICE,'.'),1,1))-(substring(substring-after(UNIT_PRICE,'.'),1,1)))"/></xsl:if>
         </fo:block>
         </fo:table-cell>
    </fo:table-cell>
    </xsl:when>
    <xsl:when test="(UNIT_PRICE,1,1 > 1 ) and (substring-after(UNIT_PRICE,',') ='') ">
    <fo:table-cell xsl:use-decimal-format="euro"> <fo:table-cell xsl:use-attribute-sets="table.cell5"> <fo:block xsl:use-attribute-sets="form_data1">
    <xsl:value-of select="format-number(UNIT_PRICE,'#,###.00','euro')"/>
              </fo:block>
         </fo:table-cell>
    </fo:table-cell>
    </xsl:when>
    </xsl:choose>
    PS: My decimal formats for euro and euro2 are:
    <xsl:decimal-format name="euro" decimal-separator="," grouping-separator="."/>
    <xsl:decimal-format name="euro2" grouping-separator="." NaN="0"/>
    Any help or reply regarding this issue will be highly appreciated.
    Regards,
    Sumir

    Hi Michele:
    I can check out for you how to print page number in XSL-FO (There is an O'Reilly) book, but I think I help you better by recommending a different strategy - Don't write XSL-FO stylesheets. While Purchasing does not support RTF templates you can still write RTF templates and convert them to FO using the XML Publisher Template Builder for Word.
    Download the matching Template Builder for Word (5.0) or XML Publisher Desktop 5.5 (includes the Template Builder) patch and then Create your template as an RTF template.
    You can then EXPORT the template as XSL-FO stylesheet and upload as to Purchasing AS LONG AS THE VERSION OF THE DESKTOP and E-Businees Suite XML Publisher MATCH.
    If you still want to write XSL stylesheet, you can just use the Template Builder to generate you the code and paste the code (e.g. for page numbers) into your stylesheet.
    By the way - Purchasing will support RTF templates in future versions...
    Hope that helps,
    Klaus

  • Updating Unit Price in iProcurement

    Hi All,
    Updating Unit Price in i-proc requisitioned for non stock items.
    To look in to how this should work out.
    Currently users have to create a new requisition as this facility is not available.
    What has to be done on the above said issue..?
    Many thanks in advance and best regards,

    what exactly are you trying to do? Non catalog items? How do you want the price updated? What do you mean by how this should work out?
    Can you clarify your issue?

  • 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.

  • EM C+ 723 Periodic unit price of the material will be negative

    Hello All,
    We have a problem in our production system , with the material ledger closing in transaction CKMLCP where for period 11 / 2011 the system has issued the error that u201CPeriodic unit price of the material will be negativeu201D for material ABCD in plant 1000.
    The analysis shows an amount against 'Not Distributed' as a separate line above cumulative inventory.
    We would like to know the reason for the error.
    regards
    Monali

    Dear Monali.
    The error C+723 is not caused by a program error. It is issued when
    the calculated price of a certain material would become negative.
    The error occurs only for cycle materials because for materials that
    are not in a cycle the system automatically applied a fallback strate
    gy to avoid a negative price (by using a different price, for example
    the actual price of the previous period or the standard price).
    There are two options to deal with the error:
    1) You can analyze the reason why the price would become negative.
       For this you can use the error document which is created by
       multi level price determinatio for the affected material.
       (-> use transaction CKM3). The negative price is caused by
       negative variances allocated during the period at the material
       itself or at one of its input materials.
       You can then analyze via CKM3 the postings done for this material
       and do a correction posting or complete a missing posting (for
       example a missing order settlement).
       The long text of message C+723 gives more information.
       After doing correction posting please repeat single and multi
       level price determination.
    2) If you have no time to analyze the error you can choose the
       automatic error management for cycle materials.
       In the variant maintenance of multi level price determination
       choose Edit -> Show postprocessing options
       In the frame 'Negative price: automatic error management you can
       then check the box Cycle 'cut all connections'.
       By doing this instead of issuing C+723 the system calculates
       the cycle by cutting all connections. Thus the materials are
       processed successfully, but no variances are rolled between
       materials within the cycle.
       The F1 help gives more information.
    br, Guido

  • Unit price being used by GR

    Hi,
    We have an issue here.
    We have a PO with the ff. details:
    Quantity : 13,968
    Net Price: PhP 5.81
    When the user received the goods via MIGO, the amount in LC reflected in the material document number is 79,948.50.
    Question is what is the unit price used to compute for the 79,948.50? Where can we see the unit price used?
    Thanks!

    >
    Jackie Fiesta wrote:

    > We don't have condition tab for this PO. I guess that means it doesn't include surcharges, discounts, delivery charges, etc.
    How is this possible? If you have a net price maintained for the item then the conditions tab will have atleast PB00 or PBXX condition type depending upon the whether the price is picked from some condition record or entered manually.
    Secondly, For condition type SKTO there need not be any info record, it is picked up automatically for the payment terms mainatined in the vendor master

  • PO unit price getting changed automatically

    Hi Team,
    In my case, the PO unit Price is getting changed automatically when pushed from a different system via Interface.
    In PO of the 3rd party system, Order unit price & Order Unit are the same, but when pushed from the 3rd party system to SAP only Order Unit price is getting chaged.
    When i tried creating a PO via FM in SAP, it gave the right one i.e. both Order Unit & Order Unit price are the same.
    PIR looks good with teh required Unit price.
    Please give me some tip to find the exact reason for change...
    Thanks in advance.
    Sravam

    >
    SAPMMSCM wrote:
    >
    >
    > When i tried creating a PO via FM in SAP, it gave the right one i.e. both Order Unit & Order Unit price are the same.
    > PIR looks good with teh required Unit price.
    >
    >
    Hi,
    If you are able to create the correct PO by executing the BAPI in SE37 and you are not able to do the same from external system, then the issue is the with the parameters only. Can you send the parameters that are being passed to the BAPI?
    Just to make sure, send the parameters by using external debugging, not from the source system.
    Regards,
    Sukumaran.E

  • How do I change unit price to 4 decimal for CUST_PO of Standard PO Styleshe

    Hi:
    We are currently using the standard "PO Output for Communication POXPOPDF" to print our PO. We like the output except for the unit price. We have the need to display the unit price with 4 decimal places instead of 2.
    I am new to XML publisher.
    Is there a easy way to do this without having to build the templates from scratch?
    Thanks,
    LS

    Hi LS
    I think the template for this is not an RTF template where things would have been relatively simple. But its an XSLFO template which is going to be a bit tougher. First you need to open the template and locate the UNIT price field entry. Looking at the version I have its just:
    <fo:table-cell xsl:use-attribute-sets="table.cell5">
    <fo:block xsl:use-attribute-sets="form_data1">
    <xsl:value-of select="UNIT_PRICE" />
    </fo:block>
    </fo:table-cell>
    You can wrap the UNIT_PRICE entry with the format-number function.
    format-number(UNIT_PRICE, '#,###,###.####')
    You can more info by sraching for format-number on your favorite search engine.
    The only issue I can see is that the PO extract may not be extracting data to 4 dps or more.
    Regards, Tim

Maybe you are looking for

  • When editing an image in ps from a lr 4.2 smart collections image not shown back in smart collection

    Hi all, I have noticed at LR 4.2, that if you edit an image of a smart collection using PS (edit in PS function threw LR) and then save, the image is not appearing in the specific smart collection. Instead  image appears in the parent folder from whe

  • Online Purchase - How to swap upgrades?

    Hello, I am planning to purchase the iPhone 6 on VZW.com on Friday when it comes available for pre-order. My line is not available for an upgrade but 2 other lines on my family plan are eligible (I have permission to use one of the upgrades). Is ther

  • How to autoextend just one file from existing tablespace?

    Hi, I discover some of the tablespaces did not have autoexent feature, i.e. none of the datafiles have been autoextend features so I need to autoextend it, hopefully the data file which has the most free space. So it would be good if I can come up wi

  • Forwarding email for a user to another email account

    Hi, in Leopard server there was the possibility to forward the email for user to another email account with a domain outside of my server (in Workgroup Manager) This means: If the server receives email for user A with [email protected] he redirects t

  • Installing CS6 Extended on a New MAC i've purchased.

    I think I already know the answer to my question, but I recently I ventured into a MAC system and have already installed CS6 extended on 2 seperate windows based machines at home , Can I install this version on my Mac also ?If not how do I set about