summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/modules/Company.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/modules/Company.sql b/sql/modules/Company.sql
index 231462a9..8d78c946 100644
--- a/sql/modules/Company.sql
+++ b/sql/modules/Company.sql
@@ -53,7 +53,7 @@ CREATE OR REPLACE FUNCTION entity__retrieve_credit
(in_entity_id int, in_entity_class int)
RETURNS entity_credit_search_return AS
$$
-DECLARE out_row customer_search_return;
+DECLARE out_row entity_credit_search_return;
BEGIN
SELECT c.legal_name, c.id, e.id, ec.entity_class, ec.discount,