My customer wants to automatically set the need by and ship by dates via an algorithm based on the order date. I have it working fine both when the order date is manually changed and when a new order is created. The last hurdle is having it happen when creating an order from a quote. I’m looking for a hook into OrderHed in the wizard and the only thing I’ve found is a datview notification on Initialize. If I add code there to set the NeedBy field, it sets up an infinite recursion as the initialize notification is apparently getting sent each time the field value is changed.
The OrderHed adapter doesn’t appear in the list. I’ve thought about trying the “AfterToolClick” event for the “Create” button but not sure how to identify the sender is the button I want. No info in the stub added to the script. I’m guessing it’s similar to any button click handler but don’t know if the args are the same.
So, any suggestions would be welcome.