Link between OTL and Calculation cards
We got a link between Element entries and Calculation cards though BIP but we are looking to link between time cards and OTL or Element entries and OTL. Once an employee enter OTL data and transfer batch, entries will create in Calculation cards and Element entries. Here our requirement is when we pass element name we need to fetch corresponding OTL start time and stop time. Please share SQL query if anybody worked on that.
select distinct ppn.full_name as person,
pdcd.base_display_name as card,
pdccd.base_component_name as comp,
pdcc.effective_start_date as start_date,