https://learn.microsoft.com/en-us/dynamics365/supply-chain/pim/tasks/manage-unit-measure Unit of measurement conversion X++ code example. Convert 1 kg to lbs, unit conversion must be known in the system.
Chain of Command Next() placement
When using chain of command (code extension of a class / table or form) you need to use the next keyword to execute the original code before or after your code. If statements around a next keyword are not allowed.
D365 FO deploy SSRS reports
My AOS resides on the K:\ drive this can differ. Deploying a specific report. If you for example want to deploy all “WMS” reports, you can use the following command. If you want to deploy all reports use the following command.
Execute runnable class
Following URL shows you how to execute a runnable class. https://<D365URL> /?cmp=<YourCompanyName>&mi=SysClassRunner&cls=<YourRunnableClassName>
Details master form – override creatRecord
When creating a details master form and your creating a record in the normal grid not all mandatory fields are visible. To switch to the details form view you can override the function createRecord.