Re: Event Triggers.
David Delač
9-15-20
Hi Rodgers,

I'm not entirely sure what you are trying to achieve, most likely you are mixing up Javascript style of programming with HAL but HalPushButton has built in event listener and once you click on the button a procedure will be executed. In my example procedure that we will execute is UpdCustomerAddressCUDsm but this can be any procedure you define in your halcust as long as it is defined as 'global'.

Like I mentioned above, please refer to our documentation on this URL:
http://halforum.hansaworld.net/primitives/procedure/HalPushButton

As you can see one of parameters is funcname and this is exactly what I described above.


Best Regards,
David D.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Standard ERP 8.5 2024-10-16 Build 85556468 Currently the employee register and the contact register share the same number series. For the Employee form, clients want the code to be the Employee I...
06:51 29 Oct 2025
Lilian Wanyoike
Hi, We have a customer who creates on account receipts against a customer account. Another team is required to allocate these receipts to specific invoice records. Prepayments will not work as t...
15:49 6 Oct 2025