Support scheduled tasks in OAuth2 (S2S) web service client sessions onprem
In a Business Central cloud environment, you can create a Scheduled Task from a web service client that uses OAuth (S2S). This has also always been possible onprem with a web service client that uses basic auth.
However, this does not work when using a web service client with ...
Metadata table for (API) pageparts
The platform offers metadata tables for (API) pages which can used to inspect which API's are available and which table fields they expose:
- 200*138 - Page Metadata
- 200*192 - Page Control Field
We want to use these tables to configure the API consumptio...
Create Unix timestamp
Creating a unix timestamp in AL code is usually pretty straightforward, but not when the code used by different client types. A webservice client is always in UTC and does not need any time zone corrections, while a web client session does. E.g.
OriginDateTime := System.Create...