partner JoinFormula in HsOfficeDebitorEntity using real hs_office.partner

This commit is contained in:
Michael Hoennig 2025-01-14 11:33:56 +01:00
parent d98c8ef8d3
commit e12a33411e

View File

@ -87,7 +87,7 @@ public class HsOfficeDebitorEntity implements BaseEntity<HsOfficeDebitorEntity>,
value = """
(
SELECT DISTINCT partner.uuid
FROM hs_office.partner_rv partner
FROM hs_office.partner partner
JOIN hs_office.relation dRel
ON dRel.uuid = debitorreluuid AND dRel.type = 'DEBITOR'
JOIN hs_office.relation pRel