Hi Folks, I was trying to add few custom fields on Mtltag report from ParLlot table and it seems not working.
I duplicated base RDD and add table PartLot and add a relationship to Mtltag, then duplicate the style and add similar relationship in RDL file as well. unfortunately its not picking any fields from additional tables, Since we are on Cloud I couldn’t add any SQL queries inside the report. even I tried adding JobHead for testing and result is same.
Report
="SELECT T1.AsmSeq,T1.TagNum,T1.BCAsmSeq,T1.BCBinNum,T1.BCJobNum,T1.BCLotNum,T1.BCOprSeq,T1.BCPartNum,T1.BCWhseCode,T1.BinNum,T1.ItemQty,
T1.JobNum,T1.LaborNote,T1.LotNum,T1.NCComment,T1.NonConfTranID,T1.OpCode,T1.OprSeq,T1.PartNum,T1.PartDesc,T1.POLine,T1.PONum,T1.PORel,T1.Reason,
T1.ReasonDesc,T1.ResGrpID,T1.TagFormat,T1.TagTitle,T1.UM,T1.UM_UOMSymbol,T1.VendID,T1.VendName,T1.WhseCode,T1.QtyNum, T1.LegalNumber, T1.JobSeqType,
T1.Revision, T1.BCPCID, T1.PCID, T1.DMRNum, T1.AttributeValueSeq, T1.AttributeSetShortDescription, T1.NumberOfPieces, T2.Project_c, T3.ProjectID
FROM MtlTags_" + Parameters!TableGuid.Value + " T1
LEFT OUTER JOIN PartLot_" + Parameters!TableGuid.Value + " T2 ON T1.Company = T2.Company AND T1.PartNum = T2.PartNum AND T1.LotNum = T2.LotNum
LEFT OUTER JOIN JobHead_" + Parameters!TableGuid.Value + " T3 ON T1.Company = T3.Company AND T1.JobNum = T3.JobNum"