4dsistemi
4dsistemi
Here the tables: ``` ``` And here the query: IsifitSpesaPraticaSportivaMinoriQuery::create() ->innerJoinWithCustomerRelatedByCustomerId() ->innerJoinWithCustomerRelatedBySonId() ->innerJoinWithIsifitCausalePagamento() ->innerJoinWithIsifitSport() ->filterByCommercialLocalId(getCommercialFormSerial($serial)) ->orderByCreation(Criteria::DESC) ->find(); Here my solution: ``` ``` IsifitSpesaPraticaSportivaMinoriQuery::create() ->innerJoinWithCustomerRelatedByCustomerId() ->joinWith("Son s") ->innerJoinWithIsifitCausalePagamento() ->innerJoinWithIsifitSport() ->filterByCommercialLocalId(getCommercialFormSerial($serial)) ->orderByCreation(Criteria::DESC)...
Hi, have you found a solution to this problem? Thanks