locked
Product configurator 2012 RRS feed

  • Question

  • How do I write if-else statements in the calculation section of product configurator? It seems i can only do if-then type statements.
    • Moved by TorstenMMVP Thursday, October 13, 2016 2:15 PM
    Friday, October 7, 2016 7:49 PM

All replies

  • Could you please elaborate more on the request, what you want to achieve here

    Sharad Singh | My blogs: SharadTech | Twitter: @SinghSharaad | | Please remember to click “Mark as Answer” on the post that helps you.This can be beneficial to other community members reading the thread.

    Saturday, October 8, 2016 3:47 AM
  • Dear Sir,

    Welcome to post in Our System Center 2012 Configuration Manager forum. Feel free to post here any questions about Configuration Manager.

    May I know if your question is about Configuration Manager? If you are talking about Microsoft Dynamics AX question, I suggest that you can post to Microsoft Dynamics Community at below:

    https://community.dynamics.com/ax/f/33

    Thanks in advance

    Best regards

    Frank


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    • Edited by Frank Dong Saturday, October 8, 2016 7:19 AM
    Saturday, October 8, 2016 7:18 AM
  • Hi Frank,

    In product configurator I have user input fields of ID, OD & Height. From this the cross section is calculated((OD-ID)/2) - CSInch. From there I need to select an o-ring cross section(ORCS) based on the ID a & Height & cross section so if height is okay I need to drill down to an available cross section of the o-ring based on the equipment cross section((OD-ID)/2). For example available o-ring cross sections vs minimum heights are .070(>=.186-<.309), .103(>=.309-<.372), &.139(>=.372-<.493). So for a given ID size I need to find the available o-ring cross section. I have not included the allowable heights below.

    Our current code looks like;

    If ID >=2.000 & ID < 5.000

    {If CSInch >=.372 & CSInch < .493, ORCS = .139

      else if CSInch >= .309 & CSInch < .372, ORCS = .103

      else if CSInch >= .186 & CSInch < .309, ORCS = .070

      else ORCS = 0. }

    It seems in the AX2012 product configurator model I can only do chained if-then statements(In calculations) which does not allow the logic to follow through based on the conditions.

    Let me know if you need more info. Thanks for the help

    Wednesday, October 12, 2016 6:37 PM
  • "product configurator ".  As Frank Dong mentioned, I wonder if you are in the wrong forum.  this forum is for the Microsoft product titled "System Center Configuration Manager".  I'm unaware of any fields for ID, OD, or Height in that product.  As far as I'm aware, SCCM doesn't do o-ring cross sections of any kind.


    Standardize. Simplify. Automate.

    Wednesday, October 12, 2016 7:05 PM
  • Hi Sherry,

    Thanks for the reply. I could be in the wrong forum and just looking for direction. The ID, OD & Height I mentioned are attributes that I have established.

    Wednesday, October 12, 2016 7:09 PM
  • Hi Sherry,

    Thanks for the reply. I could be in the wrong forum and just looking for direction. The ID, OD & Height I mentioned are attributes that I have established.


    ok but what Microsoft product are you looking for help with?

    Garth Jones

    Blog: http://www.enhansoft.com/blog Old Blog: http://smsug.ca/blogs/garth_jones/default.aspx

    Twitter: @GarthMJ Book: System Center Configuration Manager Reporting Unleased

    Thursday, October 13, 2016 12:18 AM
  • Hi Garth,

    It is DAX2012 and the module is "product configurator" We use this to automate "G" code for our CNC machines based on design criteria that we establish in the configuration model.

    Thursday, October 13, 2016 1:26 PM
  • So this has nothing to do with System Center Configuration Manager and is not even a Microsoft product?

    Torsten Meringer | http://www.mssccmfaq.de

    Thursday, October 13, 2016 1:48 PM
  • This is a Microsoft product. We are changing our ERP system from Dynamics 2009 to Dynamics 2012. The module that we currently use in 2009 was called "product builder" in 2012 it is called "product configurator"

    Can you direct me to the correct forum I should be in?

    Thanks

    Thursday, October 13, 2016 1:53 PM
  • I'll move the thread ...

    Torsten Meringer | http://www.mssccmfaq.de

    Thursday, October 13, 2016 2:14 PM
  • Thanks Torsten,

    Can you also explain what the operator  -: stands for?

    Friday, October 14, 2016 5:15 PM