markphillipscpa
IS-IT--Management
Can a (database) command effect other joins in a report? I added a command to a report, and then other left outer joins in the report return no information.
The command is not the primary table of the report. Command is left outer -ed to the primary table.
The other left outer tables are not included in the command.
the offending command is :
SELECT DISTINCT "POLINESRC"."COMPANY", "POLINESRC"."PO_NUMBER",
"POLINESRC"."PO_RELEASE", "POLINESRC"."PO_CODE", "REQHEADER"
."REQ_NUMBER", "REQHEADER"."REQUESTER", "REQHEADER".
"PO_USER_FLD_3", "REQHEADER"."ACTIVITY", "REQHEADER".
"ACCT_UNIT"
FROM "PRODUSER"."POLINESRC" "POLINESRC" INNER JOIN "PRODUSER"."REQHEADER" "REQHEADER" ON ("POLINESRC"."COMPANY"="REQHEADER"."COMPANY") AND ("POLINESRC"."SOURCE_DOC_N"="REQHEADER"."REQ_NUMBER")
The command is not the primary table of the report. Command is left outer -ed to the primary table.
The other left outer tables are not included in the command.
the offending command is :
SELECT DISTINCT "POLINESRC"."COMPANY", "POLINESRC"."PO_NUMBER",
"POLINESRC"."PO_RELEASE", "POLINESRC"."PO_CODE", "REQHEADER"
."REQ_NUMBER", "REQHEADER"."REQUESTER", "REQHEADER".
"PO_USER_FLD_3", "REQHEADER"."ACTIVITY", "REQHEADER".
"ACCT_UNIT"
FROM "PRODUSER"."POLINESRC" "POLINESRC" INNER JOIN "PRODUSER"."REQHEADER" "REQHEADER" ON ("POLINESRC"."COMPANY"="REQHEADER"."COMPANY") AND ("POLINESRC"."SOURCE_DOC_N"="REQHEADER"."REQ_NUMBER")