Skip to content

Commit

Permalink
Merge pull request #37 from eabgsoftware/master
Browse files Browse the repository at this point in the history
feat: Indicate the "App Name" and "Publisher" in the field list.
  • Loading branch information
Drakonian authored Feb 4, 2025
2 parents 9ed5542 + acfaf3f commit dc47e20
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Source/Pages/Pag81005.DETSelectFields.al
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ page 81005 "DET Select Fields"
Caption = 'Name';
ToolTip = 'Specifies the names of the available Windows languages.';
}
field("App Name"; Rec."App Name")
{
ToolTip = 'Specifies the name of the Extension that this field belongs to.';
}
field("App Publisher"; Rec."App Publisher")
{
ToolTip = 'Specifies the publisher of the Extension that this field belongs to.';
}
}
}
}
Expand Down Expand Up @@ -121,6 +129,7 @@ page 81005 "DET Select Fields"
Rec.IsPartOfPrimaryKey := FieldRec.IsPartOfPrimaryKey;
Rec.Included := FieldRec.IsPartOfPrimaryKey or not FieldRec2.IsEmpty();
Rec.Name := FieldRec."Field Caption";
Rec."App Package ID" := FieldRec."App Package ID";
Rec.Insert();
until FieldRec.Next() = 0;

Expand Down
19 changes: 19 additions & 0 deletions Source/Tables/Tab81001.DETField.al
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,25 @@ table 81001 "DET Field"
Caption = 'IsPartOfPrimaryKey';
DataClassification = CustomerContent;
}
field(60; "App Package ID"; Guid)
{
Caption = 'App Package ID';
}

field(1000; "App Name"; Text[250])
{
Caption = 'App Name';
CalcFormula = lookup("NAV App Installed App".Name where("Package ID" = field("App Package ID")));
FieldClass = FlowField;
Editable = false;
}
field(1001; "App Publisher"; Text[250])
{
Caption = 'Publisher';
CalcFormula = lookup("NAV App Installed App".Publisher where("Package ID" = field("App Package ID")));
FieldClass = FlowField;
Editable = false;
}
}
keys
{
Expand Down
25 changes: 25 additions & 0 deletions Source/Translations/Data Editor Tool.g.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,21 @@
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 1256520770 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>App Name</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Field App Name - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 1367742458 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>App Package ID</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Field App Package ID - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 1606374689 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>Publisher</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Table DET Field - Field App Publisher - Property Caption</note>
</trans-unit>
<trans-unit id="Table 1032987457 - Field 4095765489 - Property 2879900210" size-unit="char" translate="yes" xml:space="preserve">
<source>Field Id</source>
<note from="Developer" annotates="general" priority="2"></note>
Expand Down Expand Up @@ -5043,6 +5058,16 @@
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Page DET Select Fields - Property Caption</note>
</trans-unit>
<trans-unit id="Page 971391312 - Control 1256520770 - Property 1295455071" size-unit="char" translate="yes" xml:space="preserve">
<source>Specifies the name of the Extension that this field belongs to.</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Page DET Select Fields - Control App Name - Property ToolTip</note>
</trans-unit>
<trans-unit id="Page 971391312 - Control 1606374689 - Property 1295455071" size-unit="char" translate="yes" xml:space="preserve">
<source>Specifies the publisher of the Extension that this field belongs to.</source>
<note from="Developer" annotates="general" priority="2"></note>
<note from="Xliff Generator" annotates="general" priority="3">Page DET Select Fields - Control App Publisher - Property ToolTip</note>
</trans-unit>
<trans-unit id="Page 971391312 - Control 4095765489 - Property 1295455071" size-unit="char" translate="yes" xml:space="preserve">
<source>Specifies the value of the Field Id field.</source>
<note from="Developer" annotates="general" priority="2"></note>
Expand Down

0 comments on commit dc47e20

Please sign in to comment.