on 06-28-2013 10:52 PM
Buenas tardes,
Me podría ayudar con esta brusquedad formateada lo que necesito realizar es que me compare la fecha actual contra la de sistema contra fecha de contabilización si el usuario coloca un fecha anterior a la de sap envió una solicitud de autorización.
Este es mi avance.
SELECT TOP 1 'TRUE' FROM OINV T0
where DATEDIFF(day,$[$10.0], getdate()) < -1
Saludos,
Antonio Patiño
Buenas noches.
Prueba lo siguiente.
IF CAST((SELECT $[OINV.DocDate]) AS DATE)<>CAST(GETDATE() AS DATE)
BEGIN
SELECT DISTINCT 'TRUE'
END
Saludos
FLR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
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.