Skip to content

Improve Import Storage queries #278

@amuolo

Description

@amuolo

I believe the queries here below are be more correct than those currently implemented in the import storage

var ifrsVariables = parsedIfrsVariables.Union(openingIfrsVariables, EqualityComparer.Instance)
.Concat(await querySource.Query()
.Where(iv => iv.Partition == TargetPartition && !(iv.AocType == AocTypes.BOP && iv.Novelty == Novelties.I))
.Where(iv => (primaryScope.Contains(iv.DataNode) &&
!EstimateTypesByImportFormat[ImportFormat].Contains(iv.EstimateType))
|| secondaryScope.Contains(iv.DataNode) ).ToArrayAsync());

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingimportrelated to importing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions