join the tables PM10100 & AAG20001
on AAG20001.SEQNUMBR = PM10100.DSTSQNUM, I notice that
PM10100.DEBITAMT = AAG20001.DEBITAMT do not match so join on AAG20001.SEQNUMBR = PM10100.DSTSQNUM does not work. This is due to additional lines of accounting in Analytical accounting. As I have multiple AA lines making up the distribution amounts on the PM table.
Is there a way to link these two tables through some other tables or by setting up a trigger?
on AAG20001.SEQNUMBR = PM10100.DSTSQNUM, I notice that
PM10100.DEBITAMT = AAG20001.DEBITAMT do not match so join on AAG20001.SEQNUMBR = PM10100.DSTSQNUM does not work. This is due to additional lines of accounting in Analytical accounting. As I have multiple AA lines making up the distribution amounts on the PM table.
Is there a way to link these two tables through some other tables or by setting up a trigger?