Which Controller Hook to use


I am developing application with Frappe. I would like to change values of other fields with the change of the value of the current field. Which controller hook to be used for this? I have tried on_change, but it only works on changing of previously saved data, not for first time entry.

In the above screen shot, after setting the BIN, data will be populated in the other fields depends on BIN value.