complete product trigger and operation log functions.