Monday 7 March 2016

Cannot add the Field Trigger to Table 167 - NAV Apps/Extensions


Error Message:
Cannot add the Field Trigger to Table 167.

New-NAVAppPackage : Cannot add the Field Trigger to Table 167.
At C:\Mohana\NAVApps\NAVApps.ps1:12 char:3
+   New-NAVAppPackage -Path SectionsandBudgets.navx -SourcePath DELTA
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Dynam...ewNavAppPackage:NewNavAppPackage) [New-NAVAppPackage], InvalidOperationException
    + FullyQualifiedErrorId : Microsoft.Dynamics.Nav.Apps.Tools.NewNavAppPackage


Problem Statement:
System returns above error message when we try to create .navx file for App/Extension.

Solution:
Make sure that there is no local variable created under any trigger of newly created field.



1 comment: