This commit is contained in:
Steffen Balslev 2024-08-27 09:06:52 +02:00 коммит произвёл GitHub
Родитель 8580ff0b27
Коммит c3fa82337d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
6 изменённых файлов: 7 добавлений и 35 удалений

Просмотреть файл

@ -1,12 +1,13 @@
page 50300 PageWithAddIn
{
ApplicationArea = All;
layout
{
area(Content)
{
usercontrol(ControlName; TestAddIn)
{
ApplicationArea = All;
trigger Callback(i : integer; s: text; d : decimal; c : char)
begin
@ -22,8 +23,6 @@ page 50300 PageWithAddIn
{
action(CallJavaScript)
{
ApplicationArea = All;
trigger OnAction();
begin
CurrPage.ControlName.CallJavaScript(5, 'text', 6.3, 'c');
@ -32,8 +31,6 @@ page 50300 PageWithAddIn
action(CallViaCodeunit)
{
ApplicationArea = All;
trigger OnAction();
var c : Codeunit AddInHelpers;
begin
@ -43,8 +40,6 @@ page 50300 PageWithAddIn
action(CallByRef)
{
ApplicationArea = All;
trigger OnAction();
var c : Codeunit AddInHelpers;
begin
@ -54,7 +49,6 @@ page 50300 PageWithAddIn
action(CallViaCodeunitGlobalVar)
{
ApplicationArea = All;
trigger OnAction();
var c : Codeunit AddInHelpers;
@ -65,8 +59,6 @@ page 50300 PageWithAddIn
action(StoreAddInRef)
{
ApplicationArea = All;
trigger OnAction();
var c : Codeunit AddInHelpersSingleton;
begin
@ -77,15 +69,12 @@ page 50300 PageWithAddIn
action(CallUnInitialized)
{
ApplicationArea = All;
trigger OnAction();
var c : Codeunit AddInHelpers;
begin
c.CallOnUnInitializedVar();
end;
}
}
}
}

Просмотреть файл

@ -2,6 +2,7 @@ page 50200 CustomersMapPage
{
Caption = 'Customer Map';
Description = 'Customer Map';
ApplicationArea = All;
layout
{
@ -28,7 +29,6 @@ page 50200 CustomersMapPage
{
action(LoadData)
{
ApplicationArea = All;
Caption = 'Load data';
trigger OnAction();

Просмотреть файл

@ -13,6 +13,7 @@ page 50103 Addresses
ModifyAllowed = False;
ShowFilter = False;
LinksAllowed = False;
ApplicationArea = All;
Caption = 'Addresses';
@ -27,22 +28,18 @@ page 50103 Addresses
field(Address;Address)
{
Caption = 'Address';
ApplicationArea = All;
}
field(Locality;Locality)
{
Caption = 'Locality';
ApplicationArea = All;
}
field("Town/City";"Town/City")
{
Caption = 'Town/City';
ApplicationArea = All;
}
field(County;County)
{
Caption = 'Country';
ApplicationArea = All;
}
}
}

Просмотреть файл

@ -11,6 +11,7 @@ page 50104 "Service Setup"
DeleteAllowed = False;
ShowFilter = False;
LinksAllowed = False;
ApplicationArea = All;
Caption = 'Service Setup';
@ -25,12 +26,10 @@ page 50104 "Service Setup"
field("Service URL";"Service URL")
{
Caption = 'Serivce URL';
ApplicationArea = All;
}
field("API Key";"API Key")
{
Caption = 'API Key';
ApplicationArea = All;
}
}
}

Просмотреть файл

@ -17,7 +17,6 @@
"\t\t\t{",
"\t\t\t\tfield(${9:Name}; ${8:NameSource})",
"\t\t\t\t{",
"\t\t\t\t\tApplicationArea = ${4};",
"\t\t\t\t\t${10}",
"\t\t\t\t}",
"\t\t\t}",
@ -30,7 +29,6 @@
"\t\t{",
"\t\t\taction(${12:ActionName})",
"\t\t\t{",
"\t\t\t\tApplicationArea = ${4};",
"\t\t\t\t",
"\t\t\t\ttrigger OnAction()",
"\t\t\t\tbegin",
@ -51,8 +49,7 @@
"body": [
"field(${1:MyField}; ${2:FieldSource})",
"{",
"\tApplicationArea = ${3|All,Basic,Suite,Advanced|};",
"\t${4:FieldPropertyName} = ${0:FieldPropertyValue};",
"\t${3:FieldPropertyName} = ${0:FieldPropertyValue};",
"}"
],
"description": "Snippet: Page Field"
@ -72,8 +69,6 @@
"body": [
"action(${1:ActionName})",
"{",
"\tApplicationArea = ${2|All,Basic,Suite,Advanced|};",
"\t",
"\ttrigger OnAction()",
"\tbegin",
"\t\t$0",
@ -97,7 +92,6 @@
"body": [
"customaction(${1:CustomActionName})",
"{",
"\tApplicationArea = ${2|All,Basic,Suite,Advanced|};",
"\t$0",
"}"
],
@ -121,9 +115,7 @@
"body": [
"usercontrol(${1:ControlName}; ${2:AddInName})",
"{",
"\tApplicationArea = ${3|All,Basic,Suite,Advanced|};",
"\t",
"\ttrigger ${4:MyTrigger()}",
"\ttrigger ${3:MyTrigger()}",
"\tbegin",
"\t\t$0",
"\tend;",
@ -164,7 +156,6 @@
"body": [
"part(${1:PartName}; ${2:PartSource})",
"{",
"\tApplicationArea = ${3|All,Basic,Suite,Advanced|};",
"\t${0}",
"}"
],
@ -188,7 +179,6 @@
"\t\t\t{",
"\t\t\t\tfield(${7:Name}; ${6:NameSource})",
"\t\t\t\t{",
"\t\t\t\t\tApplicationArea = ${3};",
"\t\t\t\t\t${8}",
"\t\t\t\t}",
"\t\t\t}",
@ -205,7 +195,6 @@
"\t\t{",
"\t\t\taction(${11:ActionName})",
"\t\t\t{",
"\t\t\t\tApplicationArea = ${3};",
"\t\t\t\t",
"\t\t\t\ttrigger OnAction()",
"\t\t\t\tbegin",

Просмотреть файл

@ -31,7 +31,6 @@
"\t\t\t\t{",
"\t\t\t\t\tfield(${14:Name}; ${13:SourceExpression})",
"\t\t\t\t\t{",
"\t\t\t\t\t\tApplicationArea = ${4};",
"\t\t\t\t\t\t${15}",
"\t\t\t\t\t}",
"\t\t\t\t}",
@ -44,7 +43,6 @@
"\t\t\t{",
"\t\t\t\taction(${17:ActionName})",
"\t\t\t\t{",
"\t\t\t\t\tApplicationArea = ${4};",
"\t\t\t\t\t${18}",
"\t\t\t\t}",
"\t\t\t}",