Activating a Static Cost Price in Costing Versions

  • Activating a Static Cost Price in Costing Versions

    Posted by DSC Communities on March 2, 2023 at 11:33 am
    • Paul Fildes

      Member

      March 2, 2023 at 11:33 AM

      Hi all,

      In our AX 2012 R3 CU10 environment I have a costing version in one site with calculated costs. These are calculated with a precision of 6 decimal places. With introducing a new site and warehouse, I’m copying the costs from my original costing version to a new one in the new site. I’m finding that the values are being copied exactly as pending prices, so no precision is lost, however when these pending prices are activated the value is being rounded to 2 decimal places.Ā 

      This has become apparent when transferring stock between the warehouses and sites. Its creating GL variances which we’ve attributed to the difference between the activated costs.

      Can anybody offer any advise as to what I could be doing wrong?

      #AX2012Ā 

      ——————————
      Paul Fildes
      AX Technical Support Consultant
      Steelite International Ltd
      Stoke-On-Trent
      ——————————

    • Steven Eland

      Member

      March 3, 2023 at 2:44 AM

      More of a workaround than a solution but could you use the per series option to effectively increase the dp?

      Would ideally be on both sites.

      ——————————————-

    • Paul Fildes

      Member

      March 3, 2023 at 9:02 AM

      Thanks for your suggestion. I debugged the x++ code and discovered that the rounding is applied when activating the pending prices. If the source price is calculated then the price precision remains, otherwise its rounded to 2dp. This is done in the InventItemPriceSim table method “moveSimulatedToCurrent()”

      My options are to review the need for rounding to be applied to prices of type ‘Cost’ and amend the code accordingly

      ——————————
      Paul Fildes
      AX Technical Support Consultant
      Steelite International Ltd
      Stoke-On-Trent
      ——————————
      ——————————————-

    DSC Communities replied 2 years, 6 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Activating a Static Cost Price in Costing Versions’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!