Logo/Veri Düzeltmeleri/Malzeme Kartı Brüt Miktar.sql
Uğur Özpınar 4ab42eed54
Create Malzeme Kartı Brüt Miktar.sql
Malzeme kartının net 1 kilosunun brüt kaç kg geldiğini belirtmek için kullandığım sorgu
2021-04-20 17:15:39 +03:00

7 lines
275 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Malzeme kartının net 1 kilosunun brüt kaç kg geldiğini belirtmek için kullandığım sorgu
UPDATE un
SET un.GROSSWEIGHT=<BrutKg>
FROM LG_212_ITMUNITA un
LEFT JOIN LG_212_ITEMS inv ON un.ITEMREF = inv.LOGICALREF AND un.UNITLINEREF=25
WHERE inv.CODE='MALZEMEKODU'