IO-1376 Include op codes for Audatex.
This commit is contained in:
@@ -256,7 +256,7 @@ namespace BodyshopPartner.Utils.Decoder
|
||||
ownerRoot.ownr_zip = readValues[93];
|
||||
ownerRoot.ownr_ctry = readValues[94];
|
||||
ownerRoot.ownr_ph1 = readValues[95];
|
||||
if(String.IsNullOrWhiteSpace(ownerRoot.ownr_ph1.Value))
|
||||
if (String.IsNullOrWhiteSpace(ownerRoot.ownr_ph1.Value))
|
||||
{
|
||||
ownerRoot.ownr_ph1 = readValues[97];
|
||||
}
|
||||
@@ -364,7 +364,7 @@ namespace BodyshopPartner.Utils.Decoder
|
||||
|
||||
//Check to see if the owner fields are populated with OWNR_* data. If not, use clmnt.
|
||||
|
||||
if(String.IsNullOrWhiteSpace((string)j.ownr_ln) && String.IsNullOrWhiteSpace((string)j.ownr_fn)&& String.IsNullOrWhiteSpace((string)j.ownr_co_nm))
|
||||
if (String.IsNullOrWhiteSpace((string)j.ownr_ln) && String.IsNullOrWhiteSpace((string)j.ownr_fn) && String.IsNullOrWhiteSpace((string)j.ownr_co_nm))
|
||||
{
|
||||
|
||||
j.ownr_ln = readValues[0];
|
||||
@@ -1139,18 +1139,17 @@ namespace BodyshopPartner.Utils.Decoder
|
||||
//if part_type is blank, pull in the part type from parttypetousemitchell
|
||||
//if not found, set description to not efined
|
||||
|
||||
if (string.IsNullOrEmpty(lin.oem_partno.Value))
|
||||
{
|
||||
try
|
||||
{
|
||||
lin.op_code_desc = Utils.AppMetaData.CiecaOpCodes[lin.lbr_op.Value]["desc"].Value;
|
||||
}
|
||||
catch (Exception Ex)
|
||||
{
|
||||
logger.Warn(Ex, "Couldnt find OpCodeDesc from {0} ", lin.lbr_op.Value);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
lin.op_code_desc = Utils.AppMetaData.CiecaOpCodes[lin.lbr_op.Value]["desc"].Value;
|
||||
}
|
||||
catch (Exception Ex)
|
||||
{
|
||||
logger.Warn(Ex, "Couldnt find OpCodeDesc from {0} ", lin.lbr_op.Value);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
allLines.Add(lin);
|
||||
|
||||
Reference in New Issue
Block a user