d SELECT wfm_artykuly.id_artykulu,nazwa_artykulu,jednostka,stawka_vat,indeks_katalogowy as indeks_artykulu,id_ekategorii,minimalna_ilosc,stan_minimalny,najblizsza_dostawa FROM wfm_artykuly,wfm_ekategorie WHERE wfm_artykuly.id_ekategorii=wfm_ekategorie.id_kategorii AND (id_ekategorii='7' OR id_ekategorii IN (7146,7161,7163,7016,7018,7020,7010,7023,7012,7074,7014,7080,7002,7004,7006,7159,7162,7164,7130,7017,7019,7009,7021,7011,7071,7013,7077,7015,7001,7003,7005,7008,7) OR wfm_artykuly.id_artykulu IN (SELECT id_artykulu FROM wfm_ekategorie_powielanie WHERE id_kategorii='7'))
AND wfm_artykuly.id_artykulu NOT IN
(
SELECT id_artykulu FROM wfm_artykuly_wykluczone WHERE
(id_wykluczony=0 AND kontrahent_grupa='0') OR
(id_wykluczony='1' AND kontrahent_grupa='1') OR
(id_wykluczony='1' AND kontrahent_grupa='2')
)
AND (wfm_artykuly.czy_widoczny='1')
AND wfm_artykuly.id_artykulu IN (835,918,919,1114,1206,1989,1990,2016,2054,2055,2056,2062,2063,2065,5818,5817,5816,5814,5812,5811,5809,5805,5754,5753,5262,5261,5260,5259,5258,5257,5256,5255,5254,5253,5252,5251,5249,5247,5242,4468,4460,4459,4458,4457,6278,6515,6412,6457,6516,6537,6799,6594,6665,6672,6673,6674,6675,6681,6802,6718,6719,6792,6800,6804,6862,6863,7001,7076,7110,7188,7189,7200,7201,7203,7228,7229,7247,7245,7248,7243,7405,7407,7408,7409,7440,7436,7437,8346,7448,7427,7429,7430,7439,7443,7452,7454,7463,7471,7493,7494,7496,7497,7501,7503,7504,7505,7507,7530,8191,7557,7563,7565,7566,7568,7570,8215,7573,7585,7586,7592,7605,7608,7617,7623,7625,7630,7629,7628,7632,7633,7634,7636,7640,7642,7701,7702,7703,7704,7706,7707,7766,7771,8139,7774,7775,7776,7778,7795,7797,8724,7874,7877,7880,7885,7895,7896,7897,7901,8197,8159,8146,8141,8195,8160,7989,7990,7991,7993,7994,7995,7996,7997,7998,7999,8144,8161,8158,8054,8055,8056,8057,8058,8059,8157,8809,8065,8068,8079,8102,8109,8194,8192,8372,8198,8199,8264,8200,8201,8202,8203,8204,8205,8206,8207,8208,8540,8345,8218,8221,8222,8227,8228,8230,8231,8232,8233,8234,8238,8243,8244,8247,8256,8257,8259,8263,8265,8278,8280,8281,8284,8285,8286,8287,8293,8297,8298,8299,8300,8301,8303,8305,8311,8312,8313,8314,8315,8320,8321,8327,8329,8330,8333,8334,8347,8348,8353,8354,8355,8356,8357,8358,8359,8360,8363,8364,8365,8366,8367,8368,8752,8823,8810,8380,8383,8404,8405,8407,8410,8411,8412,8415,8422,8425,8431,8434,8439,8441,8449,8451,8452,8453,8454,8455,8458,8460,8461,8463,8483,8486,8487,8488,8489,8490,8501,8506,8507,8508,8509,8512,8513,8518,8541,8553,8576,8577,8581,8582,8585,8587,8589,8590,8591,8592,8593,8595,8596,8597,8598,8599,8600,8601,8602,8604,8605,8606,8607,8608,8609,8610,8611,8612,8613,8614,8615,8708,8616,8620,8621,8627,8629,8630,8632,8633,8635,8636,8638,8644,8645,8646,8647,8650,8651,8652,8653,8654,8655,8656,8657,8658,8659,8660,8661,8669,8672,8674,8675,8676,8808,8691,8692,8709,8710,8711,8714,8715,8716,8717,8718,8719,8729,8731,8732,8733,8734,8735,8743,8807,8746,8747,8748,8749,8750,8751,8753,8754,8755,8756,8757,8758,8759,8760,8761,8762,8763,8764,8765,8766,8767,8768,8769,8770,8771,8778,8779,8780,8781,8782,8783,8784,8785,8786,8787,8788,8789,8790,8791,8792,8793,8794,8795,8796,8797,8798,8799,8800,8801,8802,8803,8804,8805,8814,8815,8816,8817,8818,8819,8820,8821,8822,8825,8901,8962,8963,8964,9086,9088,9089,9090) ORDER BY nazwa_kategorii ASC, nazwa_artykulu ASC LIMIT 0,16
Zasady dotyczące cookies zamknij Korzystając z naszej witryny wyrażasz zgodę na używanie plików cookies, zgodnie z aktualnymi ustawieniami przeglądarki. W każdym momencie można dokonać zmiany ustawień.