Tuesday 8 August 2023

Create Multi User Printer Setup to print multiple reports at a same time

 Hi all, in this post I'm going to talk about how we create a setup where different user can select different printers according to their requirements which then prints reports for multiple records.

I have created a setup where user can print all the work orders for a production wave and these reports will be routed to the printer selected by the user in the setup below:


Step 1: Create a table with 2 fields (Printer Name and UserId) and create relations as in below screenshot:




Step 2: Now create form menu item and privileges for this table, once form is created, then user can select their favorite printer against their user Id, so next time they print specific reports then it will go to the selected printer only:





Step 3: Now create a controller class to apply the logic to your specific reports, as in below screenshot:




Insert/Update or remove the default dimension value in D365 FSCM via x++

Use below method to insert/update the dimension values, just pass the parameter values to the method and it will return the updated value: p...