При изменении поля БИН (input label) установить атрибуты другим полям через БП¶
В атрибуте БИН в параметре on change value прописать:
binCustomChanged($event)
В логике БИН в параметре on change value прописать поля attr_code,entity_code :
binCustomChanged(event) {
this.save( () => this.binCustomChangedCallBack(event));
}
binCustomChangedCallBack(event) {
this.appComponent.bpRun("update_by_attr",{
attr_code : "bin",
entity_code: "its_tests_01",
id: this.detail_id}, (data) => this.bindCallBack(data));
}
Доработать БП update_by_attr по своему усмотрению