Solved

Delete UDF without going through the Form?

  • 1 November 2023
  • 3 replies
  • 69 views

Userlevel 5
Badge

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?

icon

Best answer by kokjietan 6 November 2023, 01:48

View original

3 replies

Userlevel 7
Badge +4

Hi @kokjietan,

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

Userlevel 5
Badge

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.

Userlevel 7
Badge

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

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved