Comments (4)
You're looking into the right direction; It's the namespace of the Enum that's causing this issue. In this case the Enum is in another namespace then the table itself.
Table object
namespace Microsoft.Bank.CODA;
using Microsoft.Finance.GeneralLedger.Journal;
table 2000041 "CODA Statement Line"
{
field(40; "Account Type"; enum "Gen. Journal Account Type")
{
Enum object
namespace Microsoft.Finance.GeneralLedger.Journal;
enum 81 "Gen. Journal Account Type"
{
@tinestaric : May I ask you for your help one more time on this?
We're grabbing the namespace of the object itself, the table in this case, and are assuming that the Enum has the same namespace. In this example this is not the case, where CODA is part of the Belgium localisation.
At this moment I have no idea if we can retrieve the Enum object itself and retrieve the namespace value somehow?
from businesscentral.lintercop.
I think I've found a way to grab the correct namespace of the Enum that's referred on the field.
Could you verify if this is resolved in the (pre)release version of v0.30.11 of the LinterCop?
from businesscentral.lintercop.
Today the v0.30.11 version of the LinterCop is out of pre-release and is now the latest version.
@fvet is your issue resolved with this release?
from businesscentral.lintercop.
Related Issues (20)
- LC0048 - False positive? Error with GetLastErrorText or Rec."Error Message" HOT 6
- A new warning about text fields in primary key
- BusinessCentral.LinterCop.Design.Rule0044AnalyzeTransferFields causes exceptions HOT 4
- LC0044 - False positives when using SkipFieldsNotMatchingType HOT 2
- LinterCop is compiled with debug configuration HOT 4
- LC0044 - False Positive? HOT 14
- LC0044 - False positives for SqlTimestamp HOT 2
- BusinessCentral.LinterCop.Design.Rule0044AnalyzeTransferFields causes InvalidCastException HOT 4
- Caption is missing [LC0016] on PermissionSet object
- LC0044 - False Positive on FlowFields HOT 2
- LC0005 false positive HOT 3
- LC0005 variables on CalcFormula
- LC0044 - Transferfields for Job / Project - BC24 - New Table Pairs HOT 1
- LC0025 - Update Rule Title HOT 1
- LC0045 - Exceptions to the rule? HOT 4
- LC0016 false positive on groups inside a Promoted area
- LC0016 false positive on groups inside a Promoted area HOT 1
- LC0051 and download of pre-release HOT 5
- LC0003 throws NullReferenceException in PreRelease HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from businesscentral.lintercop.