on 11-13-2012 1:23 PM
Estimados:
Necesito que me puedan ayudar. Estoy en una implementación de SAP BO y una de las reglas de autorización que maneja mi cliente es entre montos. Por ejemplo: existe una autorización para montos menores que 1 MM luego existe una autorización mayor a 2 MM los cuales funcionan perfectamente pero el problema se presenta en un tipo de aprobacion entre 1MM y 2 MM. Alguien me puede dar alguna idea, Gracias.
Atentamente,
Sandra Colarte A.
Consultora SAP BO
TFC Soluciones.
Puedes hacerlo con un IF
Ejemplo:
DECLARE
@sSQL NVARCHAR(MAX)
IF $[OINV.DocTotal]<=1000000
SET @sSQL ='query autorizacion1'
IF $[OINV.DocTotal]>1000000 and $[OINV.DocTotal]<=2000000
SET @sSQL ='query autorizacion2'
IF $[OINV.DocTotal]>2000000
SET @sSQL ='query autorizacion3'
EXEC(@sSQL)
Saludos
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.