08-13-2020, 11:34 AM
there are two ways of establishing a relation via web service
1.- when creating/updating
create and update support a "virtual" field named "relations"
https://github.com/tsolucio/corebos/blob...te.php#L23
which you can pass in like the other fields, it is an array of records you want to relate to the record you are creating/updating
2.- SetRelation web service end point
https://github.com/tsolucio/corebos/blob...lation.php
https://github.com/tsolucio/coreBOSwsDev...elated.php
Obviously, both support the standard way of relating modules, if you have implemented your own relation you must follow the established way to override custom relations between modules for the two methods above to work
https://github.com/tsolucio/corebos/blob...#L129:L155
1.- when creating/updating
create and update support a "virtual" field named "relations"
https://github.com/tsolucio/corebos/blob...te.php#L23
which you can pass in like the other fields, it is an array of records you want to relate to the record you are creating/updating
2.- SetRelation web service end point
https://github.com/tsolucio/corebos/blob...lation.php
https://github.com/tsolucio/coreBOSwsDev...elated.php
Obviously, both support the standard way of relating modules, if you have implemented your own relation you must follow the established way to override custom relations between modules for the two methods above to work
https://github.com/tsolucio/corebos/blob...#L129:L155
Joe
TSolucio
TSolucio