10-01-2019, 09:32 PM
to do that you have to work with the Field Dependency map:
http://corebos.com/documentation/doku.php?id=en:adminmanual:businessmappings:field_dependency
that map has the action called "function" which calls any function you can create yourself.
we have created some of these function that you can use and see here: https://github.com/tsolucio/corebos/blob/master/include/js/FieldDepFunc.js
Exactly you are looking to construct one like these:
https://github.com/tsolucio/corebos/blob/master/include/js/FieldDepFunc.js#L44
https://github.com/tsolucio/corebos/blob/master/include/js/FieldDepFunc.js#L48
try creating a field dependency map and use those two. once you understand what they do add your own function to do what you need
let us know how it goes
http://corebos.com/documentation/doku.php?id=en:adminmanual:businessmappings:field_dependency
that map has the action called "function" which calls any function you can create yourself.
we have created some of these function that you can use and see here: https://github.com/tsolucio/corebos/blob/master/include/js/FieldDepFunc.js
Exactly you are looking to construct one like these:
https://github.com/tsolucio/corebos/blob/master/include/js/FieldDepFunc.js#L44
https://github.com/tsolucio/corebos/blob/master/include/js/FieldDepFunc.js#L48
try creating a field dependency map and use those two. once you understand what they do add your own function to do what you need
let us know how it goes
Joe
TSolucio
TSolucio