fix vista orderstatus (sempre problema con typeId)

This commit is contained in:
zaccaria.majid
2023-06-05 09:07:06 +02:00
parent 7a9d7d7076
commit a19ec9810c
@@ -13,7 +13,7 @@ AS
WITH cteDoorGroup AS
(
SELECT OrderId
,COUNT(DISTINCT TypeId) AS NumType
,COUNT(DISTINCT DoorIdParent) AS NumType
,SUM(Quantity) AS NumDoors
,SUM(Quantity*UnitCost) AS TotCost
FROM Door