Skip to main content
Solved

Delete UDF without going through the Form?


Forum|alt.badge.img

Hi,

We broke something when setting up a UDF in Shipments Form - the UDF is now referencing an invalid selector table. However, we are not able to click ‘Customizations > Manage UDF’ action on the Form to remove the invalid UDF, since the Form throws a trace error in load due to the invalid table.

Similarly, we are unable to delete the attribute since it is currently being used in a UDF. The Attribute is greyed out and stuck at the Selector.

Is there any way of removing UDF from a screen through a customisation project or other screen? Or prevent the form redirecting to the Error Trace screen, so I can invoke the Manage UDF action?

Best answer by kokjietan

As the problem was affecting all users using the Shipments screen, we had to troubleshoot and urgently fix the issue within the hour. Hence I no longer have the stack trace.

IIRC the steps replicating were similar to:

  1. Adding an Selector Attribute
  2. Adding the Attribute to a UDF screen
  3. Using the UDF in the screen
  4. Switching the Selector Attribute to another invalid Selector Attribute and saving
  5. This results in an invalid error when accessing the screen, and being unable to change the Attribute (greyed out) since it is currently being used in a UDF.

We ended up using a customisation project to unlink the UDF from the screen instead. It is under the User-Defined Fields of a customisation, just need to add the UDF and untick the box linking it to the screen.

View original
Did this topic help you find an answer to your question?

3 replies

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

Hi @kokjietan,

Can you please share steps to replicate the issue and share the stack trace captured while replicating the issue?


Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • 81 replies
  • Answer
  • November 6, 2023

As the problem was affecting all users using the Shipments screen, we had to troubleshoot and urgently fix the issue within the hour. Hence I no longer have the stack trace.

IIRC the steps replicating were similar to:

  1. Adding an Selector Attribute
  2. Adding the Attribute to a UDF screen
  3. Using the UDF in the screen
  4. Switching the Selector Attribute to another invalid Selector Attribute and saving
  5. This results in an invalid error when accessing the screen, and being unable to change the Attribute (greyed out) since it is currently being used in a UDF.

We ended up using a customisation project to unlink the UDF from the screen instead. It is under the User-Defined Fields of a customisation, just need to add the UDF and untick the box linking it to the screen.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2750 replies
  • November 6, 2023

Thank you for sharing your solution with the community @kokjietan!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings