"custom_property_refdata" with their "refdata_value"
agreements_custom_property LEFT JOIN folio_agreements.custom_property_refdata ON custom_property_refdata.id = agreements_custom_property.id LEFT JOIN folio_agreements.refdata_value ON refdata_value.rdv_id = custom_property_refdata.value_id
There are new additional tables that need to be added to the derived table agreements_custom_property.
agreements_custom_property
LEFT JOIN folio_agreements.custom_property_refdata ON custom_property_refdata.id = agreements_custom_property.id
LEFT JOIN folio_agreements.refdata_value ON refdata_value.rdv_id = custom_property_refdata.value_id