Hi,
I want to display the following information in the sub-report which is linked to the Main Report on Batch_ID.
Mat_ID Request_ID
FM12 123
FM34 234
FM56 345
249
934
But the report only shows the following:
Mat_ID Request_ID
FM12 123
FM34 234
FM56 345
The tables in the sub-report are linked as follows:
MM_GENEALOGY_LG CL_RQST_BTCH_LINK_ST CL_REQUEST_ST
MATERIAL_ID BATCH_ID REQUEST_ID
LOT_ID REQUEST_ID REQUEST_TYPE
BATCH_ID
1)The MM_GENEALOGY_LG.lot_id is linked to CL_RQST_BTCH_LINK_ST by left outer join.
2)The CL_RQST_BTCH_LINK_ST.request_id is linked to CL_REQUEST_ST.request_id by equal join.
I had thought that the left outer join at step 1) above should give the desired result but it did not. The selection query resulting from above is given below:
SELECT
MM_GENEALOGY_LG."BATCH_ID", MM_GENEALOGY_LG."MATERIAL_ID", MM_GENEALOGY_LG."LOT_ID",
CL_REQUEST_ST."REQUEST_ID"
FROM
"POMS"."MM_GENEALOGY_LG" MM_GENEALOGY_LG,
"POMS"."CL_RQST_BTCH_LINK_ST" CL_RQST_BTCH_LINK_ST,
"POMS"."CL_REQUEST_ST" CL_REQUEST_ST
WHERE
MM_GENEALOGY_LG."LOT_ID" = CL_RQST_BTCH_LINK_ST."BATCH_ID" (+) AND
CL_RQST_BTCH_LINK_ST."REQUEST_ID" = CL_REQUEST_ST."REQUEST_ID" AND
MM_GENEALOGY_LG."BATCH_ID" = 'H04727'
ORDER BY
MM_GENEALOGY_LG."BOM_REF_NO" ASC
Anybody can suggest any other method to achieve the result or is it that I'm expecting too much from CR 8.5.
Thanks
Tek
I want to display the following information in the sub-report which is linked to the Main Report on Batch_ID.
Mat_ID Request_ID
FM12 123
FM34 234
FM56 345
249
934
But the report only shows the following:
Mat_ID Request_ID
FM12 123
FM34 234
FM56 345
The tables in the sub-report are linked as follows:
MM_GENEALOGY_LG CL_RQST_BTCH_LINK_ST CL_REQUEST_ST
MATERIAL_ID BATCH_ID REQUEST_ID
LOT_ID REQUEST_ID REQUEST_TYPE
BATCH_ID
1)The MM_GENEALOGY_LG.lot_id is linked to CL_RQST_BTCH_LINK_ST by left outer join.
2)The CL_RQST_BTCH_LINK_ST.request_id is linked to CL_REQUEST_ST.request_id by equal join.
I had thought that the left outer join at step 1) above should give the desired result but it did not. The selection query resulting from above is given below:
SELECT
MM_GENEALOGY_LG."BATCH_ID", MM_GENEALOGY_LG."MATERIAL_ID", MM_GENEALOGY_LG."LOT_ID",
CL_REQUEST_ST."REQUEST_ID"
FROM
"POMS"."MM_GENEALOGY_LG" MM_GENEALOGY_LG,
"POMS"."CL_RQST_BTCH_LINK_ST" CL_RQST_BTCH_LINK_ST,
"POMS"."CL_REQUEST_ST" CL_REQUEST_ST
WHERE
MM_GENEALOGY_LG."LOT_ID" = CL_RQST_BTCH_LINK_ST."BATCH_ID" (+) AND
CL_RQST_BTCH_LINK_ST."REQUEST_ID" = CL_REQUEST_ST."REQUEST_ID" AND
MM_GENEALOGY_LG."BATCH_ID" = 'H04727'
ORDER BY
MM_GENEALOGY_LG."BOM_REF_NO" ASC
Anybody can suggest any other method to achieve the result or is it that I'm expecting too much from CR 8.5.
Thanks
Tek