Activities of "maliming"

hi

Can you share the full code of your DataSeedContributor

U need to add some sample master data in site settings,tax settings and product settings

You can create a DataSeedContributor to seed these data like IdentityServerDataSeedContributor.

BTW: Never call the Result of an asynchronous method but use await

Maybe this is the cause of the error.

public async Task<List<PurchaseOrder>> GetNearDueDatesAsync()
{
    var CurrentDate = DateTime.Today;
    var statusId = _statusRepository.GetListAsync().Result.FirstOrDefault(r => r.Name.ToUpper() == StatusConsts.OpenStatus.ToUpper()).Id;
    var query = (await GetDbContextAsync()).PurchaseOrders
                .Where(x => x.DeliveryDueDate.Date >= CurrentDate.Date && x.StatusId == statusId);
    return await query.Take(DashboardConsts.ShowDataCount).ToListAsync();
}

to

public async Task<List<PurchaseOrder>> GetNearDueDatesAsync()
{
    var CurrentDate = DateTime.Today;
    var statusId = (await _statusRepository.GetListAsync()).FirstOrDefault(r => r.Name.ToUpper() == StatusConsts.OpenStatus.ToUpper()).Id;
    var query = (await GetDbContextAsync()).PurchaseOrders
                .Where(x => x.DeliveryDueDate.Date >= CurrentDate.Date && x.StatusId == statusId);
    return await query.Take(DashboardConsts.ShowDataCount).ToListAsync();
}
``

hi

Add {set;} to you dbset.

hi

I downloaded your project, can you share the steps?

Have you tried the new database?

hi

We will release a new version soon, you can try it again. Thanks

Can you provide a project so that I can reproduce the problem? liming.ma@volosoft.com

You can send email to info@abp.io to request to change a API Key.

hi

I will check it, Please share the commercial project via email, Thanks.

Waiting your good news.

Showing 9021 to 9030 of 10644 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 07:47