Explorar el Código

fix cron sql

master
Daniel Covington hace 1 semana
padre
commit
b1d67ee25d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      scripts/import-printstream.php

+ 1
- 1
scripts/import-printstream.php Ver fichero

@@ -143,7 +143,7 @@ WHERE ISNULL(s.[COMPLETED],'') <> 'Y'
// Notes query — fetches all MDP notes for a list of QuoteNo values in one round-trip.
// PHP concatenates lines per QuoteNo. Token placeholder: __QUOTENOS__
$psNotesSqlBase = "
SELECT n.[RELATED TO] AS QuoteNo, ISNULL(n.[NOTE],'') AS NoteLine
SELECT n.[RELATED TO] AS QuoteNo, ISNULL(CAST(n.[NOTE] AS VARCHAR(4000)),'') AS NoteLine
FROM dbo.NOTES AS n
WHERE n.[MODULE] = 'MDP'
AND n.[RELATED TO] IN (__QUOTENOS__)


Cargando…
Cancelar
Guardar

Powered by TurnKey Linux.