Hi, First of all appreciating for this good effort to make such a framework.
We were migrating our application to the AspZero framework. we are in a situation in our application architecture that we have an ERP with multi-tenancy, multiple offices, departments, and roles. here, the user should login into specific OFFICE to do his office based tasks like sales, purchase etc. in a tenant. and office will have its own settings like muti-currency and cultures. All transactions should be posted under this office.
In this case, what is the best way to utilize the OrganizationUnits to handle this?. Or we need to do OFFICE setup throughout the application?.
Thanks in advance.
2 Answer(s)
-
0
Hi,
Thanks :). If you want to use OUs as your Offices, you can create a dynamic filter as explained in https://aspnetboilerplate.com/Pages/Documents/Articles\How-To\add-custom-data-filter-ef-core
Or you can define Office Entity and create IMayHaveOffice interface and implement the filter as explained in the documetn above.
-
0
Hello,
Thanks for your help, will try to do in this way.
Thanks.