From c6c444086dda867aaea1c8ca34b168f4be228fa9 Mon Sep 17 00:00:00 2001 From: Edwin Betancourt Date: Mon, 23 Dec 2024 23:44:58 -0400 Subject: [PATCH] fix: `Payment Allocation` form doc type on payments. (#961) --- src/main/java/org/spin/grpc/service/form/PaymentAllocation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spin/grpc/service/form/PaymentAllocation.java b/src/main/java/org/spin/grpc/service/form/PaymentAllocation.java index aedfdae5..ca2bac69 100644 --- a/src/main/java/org/spin/grpc/service/form/PaymentAllocation.java +++ b/src/main/java/org/spin/grpc/service/form/PaymentAllocation.java @@ -604,7 +604,7 @@ private ListPaymentsResponse.Builder listPayments(ListPaymentsRequest request) { recordCount++; DocumentType.Builder documentTypeBuilder = convertDocumentType( - rs.getInt(I_C_Invoice.COLUMNNAME_C_DocTypeTarget_ID) + rs.getInt(I_C_Payment.COLUMNNAME_C_DocType_ID) ); Organization.Builder organizationBuilder = convertOrganization( rs.getInt(I_AD_Org.COLUMNNAME_AD_Org_ID)