Check off checkbox with Macro Respondida
Hi,
In Boyum Account Balance Mass Delivery configuration, there is a 'Preview before Execution' which I am trying to check off using Macro:

I tried click and set commands, both give me the same error.
//Set($[$BOY_26.0.0]|Y);
Click($[$BOY_26.0.0]);
Macro error in UF-055: System.Exception: Could not find Item with UID: "BOY_26" on Form: BOY_85_ACCTBAL ()
[Macro Command: Set($[$BOY_26.0.0]|Y)]
Macro Enviroment parameters:
[Current Form: BOY_85_ACCTBAL - ]
[Source Row: -1] [Target Row: -1] [B
Could you let me know what I am doing wrong?
Thanks,
Ajay
Comentarios
7 comentarios
Hi,
Click($[$BOY_26.0.0]); works, the problem is the validation. The item is not there yet when the form is loading.
Only way to do this is to add a IPT configuration and set a "Universal function" value to it that clicks the checkbox.
I hope this helps.
-Thomas
Using it with a Validation when the form loads...
Not needed at all. Just make it default in B1 Print and Deliveries Base config :-)
Even better :-)
Hi,
when I try to apply Click to a checkbox as per above, it briefly checks and then unchecks the box.
What am I meant to do differently?
Many thanks,
Ildi
Most likely your Trigger is the issue then... It properly define to react twice... Check that 'Before Action combo' in B1 Validation os set to false
Alternative I also think
Thanks Rasmus!
With the Before Action changed from 'ignore' to 'false'
- Click still doesn't work BUT
-Set does!
Many thanks!
Iniciar sesión para dejar un comentario.