Dropdown field disappears after 'editing' record, comes back on refresh

I have a dropdown field that is only visible if a related module field is false.  It works fine, but when I click edit on that record(no changes made, just hit save) I return to the record view and the dropdown is no longer there.  Dropdown comes back if I refresh the page.   Nothing changed on the related module and their fields.  This is on a chrome browser if that matters. 

Thanks

dependent dropdown refresh visibility

Parents
  • Hi Patrick David,

    Please provide the following details about the issue:

    1. What version/edition of Sugar are you using?
    2. In what module is the dependent dropdown-type field?
    3. What is the dependency formula used in the dropdown field?
    4. In what module is the "parent" field (the field upon which this dropdown is dependent)?
    5. What datatype is the "parent" field?
  • 1.  Sugar version 8.0

    2. The module is Revenue Line Item

    3. Visible if formula:      equal(related($rli_templates_link,"no_volume_discount_c"),0)
    4. Product Template module

    5. boolean

    Hope that helps

  • We had faced issue like that before.

    In some situation related fields are not available the way sugarLogic functions will not work as expected.

    In order to avoid such issue you have to replicate in the RLI module the field from Product Catalog, populate it on selecting the Product (add such field in the populate_list attribute of product_template_name in the module RLI) and update the sugarLogic formula the way it looks for a self field instead of for a related one.

    Indeed it work like a charm even on Mobile app.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • We had faced issue like that before.

    In some situation related fields are not available the way sugarLogic functions will not work as expected.

    In order to avoid such issue you have to replicate in the RLI module the field from Product Catalog, populate it on selecting the Product (add such field in the populate_list attribute of product_template_name in the module RLI) and update the sugarLogic formula the way it looks for a self field instead of for a related one.

    Indeed it work like a charm even on Mobile app.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data