Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Enterprise SCADA

Modify the passed-in record

  • Last UpdatedApr 24, 2025
  • 2 minute read

If the method described in the EditForm element modifies values of the calling record, the system only saves the changes if the modified values exist in the form. These fields must be added outside of the Button element for the EditForm element to work.

To prevent the Row column form from displaying the columns that will be edited using a custom popup, set the IsVisibleInRowEditor attribute to false. Changes to the popup form are reflected in these hidden columns.

If these Field elements do not exist in the form when the method is invoked, the system generates an error message in regards to the missing columns.

The log file indicates the name of the assembly, class, and method, and the field that is expected to be defined. For example:

ADE_1940 [TID=0x63c4] - ADEAssemblyUtilities.InvokeCustomClass: Dynamically loaded assembly method (OASySDNA.DBEditHelperForms.Current.AbnormalStatePopUp.ShowAbnormalStates) threw an exception : Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at OASySDNA.ADE.Utilities.ADEAssemblyUtilities.InvokeCustomClass() in C:\Agents\C2\_work\175\s\Client\source\OASySDNA.ADE.Utilities\ADEAssemblyUtilities.cs:line 377

{C:\Agents\C2\_work\175\s\Client\source\OASySDNA.ADE.Utilities\ADEAssemblyUtilities.cs:377}

ADE_1940 [TID=0x63c4] - ADEAssemblyUtilities.InvokeCustomClass: Inner exception of above 'Dynamically Loaded assembly' exception details follow : Column 'abnrm_state_alm#@0#@' does not belong to table status.

at System.Data.DataRow.GetDataColumn(String columnName)

at System.Data.DataRow.get_Item(String columnName)

at OASySDNA.DBEditHelperForms.Current.AbnormalStatePopUp.ShowAbnormalStates(Object[] argsIn)

in C:\Agents\C2\_work\175\s\Client\source\OASySDNA.DBEditHelperForms.Current\AbnormalStatePopUp.cs:line 159 {C:\Agents\C2\_work\175\s\Client\source\OASySDNA.ADE.Utilities\ADEAssemblyUtilities.cs:377}

Important: If the EditForm element modifies the values of an existing record, the columns to be modified by the EditForm element must exist in the form. Otherwise, the system throws an exception indicating that the columns are missing.