Hi, is it possible to prevent the ability to select Print Order Confirmation/Email Order Confirmation
until the Customer Order has been ‘Released’.
Any advice greatly appreciated.
John
Hi, is it possible to prevent the ability to select Print Order Confirmation/Email Order Confirmation
until the Customer Order has been ‘Released’.
Any advice greatly appreciated.
John
Best answer by dsj
One way to limit printing order conformation would be to create a custom event on CustomerOrderHistory - CUSTOMER_ORDER_HISTORY_TAB on New records and raise an error if status is Planned and Message_text = Order confirmation printed
Example:
Action:
Action SQL
BEGIN
ERROR_SYS.Appl_General('Order', 'NOCONFPRINT: Order Confirmation cannot be printed in State :P1', ' &NEW:HIST_STATE');
END;
Regards,
Damith
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.