Activities of "hanntd"

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

  1. In the GL module I have Account (finance account) Entity, this entity will be accessed by other modules. I build each projects in this module into nuget packages and push to package management server.
  2. In the appsetting of HttpApi.Host of this module I changed Auth server to the AuthServer of OM Module. Then I started only HttpApi.Host of GL Module.
  3. In Blazor project of another module I add reference to GLApplication.Contract package and in the blazor UI application I inject AccountsAppService to call GetListAsync. Then I start Auth, Blazor.Host, HttpApi.Host of this module.
  4. When run the blazor screen having call to AccountsAppService in GL module it throw the error:
  5. In the razor page I have added this code:
  6. If I review the Authorize code above it throw another error:

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:

  • I'm in module OM (Order Management) and I want to retrieve list of Customer from Module AR (Account Receivable).
  • And in some cases is vice versa, such as I'm in module AR and I want to retrieve list of Orders (in OM module) of a customer in AR module. Could you please give me a sample code or workflow for my case? Thanks

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.

Showing 51 to 60 of 86 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35