diff --git a/services/dataProcessor.ts b/services/dataProcessor.ts index d85f9f0..ba85c7c 100644 --- a/services/dataProcessor.ts +++ b/services/dataProcessor.ts @@ -184,7 +184,7 @@ const mapRowToRecord = (row: any, index: number): SalesRecord => { const weekStr = getColumnValue(row, ['WEEK', 'Week', 'CW', 'Semana', 'KW', 'E']); const weekNum = weekStr ? parseInt(weekStr.replace(/cw/i, '').trim(), 10) : NaN; const week = isNaN(weekNum) ? undefined : weekNum; - const line = getColumnValue(row, ['LINE', 'Line', 'Product Line']) || 'Unassigned'; + const line = getColumnValue(row, ['LICENSE', 'License']) || 'Unassigned'; const asin = getColumnValue(row, [ 'CUSTOMER REFERENCE', 'AMAZON ASIN', 'ASIN', 'Asin', 'PRODUCT ID', 'ITEM IDENTIFIER', 'ASIN NO.', 'Product ASIN', 'IDENTIFIER'