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

Adding DMG Segment to NM1 Returns NULL #5

Open
JeffFerguson opened this issue Feb 13, 2018 · 1 comment
Open

Adding DMG Segment to NM1 Returns NULL #5

JeffFerguson opened this issue Feb 13, 2018 · 1 comment

Comments

@JeffFerguson
Copy link

I am trying to add a DMG segment to a loop that starts with a NM1 segment. I have the following code:

var hierarchicalLoop3 = outerTransaction.AddHLoop("3", "20", false);
var subscriberName = hierarchicalLoop3.AddLoop(new TypedLoopNM1("2100C"));
// snip
var dmgSegment = subscriberName.AddSegment<TypedSegmentDMG>(new TypedSegmentDMG());

The dmgSegment object comes back as null. I have also tried var dmgSegment = AddSegment("DMG") but I get the same null result.

@nwlynch
Copy link

nwlynch commented Apr 19, 2020

Do you still have an issue with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants