Hello,I am new to VS Code and developer. I was adding a "Description 2" field in the Purchase Order report layout with ReportExtension in AL(VSCode) and Business Central cloud. As I ran the code I received the following error:
[2022-05-18 14:53:23.79] The request for path /v2.0/BC_Sandbox/dev/apps?tenant=xyz&SchemaUpdateMode=synchronize&DependencyPublishingOption=default failed with code UnprocessableEntity. Reason: Your program license does not allow you to publish 'PO KSS'.
Can anyone help me to get pass-through this error?
Here is the code I have in App.json:
{
"id": "xyz",
"name": "VScode",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [],
"screenshots": [],
"platform": "1.0.0.0",
"application": "20.0.0.0",
"idRanges": [
{
"from": 117,
"to": 50149
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": false,
"includeSourceInSymbolFile": false
},
"runtime": "9.0"
}
And in Lauch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Microsoft cloud sandbox",
"request": "launch",
"type": "al",
"environmentType": "Sandbox",
"environmentName": "BC_Sandbox",
"startupObjectId": 22,
"tenant": "xyz",
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
and this is what I was trying to publish,
