Add an object to a specific Account?

Hello, So, basically I got an object, Supplier what has an association to Account (Sytem.User), how can I make it so that it only adds that Supplier to a specific account? What it does now, is that it adds the supplier to every account. Thanks in advance, Kevin
1 answers

If I understand you correctly you want to log in as a user and only see the suppliers of that user and not all the suppliers in the system? If so than you need to constrain the suppliers. You can do this with a XPath or with a datasource microflow where you retrieve over the reference of the user all the suppliers. And when creating a new supplier you have to make sure that the reference is set. Depending on how you build your forms the system will set this reference automaticly.