FINERACT-2358: Advanced-accounting-rules-based-on-write-off-reason E2E tests

This commit is contained in:
Peter Kovacs
2025-10-15 09:52:16 +02:00
committed by Arnold Gálovics
parent c518d8622a
commit 3b62d562a2
14 changed files with 226 additions and 9 deletions
@@ -106,4 +106,8 @@ public interface ProductToGLAccountMappingRepository
ProductToGLAccountMapping findCapitalizedIncomeClassificationMapping(@Param("productId") Long productId,
@Param("productType") Integer productType, @Param("classificationId") Long classificationId);
@Query("select mapping from ProductToGLAccountMapping mapping where mapping.writeOffReason.id = :writeOffReasonId AND mapping.productId = :productId AND mapping.productType = :productType")
ProductToGLAccountMapping findWriteOffReasonMapping(@Param("productId") Long productId, @Param("productType") Integer productType,
@Param("writeOffReasonId") Long writeOffReasonId);
}