Validation of Customization Projects: Compatibility Validation Errors
This topic explains the error messages that may occur during the validation of the customization code’s compatibility with the code of MYOB Acumatica.
Failed to resolve method reference
This error occurs if a custom DLL has a reference to a method that either no longer exists in MYOB Acumatica or has a different signature.
Example: The following error message indicates that the
AM.Objects.dll file contains a reference to the System.Void
PX.Data.PXLineNbrAttribute::.ctor(System.Type) method, which hasn’t been declared
or has another signature in the PX.Data assembly.
AM.Objects.dll
Failed to resolve method reference:
System.Void PX.Data.PXLineNbrAttribute::.ctor(System.Type)
declared in
PX.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8e
Because the customization code was written for a previous version of MYOB Acumatica, this error occurs because the method overridden in the customization code has since been removed or its signature has been changed. To confirm that this change is implemented in the new version of MYOB Acumatica, check the developer release notes for this version. You can find the release notes, along with the needed MYOB Acumatica build, on the Acumatica Community website.
To fix the error: In the code of the specified extension library, refer to an appropriate method declared in the current assembly.
Failed to resolve type reference
This error occurs if a custom DLL refers to a type whose declaration no longer exists in MYOB Acumatica.
PX.Data.PXGraphWithActionsBase`2 type, which is not declared in the
PX.Data assembly.FETempFix.dll
Failed to resolve type reference:
PX.Data.PXGraphWithActionsBase`2
declared in
PX.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8eTo
fix the error: In the extension library, refer to an appropriate type declared in the
current assembly.Could not resolve
This error occurs if the validation process finds a reference to a custom DLL that it can’t locate.
ADODB reference,
which cannot be resolved.FullRegen.dll
Could not resolve:
ADODB, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aTo
fix the error: In the extension library, refer to a DLL file located in the
Bin folder of the website.Declaring Type missing
This error occurs if the customization code in the App_RuntimeCode folder contains a reference to a type whose declaration doesn’t exist in MYOB Acumatica.
PX.Objects.EP.CRBaseActivityMaint`1<PX.Objects.CR.CRTaskMaint> class
refers to the undeclared BaseBAccount
type.Declaring Type missing:
BaseBAccount
from
PX.Objects.EP.CRBaseActivityMaint`1<PX.Objects.CR.CRTaskMaint>To fix the
error: In the corresponding Code or DAC item of the customization
project, refer to an appropriate type.Referenced Field missing
This error occurs if the customization code in the App_RuntimeCode folder contains a field that’s undeclared in the data access class (DAC).
PX.Objects.CS.CSAnswers DAC doesn’t contain the
_EntityID field.Referenced Field missing:
_EntityID
from
PX.Objects.CS.CSAnswersTo fix the error: In the corresponding
Code or DAC item of the customization project, refer to an existing
field.