Every now and then, there is a need to export license keys from a system. I needed to get into the VAR layer to modify the code in a Microsoft VPC, but as we all know, Contoso license keys don't come with the BUS/CUS/VAR access codes. So I did what any developer would do:
- Write a job to export the Contoso license key file
- Import my company's partner license key file
- Jump in the VAR layer using our layer access code to make my changes real quick
- Import back the Contoso license key file I exported from my job and SYNC
In my previous post, I shared the test code to upload bulk images in AX through X++ code. Here is another set of code to achieve the same. Create a new class with the below methods.