Skocz do zawartości

Aplikacja Przykładowa Cenniki brak definicji

Polecane posty

Przy próbie kompilacji aplikacji przykładowej z SDK (PrzykladyCennki) mam błąd braku definicji w interfejsie ICennik:


 

Cytat

 

1>E:\39.2.0\Przyklady\PrzykladyCenniki\PrzykladyCenniki\ObslugaCennikow.cs(273,33,273,69): error CS1061: 'Cennik' does not contain a definition for 'DomyslnaFunkcjaWyliczaniaCenyBazowej' and no accessible extension method 'DomyslnaFunkcjaWyliczaniaCenyBazowej' accepting a first argument of type 'Cennik' could be found (are you missing a using directive or an assembly reference?)
1>E:\39.2.0\Przyklady\PrzykladyCenniki\PrzykladyCenniki\ObslugaCennikow.cs(274,33,274,47): error CS1061: 'Cennik' does not contain a definition for 'DomyslnyNarzut' and no accessible extension method 'DomyslnyNarzut' accepting a first argument of type 'Cennik' could be found (are you missing a using directive or an assembly reference?)
1>E:\39.2.0\Przyklady\PrzykladyCenniki\PrzykladyCenniki\ObslugaCennikow.cs(275,33,275,62): error CS1061: 'Cennik' does not contain a definition for 'DomyslneWyliczajPozycjeWedlug' and no accessible extension method 'DomyslneWyliczajPozycjeWedlug' accepting a first argument of type 'Cennik' could be found (are you missing a using directive or an assembly reference?)
1>E:\39.2.0\Przyklady\PrzykladyCenniki\PrzykladyCenniki\ObslugaCennikow.cs(276,33,276,63): error CS1061: 'Cennik' does not contain a definition for 'DomyslnaFunkcjaWyrownywaniaCen' and no accessible extension method 'DomyslnaFunkcjaWyrownywaniaCen' accepting a first argument of type 'Cennik' could be found (are you missing a using directive or an assembly reference?)
1>E:\39.2.0\Przyklady\PrzykladyCenniki\PrzykladyCenniki\ObslugaCennikow.cs(277,33,277,56): error CS1061: 'Cennik' does not contain a definition for 'DomyslnyZnakKorektyCeny' and no accessible extension method 'DomyslnyZnakKorektyCeny' accepting a first argument of type 'Cennik' could be found (are you missing a using directive or an assembly reference?)
1>E:\39.2.0\Przyklady\PrzykladyCenniki\PrzykladyCenniki\ObslugaCennikow.cs(278,33,278,52): error CS1061: 'Cennik' does not contain a definition for 'DomyslnaKorektaCeny' and no accessible extension method 'DomyslnaKorektaCeny' accepting a first argument of type 'Cennik' could be found (are you missing a using directive or an assembly reference?)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


 

 

Czy mogę prosić o podpowiedź czy należy dodać jakąś referencję do tego projektu czy chodzi o coś innego?

 

Link to postu
W dniu 2.04.2022 o 11:43, Radomił Ząbik napisał:
using InsERT.Moria.CennikiICeny; 

obraz.png.368e1cff766c39111aaa65f62bbea64c.png

 

Tak jest również w przykładzie. 

 

5 minut temu, Wojciech Szopiński napisał:

Niestety po zmianach związanych z wprowadzeniem zestawów cenowych nie zaktualizowaliśmy przykładów w SDK. Uzupełnimy ten brak przy najbliższej okazji.

W jaki sposób aktualnie należy prawidłowo ustawić property "DomyslneWyliczajPozycjeWedlug"?

Link to postu
×
×
  • Dodaj nową pozycję...