forked from StefanMaron/BusinessCentral.LinterCop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StefanMaron#744 Fix XMLPort additional properties
- Loading branch information
1 parent
86bf4a8
commit d3f8e94
Showing
3 changed files
with
55 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...essCentral.LinterCop.Test/TestCases/Rule0068/NoDiagnostic/XMLPortWithTableElementProps.al
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
xmlport 50000 MyXmlport | ||
{ | ||
Direction = Import; | ||
|
||
schema | ||
{ | ||
textelement(NodeName1) | ||
{ | ||
[|tableelement(NodeName2; MyTable)|] | ||
{ | ||
AutoReplace = false; // modify permissions | ||
AutoSave = false; // insert permissions | ||
AutoUpdate = false; //modify permissions | ||
|
||
fieldattribute(NodeName3; NodeName2.MyField) | ||
{ | ||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
table 50000 MyTable | ||
{ | ||
Caption = '', Locked = true; | ||
|
||
fields | ||
{ | ||
field(1; MyField; Integer) | ||
{ | ||
Caption = '', Locked = true; | ||
DataClassification = ToBeClassified; | ||
} | ||
field(2; MyField2; Integer) | ||
{ | ||
Caption = '', Locked = true; | ||
DataClassification = ToBeClassified; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters