Issue details- We have a specific business requirement from customer. they are printing different size of papers (for business purpose) and so they need to select particular tray within printer. This feature is not available by default with dynamics 365 finance and operation so customer is trying to build a custom solution. I have tried something but couldn't yet achieve the result .
I open Sales order and select which tray to print? For e.g. 0, 1. I have added one extra field to take input from user, not sure if tray identification is correct with 0 and 1.
I am getting warning and it says printing to default tray. This is the extension that I have created, but it's not working.
I have debugged and found from where this waring is being thrown (SRSPrintDestinationSettings line 556). Question- there are 2 questions for now. I am getting into this If statement because of noOfPaperSources <=0. what is the significance of noOfPaperSources ? How can I identify paper tray? Is there any additional setup for this? However, the ultimate goal is to print a sales order on particular paper tray. If I comment my code and print a sales order, it does print. With my code, no print. If there is any suggestion how to achieve it, will be very helpful.