TArticle.Peremption
redirigé depuis TArticle.SetPeremption
| TArticle = class (TObject) | Interface de TArticle | Exemples de TArticle |
Lecture/Ecriture de la propriété péremption d'un article
Syntaxe
property Peremption: Boolean read GetPeremption write SetPeremption
Remarques
True si l'article est périssable
False si l'article n'est pas périssable
Exemples
uses QuBESStock;
var article1 := TArticle.Connect('article1');
Print(article1.Peremption); // Affiche si l'article est périssable ou non
article1.Peremption := True; // Rend l'article périssable
var article1 := TArticle.Connect('article1');
Print(article1.Peremption); // Affiche si l'article est périssable ou non
article1.Peremption := True; // Rend l'article périssable