AutoEndSegmentGroups Help
- Dominant language
- C#
- Stars
- 490
- Forks
- 173
- PR merge metrics
- No merged PRs in 30d
Description
Does anyone have any insight into how to implement AutoEndSegmentGroups?
I need to implement this for N1 loops that use N3, N4, and/or PER segments.
As soon as I set that flag to true, everything I had set up ends up breaking.
The serializer throws an error :: **Unable to deserialize segment BIG. No matching property found on stack.**
BIG is the first segment after ST and is implemented below
```csharp
[EdiValue("9(8)", Path = "BIG/0", Format = "yyyyMMdd", Description = "BIG01 - Invoice Issue Date")]
public DateTime? InvoiceIssueDate { get; set; }
[EdiValue("X(22)", Path = "BIG/1", Description = "BIG02 - Invoice Number")]
public string InvoiceNumber { get; set; }
[EdiValue("X(30)", Path = "BIG/4", Description = "BIG05 - Release Number")]
public string ReleaseNumber { get; set; }
[EdiValue("X(2)", Path = "BIG/6", Description = "BIG07 - Transaction Type Code")]
public string TransactionTypeCode { get; set; }
[EdiValue("X(2)", Path = "BIG/7", Description = "BIG08 - Transaction Set Purpose Code")]
public string TransactionSetPurposeCode { get; set; }
```
Any insight would be appreciated.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the AutoEndSegmentGroups implementation and reproducing deserialization for an N1 loop containing N3, N4, or PER segments, using the BIG mappings shown in the issue. Done means the flag can be enabled without the “Unable to deserialize segment BIG” stack error and the affected transaction still deserializes correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100