From 82195a0584ad38500f39150db9e4e526f7021f59 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 5 Sep 2025 12:02:17 -0400 Subject: [PATCH] feature/IO-3255-simplified-parts-management - Checkpoint --- .../partsManagement/endpoints/vehicleDamageEstimateChgRq.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/integrations/partsManagement/endpoints/vehicleDamageEstimateChgRq.js b/server/integrations/partsManagement/endpoints/vehicleDamageEstimateChgRq.js index 109e63995..f1bde7c3b 100644 --- a/server/integrations/partsManagement/endpoints/vehicleDamageEstimateChgRq.js +++ b/server/integrations/partsManagement/endpoints/vehicleDamageEstimateChgRq.js @@ -130,6 +130,7 @@ const extractUpdatedJobLines = (addsChgs = {}, jobId, currentJobLineNotes = {}) lineOut.part_qty = parseFloat(partInfo.Quantity || 0) || 1; lineOut.oem_partno = partInfo.OEMPartNum; lineOut.alt_partno = partInfo?.NonOEM?.NonOEMPartNum; + lineOut.part_type = partInfo.PartType || null ? String(partInfo.PartType).toUpperCase() : null; // Pricing: act_price from PartPrice, db_price from OEMPartPrice lineOut.act_price = parseFloat(partInfo?.PartPrice || 0);