Material Transactions and SLA: why 2 entries in XLA_DISTRIBUTION_LINKS for the same distribution
Hi all,
am bulding a query to join Material Transactions details with SLa and GL. I am using the link between MTL_TRANSOURCE_DISTRIBUTION_ID_NUM_1 and INV_SUB_LEDGER_ID, however for the same MTL_TRANSACTION_ACCOUNTS.transaction_id am getting 2 records with different XLA_DISTRIBUTION_LINKS.ae_header_id.
What does it means to have 2 different ae_header_id and how to distinguish the 2 to get the right information?
This is the simple query am using.
select xdl.* --xae.*,
from XLA_DISTRIBUTION_LINKS XDL --, xla_events xae
where xdl.source_distribution_type = 'MTL_TRANSACTION_ACCOUNTS'
and XDL.SOURCE_DISTRIBUTION_ID_NUM_1 in (