Éventuellement en vigueur
BMW 3 serie (E90) 318i 16V
Usagé Sonde lambda
€ 19,50 Marge
Peut être commandé directement
Année de construction2007 |Code classificationB1 |Type de moteurEssence |Cylindrée1 995 cc |Code moteurN46B20B |Nombre de fils4 |LocalitéDerrière |Article numéro753028501Particularité ORIGINAL BMW PART
Garantie 3 mois
Fournisseur Schaap & Bron
Éventuellement en vigueur
BMW 3 serie Touring (G21) 320e xDrive 2.0 TwinPower Turbo 16V
Usagé Sonde lambda
€ 49,99 Marge
Peut être commandé directement
Année de construction06-2022 |Code classificationA2 |Type de moteurEssence, Electrique |Cylindrée1 998 cc |Code moteurB48B20A |Nombre de fils5 |LocalitéDevant |Relevé du compteur kilométrique78 064 km |Article numéro11788659971Particularité Used Lambda probe in good condition
Garantie 3 mois
Fournisseur Venema Autoparts
Éventuellement en vigueur
BMW D3 (F30) 330d 3.0 24V
Usagé Sonde lambda
€ 75,00 Marge
Peut être commandé directement
Année de construction2013 |Code classificationA2 |Type de moteurEssence |Cylindrée1 997 cc |Code moteurN26 |Nombre de fils5 |LocalitéDevant |Relevé du compteur kilométrique145 513 km |Article numéro0258027029Particularité VOIR PHOTO
Garantie 3 mois
Fournisseur Autodemontage van de Laar
Éventuellement en vigueur
BMW 3 serie (E90) 318i 16V
Usagé Sonde lambda
€ 96,80 Prix TTC
Peut être commandé directement
Année de construction2010 |Code classificationA2 |Type de moteurEssence |Cylindrée1 995 cc |Code moteurN43B20A |Nombre de fils5 |LocalitéDerrière |Article numéroA10116621KGarantie 3 mois
Fournisseur Autosloperij de Turk
Éventuellement en vigueur
BMW 3 serie (E90) 320Si 16V
Usagé Sonde lambda
€ 30,00 Marge
Peut être commandé directement
Année de construction2006 |Code classificationC1 |Type de moteurEssence Multipoint Injection, Essence, Essence Centrale Injection |Cylindrée1 997 cc |Code moteurN45B20A |Nombre de fils4 |LocalitéDerrière |Relevé du compteur kilométrique133 500 km |Article numéro7530285Particularité achterste lambda sonde van 1e en 4e cilinder
Garantie 3 mois
Fournisseur Gebr Opdam B.V.
Éventuellement en vigueur
BMW 3 serie Touring (G21) 320i 2.0 TwinPower Turbo 16V
Usagé Sonde lambda
€ 95,00 Marge
Peut être commandé directement
Année de construction12-2019 |Code classificationA1 |Type de moteurTurbo Essence Multipoint Injection, Essence, Essence Injection |Cylindrée1 998 cc |Code moteurB48B20A |Nombre de fils6 |LocalitéDevant |Relevé du compteur kilométrique34 794 km |Article numéro11788659971Particularité Testé pour la fonctionnalité et en très bon état. y compris la garantie d'installation et de retrait.
Garantie 12 mois
Fournisseur Automaterialen Ronald Morien B.V.
Éventuellement en vigueur
BMW 3 serie Touring (E91) 320d 16V Corporate Lease
Usagé Sonde lambda
€ 20,00 Marge
Peut être commandé directement
Année de construction2006 |Code classificationA2 |Type de moteurTurbo Diesel |Cylindrée1 995 cc |Code moteurM47N20 |Nombre de fils6 |LocalitéDevant |Relevé du compteur kilométrique156 798 km |Article numéro779160001Garantie 3 mois
Fournisseur Rooie Ben autodemontage
Éventuellement en vigueur
BMW 3 serie Gran Turismo (F34) 320i 2.0 16V
Usagé Sonde lambda
€ 15,00 Marge
Peut être commandé directement
Année de construction06-2019 |Code classificationB1 |Type de moteurTurbo Essence Multipoint Injection |Cylindrée1 998 cc |Code moteurB48B20A |Nombre de fils4 |LocalitéDerrière |Relevé du compteur kilométrique48 732 km |Article numéro11787589121Particularité word geplaatst achter de kat. heeft een 4 pins stekker
Garantie 3 mois
Fournisseur Autodemontagebedrijf De Ooyevaar
Éventuellement en vigueur
BMW 3 serie Gran Turismo (F34) 320d 2.0 16V
Usagé Sonde lambda
€ 42,00 Marge
Peut être commandé directement
Année de construction2015 |Code classificationB2 |Type de moteurTurbo Diesel Common rail, Diesel Common rail, Diesel |Cylindrée1 995 cc |Code moteurB47D20A |Nombre de fils4 |LocalitéDevant |Relevé du compteur kilométrique124 km |Article numéro857023001Garantie 3 mois
Fournisseur Autoparts Pater
Éventuellement en vigueur
BMW 3 serie (E46/4) 330i 24V
Usagé Sonde lambda
€ 10,00 Marge
Peut être commandé directement
Année de construction2001 |Code classificationC1 |Type de moteurEssence |Cylindrée2 979 cc |Code moteurM54B30 |Nombre de fils4 |LocalitéDevant |Relevé du compteur kilométrique231 384 km |Article numéro0258003477Particularité In goede staat, voor de katalysator. 4-polige stekker
Garantie 3 mois
Fournisseur Autodemontagebedrijf Otte
PreLoad
{ "Data": { "SessionId": 1, "Match": null, "Timestamp": "0001-01-01T00:00:00", "UrlRawCurrent": "/stock-de-pieces-auto/entrepot/mearque/bmw/modele/320/piece/sonde-lambda/", "UrlAbsoluteCurrent": "/url_voorraad/stock-de-pieces-auto/entrepot/mearque/bmw/modele/320/piece/sonde-lambda/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/stock-de-pieces-auto/entrepot/mearque/bmw/modele/320/piece/sonde-lambda/" ], "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": "France", "CountryId": 250, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }
All sessions
LoadComplete
{ "Data": { "SessionId": 1, "Match": null, "Timestamp": "0001-01-01T00:00:00", "UrlRawCurrent": "/stock-de-pieces-auto/entrepot/mearque/bmw/modele/320/piece/sonde-lambda/", "UrlAbsoluteCurrent": "/url_voorraad/stock-de-pieces-auto/entrepot/mearque/bmw/modele/320/piece/sonde-lambda/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/stock-de-pieces-auto/entrepot/mearque/bmw/modele/320/piece/sonde-lambda/" ], "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, 5, xShippingState) END AS [xShopState], xShippingState AS [xShippingState] FROM (SELECT [R].[RecordId] FROM dbo.[OOLInternet] [R] WITH (NOLOCK) WHERE ([R].[ModelId] = '01A09A' OR ([R].[AldocModelCode] IN (63390, 62002, 50425, 47820, 46248, 34255, 34147, 34197, 32941, 33290, 33393, 33291, 33536, 12207, 7845, 19728, 31405, 31912, 31913, 32317, 32399, 32739, 32740, 32741, 32829, 43777, 43779, 51108, 51230, 51461, 51480, 34583, 34584, 34585, 34586, 38014, 38017, 38019, 40008, 41736, 42242, 42245, 42247, 42250, 42260, 43769, 43771, 43773, 45557, 45561) OR [R].[RecordId] IN (SELECT K.RecordId FROM dbo.OOLKTyp K WITH (NOLOCK) WHERE K.KTyp IN (141494, 141502, 141501, 141531, 141529, 141989, 141988, 142076, 142483, 143457, 143458, 142481, 142482, 142485, 148050, 148049, 148053, 802380, 803190, 136499, 136500, 136488, 136489, 136490, 136491, 136492, 136493, 136494, 136496, 136495, 136497, 136498, 137895, 139201, 139199, 139198, 139200, 139216, 139469, 139468, 139471, 141499, 141496, 141498, 141528, 141527, 141794, 141793, 141987, 141986, 142480, 142486, 143769, 148052, 148051, 801263, 801264, 801265, 803189, 133248, 135053, 134016, 133249, 135058, 135919, 133250, 133994, 133993, 134366, 140967, 134365, 135917, 135921, 136304, 136302, 136303, 137647, 137646, 139184, 139186, 139189, 139192, 139215, 139467, 139466, 139470, 140024, 142479, 58796, 58799, 58800, 58797, 58798, 64879, 107879, 116652, 111115, 42372, 116654, 53390, 60846, 100846, 116655, 59803, 59801, 59802, 64884, 107884, 59804, 53384, 59800, 116653, 64883, 107883, 60827, 100827, 60818, 100818, 117291, 117290, 60828, 100828, 64881, 107881, 113455, 37874, 113454, 37873, 113453, 120266, 126168, 48772, 120265, 120267, 120542, 133014, 120518, 48822, 120517, 126169, 133015, 120268, 137815, 59407, 55124, 55126, 55127, 55125, 55123, 59221, 55128, 60848, 100848, 58965, 42364, 116646, 59404, 40724, 117286, 117289, 60847, 100847, 59406, 59403, 59220, 64874, 107874, 64873, 107873, 59402, 42363, 116645, 59219, 116644, 59799, 64875, 107875, 64876, 107876, 60708, 100708, 61938, 116013, 61937, 116014, 37862, 113440, 113444, 37868, 113448, 37870, 113450, 113449, 117293, 113451, 113447, 117294, 113446, 37865, 113445, 118078, 125172, 125171, 136575, 136576, 136577, 136579, 57293, 12470, 113407, 59223, 27670, 56020, 59148, 132310, 12471, 12472, 12473, 27674, 57472, 59409, 60885, 100885, 53234, 27765, 53235, 100839, 57294, 59149, 57560, 57561, 58949, 57295, 64867, 107867, 64868, 107868, 117281, 117282, 59222, 116643, 59797, 64869, 107869, 64870, 107870, 53089, 60819, 100819, 60839, 117345, 37851, 113405, 116010, 113409, 113410, 117344, 116012, 37861, 113436, 37860, 113434, 37858, 113430, 113432, 37852, 113408, 40743, 117341, 117343, 35260, 118192, 118077, 40741, 129115, 126970, 35692, 19921, 19567, 19920, 19919, 19835, 19930, 19931, 19932, 20683, 20684, 22534, 22543, 22533, 22939, 25483, 25484, 55565, 25578, 28032, 55944, 35338, 118548, 52425, 53615, 30866, 30353, 31039, 30867, 123167, 53146, 123168, 31040, 25485, 31038, 123175, 123171, 12475, 54944, 31037, 33392, 34768, 33391, 123163, 123166, 53148, 118827, 118826, 123161, 52830, 28843, 128906, 58079, 105985, 123121, 123176, 123162, 123164, 123165, 133054, 58077, 18449, 18451, 18452, 18450, 18968, 18966, 18967, 19101, 19102, 19103, 19496, 19837, 19998, 19833, 19953, 33573, 25467, 25470, 25466, 25473, 25472, 25471, 26589, 25468, 25469, 25465, 27555, 30905, 28018, 124777, 30864, 121998, 16021, 55937, 35412, 118622, 5768, 30349, 11399, 30868, 121918, 31028, 31029, 31030, 31031, 33386, 33387, 33396, 33388, 28396, 58058, 117783, 54518, 105986, 119903, 117778, 123156, 123157, 133046, 18969, 18761, 18760, 18759, 18758, 19298, 19104, 19105, 19106, 19299, 19836, 19995, 19834, 19954, 25477, 25476, 25478, 143242, 25475, 25479, 25480, 25481, 10780, 25474, 158607, 25482, 28020, 34767, 124776, 30910, 30865, 123190, 3980, 123183, 30869, 30871, 31035, 34946, 112302, 31032, 31033, 31034, 122020, 33389, 33390, 11145, 123188, 123185, 122021, 3536, 55899, 123184, 123187, 58078, 105991, 105990, 123191, 133084, 133087, 9092, 9091, 8964, 8963, 9045, 11042, 13874, 14922, 14802, 14774, 15452, 15454, 15456, 16198, 16315, 16201, 16325, 17351, 17352, 18465, 15894, 18822, 55607, 123214, 11368, 10502, 10503, 11400, 14921, 30325, 14776, 15448, 15449, 16199, 17206, 17440, 17282, 15895, 18823, 19951, 124765, 123212, 123213, 14397, 16327, 14926, 15635, 15451, 15450, 18288, 19301, 19334, 46023, 123210, 126010, 12139, 11319, 12141, 12140, 14185, 14923, 14803, 14773, 15453, 15455, 15457, 16326, 16742, 16202, 16741, 17353, 17354, 18466, 18824, 54973, 35654, 15924, 15925, 16189, 16190, 17350, 26863, 27309, 30911, 28847, 59417, 22957, 22537, 22538, 22539, 25486, 22535, 26590, 25487, 22536, 53145, 25583, 59421, 35343, 118553, 59423, 25582, 30863, 30354, 121102, 12476, 12491, 33393, 121100, 123159, 121101, 52885, 28524, 123160, 801430, 11, 12, 14, 15, 17, 19, 13, 16, 18, 20, 6147, 23, 30, 34, 42, 43, 21, 27, 28, 36, 40, 32, 37, 35, 18153, 7049, 6148, 33, 31, 22, 6145, 4651, 24, 29, 8286, 39, 38, 41, 49, 51, 54, 59, 62, 52, 63, 3818, 4627, 50, 4650, 4628, 5112, 14602, 5102, 9859, 35776, 46, 44, 47, 48, 45, 219, 14403, 14795, 4623, 4624, 4625, 4626, 5101, 13259, 5100, 299, 300, 129633, 298, 127095, 8884, 801429, 301, 30305, 121337, 31151, 132440, 3728, 105992, 302, 303, 4630, 3845, 5114, 5095, 51947, 35769, 124056, 3825, 3811, 5103, 3824, 8784, 9201, 11369, 3842, 5098, 53, 55, 61, 3726, 5099, 4629, 5113, 4733, 35772, 35773, 1458, 1456, 50878, 60934, 100934, 60935, 100935, 127343, 127344, 60932, 100932, 60933, 100933, 127342, 127341, 60945, 100945, 60946, 100946, 60944, 100944, 11667, 12142, 16354, 17598, 13999, 17600, 14804, 16355, 17599, 11640, 11643, 11651, 11654, 11652, 11647, 11630, 11659, 11660, 11661, 11662, 11663, 11665, 11664, 15933, 17601, 50880, 50881, 1195, 1204, 12270, 12271, 1206, 1301, 12267, 1337, 1328, 1335, 12268, 12269, 3569, 1431, 50872)))) AND [R].[DeelId] IN ('8750X') 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, 101444, 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], 250, 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)) [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 (5, 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 (5, 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] = 5 WHERE [T2].[ModelId] IN (SELECT [T].[ModelId] FROM [Basis].dbo.[AldocModelKoppelingen] [T] WHERE [T].[ModelCode] = [R].[AldocModelCode]) AND [T2].[LanguageId] = 5 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] = 5), '') + '|' + ISNULL((SELECT [T].[Omschrijving] FROM [Basis].dbo.[AldocTypeOmschrijvingen] [T] WHERE [T].[TypeId] = [R].[AldocTypeId] AND [T].[LanguageId] = 5), '')) 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], STUFF((SELECT '|' + [XVT].[NaamLang] FROM dbo.[OOLVelden] [XOV] LEFT JOIN [Basis].dbo.[AutomateVeldWaardenTranslated] [XVT] ON [XVT].[VeldId] = [XOV].[VeldId] AND [XVT].[LanguageId] = 5 AND [XVT].[Waarde] = [XOV].[Waarde] WHERE [XOV].[RecordId] = [R].[RecordId] AND [XOV].[VeldId] = 17 ORDER BY [XOV].[OrderId] FOR XML PATH('')), 1, 1, '') AS [17], CASE WHEN [102] = 'E' THEN 'E85' WHEN [102] = 'L' THEN 'G.P.L.' WHEN [102] = 'G' THEN 'G3 G.P.L.' WHEN [102] = 'C' THEN 'Gaz naturel ' WHEN [102] = 'H' THEN 'Hybride' WHEN ISNULL([102], '') = '' THEN NULL ELSE [102] END AS [102], TRY_CAST([18] AS INT) AS [18], [R].[Motorcodes] AS [108], TRY_CAST([166] AS INT) AS [166], CASE WHEN [105] = 'A' THEN 'Derrière' WHEN [105] = 'V' THEN 'Devant ' WHEN ISNULL([105], '') = '' THEN NULL ELSE [105] END AS [105], (SELECT TOP 1 [XOV].[Waarde] FROM dbo.[OOLVelden] [XOV] WHERE [XOV].[RecordId] = [R].[RecordId] AND [XOV].[VeldId] = 241 ORDER BY [XOV].[OrderId]) AS [241], TRY_CAST([26] AS INT) AS [26], [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].[Motorcodes], [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, 102, 18, 166, 105, 241, 26, 25)) [R] PIVOT (MAX([Waarde]) FOR [VeldId] IN ([184], [190], [135], [37], [102], [18], [166], [105], [241], [26], [25])) AS [R]) [R] LEFT JOIN [Basis].dbo.[AutomateModellenTranslated] [MOT] ON [MOT].[ModelId] = [R].[ModelID] AND [MOT].[LanguageId] = 5 AND [MOT].[Synoniem] = 0 LEFT JOIN [Basis].dbo.[AutomateMerkenTranslated] [MET] ON [MET].[MerkId] = [MOT].[MerkId] AND [MET].[LanguageId] = 5 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,17,102,105,241,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,18,166,26)) [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]" }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 1, "Size": 10, "Rows": 1007, "SizeMax": 150, "SetMax": false, "GetIndexMax": 101, "GetSizeValid": true, "GetIndex": 1, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": { "16743425": 1, "23037680": 1, "18102628": 1, "25539340": 1, "17264969": 1, "18227340": 1, "11984031": 1, "16344385": 1, "6066211": 1, "24787228": 1 }, "Sort": "", "SortDirection": "Ascending", "CountryName": "France", "CountryId": 250, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }