I want to make a custom field mandatory on a template item, with the condition drawing from a boolean attribute.
Is it possible to use attributes in a condition within a customisation package? If so, how?
I want to make a custom field mandatory on a template item, with the condition drawing from a boolean attribute.
Is it possible to use attributes in a condition within a customisation package? If so, how?
Best answer by svwk05
Here’s the quick flow:
Open your Customization Project Editor in Acumatica.
Add a Code File for your graph extension of Template Item screen(As you mentioned) (e.g., TemplateInventoryItemMaint.cs).
Paste the code into the appropriate event handler (like RowSelected) inside that extension.
In the code BQL change the attribute of yours and set your custom field to make required.
Publish the customisation.

Hope this helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.