Also, I should have added that my last post was for the Picking Sheet Printing task on the menu, it does not affect quick printing. If you don't want them to be able to get to the quick print button for picking sheets, you could use a post read event that checks the order type and conditionally disables/enables the button.
Of course, the other way to handle it would be by modifying the crystal report, either with record or group selections or by changing what is displayed in the report based on the order type.
------------------------------
David Speck II
Tennessee Software Solutions
------------------------------
Original Message:
Sent: 05-17-2022 19:25
From: David Speck II
Subject: Print Picking Sheet for NON-STANDARD Sales Order
If you want to only be able to print standard or back orders, you may be able to accomplish this with a UI post load script on the panel that reloads the values in the drop box so only the desired types can be selected or set it to what you want and disable it. However, disabling it may be undone when changing form codes but I think reloading the drop box would persist, should be able to use something like this.
oUIObj.SetControlProperty "OrderTypeToPrint", "Tbl$", "SB"oUIObj.DropBoxLoad "OrderTypeToPrint", "Standard Orders/Back Orders/"
As for the title, you can just use a "select...case" statement on the OrderType field to output whatever you want for each type.
------------------------------
David Speck II
Tennessee Software Solutions
------------------------------