Peggers,
Hope you can help with making a trigger fire. Character version 8.5G.
The second last frame of the sales order entry screens - 7.1 sosomt.p - has
three trailer codes. I need to attach a trigger that checks the validity of
these codes (based on the value of the shipvia field, so generalized codes
won't work). In other words, if the shipvia field says prepaid freight is
$200 and the order amount is $100, one of the trailer codes has to be for
freight. If they enter a trailer code, then I can make the trigger fire by
using an assign on so_trl1_cd.
But, they don't always enter a trailer code - so I need the trigger to fire
on some other event. The other fields in the frame are all populated
earlier in the order entry, so an assign trigger on something like
so_disc_pct doesn't fire at the right time.
"On leave of field in frame" doesn't seem to work either. We put the call
to the encrypted procedure both before and after the on-leave, and neither
worked.
Any suggestions???
Thanks!
Marj MacDonald,
Sr. Systems Analyst.
Algonquin Group Inc.
Hope you can help with making a trigger fire. Character version 8.5G.
The second last frame of the sales order entry screens - 7.1 sosomt.p - has
three trailer codes. I need to attach a trigger that checks the validity of
these codes (based on the value of the shipvia field, so generalized codes
won't work). In other words, if the shipvia field says prepaid freight is
$200 and the order amount is $100, one of the trailer codes has to be for
freight. If they enter a trailer code, then I can make the trigger fire by
using an assign on so_trl1_cd.
But, they don't always enter a trailer code - so I need the trigger to fire
on some other event. The other fields in the frame are all populated
earlier in the order entry, so an assign trigger on something like
so_disc_pct doesn't fire at the right time.
"On leave of field in frame" doesn't seem to work either. We put the call
to the encrypted procedure both before and after the on-leave, and neither
worked.
Any suggestions???
Thanks!
Marj MacDonald,
Sr. Systems Analyst.
Algonquin Group Inc.