I already resolved the Authorization error, I need to add GeneralLedger to resource in OpenIddictScopes table now it can be access through Dynamic API Client Proxy. But I still need your advice on the model, do we need to use Distributed Events for this case which one is better, using Dynamic API or Distributed Events?
Hi Jfistelmann, I'm using Postgres and not using micro service. We are separating function by module such as General Ledger, Inventory, Order Management, Account Payable, Account Receivable... these module should be accessible together. We develop these module dependently then we build into nutget package and integrate to Main solution. For integration to Main solution we have no issue, but now we have problem with modules during development as I raised above. So the main problem here how we can access entity/data between modules (two-ways). For example, from module Order Management (OM) I can getlist of customer from Account Receivable (AR) module and from AR I can access to OM to getlist orders... Thanks, Dharma (Han Nguyen)
Hi @jfistelmann, I tried to use Dynamic API Client Proxy as the guide from here: https://docs.abp.io/en/abp/latest/API/Dynamic-CSharp-API-Clients
We are stuck on this problem two weeks, please advise us which approach will be best for our case when we need to exchange data between modules in our application. Thanks
I don't know the reason why and because the project is in rush so I generate the new module template and transfer the code from the error module to new, it's ok now. Thanks
Hi, I still confuse to use Distributed events for my case:
Hi, I'm sorry because I haven't ever used events bus before and I'm quite new to ABP Framework so I still confuse how to retrieve data from an entity in another modules so that I can join with the entity in the current module. Which and where I need to publish and subscribe? Thanks Dharma (Han Nguyen)
Thanks for your information but it will be helpful if you have a document guide step by step how I can do in ABP to use distributed events for my case. Thanks, Dharma (Han Nguyen)
Hi Jfistelmann, Thanks for your information, I can merge two DbContext and do the join query well but having the issue we need to add DbSet for all AggregateRoot/Enties in GL Module although I just need one Aggregate is Account: And the second issue I mentioned in the first post is still cannot resolve, mean I cannot do migration if the table having foreign key refer to the Id in the Account table.
Thanks, I forgot to add the mapping for the UI Layer, now it already worked.
Thanks a lot for your support, I will try your code.