Added DatumPreise und Zeichnungsnummer
This commit is contained in:
@@ -17,6 +17,7 @@ const TEILE_SEARCH_COLUMNS = [
|
||||
'Bez2',
|
||||
'Ben7',
|
||||
'Ben8',
|
||||
'Ben43',
|
||||
'Hersteller'
|
||||
];
|
||||
|
||||
@@ -117,12 +118,14 @@ const fullTextSearch = async (searchTerm, statusFilter) => {
|
||||
t.Bez2,
|
||||
t.Ben7,
|
||||
t.Ben8,
|
||||
t.Ben43,
|
||||
t.Hersteller,
|
||||
t.Stat,
|
||||
t.VkTeil,
|
||||
txt.Text AS [Text],
|
||||
ts.PrsVk AS PrsVK,
|
||||
ts.Ersatz AS Ersatz
|
||||
ts.Ersatz AS Ersatz,
|
||||
ts.PrsVkTerm
|
||||
FROM [${tableConfig.tableName}] t WITH (NOLOCK)
|
||||
OUTER APPLY (
|
||||
SELECT TOP 1 MemoID
|
||||
@@ -137,7 +140,10 @@ const fullTextSearch = async (searchTerm, statusFilter) => {
|
||||
WHERE tx.TextId = ek.MemoID
|
||||
) txt
|
||||
OUTER APPLY (
|
||||
SELECT TOP 1 PrsVk, Ersatz
|
||||
SELECT TOP 1
|
||||
PrsVk,
|
||||
Ersatz,
|
||||
PrsVkTerm
|
||||
FROM TSSAEF WITH (NOLOCK)
|
||||
WHERE Teil = t.Teil
|
||||
ORDER BY ISN
|
||||
|
||||
Reference in New Issue
Block a user