 setu800 presupuesto 50u800; setu800 presupuestoitem 3u800; setu800 lista 1u800; setu800 ancho 1000; setu800 alto 1000; setu800 cantidad 1u800; setu800 coeficiente 1u800; select v1u800u82evidquoteid v1u800u82evidquoteitem v1u800u82evidquoteprodid v1u800u82evidquoteelementoid v1u800u82evidquotecomposicid v3u800u82eelementoid v3u800u82eelementopm sumu800 calculoprecio ancho alto case lista when 0u800 then v4u800u82eprecioprod00 when 1u800 then v4u800u82eprecioprod01 when 2u800 then v4u800u82eprecioprod02 when 3u800 then v4u800u82eprecioprod03 endu800 v5u800u82emagnitud v2u800u82eoffsetvanoalto v3u800u82eoffsetvanoalto v2u800u82eoffsetvanoancho v3u800u82eoffsetvanoancho v2u800u82ecoefvanoalto v3u800u82ecoefvanoalto v2u800u82ecoefvanoancho v3u800u82ecoefvanoancho v2u800u82evalorelemento v3u800u82evalorelemento coeficiente asu800 vidquoteprecio sumu800 calculoprecio ancho alto case lista when 0u800 then v4u800u82eprecioprod00 when 1u800 then v4u800u82eprecioprod01 when 2u800 then v4u800u82eprecioprod02 when 3u800 then v4u800u82eprecioprod03 endu800 v5u800u82emagnitud v2u800u82eoffsetvanoalto v3u800u82eoffsetvanoalto v2u800u82eoffsetvanoancho v3u800u82eoffsetvanoancho v2u800u82ecoefvanoalto v3u800u82ecoefvanoalto v2u800u82ecoefvanoancho v3u800u82ecoefvanoancho v2u800u82evalorelemento v3u800u82evalorelemento coeficiente cantidad asu800 vidquotepreciop v5u800u82emagnitud from fzggestionu82ecomposicion asu800 v3u800 fzggestionu82ecomposicion asu800 v2u800 fzggestionu82evidquoten3 asu800 v1u800 fzggestionu82eprecios asu800 v4u800 fzggestionu82eproductos asu800 v5u800 where v3u800u82eproductoid v2u800u82eelementoid andu800 v2u800u82eproductoid v1u800u82evidquoteprodid andu800 v2u800u82eelementoid v1u800u82evidquoteelementoid andu800 v2u800u82ecomposicid v1u800u82evidquotecomposicid andu800 v4u800u82eproductoid v3u800u82eelementoid andu800 v5u800u82eproductoid v4u800u82eproductoid andu800 v1u800u82evidquoteprodid v1u800u82evidquoteelementoid andu800 v3u800u82eelementopm 0u800 group byu800 v1u800u82evidquoteelementoid v1u800u82evidquotecomposicid 