Issue happens when we have a combination of No Series that does not have a No Series Line.
And also have an No Series Line with empty "Series Code".
When No Series dont have a No Series Line, it is empty initialized.
Then the code to GetNoSeries will do a findlast that will find that No Series Line with empty code. And then because logic says it found the line, it will try and do a Get later, which then fails.
Summary
Issue happens when we have a combination of No Series that does not have a No Series Line. And also have an No Series Line with empty "Series Code".
When No Series dont have a No Series Line, it is empty initialized. Then the code to GetNoSeries will do a findlast that will find that No Series Line with empty code. And then because logic says it found the line, it will try and do a Get later, which then fails.
Work Item(s)
Fixes AB#540058