ID | Title | Severity | Details |
---|---|---|---|
AL0100 | Invalid Multiline Comment | Error | Unterminated multiline comment |
AL0101 | Invalid Decimal Literal | Error | Constant value '{0}' is outside the range for a Decimal |
AL0102 | Invalid Int64 Literal | Error | Constant value '{0}' is outside the range for a BigInteger |
AL0103 | Invalid Int32 Literal | Error | Constant value '{0}' is outside the range for an Integer |
AL0104 | Syntax Error | Error | Syntax error, '{0}' expected |
AL0105 | Identifier Expected K W | Error | Syntax error, identifier expected; '{1}' is a keyword |
AL0106 | For Statement To Or Down To Expected | Error | Syntax error, 'TO' or 'DOWNTO' expected |
AL0107 | Identifier Expected | Error | Syntax error, identifier expected |
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
... | |
/// <summary> | |
/// Example: JsonStuff1('{ "MyKey": { "ElementValue": "Result" } }', 'MyKey.ElementValue', 'ElementValue'); | |
/// </summary> | |
/// <param name="SourceObject">JSON as Text</param> | |
/// <param name="Path">JPath selector</param> | |
/// <param name="PropertyName">Requested Property name</param> | |
/// <returns></returns> | |
local procedure JsonStuff1(SourceObject: Text; Path: Text; PropertyName: Text): Text; |
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
codeunit xx RecordHelper_DSK | |
{ | |
procedure Open(TableId: Integer) | |
begin | |
Open(TableId, false, CompanyName()); | |
end; | |
procedure Open(Name: Text): Boolean | |
begin | |
exit(Open(Name, false, CompanyName())); |
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
<template> | |
<require from="./custom-component"></require> | |
<require from="./body-component"></require> | |
<require from="./footer-component"></require> | |
<h1>${message}</h1> | |
<body-component> | |
<compose view-model="./custom-component" view-model.ref="customVM"></compose> |
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
<template> | |
<require from="./enum-list"></require> | |
<require from="./keys-value-converter"></require> | |
<h2>Single Dropdown - Dynamic</h2> | |
<label>Type</label> | |
<select class="form-control" value.bind="selectedType"> | |
<option repeat.for="mainKey of data | keys" value="${mainKey}">${mainKey}</option> |
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
<template> | |
<ul> | |
<li repeat.for="item of items"> | |
<label><input type="checkbox" checked.bind="item.status === 'EnumValue'" /> Checkbox</label> | |
</li> | |
</ul> | |
</template> |
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
export class Api { | |
loadTemplate(url) { | |
return new Promise((resolve, reject) => { | |
this.callRestApi(url) | |
.then(result => { | |
resolve({content: result, error: false}); | |
}) | |
.catch(e => { | |
console.log(`Could not load template`, e); |
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
<template> | |
<require from="./my-component"></require> | |
<h4>Default template</h4> | |
<my-component></my-component> | |
<hr> | |
<h4>Custom template</h4> |
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
<template> | |
<require from="./nav-bar"></require> | |
<require from="./nav-bar-compose.html"></require> | |
<require from="./nav-bar-function.html"></require> | |
<nav-bar-function if.bind="mode === 'function'" | |
router.bind="router" | |
logged-in.bind="loggedIn" | |
toggle-login.call="toggleLogin()"> |
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
<template> | |
<div repeat.for="msg of messages"> | |
<input type="text" value.bind="msg" input.delegate="onMessageChanged(msg, $index)"> | |
</div> | |
</template> |
NewerOlder