on 04-20-2011 5:01 PM
Colegas,
Cuál es la función para Redondear en SAP con SQL??
Saludos!!
Round (campo, decimales)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
De casualidad sabes cómo hacer una búsqueda formateada en donde haga el siguiente proceso:
con el precion unitario aumentarle el IVA, es decir (precio unitario *1.16),
despúes redondearlo, es decir ROUND((precio unitario *1.16), 0.50)
y luego quitarle el IVA para que me de el precio unitario de nuevo, es decir ROUND((precio unitario *1.16), 0.50)/1.16
tengo la siguiente consulta pero me marca error:
SELECT T0.[ItemCode], T0.[Price], ROUND((T0.[Price]*1.16),0.50)/1.16
FROM ITM1
T0 WHERE T0.[PriceList] = '1' and T0.Price = $[INV1.PriceBefDi]
Saludos!
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.