So I am trying to add the RcvDtl table to the MtlTags RDD and I thought I did everything I needed to do for the join but I am apparently missing something because i keep getting an error when previewing the tag. This is what I have for the relationship on the RDD and the code is what I have for the SSRS dataset:
Any help would be much appreciated!
=“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.VendID, T1.VendName, T1.WhseCode, T1.QtyNum, T1.LegalNumber, T1.JobSeqType, T1.Revision, T1.BCPCID, T1.PCID, T1.DMRNum, T1.Company, T2.[Company], T2.[PONum],
T2.[POLine], T2.[ImportNum] FROM MtlTags_” + Parameters!TableGuid.Value + " T1 LEFT OUTER JOIN RcvDtl_" +Parameters!TableGuid.Value + " T2
ON T1.[Company] = T2.[Company] AND T1.[PONum] = T2.[PONum] AND T1.[POLine] = T2.[POLine]"


