diff --git a/src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntity.java b/src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntity.java index 6181c6f4..0f0fc9cf 100644 --- a/src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntity.java +++ b/src/main/java/net/hostsharing/hsadminng/hs/office/debitor/HsOfficeDebitorEntity.java @@ -87,7 +87,7 @@ public class HsOfficeDebitorEntity implements BaseEntity, 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