Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize compute with IfrsVariable applicability #357

Open
dcolleoni opened this issue Jul 28, 2023 · 0 comments
Open

Generalize compute with IfrsVariable applicability #357

dcolleoni opened this issue Jul 28, 2023 · 0 comments
Labels
import related to importing
Milestone

Comments

@dcolleoni
Copy link
Contributor

This is to :

  1. facilitate applicability for new input sources (PV)
  2. allow computation of all scopes at every import => required for Actual projections to work.

Storage.EstimateTypesByImportFormat holds which EstimateTypes are computed for each ImportFormat.

ComputeWithIfrsVariable could be triggered when

GetStorage().ShouldComputeWithIfrsVariable(x.EstimateType) is true

public bool ShouldComputeWithIfrsVariable(string estimateType){
return !EstimateTypesByImportFormat[ImportFormat].Contains(estimateType);
}

note that DA EstimateType should be split in 2 EstimateTypes D with InputSource 7 and DN(deferralNominal) with InputSource 5(CF,OP)

@dcolleoni dcolleoni added the import related to importing label Jul 28, 2023
@dcolleoni dcolleoni added this to the future milestone Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
import related to importing
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant