Open 'Opening en Closing Remarks' when new Sales Order Answered

John Slaats

Hi,

I have a sales quotation with an opening and closing remark.
In the sales quotation form I press 'Copy To' and choose 'Sales Order'.

When the sales order opens I want to open the 'Opening en Closing Remarks' form.

But I can't find the event that tells me that the sales order form has opened.
Whatever I try, the 'Opening en Closing Remarks' form is always from the quotation and not the sales order.

I have programmed this in addons using the FORM_ACTIVATE event, but this is not available in B1Up.

How can I solve this?

Regards,

John

 

 

Comments

1 comment

  • Comment author
    Yaremi Miranda Lopez
    • Official comment

    Hello John,

    I assume you're working with macros, in this case, after the command opens the sales order, include this command:

    Activate();

    This will let the system know that from now on the new commands will be execited in the new active window.

Please sign in to leave a comment.