I launch InventoryMovement by ProcessCaller with the good context.
The printing work properly.
But each time I launch InventoryMovement by ProcessCaller. I get this error :
Application Error
Exception caught in: Erp.UIRpt.InventoryMovement
Error Detail
Message: Object reference not set to an instance of an object.
Program: Erp.UIRpt.InventoryMovement.dll
Method: setReportParams
Client Stack Trace
at Erp.UI.Rpt.InventoryMovement.Transaction.setReportParams(LaunchFormOptions lfo)
Can someone help me about that, please ?
Here my code to lunch Inventory Movement with the paramaters :
I would simply try and open the report screen first, without the parameters and see if you get any errors. If you don’t, you definitely know there’s something wrong with the paramters themselves. I’ve never opened a rpt screen with paramters, but i have just printed a report using parameters (skipping the screen entirely), so this can be done.