on 07-27-2010 3:09 PM
Hallo Experten,
kennt jem. einen Weg, wie man das Anlegen eines manuellen Wareneingangs ohne Preis verhindern kann? In einem kontinuierlich bestandsgeführten System dürfte es doch eigentlich gar nicht möglich sein oder habe ich etwas falsch eingestellt?
Für gute Tipps bin ich sehr dankbar.
Viele Grüße
Lars
Hallo Lars,
das ist sehr einfach mit einer Transaction-Notification zu implementieren. Reines SQL, kein AddOn o.ä. notwendig.
so ala:
If @object_type = '13' and (@transaction_type = 'A' or @transaction_type = 'U')
begin
if (select Count(*) from INV1 T0
WHERE T0.Price=0 and t1.docentry= @list_of_cols_val_tab_del) > 0
begin
set @error = -5001
set @error_message = 'Rechnungszeile ohne Preis nicht erlaubt!'
end
end
Wenn Einstandspreise (=Artikelkosten) vorhanden sind... mag es sein, das auch bei kont.Bestandsführung das geht.
hdh
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.