GithubHelp home page GithubHelp logo

Comments (5)

ma3yta avatar ma3yta commented on August 26, 2024 1

@dgm9704 resolved. thanks

var entity = new Entity("http://www.ato.gov.au/abn", "18641935846");
            instance.SetDimensionNamespace("h04", "http://sbr.gov.au/dims/RprtPyType.02.00.dims");
            var segment = new Segment(instance);
            segment.AddExplicitMember("ReportPartyTypeDimension", "h04:ReportingParty");
            entity.Segment = segment;

from xoxo.

dgm9704 avatar dgm9704 commented on August 26, 2024 1

Yes, I think the problem is that because my code is a bit stupid,
the instance reference needs to be set before adding the member,
otherwise the member doesn't have access to the namespaces, and they don't get set afterwards.
This is not intuitive behaviour and it isn't mentioned anywhere.
I apologize for this and will try to either fix this in the future, or at least make
it obvious that things need to be done in a certain order (which is always bad imho)
I am glad that you got it working though, nice job!

from xoxo.

dgm9704 avatar dgm9704 commented on August 26, 2024

Hi,
I will take a look and get back to you.

from xoxo.

dgm9704 avatar dgm9704 commented on August 26, 2024

I'm just back from vacation and my brain isn't yet in full XBRL mode so this might take some time :(
Meanwhile if you already haven't done so, you could maybe take a look at the sample code in
SBRInstanceTests.cs
and see if that gives some ideas?

from xoxo.

ma3yta avatar ma3yta commented on August 26, 2024

thank you for making this repo public.

from xoxo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.