Question: How To Create A Sugar Logic Formula For AutoIncrement Field

Hello, is there a way to be able to create a Sugar Logic Formula that includes the AutoIncrement field?

Sample Setup:

  • Field #1:
    • Text Field
    • Value: Name
  • Field #2:
    • AutoIncrement Field
    • Value: 150
  • Field #3:
    • Text Field
    • Sugar Logic Formula Enabled
      • Formula: Field #1-Field #2
    • Value: Name-150

Problem:

  • It seems the Auto-Increment field isn't selectable on the Sugar Logic formula window. Are there any alternative formula I can use?

    Kindly advise, thank you everyone.
Parents
  • Hi,

    I understand why it is asked for formula - it may look confusing that such a simple task may require the development of a CRM with coding.

    The truth is that learning Developer Guides and diving into PHP are not mandatory to get this simple configuring to work.



    I employed Logic Builder configuring tool to setup the logic hook colleagues have mentioned here and get this Sugar behavior - it took just a few minutes.

    Here is a flowchart that implements the task, you may read it by following the white line (just zoom in, if necessary)



    Since I have access to the Logic Builder tool (https://logicbuilder.integroscrm.com), you may just let me know the exact names of the fields (that lasts with _c) and the name of the module fields belong to (like this https://<url>/#i_CustomA ),  and I will get back with a ready-to-install zip, which Logic Builder generates in a click.


    Best Regards,
    Dmytro Chupylka

    integroscrm.com
    We make work in Sugar CRM system faster, more convenient and efficient

Reply
  • Hi,

    I understand why it is asked for formula - it may look confusing that such a simple task may require the development of a CRM with coding.

    The truth is that learning Developer Guides and diving into PHP are not mandatory to get this simple configuring to work.



    I employed Logic Builder configuring tool to setup the logic hook colleagues have mentioned here and get this Sugar behavior - it took just a few minutes.

    Here is a flowchart that implements the task, you may read it by following the white line (just zoom in, if necessary)



    Since I have access to the Logic Builder tool (https://logicbuilder.integroscrm.com), you may just let me know the exact names of the fields (that lasts with _c) and the name of the module fields belong to (like this https://<url>/#i_CustomA ),  and I will get back with a ready-to-install zip, which Logic Builder generates in a click.


    Best Regards,
    Dmytro Chupylka

    integroscrm.com
    We make work in Sugar CRM system faster, more convenient and efficient

Children
No Data