From 3f9d35a25cb98ff73470e4562d4a8fd8a316eb70 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 24 Apr 2020 08:49:15 -0700 Subject: [PATCH] Added line_no to lin file decoding as a part of BOD-71. --- BodyshopUploader/Utils/Decoder/EstimateDecoder.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs b/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs index e873f27..d650820 100644 --- a/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs +++ b/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs @@ -914,12 +914,13 @@ namespace BodyshopUploader.Utils.Decoder for (int i = 0; i < reader.RecordCount; i++) { + var readValues = reader.NextRecord(); dynamic lin = new JObject(); //Mising est_seq - - //lin.line_no = readValues[0];//LINE_NO + + lin.line_no = readValues[0];//LINE_NO lin.line_ind = readValues[1];//LINE_IND lin.line_ref = readValues[2];//LINE_REF //lin.tran_code = readValues[3];//TRAN_CODE