Dodge 1500 Crew Cab (DS) 5.7 Hemi V8 4x4
Gebrauchte Heckklappe
€ 785,29 Mit MwSt.
Baujahr12-2020 |KlassifizierungscodeA2 |Türen4-tr |AusführungPick-Up |FahrzeugfarbeSCHWARZ |Lacknr.APXJ |OE-nummer68394475AEBesonderheit Geleverd exclusief camera/handgreep.
Garantie 3 mon.
Anbieter Boonstra Autoparts
Dodge Ram 1500 Crew Cab (DS/DJ/D2) 5.7 V8 Hemi 2500 4x4
Gebrauchte Heckklappe
€ 907,44 Mit MwSt.
Baujahr2013 |KlassifizierungscodeA2 |Türen4-tr |AusführungPick-Up |FahrzeugfarbeSCHWARZ |OE-nummer68105727AGBesonderheit Einige leichte Gebrauchsspuren, siehe Fotos.
Garantie 3 mon.
Anbieter Boonstra Autoparts
Dodge 1500 Crew Cab (DS) 5.7 Hemi V8 4x4
Gebrauchte Heckklappe
Preis auf Anfrage
Baujahr08-2014 |KlassifizierungscodeA2 |Türen4-tr |AusführungJeep/SUV |FahrzeugfarbeWEIß |OE-nummer68105727AGGarantie 3 mon.
Anbieter Autohandel-Smet Gebroeders NV
Dodge Ram 1500 (BR/BE)
Gebrauchte Heckklappe
€ 332,75 Mit MwSt.
Baujahr2002 |AusführungPick-Up |FahrzeugfarbeGRAU |OE-nummer55275969ABBesonderheit GEPLOOID - BENT - PLIE - VERBOGEN
Garantie 12 mon.
Anbieter Autohandel Didier
Dodge Ram 1500 (DR/DH/D1/DC/DM) 4.7 V8 1500 4x2
Gebrauchte Heckklappe
€ 400,00 Margen
Baujahr05-2006 |KlassifizierungscodeA3 |Türen4-tr |AusführungPick-Up |FahrzeugfarbeGRAU |Lacknr.APDMGarantie 3 mon.
Anbieter Rooie Ben autodemontage
Dodge 1500 Standard Cab (DS) 5.7 Hemi V8
Gebrauchte Heckklappe
€ 907,50 Mit MwSt.
Baujahr08-2011 |KlassifizierungscodeA2 |Türen4-tr |AusführungPick-Up |FahrzeugfarbeSCHWARZ |Lacknr.APXRBesonderheit KRATZER/GRUBEN
Garantie 3 mon.
Anbieter Verhoef Cars & Parts
Dodge Ram 3500 (BR/BE) 5.2 1500 4x2 Kat.
Gebrauchte Heckklappe
€ 200,00 Margen
Baujahr1996 |KlassifizierungscodeA3 |Türen2-tr |AusführungPick-Up |FahrzeugfarbeSCHWARZGarantie 3 mon.
Anbieter Rooie Ben autodemontage
Dodge 1500 Crew Cab (DS) 5.7 Hemi V8
Gebrauchte Heckklappe
€ 665,50 Mit MwSt.
Baujahr2014 |KlassifizierungscodeA3 |Türen4-tr |AusführungPick-Up |FahrzeugfarbeWEIßBesonderheit camera gedemonteerd/ deuk in bovenste rand/lak af
Garantie 3 mon.
Anbieter Verhoef Cars & Parts
Dodge Ram 1500 (DS/DJ/D2) 4.7 V8 1500 4x4
Gebrauchte Heckklappe
€ 500,00 Margen
Baujahr05-2009 |Türen4-tr |AusführungPick-Up |FahrzeugfarbeSCHWARZGarantie 3 mon.
Anbieter Poolman autodemontage
Dodge 1500 Crew Cab (DS) 5.7 Hemi V8 4x4
Gebrauchte Heckklappe
€ 422,29 Mit MwSt.
Baujahr2020 |KlassifizierungscodeA2 |Türen4-tr |AusführungPick-UpBesonderheit Teil ist in gutem Zustand.
Garantie 3 mon.
Anbieter Boonstra Autoparts
PreLoad
{ "Data": { "SessionId": 5, "Match": null, "Timestamp": "0001-01-01T00:00:00", "UrlRawCurrent": "/autoersatzteilvorrat/lager/marke/dodge/modell/ram/ersatzteil/heckklappe/", "UrlAbsoluteCurrent": "/url_voorraad/autoersatzteilvorrat/lager/marke/dodge/modell/ram/ersatzteil/heckklappe/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/autoersatzteilvorrat/lager/marke/dodge/modell/ram/ersatzteil/heckklappe/" ], "UrlSet": false, "Query": null }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 0, "Size": 10, "Rows": 0, "SizeMax": 150, "SetMax": false, "GetIndexMax": 0, "GetSizeValid": true, "GetIndex": 0, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": {}, "Sort": "", "SortDirection": "Ascending", "CountryName": "Deutschland", "CountryId": 276, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }
All sessions
{ "Data": { "SessionId": 1, "Match": null, "Timestamp": "2026-08-15T04:06:22.6477819+02:00", "UrlRawCurrent": "/autoersatzteilvorrat/suche/marke/renault/modell/grand-scenic/", "UrlAbsoluteCurrent": "/url_voorraad/autoersatzteilvorrat/suche/marke/renault/modell/grand-scenic/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/autoersatzteilvorrat/suche/marke/renault/modell/grand-scenic/" ], "UrlSet": false, "Query": null }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 1, "Size": 10, "Rows": 0, "SizeMax": 150, "SetMax": false, "GetIndexMax": 0, "GetSizeValid": true, "GetIndex": 1, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": {}, "Sort": "", "SortDirection": "Ascending", "CountryName": null, "CountryId": 0, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }{ "Data": { "SessionId": 2, "Match": null, "Timestamp": "2026-08-15T04:06:25.8746488+02:00", "UrlRawCurrent": "/autoersatzteilvorrat/teil/motorcode/9hp/ersatzteil/kuhler/ersatzteilid/12861139/", "UrlAbsoluteCurrent": "/url_voorraad/autoersatzteilvorrat/teil/motorcode/9hp/ersatzteil/kuhler/ersatzteilid/12861139/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/autoersatzteilvorrat/teil/motorcode/9hp/ersatzteil/kuhler/ersatzteilid/12861139/" ], "UrlSet": false, "Query": null }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 1, "Size": 10, "Rows": 0, "SizeMax": 150, "SetMax": false, "GetIndexMax": 0, "GetSizeValid": true, "GetIndex": 1, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": {}, "Sort": "", "SortDirection": "Ascending", "CountryName": null, "CountryId": 0, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }{ "Data": { "SessionId": 3, "Match": null, "Timestamp": "2026-08-15T04:06:29.9683863+02:00", "UrlRawCurrent": "/autoersatzteilvorrat/teil/motorcode/h4ja7/ersatzteil/zundspule/ersatzteilid/12951006/", "UrlAbsoluteCurrent": "/url_voorraad/autoersatzteilvorrat/teil/motorcode/h4ja7/ersatzteil/zundspule/ersatzteilid/12951006/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/autoersatzteilvorrat/teil/motorcode/h4ja7/ersatzteil/zundspule/ersatzteilid/12951006/" ], "UrlSet": false, "Query": null }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 1, "Size": 10, "Rows": 0, "SizeMax": 150, "SetMax": false, "GetIndexMax": 0, "GetSizeValid": true, "GetIndex": 1, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": {}, "Sort": "", "SortDirection": "Ascending", "CountryName": null, "CountryId": 0, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }{ "Data": { "SessionId": 4, "Match": null, "Timestamp": "2026-08-15T04:06:31.7808913+02:00", "UrlRawCurrent": "/autoersatzteilvorrat/teil/motorcode/9hf/ersatzteil/intercooler-schlauch/ersatzteilid/11972303/", "UrlAbsoluteCurrent": "/url_voorraad/autoersatzteilvorrat/teil/motorcode/9hf/ersatzteil/intercooler-schlauch/ersatzteilid/11972303/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/autoersatzteilvorrat/teil/motorcode/9hf/ersatzteil/intercooler-schlauch/ersatzteilid/11972303/" ], "UrlSet": false, "Query": null }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 1, "Size": 10, "Rows": 0, "SizeMax": 150, "SetMax": false, "GetIndexMax": 0, "GetSizeValid": true, "GetIndex": 1, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": {}, "Sort": "", "SortDirection": "Ascending", "CountryName": null, "CountryId": 0, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }
LoadComplete
{ "Data": { "SessionId": 5, "Match": null, "Timestamp": "0001-01-01T00:00:00", "UrlRawCurrent": "/autoersatzteilvorrat/lager/marke/dodge/modell/ram/ersatzteil/heckklappe/", "UrlAbsoluteCurrent": "/url_voorraad/autoersatzteilvorrat/lager/marke/dodge/modell/ram/ersatzteil/heckklappe/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/autoersatzteilvorrat/lager/marke/dodge/modell/ram/ersatzteil/heckklappe/" ], "UrlSet": false, "Query": "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; DECLARE @RM TABLE ([RecordId] BIGINT NOT NULL, [xPR] DECIMAL(9, 2), [xPS] BIT NOT NULL, [xPD] INT, [xTP] DECIMAL(5, 2) NOT NULL, [xTT] INT NOT NULL, [xShopState] INT, [xShippingState] TINYINT, [xPF] DECIMAL(9, 2), [xPE] DECIMAL(9, 2), [xPI] DECIMAL(9, 2) PRIMARY KEY CLUSTERED (RecordId ASC)) INSERT INTO @RM ([RecordId], [xPR], [xPS], [xPD], [xTP], [xTT], [xShopState], [xShippingState], [xPF], [xPE], [xPI]) SELECT *, CASE WHEN [xPF] IS NOT NULL THEN CASE WHEN [xTT] = 1 THEN CAST([xPF] / ((100 + [xTP]) / 100) AS DECIMAL(9, 2)) ELSE [xPF] END END AS [xPE], CASE WHEN [xPF] IS NOT NULL THEN CASE WHEN [xTT] = 0 THEN CAST([xPF] * ((100 + [xTP]) / 100) AS DECIMAL(9, 2)) ELSE [xPF] END END AS [xPI] FROM (SELECT *, CASE WHEN [xPS] = 1 AND [xPR] IS NOT NULL THEN CAST(CASE WHEN [xPD] IS NOT NULL THEN (CAST((100 - ISNULL([xPD], 0)) AS DECIMAL) / 100) * [xPR] ELSE [xPR] END AS DECIMAL(10, 2)) END AS [xPF] FROM (SELECT [R].[RecordId], (ISNULL(CASE WHEN [R].[Shop] = 1 THEN ISNULL([R].[PriceShop],ROUND ( [R].[Prijs] * ((100 + ISNULL([D].[ShopPricePercentage], 0)) / 100), 2)) END, [R].[Prijs])) AS [xPR], CASE WHEN [R].[PrijsTonen] IS NOT NULL THEN [R].[PrijsTonen] WHEN [R].[SoortId] = 0 THEN [D].[OOLPrijzenG] WHEN [R].[SoortId] = 1 THEN [D].[OOLPrijzenR] WHEN [R].[SoortId] = 2 THEN [D].[OOLPrijzenN] ELSE 1 END AS [xPS], (SELECT [T].[Discount] FROM dbo.[AutomatePartDiscount] [T] WHERE [T].[SupplierId] = [R].[DebiteurId] AND [T].[StateId] = [R].[SoortId] AND [T].[PartAutomateId] = [R].[DeelId]) AS [xPD], ISNULL([VT].[General], 21) AS [xTP], CASE WHEN [R].[SoortId] = 0 AND NOT ISNULL([R].[PrijsSoort], 0) = 1 THEN 2 WHEN [D].[OOLPrijzenExcl] = 0 THEN 1 ELSE 0 END AS [xTT], CASE WHEN NOT [D].[ShopActive] = 1 THEN 11 ELSE dbo.fnGetOOLShopStateQuick([R].[RecordId], 1, 4, xShippingState) END AS [xShopState], xShippingState AS [xShippingState] FROM (SELECT [R].[RecordId] FROM dbo.[OOLInternet] [R] WITH (NOLOCK) WHERE ([R].[ModelId] = '13X08X' OR ([R].[AldocModelCode] IN (11717, 11722, 15716, 15719, 50206, 53700, 54574, 54578, 55343, 56126, 56142, 56151, 56176, 57250, 23060, 23626, 1563, 7897, 32009, 33079, 33579, 50205, 14285, 14286, 14291, 14332, 14370, 14371, 14372, 14373, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14429, 14437, 14441, 14442, 14443, 14444, 14445, 14446) OR [R].[RecordId] IN (SELECT K.RecordId FROM dbo.OOLKTyp K WITH (NOLOCK) WHERE K.KTyp IN (140976, 140975, 140999, 141000, 800047, 800048, 137721, 137722, 145125, 140997, 140998, 140978, 140977, 800046, 800045, 800050, 134369, 134367, 157636, 157629, 157638, 157630, 56272, 63928, 106928, 58416, 62960, 105960, 58417, 62961, 105961, 64672, 107672, 63202, 106202, 63201, 106201, 113226, 56271, 106929, 106199, 106200, 151632, 158725, 801525, 801524, 801538, 801609, 801610, 802947, 64675, 107675, 64674, 107674, 54615, 54616, 54614, 59533, 59532, 54613, 106938, 106939, 118797, 119907, 119906, 801523, 801522, 801535, 801534, 801608, 801607, 52373, 54609, 56270, 54621, 106936, 106937, 59530, 59531, 119905, 119904, 124247, 124245, 64671, 107671, 64670, 107670, 54507, 54506, 63930, 106930, 106931, 54502, 54503, 106203, 106204, 801527, 801526, 801542, 801543, 801612, 801611, 54620, 59534, 54618, 54617, 59535, 54619, 106940, 106942, 124250, 124248, 54497, 54496, 63932, 106932, 106933, 54500, 54596, 106205, 106206, 801515, 801514, 801533, 801531, 802634, 802633, 54624, 54623, 108509, 108508, 106943, 106944, 59503, 59508, 52142, 54622, 59505, 59502, 59542, 59506, 59509, 59504, 134340, 151428, 801517, 801516, 801539, 801537, 802635, 802636, 802948, 115557, 52385, 52383, 52382, 106945, 106946, 106947, 106948, 59524, 59520, 59525, 59521, 59526, 59522, 59527, 59523, 801519, 801518, 801541, 801540, 54628, 54627, 110728, 110729, 106949, 106950, 59536, 59528, 59537, 59529, 54626, 54625, 59539, 59538, 59540, 59541, 138774, 138775, 138777, 138776, 107744, 107743, 107746, 40081, 58006, 10632, 30173, 39751, 39786, 30170, 30172, 30166, 30169, 30171, 30176, 26864, 30168, 40023, 40040, 30167, 30175, 30174, 26706, 27328, 27408, 27410, 27350, 27390, 58558, 58559, 113543, 113545, 113547, 113546, 113544, 113549, 113548, 113562, 113554, 39901, 39903, 113565, 39907, 113566, 113628, 30179, 51119, 30182, 30180, 30185, 59184, 27337, 51126, 51127, 57726, 57751, 57749, 10771, 10772, 26876, 30178, 30181, 30177, 59185, 20624, 27389, 22329, 27411, 27472, 51120, 51646, 51647, 51648, 52059, 54403, 52062, 52070, 52072, 52074, 52140, 52101, 39999, 54385, 54397, 54398, 54401, 54402, 54408, 54409, 54418, 54419, 54420, 54421, 54424, 52085, 54431, 54430, 54428, 54429, 54545, 54552, 54567, 54577, 64738, 107738, 39749, 42861, 108861, 28831, 39857, 39856, 39897, 39896, 59512, 113542, 51044, 51123, 123373, 123374, 123375, 123376, 123378, 123377, 133675, 135443)))) AND [R].[DeelId] IN ('2931A') AND [R].[DebiteurId] IN (100001, 100003, 100007, 100008, 100012, 100019, 100022, 100029, 100034, 100044, 100045, 100056, 100062, 100081, 100085, 100086, 100107, 100109, 100110, 100116, 100119, 100120, 100121, 100124, 100129, 100131, 100139, 100141, 100145, 100152, 100153, 100155, 100159, 100160, 100161, 100177, 100178, 100180, 100181, 100184, 100187, 100189, 100191, 100194, 100197, 100208, 100209, 100216, 100219, 100232, 100238, 100248, 100249, 100251, 100255, 100261, 100278, 100282, 100283, 100284, 100291, 100294, 100305, 100307, 100315, 100324, 100327, 100328, 100336, 100345, 100353, 100358, 100359, 100378, 100385, 100386, 100414, 100417, 100426, 100433, 100457, 100471, 100473, 100480, 100493, 100509, 100512, 100515, 100617, 100727, 100771, 100803, 100805, 100883, 100886, 100997, 101112, 101113, 101114, 101115, 101117, 101118, 101119, 101120, 101121, 101122, 101175, 101185, 101186, 101205, 101209, 101221, 101222, 101232, 101234, 101237, 101238, 101239, 101240, 101249, 101255, 101257, 101262, 101268, 101269, 101271, 101273, 101275, 101276, 101277, 101279, 101280, 101285, 101293, 101300, 101301, 101302, 101304, 101305, 101309, 101311, 101313, 101314, 101315, 101317, 101319, 101321, 101328, 101331, 101332, 101334, 101335, 101337, 101340, 101342, 101343, 101344, 101345, 101348, 101349, 101352, 101353, 101355, 101356, 101361, 101362, 101363, 101365, 101366, 101368, 101369, 101370, 101371, 101374, 101385, 101387, 101390, 101391, 101394, 101395, 101396, 101397, 101398, 101400, 101401, 101403, 101405, 101406, 101407, 101408, 101412, 101413, 101414, 101415, 101417, 101418, 101420, 101422, 101423, 101424, 101425, 101429, 101432, 101433, 101434, 101436, 101438, 101441, 101442, 111111, 123456, 123457, 123462)) [RM] LEFT JOIN dbo.[OOLInternet] [R] ON [R].[RecordId] = [RM].[RecordId] LEFT JOIN dbo.[DebiteurLocatieData] [D] ON [D].[DebiteurId] = [R].[DebiteurId] AND [D].[LocatieId] = ISNULL([R].[DebiteurLocatieId], 1) LEFT JOIN [Basis].dbo.[CountryVatRate] [VT] ON [VT].[CountryId] = [D].[LandId] AND [VT].[Active] = 1 OUTER APPLY (SELECT dbo.fnGetOOLShippingStateExtended([R].[DebiteurId], [R].[DebiteurLocatieId], [R].[DeelNr], 276, NULL) [xShippingState]) [SHS]) [R]) [R]; SELECT [R].[DeelId], [R].[SoortId], COUNT(*) AS [Aantal] FROM (SELECT [R].[DeelId], [R].[SoortId], [R].[RecordId], [R].[DebiteurId], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState] FROM @RM [RM] LEFT JOIN dbo.[OOLInternet] [R] With (NOLOCK FORCESEEK) On [R].[RecordId] = [RM].[RecordId]) [R] GROUP BY [R].[DeelId], [R].[SoortId]; SELECT [R].*, [xTP] AS [PrijsTaxPerc], [xPD] AS [PrijsKorting], (SELECT [VIBM].[Bouwmaand] FROM dbo.[VOLInternet] [VIBM] WHERE [VIBM].[RecordId] = [R].[AutoRecordId]) AS [ConstructionMonth], [xPE] AS [PrijsAlt], STUFF((SELECT '|' + CAST([V].[VeldId] AS VARCHAR(10)) + '^' + [V].[Waarde] FROM (SELECT [V].[VeldId], [V].[Waarde], [V].[OrderId] FROM dbo.[OOLVelden] [V] WHERE [V].[RecordId] = [R].[RecordId] AND [V].[VeldId] IN (26, 232, 257, 265, 274)) [V] ORDER BY [V].[VeldId], [V].[OrderId] FOR XML PATH('')), 1, 1, '') AS [Automate2Velden], CASE WHEN [R].[GarantieToelichting] IS NOT NULL THEN (SELECT TOP 1 [TV].[Translation] FROM [Storage].dbo.[TranslateTextResult] [TV] WHERE [TV].[TextId] = (SELECT [TR].[TextId] FROM [Storage].dbo.[TranslateTextRecord] [TR] WHERE [TR].[RecordId] = [R].[RecordId] AND [TR].[TextTypeId] = 2) AND [TV].[LanguageId] IN (4, 2, 1) ORDER BY [TV].[LanguageId] DESC) END AS [GarantieTranslated], CASE WHEN [R].[BijzonderheidInet] IS NOT NULL THEN (SELECT TOP 1 [TV].[Translation] FROM [Storage].dbo.[TranslateTextResult] [TV] WHERE [TV].[TextId] = (SELECT [TR].[TextId] FROM [Storage].dbo.[TranslateTextRecord] [TR] WHERE [TR].[RecordId] = [R].[RecordId] AND [TR].[TextTypeId] = 1) AND [TV].[LanguageId] IN (4, 2, 1) ORDER BY [TV].[LanguageId] DESC) END AS [BijzonderheidInetTranslated], [xShopState] AS [ShopState], CASE WHEN [R].[AldocModelCode] IS NOT NULL THEN (SELECT ISNULL((STUFF((SELECT '^' + [T3].[NaamInternet] + '~' + [T2].[NaamInternet] FROM [Basis].dbo.[AutomateModellenTranslated] [T2] LEFT JOIN [Basis].dbo.[AutomateMerkenTranslated] [T3] ON [T3].[MerkId] = [T2].[MerkId] AND [T3].[LanguageId] = 4 WHERE [T2].[ModelId] IN (SELECT [T].[ModelId] FROM [Basis].dbo.[AldocModelKoppelingen] [T] WHERE [T].[ModelCode] = [R].[AldocModelCode]) AND [T2].[LanguageId] = 4 AND [T2].[Synoniem] = 0 FOR XML PATH('')), 1, 1,'')), '') + '|' + ISNULL((SELECT [T].[Omschrijving] FROM [Basis].dbo.[AldocModelOmschrijvingen] [T] WHERE [T].[ModelCode] = [R].[AldocModelCode] AND [T].[LanguageId] = 4), '') + '|' + ISNULL((SELECT [T].[Omschrijving] FROM [Basis].dbo.[AldocTypeOmschrijvingen] [T] WHERE [T].[TypeId] = [R].[AldocTypeId] AND [T].[LanguageId] = 4), '')) END AS [AldocDescription] FROM (SELECT [R].*, ROW_NUMBER() OVER (PARTITION BY R.SortId, R.DebiteurId ORDER BY SortId + CASE WHEN [R].[xShopState] = 1 THEN 1 ELSE 0 END DESC, CASE WHEN [12] IS NULL THEN 1 END ASC, [12] DESC, CASE WHEN [14] IS NULL THEN 1 END ASC, [14] ASC, RIGHT([RecordId], 2)%(DATEPART(WEEKDAY, GETDATE()) + 3) ASC, [RecordId] ASC) AS [RowId] FROM (SELECT [R].[SortId], [R].[RecordId], [R].[DebiteurId], [R].[ExternalId], [R].[ReferenceId], [R].[Youtube] AS [181], [184], [190], ISNULL([R].[Fotos], (SELECT 'G^' + CAST([G].[GroupId] AS VARCHAR(20)) + '^' + [G].[Images] FROM dbo.[OOLFotoGroups] [G] WHERE [G].[DebiteurId] = [R].[DebiteurId] AND [G].[SModelId] = [R].[SModelId] AND [G].[DeelId] = [R].[DeelId])) AS [58], [R].[SoortId] AS [StateId], CASE WHEN SUBSTRING([R].[ModelId], 1, 3) IN ('00X', '0XX') THEN NULL ELSE [MET].[NaamInternet] + '^' + [MOT].[NaamInternet] END AS [MakeModel], [xPS] AS [PrijsTonen], CASE WHEN [xTT] IN (0, 1) THEN 1 ELSE [xTT] END AS [PrijsTaxType], [xPI] AS [14], [R].[Bouwjaar] AS [12], [R].[AutoRecordId], CASE WHEN [135] IS NULL THEN CASE WHEN [R].[SoortId] = 0 THEN [D].[OOLGarantieG] WHEN [R].[SoortId] = 1 THEN [D].[OOLGarantieR] WHEN [R].[SoortId] = 2 THEN [D].[OOLGarantieN] ELSE NULL END ELSE [135] END AS [135], [37], CASE WHEN [22] = '2' THEN '2-tr' WHEN [22] = '4' THEN '4-tr' WHEN ISNULL([22], '') = '' THEN NULL ELSE [22] END AS [22], [V23].[NaamLang] AS [23], CASE WHEN [24] IS NOT NULL THEN ISNULL(STUFF((SELECT '^' + [KT].[Naam] FROM dbo.[OOLKleuren] [RK] LEFT JOIN [Basis].dbo.[KleurenTranslated] [KT] ON [KT].[ColorId] = [RK].[ColorId] AND [KT].[LanguageId] = 4 WHERE [RK].[RecordId] = [R].[RecordId] AND [RK].[VeldID] = 24 ORDER BY [RK].[OrderId] FOR XML PATH('')),1,1,'') + '|', '') + STUFF((SELECT '|' + [XOV].[Waarde] FROM dbo.[OOLVelden] [XOV]\t\t\t\t\t\t WHERE [XOV].[RecordId] = [R].[RecordId] AND [XOV].[VeldId] = 24 ORDER BY [XOV].[OrderId] FOR XML PATH('')), 1, 1, '') END AS [24], STUFF((SELECT '|' + [XOV].[Waarde] FROM dbo.[OOLVelden] [XOV] WHERE [XOV].[RecordId] = [R].[RecordId] AND [XOV].[VeldId] = 137 ORDER BY [XOV].[OrderId] FOR XML PATH('')), 1, 1, '') AS [137], [25], [R].[Artikelnummers] AS [21], ISNULL([D].[Bedrijfsnaam], '') + '|' + ISNULL([D].[BedrijfKort], '') AS [Leverancier], [R].[BijzonderheidInet], [R].[WarrantyText] AS [GarantieToelichting], [R].[Shop], [R].[Created], [xShippingState] AS [ShippingState], [R].[WarrantyConstruction] AS [WarrantyInstallation], [R].[DeelId], [R].[DebiteurRecordId], [R].[AldocModelCode], [R].[AldocTypeId], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState], [R].[SModelId], [R].[ModelId], [R].[PrijsSoort], [R].[PriceShop] FROM (SELECT * FROM (SELECT [R].*, [OV].[VeldId], [OV].[Waarde] FROM (SELECT [R].[SortId], [R].[RecordId], [R].[DebiteurId], [R].[ExternalId], [R].[ReferenceId], [R].[Youtube], [R].[Fotos], [R].[SoortId], [R].[PrijsTonen], [R].[Prijs], [R].[Bouwjaar], [R].[AutoRecordId], [R].[Artikelnummers], [R].[BijzonderheidInet], [R].[WarrantyText], [R].[Shop], [R].[Created], [R].[WarrantyConstruction], [R].[DeelId], [R].[DebiteurRecordId], [R].[AldocModelCode], [R].[AldocTypeId], [R].[DebiteurLocatieId], [R].[SModelId], [R].[ModelId], [R].[PrijsSoort], [R].[PriceShop], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState] FROM @RM [RM] LEFT JOIN dbo.[OOLInternet] [R] With (NOLOCK FORCESEEK) On [R].[RecordId] = [RM].[RecordId]) AS [R] LEFT JOIN dbo.[OOLVelden] [OV] WITH (INDEX(PK_OOLVelden)) ON [OV].[RecordId] = [R].[RecordId] AND [OV].[VeldId] IN (184, 190, 135, 37, 22, 23, 24, 25)) [R] PIVOT (MAX([Waarde]) FOR [VeldId] IN ([184], [190], [135], [37], [22], [23], [24], [25])) AS [R]) [R] LEFT JOIN [Basis].dbo.[AutomateVeldWaardenTranslated] [V23] ON [V23].[VeldId] = 23 AND [V23].[Waarde] = [23] AND [V23].[LanguageId] = 4 LEFT JOIN [Basis].dbo.[AutomateModellenTranslated] [MOT] ON [MOT].[ModelId] = [R].[ModelID] AND [MOT].[LanguageId] = 4 AND [MOT].[Synoniem] = 0 LEFT JOIN [Basis].dbo.[AutomateMerkenTranslated] [MET] ON [MET].[MerkId] = [MOT].[MerkId] AND [MET].[LanguageId] = 4 LEFT JOIN dbo.[DebiteurLocatieData] [D] ON [D].[DebiteurId] = [R].[DebiteurId] AND [D].[LocatieId] = ISNULL([R].[DebiteurLocatieId], 1)) [R] ORDER BY [SortId] DESC, + CASE WHEN [R].[xShopState] = 1 THEN 1 ELSE 0 END DESC, [RowId] ASC OFFSET 0 ROWS FETCH NEXT 10 ROWS ONLY) [R]; WITH [R] AS (SELECT [R].[RecordId], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState], [Bouwjaar], [xPI] AS [Prijs], [ModelId] FROM @RM [RM] LEFT JOIN dbo.[OOLInternet] [R] With (NOLOCK FORCESEEK) On [R].[RecordId] = [RM].[RecordId] LEFT JOIN dbo.[DebiteurLocatieData] [D] ON [D].[DebiteurId] = [R].[DebiteurId] AND [D].[LocatieId] = ISNULL([R].[DebiteurLocatieId], 1)) SELECT [VeldId], [Waarde] AS [Value], NULL AS [ValueMIN], NULL AS [ValueMAX] FROM dbo.[OOLVelden] [OV] WHERE [RecordId] IN (SELECT [R].[RecordId] FROM [R]) AND [VeldId] IN (184,190,37,22,23,24,137,25) GROUP BY [VeldId], [Waarde] UNION SELECT [VeldId], NULL AS [Value], MIN([Waarde]) AS [ValueMIN], MAX([Waarde]) AS [ValueMAX] FROM (SELECT [VeldId], TRY_CAST([Waarde] AS INT) AS [Waarde] FROM dbo.[OOLVelden] [OV] WHERE [RecordId] IN (SELECT [R].[RecordId] FROM [R]) AND [VeldId] IN (135)) [OV] GROUP BY [VeldId] UNION SELECT 12, NULL AS [Value], MIN([R].[Bouwjaar]) AS [ValueMIN], MAX([R].[Bouwjaar]) AS [ValueMAX] FROM [R] UNION SELECT 14, NULL AS [Value], MIN(CAST([Prijs] AS INT)) AS [ValueMIN], MAX(CAST([Prijs] AS INT)) AS [ValueMAX] FROM [R] ORDER BY 1, 2; SELECT DISTINCT [R].[DebiteurId] FROM (SELECT DISTINCT [DebiteurId] FROM dbo.[OOLInternet] [R] WITH (NOLOCK) WHERE [R].[RecordId] In (Select [RM].[RecordId] FROM @RM [RM])) [R]; SELECT [R].[DeelId], [R].[SoortId], COUNT(*) AS [Aantal] FROM (SELECT [R].[DeelId], [R].[SoortId], [R].[RecordId], [R].[DebiteurId] FROM dbo.[OOLInternet] [R] WITH (NOLOCK FORCESEEK) WHERE [R].[DebiteurId] IN (100001, 100003, 100007, 100008, 100012, 100019, 100022, 100029, 100034, 100044, 100045, 100056, 100062, 100081, 100085, 100086, 100107, 100109, 100110, 100116, 100119, 100120, 100121, 100124, 100129, 100131, 100139, 100141, 100145, 100152, 100153, 100155, 100159, 100160, 100161, 100177, 100178, 100180, 100181, 100184, 100187, 100189, 100191, 100194, 100197, 100208, 100209, 100216, 100219, 100232, 100238, 100248, 100249, 100251, 100255, 100261, 100278, 100282, 100283, 100284, 100291, 100294, 100305, 100307, 100315, 100324, 100327, 100328, 100336, 100345, 100353, 100358, 100359, 100378, 100385, 100386, 100414, 100417, 100426, 100433, 100457, 100471, 100473, 100480, 100493, 100509, 100512, 100515, 100617, 100727, 100771, 100803, 100805, 100883, 100886, 100997, 101112, 101113, 101114, 101115, 101117, 101118, 101119, 101120, 101121, 101122, 101175, 101185, 101186, 101205, 101209, 101221, 101222, 101232, 101234, 101237, 101238, 101239, 101240, 101249, 101255, 101257, 101262, 101268, 101269, 101271, 101273, 101275, 101276, 101277, 101279, 101280, 101285, 101293, 101300, 101301, 101302, 101304, 101305, 101309, 101311, 101313, 101314, 101315, 101317, 101319, 101321, 101328, 101331, 101332, 101334, 101335, 101337, 101340, 101342, 101343, 101344, 101345, 101348, 101349, 101352, 101353, 101355, 101356, 101361, 101362, 101363, 101365, 101366, 101368, 101369, 101370, 101371, 101374, 101385, 101387, 101390, 101391, 101394, 101395, 101396, 101397, 101398, 101400, 101401, 101403, 101405, 101406, 101407, 101408, 101412, 101413, 101414, 101415, 101417, 101418, 101420, 101422, 101423, 101424, 101425, 101429, 101432, 101433, 101434, 101436, 101438, 101441, 101442, 111111, 123456, 123457, 123462) AND ([R].[ModelId] = '13X08X' OR ([R].[AldocModelCode] IN (11717, 11722, 15716, 15719, 50206, 53700, 54574, 54578, 55343, 56126, 56142, 56151, 56176, 57250, 23060, 23626, 1563, 7897, 32009, 33079, 33579, 50205, 14285, 14286, 14291, 14332, 14370, 14371, 14372, 14373, 14375, 14376, 14377, 14378, 14379, 14380, 14381, 14429, 14437, 14441, 14442, 14443, 14444, 14445, 14446) OR [R].[RecordId] IN (SELECT K.RecordId FROM dbo.OOLKTyp K WITH (NOLOCK) WHERE K.KTyp IN (140976, 140975, 140999, 141000, 800047, 800048, 137721, 137722, 145125, 140997, 140998, 140978, 140977, 800046, 800045, 800050, 134369, 134367, 157636, 157629, 157638, 157630, 56272, 63928, 106928, 58416, 62960, 105960, 58417, 62961, 105961, 64672, 107672, 63202, 106202, 63201, 106201, 113226, 56271, 106929, 106199, 106200, 151632, 158725, 801525, 801524, 801538, 801609, 801610, 802947, 64675, 107675, 64674, 107674, 54615, 54616, 54614, 59533, 59532, 54613, 106938, 106939, 118797, 119907, 119906, 801523, 801522, 801535, 801534, 801608, 801607, 52373, 54609, 56270, 54621, 106936, 106937, 59530, 59531, 119905, 119904, 124247, 124245, 64671, 107671, 64670, 107670, 54507, 54506, 63930, 106930, 106931, 54502, 54503, 106203, 106204, 801527, 801526, 801542, 801543, 801612, 801611, 54620, 59534, 54618, 54617, 59535, 54619, 106940, 106942, 124250, 124248, 54497, 54496, 63932, 106932, 106933, 54500, 54596, 106205, 106206, 801515, 801514, 801533, 801531, 802634, 802633, 54624, 54623, 108509, 108508, 106943, 106944, 59503, 59508, 52142, 54622, 59505, 59502, 59542, 59506, 59509, 59504, 134340, 151428, 801517, 801516, 801539, 801537, 802635, 802636, 802948, 115557, 52385, 52383, 52382, 106945, 106946, 106947, 106948, 59524, 59520, 59525, 59521, 59526, 59522, 59527, 59523, 801519, 801518, 801541, 801540, 54628, 54627, 110728, 110729, 106949, 106950, 59536, 59528, 59537, 59529, 54626, 54625, 59539, 59538, 59540, 59541, 138774, 138775, 138777, 138776, 107744, 107743, 107746, 40081, 58006, 10632, 30173, 39751, 39786, 30170, 30172, 30166, 30169, 30171, 30176, 26864, 30168, 40023, 40040, 30167, 30175, 30174, 26706, 27328, 27408, 27410, 27350, 27390, 58558, 58559, 113543, 113545, 113547, 113546, 113544, 113549, 113548, 113562, 113554, 39901, 39903, 113565, 39907, 113566, 113628, 30179, 51119, 30182, 30180, 30185, 59184, 27337, 51126, 51127, 57726, 57751, 57749, 10771, 10772, 26876, 30178, 30181, 30177, 59185, 20624, 27389, 22329, 27411, 27472, 51120, 51646, 51647, 51648, 52059, 54403, 52062, 52070, 52072, 52074, 52140, 52101, 39999, 54385, 54397, 54398, 54401, 54402, 54408, 54409, 54418, 54419, 54420, 54421, 54424, 52085, 54431, 54430, 54428, 54429, 54545, 54552, 54567, 54577, 64738, 107738, 39749, 42861, 108861, 28831, 39857, 39856, 39897, 39896, 59512, 113542, 51044, 51123, 123373, 123374, 123375, 123376, 123378, 123377, 133675, 135443)))) AND [R].[DeelId] IN ('2932A')) [R] GROUP BY [R].[DeelId], [R].[SoortId]" }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 1, "Size": 10, "Rows": 29, "SizeMax": 150, "SetMax": false, "GetIndexMax": 3, "GetSizeValid": true, "GetIndex": 1, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": { "24261509": 1, "19977732": 1, "15746607": 1, "24860934": 1, "24567186": 1, "18661327": 1, "13470453": 1, "23862959": 1, "25146815": 1, "23040242": 1 }, "Sort": "", "SortDirection": "Ascending", "CountryName": "Deutschland", "CountryId": 276, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }