FINERACT-2358: Advanced-accounting-rules-based-on-write-off-reason E2E tests
This commit is contained in:
committed by
Arnold Gálovics
parent
c518d8622a
commit
3b62d562a2
+4
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user