web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Production order financial issue

(0) ShareShare
ReportReport
Posted on by 110

when i create Production order , the picking list update this item in financial dimension (not the same item in the picking list ) although , we apply  every item  as a financial dimension for the same item 

i need every item update from default dimension that applied on the same item

0777.Prod.png8105.prod2.png

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Production order financial issue

    [quote user="Mahmoud Hakim"]

    when i create Production order , the picking list update this item in financial dimension (not the same item in the picking list ) although , we apply  every item  as a financial dimension for the same item 

    i need every item update from default dimension that applied on the same item

    8105.prod2.png8105.prod2.png

    [/quote]

  • Suggested answer
    guk1964 Profile Picture
    10,886 on at
    RE: Production order financial issue

    After some testing on this issue, I am concerned,  and after some research I found this helpful solution on the Winsoft blog.

    Modify this one line of code in the class BomCopyToProd… method copyTo

    Original Line:  toProdBOM.Dimension     = toProdBOM.copyDimension(Dimensions::findDimension(prodTable,inventTable,toProdBOM.Dimension));     toProdBOM.Dimension     = toProdBOM.copyDimension(inventTable.Dimension);

       Replace with:  toProdBOM.Dimension     = toProdBOM.copyDimension(inventTable.Dimension);

    Note:  if the BOMline is a phantom, then when the prodbom is created the BOM line is not exploded… The exploded phantom occurs during estimation.. but AX is consistent.  The exploded prod bom lines will also inherit financial dimensions from the production order item.

     Therefore.. if you want the exploded phantom prodbom lines to also inherit the finanical dimensions of the actual items and not the production order financial dimensions… you need to make a similar change in class ProdUpdCostEstimation.. method createProdBom

       //     prodBOM.Dimension               = prodBOM.copyDimension(Dimensions::findDimension(_prodTable,inventTable,prodBOM.Dimension));
                   // reh 4-7-12 when explode phantom want the financial dimensions to come from the bom item not the production order
                   prodBOM.Dimension               = prodBOM.copyDimension(Dimensions::findDimension(inventTable,inventTable,prodBOM.Dimension));

    Comment:

    In later versions this line of code looks like:

        toProdBOM.DefaultDimension  = toProdBOM.mergeDimension(prodTable.DefaultDimension, inventTable.DefaultDimension);

    It means that for every dimension, it takes current dimension value from prodBOM (if present), then dimension value from prodTable, then dimension value from InventTable. It also does not seem like a good order of things (I would start from InventTable indeed), but it is somewhat more logical than the code in the  example above.

    If you try to implement this change, keep in mind that dimension in prodBOM can be initialized from several places, so it is better to use XRef to find these places. (In some case they also use merge approach).

    ( as an aside; AX2012 has some confused logic  in the use of  financial dimensions  - e.g. what is the logic behind the fact that purchase posting uses not the current dimension values, but the original dimension values, which were present on purchase line creation...)

     

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Production order financial issue

    Hi Mahmoud Hakim,

    That's what I would expect from the standard application.

    As an example, your production item is setup with financial dimension A and the items that are used to produce this item are setup with financial dimension B.

    At the time you create the production order, you select the production item and AX inherits the financial dimension A to all elements in your BOM/formula.

    If I understand you correctly, you want to have the financial dimensions that are setup with the BOM/formula items used in the production process, right?

    You can achieve this if you do not setup a financial dimension at the production item level.

    Best regards,

    Ludwig

  • MahmoudHakim Profile Picture
    110 on at
    RE: Production order financial issue

    Hi,

    already every formula item has its own financial dimensions but the picking list items for this formula contain the formula item in financial dimension  

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Production order financial issue

    Hi, can you elaborate on that? Every BOM item has its own financial dimensions and the production item other ones? Would be great if you could explain in more detail. Many thanks and best regards, Ludwig

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans